indieclaw-agent 2.4.2 → 2.4.4

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/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -308,7 +308,7 @@ function connectOcGateway() {
308
308
  connectReqId = crypto.randomUUID();
309
309
  const params = {
310
310
  minProtocol: 3, maxProtocol: 3,
311
- client: { id: 'indieclaw-agent', version: VERSION, platform: os.platform(), mode: 'operator' },
311
+ client: { id: 'cli', version: VERSION, platform: os.platform(), mode: 'cli' },
312
312
  role: 'operator',
313
313
  scopes: ['operator.read', 'operator.write'],
314
314
  };
@@ -1204,7 +1204,7 @@ async function handleChatSend(ws, { id, messages }) {
1204
1204
  // Send chat request to gateway via WebSocket protocol
1205
1205
  const result = await ocRequest('chat.send', {
1206
1206
  sessionKey,
1207
- message: { role: 'user', content: lastUserMsg.content },
1207
+ message: lastUserMsg.content,
1208
1208
  idempotencyKey,
1209
1209
  });
1210
1210
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indieclaw-agent",
3
- "version": "2.4.2",
3
+ "version": "2.4.4",
4
4
  "description": "Manage your server from your phone. Agent for the IndieClaw mobile app.",
5
5
  "main": "index.js",
6
6
  "bin": {