claude-remote-agent 0.1.1 → 0.1.2

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/agent.js +2 -1
  2. package/package.json +1 -1
package/agent.js CHANGED
@@ -165,6 +165,7 @@ function killSession(id) {
165
165
  session.proc.kill('SIGTERM');
166
166
  }
167
167
  sessions.delete(id);
168
+ chatSessions.delete(id);
168
169
  console.log(`[${ts()}] Session ${id.slice(0, 8)} killed`);
169
170
  }
170
171
 
@@ -432,7 +433,7 @@ function handleChatMessage(sessionId, text, images) {
432
433
  session.claudeSessionId = obj.session_id;
433
434
  console.log(`[${ts()}] Chat ${sessionId.slice(0, 8)} got claude session: ${obj.session_id.slice(0, 8)}`);
434
435
  }
435
- send({ type: 'chat-text', sessionId, text: obj.result || '', done: true });
436
+ send({ type: 'chat-text', sessionId, text: '', done: true });
436
437
  }
437
438
  } catch {}
438
439
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-remote-agent",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Agent for Claude Remote — connects your machine to the relay server",
5
5
  "bin": {
6
6
  "claude-remote-agent": "./cli.js"