braintrust-lite 0.1.2 → 0.1.3

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/package.json +1 -1
  2. package/src/server.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braintrust-lite",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Lightweight multi-model advisor for Claude Code — parallel Codex + Gemini consultation via MCP",
5
5
  "type": "module",
6
6
  "bin": {
package/src/server.js CHANGED
@@ -36,7 +36,7 @@ const CONSULT_TOOL = {
36
36
  },
37
37
  timeout_sec: {
38
38
  type: 'number',
39
- description: '每个模型的超时秒数,默认 90',
39
+ description: '每个模型的超时秒数,默认 90。传 0 表示不限时,等待直到完成。',
40
40
  },
41
41
  cwd: {
42
42
  type: 'string',
@@ -68,7 +68,7 @@ server.setRequestHandler(CallToolRequestSchema, async req => {
68
68
  prompt: String(args.prompt ?? ''),
69
69
  only: args.only,
70
70
  skip: Array.isArray(args.skip) ? args.skip : [],
71
- timeoutMs: args.timeout_sec ? Number(args.timeout_sec) * 1000 : 90_000,
71
+ timeoutMs: args.timeout_sec != null ? Number(args.timeout_sec) * 1000 : 90_000,
72
72
  cwd: args.cwd,
73
73
  });
74
74