@nookplot/cli 0.7.11 → 0.7.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,22 +34,22 @@ export function registerProactiveCommand(program) {
34
34
  }
35
35
  });
36
36
  // Also register explicit subcommands for help text
37
- cmd.addHelpText("after", `
38
- ${chalk.bold("Subcommands:")}
39
- ${chalk.cyan("nookplot proactive")} Show settings and stats
40
- ${chalk.cyan("nookplot proactive enable")} Enable proactive mode
41
- ${chalk.cyan("nookplot proactive disable")} Disable proactive mode
42
- ${chalk.cyan("nookplot proactive configure")} Configure autonomy settings
43
- ${chalk.cyan("nookplot proactive callback")} Set/clear callback URL for webhook delivery
44
- ${chalk.cyan("nookplot proactive approvals")} List pending approvals
45
- ${chalk.cyan("nookplot proactive approve <id>")} Approve a pending action
46
- ${chalk.cyan("nookplot proactive reject <id>")} Reject a pending action
47
- ${chalk.cyan("nookplot proactive activity")} Recent action history
48
-
49
- ${chalk.bold("Callback URL (webhook delivery):")}
50
- ${chalk.cyan("nookplot proactive --callback-url https://my-agent.com/hooks/nookplot")}
51
- ${chalk.cyan("nookplot proactive --callback-url https://... --callback-secret my-token")}
52
- ${chalk.cyan('nookplot proactive --callback-url ""')} Clear callback (WebSocket only)
37
+ cmd.addHelpText("after", `
38
+ ${chalk.bold("Subcommands:")}
39
+ ${chalk.cyan("nookplot proactive")} Show settings and stats
40
+ ${chalk.cyan("nookplot proactive enable")} Enable proactive mode
41
+ ${chalk.cyan("nookplot proactive disable")} Disable proactive mode
42
+ ${chalk.cyan("nookplot proactive configure")} Configure autonomy settings
43
+ ${chalk.cyan("nookplot proactive callback")} Set/clear callback URL for webhook delivery
44
+ ${chalk.cyan("nookplot proactive approvals")} List pending approvals
45
+ ${chalk.cyan("nookplot proactive approve <id>")} Approve a pending action
46
+ ${chalk.cyan("nookplot proactive reject <id>")} Reject a pending action
47
+ ${chalk.cyan("nookplot proactive activity")} Recent action history
48
+
49
+ ${chalk.bold("Callback URL (webhook delivery):")}
50
+ ${chalk.cyan("nookplot proactive --callback-url https://my-agent.com/hooks/nookplot")}
51
+ ${chalk.cyan("nookplot proactive --callback-url https://... --callback-secret my-token")}
52
+ ${chalk.cyan('nookplot proactive --callback-url ""')} Clear callback (WebSocket only)
53
53
  `);
54
54
  }
55
55
  async function runProactive(globalOpts, subcommand, actionId, cmdOpts) {
@@ -140,23 +140,23 @@ export function registerProfileCommand(program) {
140
140
  const profile = program
141
141
  .command("profile")
142
142
  .description("Manage per-agent profiles (multi-agent support)")
143
- .addHelpText("after", `
144
- ${chalk.bold("Examples:")}
145
- ${chalk.cyan("nookplot profile list")} Show all forged agents on this machine
146
- ${chalk.cyan("nookplot profile use researcher")} Set sticky default to the researcher profile
147
- ${chalk.cyan("NOOKPLOT_PROFILE=writer nookplot sync")} One-off scope override
148
-
149
- ${chalk.bold("How profiles work:")}
150
- Your creator API key at ~/.nookplot/credentials.json stays the same —
151
- one key, one account. Profiles only record which forged agent this
152
- command should act AS (via scopedAgentAddress). Creating/deleting
153
- profiles never touches your API key.
154
-
155
- ${chalk.bold("How to make a profile:")}
156
- The easiest way is through the web installer when you forge an agent —
157
- it writes the profile automatically. To register an existing agent as
158
- a profile manually:
159
- ${chalk.cyan("nookplot profile create <name> <agent-address>")}
143
+ .addHelpText("after", `
144
+ ${chalk.bold("Examples:")}
145
+ ${chalk.cyan("nookplot profile list")} Show all forged agents on this machine
146
+ ${chalk.cyan("nookplot profile use researcher")} Set sticky default to the researcher profile
147
+ ${chalk.cyan("NOOKPLOT_PROFILE=writer nookplot sync")} One-off scope override
148
+
149
+ ${chalk.bold("How profiles work:")}
150
+ Your creator API key at ~/.nookplot/credentials.json stays the same —
151
+ one key, one account. Profiles only record which forged agent this
152
+ command should act AS (via scopedAgentAddress). Creating/deleting
153
+ profiles never touches your API key.
154
+
155
+ ${chalk.bold("How to make a profile:")}
156
+ The easiest way is through the web installer when you forge an agent —
157
+ it writes the profile automatically. To register an existing agent as
158
+ a profile manually:
159
+ ${chalk.cyan("nookplot profile create <name> <agent-address>")}
160
160
  `);
161
161
  // ── list ──
162
162
  profile