@nonbot/cli 0.7.0 → 0.7.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @nonbot/cli changelog
2
2
 
3
+ ## 0.7.1
4
+
5
+ - **Agents run on your Claude plan, not a metered API key.** The spawned run
6
+ script now `unset`s `ANTHROPIC_API_KEY` / `ANTHROPIC_AUTH_TOKEN` before
7
+ launching, so a key sitting in your shell profile can't silently switch an
8
+ agent onto pay-per-token billing — it uses your `claude login` subscription.
9
+ A BYOK command that explicitly sets a key still wins (the unset only clears an
10
+ ambient key). Applies to both Run and Choir agents.
11
+
3
12
  ## 0.7.0
4
13
 
5
14
  - The per-pane Choir coordination MCP is now **bundled** as the `nonbot
@@ -215,7 +215,8 @@ export async function spawnTerminalDefault(act, auth) {
215
215
  const roleLine = `export NONBOT_ROLE='lead'`;
216
216
  envPrefix = `${patLine}\n${runIdLine}\n${baseUrlLine}\n${roleLine}\n`;
217
217
  }
218
- const body = `#!/bin/bash\n${envPrefix}${resolved.shell}\n`;
218
+ const planAuthGuard = `unset ANTHROPIC_API_KEY\nunset ANTHROPIC_AUTH_TOKEN\n`;
219
+ const body = `#!/bin/bash\n${planAuthGuard}${envPrefix}${resolved.shell}\n`;
219
220
  await fs.writeFile(scriptPath, body, { mode: 0o700 });
220
221
  await fs.chmod(scriptPath, 0o700);
221
222
  const profile = resolveTerminal(act.terminal);
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.7.0';
1
+ export const VERSION = '0.7.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nonbot/cli",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "type": "module",
5
5
  "description": "The local host for non.bot ▶ Run — opens a terminal on your machine and starts the work in your linked repo.",
6
6
  "license": "UNLICENSED",