@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 +9 -0
- package/dist/lib/activations.js +2 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
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
|
package/dist/lib/activations.js
CHANGED
|
@@ -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
|
|
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.
|
|
1
|
+
export const VERSION = '0.7.1';
|
package/package.json
CHANGED