@taskless-app/swarm 0.6.105 → 0.6.107
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/dist/cli.js +8 -5
- package/dist/overmind.js +2293 -262
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -2577,7 +2577,7 @@ function tomlValue(v) {
|
|
|
2577
2577
|
return `{${Object.entries(v).map(([k, val]) => `${k} = ${tomlValue(val)}`).join(", ")}}`;
|
|
2578
2578
|
}
|
|
2579
2579
|
function mcpConfigArgs(spec) {
|
|
2580
|
-
const inline = `{command = ${tomlValue(spec.mcp.command)}, args = ${tomlValue(spec.mcp.args)}, env = ${tomlValue(spec.mcp.env)}}`;
|
|
2580
|
+
const inline = `{command = ${tomlValue(spec.mcp.command)}, args = ${tomlValue(spec.mcp.args)}, env = ${tomlValue(spec.mcp.env)}, tool_timeout_sec = ${CODEX_SWARM_TOOL_TIMEOUT_SEC}}`;
|
|
2581
2581
|
return ["-c", `mcp_servers.${spec.mcp.name}=${inline}`];
|
|
2582
2582
|
}
|
|
2583
2583
|
function skillsNotice(skillDirs) {
|
|
@@ -2641,7 +2641,7 @@ function newestRolloutMtime(dir, depth = 4) {
|
|
|
2641
2641
|
}
|
|
2642
2642
|
return latest;
|
|
2643
2643
|
}
|
|
2644
|
-
var BYPASS_FLAG, SKIP_GIT_CHECK_FLAG, CODEX_MODEL_PRICING, TERMINAL_EVENTS, codexExecutor;
|
|
2644
|
+
var BYPASS_FLAG, SKIP_GIT_CHECK_FLAG, CODEX_SWARM_TOOL_TIMEOUT_SEC, CODEX_MODEL_PRICING, TERMINAL_EVENTS, codexExecutor;
|
|
2645
2645
|
var init_codex = __esm({
|
|
2646
2646
|
"src/executors/codex.ts"() {
|
|
2647
2647
|
"use strict";
|
|
@@ -2649,6 +2649,7 @@ var init_codex = __esm({
|
|
|
2649
2649
|
init_pricing();
|
|
2650
2650
|
BYPASS_FLAG = "--dangerously-bypass-approvals-and-sandbox";
|
|
2651
2651
|
SKIP_GIT_CHECK_FLAG = "--skip-git-repo-check";
|
|
2652
|
+
CODEX_SWARM_TOOL_TIMEOUT_SEC = 7 * 24 * 60 * 60;
|
|
2652
2653
|
CODEX_MODEL_PRICING = {};
|
|
2653
2654
|
TERMINAL_EVENTS = /* @__PURE__ */ new Set(["task_complete", "turn.completed", "thread.completed", "session.completed"]);
|
|
2654
2655
|
codexExecutor = {
|
|
@@ -2739,6 +2740,7 @@ function grokMcpToml(spec) {
|
|
|
2739
2740
|
"command = " + tomlBasic(spec.mcp.command),
|
|
2740
2741
|
"args = [" + args + "]",
|
|
2741
2742
|
"env = { " + env + " }",
|
|
2743
|
+
"tool_timeout_sec = " + String(GROK_SWARM_TOOL_TIMEOUT_SEC),
|
|
2742
2744
|
""
|
|
2743
2745
|
].join("\n");
|
|
2744
2746
|
}
|
|
@@ -2913,7 +2915,7 @@ function extractJsonObject(raw) {
|
|
|
2913
2915
|
}
|
|
2914
2916
|
return null;
|
|
2915
2917
|
}
|
|
2916
|
-
var grokExecutor;
|
|
2918
|
+
var GROK_SWARM_TOOL_TIMEOUT_SEC, grokExecutor;
|
|
2917
2919
|
var init_grok = __esm({
|
|
2918
2920
|
"src/executors/grok.ts"() {
|
|
2919
2921
|
"use strict";
|
|
@@ -2921,6 +2923,7 @@ var init_grok = __esm({
|
|
|
2921
2923
|
init_swarmHome();
|
|
2922
2924
|
init_swarmFiles();
|
|
2923
2925
|
init_codex();
|
|
2926
|
+
GROK_SWARM_TOOL_TIMEOUT_SEC = 7 * 24 * 60 * 60;
|
|
2924
2927
|
grokExecutor = {
|
|
2925
2928
|
id: "grok",
|
|
2926
2929
|
title: "Grok CLI (grok)",
|
|
@@ -4490,7 +4493,7 @@ var init_package = __esm({
|
|
|
4490
4493
|
"package.json"() {
|
|
4491
4494
|
package_default = {
|
|
4492
4495
|
name: "@taskless-app/swarm",
|
|
4493
|
-
version: "0.6.
|
|
4496
|
+
version: "0.6.107",
|
|
4494
4497
|
type: "module",
|
|
4495
4498
|
description: "Local control plane for a fleet of AI coding agents (drones), coordinating through Taskless. The overmind runs the swarm.",
|
|
4496
4499
|
keywords: [
|
|
@@ -4542,7 +4545,7 @@ var init_package = __esm({
|
|
|
4542
4545
|
undici: "^7.30.1",
|
|
4543
4546
|
zod: "3.25.76"
|
|
4544
4547
|
},
|
|
4545
|
-
gitHead: "
|
|
4548
|
+
gitHead: "ca9dbf062f7b6364a2bcb264cf769d342fe5d185"
|
|
4546
4549
|
};
|
|
4547
4550
|
}
|
|
4548
4551
|
});
|