refactor: upgrade claude-code-acp to v0.8.3 and optimize agent initialization flow
This commit is contained in:
@@ -53,5 +53,16 @@
|
||||
},
|
||||
"createdAt": "2025-10-25T12:44:52.183Z",
|
||||
"cwd": "/Users/moboudra/dev/faro/main"
|
||||
},
|
||||
{
|
||||
"id": "415c2eb6-6649-4f3f-aee5-acc3d6b2cfd4",
|
||||
"title": "Agent 415c2eb6",
|
||||
"sessionId": "019a1c5a-0929-76de-ad58-1b80fa056209",
|
||||
"options": {
|
||||
"type": "claude",
|
||||
"sessionId": null
|
||||
},
|
||||
"createdAt": "2025-10-25T17:10:52.912Z",
|
||||
"cwd": "/Users/moboudra/dev/faro/main"
|
||||
}
|
||||
]
|
||||
@@ -18,7 +18,7 @@
|
||||
"dependencies": {
|
||||
"@agentclientprotocol/sdk": "^0.4.9",
|
||||
"@ai-sdk/openai": "^2.0.52",
|
||||
"@boudra/claude-code-acp": "^0.8.2",
|
||||
"@boudra/claude-code-acp": "^0.8.3",
|
||||
"@deepgram/sdk": "^3.4.0",
|
||||
"@modelcontextprotocol/sdk": "^1.20.1",
|
||||
"@openrouter/ai-sdk-provider": "^1.2.0",
|
||||
|
||||
@@ -923,12 +923,7 @@ export class Session {
|
||||
private async sendSessionState(): Promise<void> {
|
||||
try {
|
||||
// Get live agents with session modes
|
||||
const agents = this.agentManager?.listAgents() || [];
|
||||
|
||||
// Subscribe to all existing agents so future updates stream through
|
||||
for (const agent of agents) {
|
||||
this.subscribeToAgent(agent.id);
|
||||
}
|
||||
const agents = this.agentManager.listAgents();
|
||||
|
||||
// Get live commands from terminal manager
|
||||
let commands: any[] = [];
|
||||
|
||||
Reference in New Issue
Block a user