@almyty/acp-server 1.0.7 → 1.0.10

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/dist/agent.js +2 -1
  2. package/package.json +1 -1
package/dist/agent.js CHANGED
@@ -213,7 +213,8 @@ export class AlmytyAcpAgent {
213
213
  throw new JsonRpcError(INVALID_PARAMS, `Session not found: ${sessionId}`);
214
214
  }
215
215
  // Extract text from ContentBlock array
216
- const content = params.content;
216
+ // ACP spec uses "prompt", some clients send "content"
217
+ const content = (params.prompt || params.content);
217
218
  const inputText = extractTextFromContent(content);
218
219
  if (!inputText) {
219
220
  throw new JsonRpcError(INVALID_PARAMS, 'No text content in prompt');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almyty/acp-server",
3
- "version": "1.0.7",
3
+ "version": "1.0.10",
4
4
  "description": "ACP agent server for almyty — expose any almyty agent via the Agent Client Protocol",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",