agentgui 1.0.663 → 1.0.664

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.
@@ -91,6 +91,9 @@ class AgentRunner {
91
91
  const spawnOpts = getSpawnOptions(cwd);
92
92
  if (Object.keys(this.spawnEnv).length > 0) {
93
93
  spawnOpts.env = { ...spawnOpts.env, ...this.spawnEnv };
94
+ for (const [k, v] of Object.entries(this.spawnEnv)) {
95
+ if (v === undefined) delete spawnOpts.env[k];
96
+ }
94
97
  }
95
98
  if (this.closeStdin) {
96
99
  spawnOpts.stdio = ['ignore', 'pipe', 'pipe'];
@@ -620,7 +623,7 @@ registry.register({
620
623
  closeStdin: false, // keep stdin open for JSON-RPC steering commands
621
624
  useJsonRpcStdin: false,
622
625
  supportedFeatures: ['streaming', 'resume', 'system-prompt', 'permissions-skip', 'steering'],
623
- spawnEnv: { MAX_THINKING_TOKENS: '0', AGENTGUI_SUBPROCESS: '1' },
626
+ spawnEnv: { MAX_THINKING_TOKENS: '0', AGENTGUI_SUBPROCESS: '1', CLAUDECODE: undefined },
624
627
 
625
628
  buildArgs(prompt, config) {
626
629
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.663",
3
+ "version": "1.0.664",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",