@akagilnc/pi-workflow-roles 0.1.4949 → 0.1.4951

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.
@@ -299,6 +299,8 @@ function codexMcpConfigArgs(mcpServers) {
299
299
  // would hide a broken intermediate-tool channel (#646 须真跑证②).
300
300
  args.push("-c", `${prefix}.command=${codexTomlString(command)}`);
301
301
  args.push("-c", `${prefix}.required=true`);
302
+ // Codex caps each MCP tools/call (#1020: 300s); gates wait on long seats.
303
+ args.push("-c", `${prefix}.tool_timeout_sec=3600`);
302
304
  if (Array.isArray(row.args) && row.args.every((item) => typeof item === "string")) {
303
305
  args.push("-c", `${prefix}.args=${codexTomlStringArray(row.args)}`);
304
306
  }
@@ -29541,6 +29541,7 @@ function codexMcpConfigArgs(mcpServers) {
29541
29541
  const prefix = `mcp_servers.${name}`;
29542
29542
  args.push("-c", `${prefix}.command=${codexTomlString(command)}`);
29543
29543
  args.push("-c", `${prefix}.required=true`);
29544
+ args.push("-c", `${prefix}.tool_timeout_sec=3600`);
29544
29545
  if (Array.isArray(row.args) && row.args.every((item) => typeof item === "string")) {
29545
29546
  args.push("-c", `${prefix}.args=${codexTomlStringArray(row.args)}`);
29546
29547
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akagilnc/pi-workflow-roles",
3
- "version": "0.1.4949",
3
+ "version": "0.1.4951",
4
4
  "description": "Soul-bound workflow roles for Pi",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -382,6 +382,8 @@ function codexMcpConfigArgs(
382
382
  // would hide a broken intermediate-tool channel (#646 须真跑证②).
383
383
  args.push("-c", `${prefix}.command=${codexTomlString(command)}`);
384
384
  args.push("-c", `${prefix}.required=true`);
385
+ // Codex caps each MCP tools/call (#1020: 300s); gates wait on long seats.
386
+ args.push("-c", `${prefix}.tool_timeout_sec=3600`);
385
387
  if (Array.isArray(row.args) && row.args.every((item): item is string => typeof item === "string")) {
386
388
  args.push("-c", `${prefix}.args=${codexTomlStringArray(row.args)}`);
387
389
  }