@ycodium-ai/agent-claude 0.2.3766 → 0.2.3799

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/index.js +6 -3
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -26198,15 +26198,18 @@ function toClaudeMcpServers(entries) {
26198
26198
  if (entries === void 0 || entries.length === 0) return void 0;
26199
26199
  const servers = {};
26200
26200
  for (const entry of entries) {
26201
+ const timeout = entry.toolTimeoutSeconds === void 0 ? {} : { timeout: entry.toolTimeoutSeconds * 1e3 };
26201
26202
  servers[entry.name] = entry.transport.type === "stdio" ? {
26202
26203
  type: "stdio",
26203
26204
  command: entry.transport.command,
26204
26205
  ...entry.transport.args === void 0 ? {} : { args: [...entry.transport.args] },
26205
- ...entry.transport.env === void 0 ? {} : { env: { ...entry.transport.env } }
26206
+ ...entry.transport.env === void 0 ? {} : { env: { ...entry.transport.env } },
26207
+ ...timeout
26206
26208
  } : {
26207
26209
  type: entry.transport.type,
26208
26210
  url: entry.transport.url,
26209
- ...entry.transport.headers === void 0 ? {} : { headers: { ...entry.transport.headers } }
26211
+ ...entry.transport.headers === void 0 ? {} : { headers: { ...entry.transport.headers } },
26212
+ ...timeout
26210
26213
  };
26211
26214
  }
26212
26215
  return servers;
@@ -29677,7 +29680,7 @@ var executors = [
29677
29680
  ];
29678
29681
  var index_default = definePlugin({
29679
29682
  id: "agent-claude",
29680
- apiVersion: 56,
29683
+ apiVersion: 60,
29681
29684
  executors,
29682
29685
  activate(ctx) {
29683
29686
  ctx.command({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/agent-claude",
3
- "version": "0.2.3766",
3
+ "version": "0.2.3799",
4
4
  "description": "Claude executor: Claude Code CLI via @anthropic-ai/claude-agent-sdk.",
5
5
  "keywords": [
6
6
  "ycodium",
@@ -24,10 +24,10 @@
24
24
  "@types/node": "24.12.4",
25
25
  "esbuild": "0.28.1",
26
26
  "vite-plus": "0.2.2",
27
+ "@ycodium-ai/plugin-api": "0.2.3799",
28
+ "ycodium-jsonl-stream": "0.0.0",
27
29
  "ycodium-composer-tokens": "0.0.0",
28
- "ycodium-executor-testing": "0.0.0",
29
- "@ycodium-ai/plugin-api": "0.2.3766",
30
- "ycodium-jsonl-stream": "0.0.0"
30
+ "ycodium-executor-testing": "0.0.0"
31
31
  },
32
32
  "ycodium": {
33
33
  "plugin": "./dist/index.js",