agentgui 1.0.13 → 1.0.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.
Files changed (2) hide show
  1. package/acp-launcher.js +4 -4
  2. package/package.json +1 -1
package/acp-launcher.js CHANGED
@@ -67,13 +67,13 @@ export default class ACPConnection {
67
67
  await this.sendRequest('initialize', {
68
68
  protocolVersion: 1,
69
69
  clientCapabilities: { fs: { readTextFile: true, writeTextFile: true } },
70
- }, 4000);
71
- const result = await this.sendRequest('session/new', { cwd, mcpServers: [] }, 4000);
70
+ }, 10000);
71
+ const result = await this.sendRequest('session/new', { cwd, mcpServers: [] }, 30000);
72
72
  this.sessionId = result.sessionId;
73
- await this.sendRequest('session/set_mode', { sessionId: this.sessionId, modeId: 'bypassPermissions' }, 2000);
73
+ await this.sendRequest('session/set_mode', { sessionId: this.sessionId, modeId: 'bypassPermissions' }, 10000);
74
74
  };
75
75
 
76
- const deadline = new Promise((_, reject) => setTimeout(() => reject(new Error('ACP handshake timeout (5s)')), 5000));
76
+ const deadline = new Promise((_, reject) => setTimeout(() => reject(new Error('ACP handshake timeout (60s)')), 60000));
77
77
 
78
78
  try {
79
79
  await Promise.race([acpSetup(), deadline]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",