@nextclaw/nextclaw-engine-claude-agent-sdk 0.3.4 → 0.3.6

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.
package/README.md CHANGED
@@ -32,3 +32,6 @@ Add plugin load path to config:
32
32
  }
33
33
  }
34
34
  ```
35
+
36
+ `engineConfig.requestTimeoutMs` is optional and disabled by default.
37
+ Set it explicitly only when you want a hard timeout for each Claude request.
package/dist/index.js CHANGED
@@ -407,7 +407,7 @@ const plugin = {
407
407
  const includePartialMessages = readBoolean(engineConfig, "includePartialMessages") ?? true;
408
408
  const maxTurns = readNumber(engineConfig, "maxTurns") ?? context.maxIterations;
409
409
  const maxThinkingTokens = readNumber(engineConfig, "maxThinkingTokens");
410
- const requestTimeoutMs = Math.max(0, Math.trunc(readNumber(engineConfig, "requestTimeoutMs") ?? 3e4));
410
+ const requestTimeoutMs = Math.max(0, Math.trunc(readNumber(engineConfig, "requestTimeoutMs") ?? 0));
411
411
  const baseQueryOptions = {
412
412
  permissionMode,
413
413
  includePartialMessages,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextclaw/nextclaw-engine-claude-agent-sdk",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "private": false,
5
5
  "description": "NextClaw Claude Agent SDK engine plugin backed by Anthropic official SDK.",
6
6
  "type": "module",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@anthropic-ai/claude-agent-sdk": "^0.2.63",
26
- "@nextclaw/core": "^0.11.0",
26
+ "@nextclaw/core": "^0.11.2",
27
27
  "zod": "^4.0.0"
28
28
  },
29
29
  "devDependencies": {