Merge pull request #87 from dannomayernotabot/main

fix(sling): add --no-daemon flag to mol bond command
This commit is contained in:
Steve Yegge
2026-01-04 13:12:22 -08:00
committed by GitHub

View File

@@ -403,7 +403,8 @@ func runSling(cmd *cobra.Command, args []string) error {
fmt.Printf("%s Formula wisp created: %s\n", style.Bold.Render("✓"), wispRootID)
// Step 3: Bond wisp to original bead (creates compound)
bondArgs := []string{"mol", "bond", wispRootID, beadID, "--json"}
// Use --no-daemon for mol bond (requires direct database access)
bondArgs := []string{"--no-daemon", "mol", "bond", wispRootID, beadID, "--json"}
bondCmd := exec.Command("bd", bondArgs...)
bondCmd.Stderr = os.Stderr
bondOut, err := bondCmd.Output()