agentgui 1.0.664 → 1.0.665

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.
@@ -623,7 +623,7 @@ registry.register({
623
623
  closeStdin: false, // keep stdin open for JSON-RPC steering commands
624
624
  useJsonRpcStdin: false,
625
625
  supportedFeatures: ['streaming', 'resume', 'system-prompt', 'permissions-skip', 'steering'],
626
- spawnEnv: { MAX_THINKING_TOKENS: '0', AGENTGUI_SUBPROCESS: '1', CLAUDECODE: undefined },
626
+ spawnEnv: { MAX_THINKING_TOKENS: '0', AGENTGUI_SUBPROCESS: '1', CLAUDECODE: undefined, ANTHROPIC_API_KEY: (() => { try { return JSON.parse(require('fs').readFileSync(require('os').homedir() + '/.claude/.credentials.json', 'utf8')).claudeAiOauth?.accessToken; } catch { return undefined; } })() },
627
627
 
628
628
  buildArgs(prompt, config) {
629
629
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.664",
3
+ "version": "1.0.665",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",