refactor: upgrade claude-code-acp to v0.8.3 and optimize agent initialization flow

This commit is contained in:
Mohamed Boudra
2025-10-25 19:37:13 +02:00
parent 42e5f864a6
commit 1fd9b77680
5 changed files with 42 additions and 56 deletions
+1 -6
View File
@@ -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[] = [];