@desplega.ai/agent-swarm 1.124.0 → 1.125.0
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/{actions-z3d0fk7z.js → actions-3aky6er5.js} +6 -5
- package/dist/{app-q2rc9tdr.js → app-xbt4n4mt.js} +4 -3
- package/dist/{assistant-3stjq7fz.js → assistant-ncftbs9t.js} +12 -10
- package/dist/{boot-reembed-v6r1df32.js → boot-reembed-00cxm1mj.js} +5 -4
- package/dist/{boot-reembed-5867whnb.js → boot-reembed-5xxzva12.js} +4 -3
- package/dist/{boot-scrub-logs-8b8jegk3.js → boot-scrub-logs-9cmcq6ez.js} +3 -2
- package/dist/{cli-0925phzv.js → cli-0w3mk6r2.js} +1 -1
- package/dist/{cli-zxb72ctk.js → cli-3x5aphbt.js} +2 -2
- package/dist/{cli-exfs8aym.js → cli-3y8xyp0b.js} +7 -1
- package/dist/{cli-2yr6edr7.js → cli-4xft7caa.js} +4 -4
- package/dist/{cli-kk58tg33.js → cli-5a4nmfrn.js} +12 -10
- package/dist/{cli-5jn6wnd9.js → cli-88r31vx9.js} +2 -2
- package/dist/{cli-sqv6c9b8.js → cli-8bkwn1wv.js} +11 -9
- package/dist/{cli-p0zgv8pj.js → cli-8vzddbs7.js} +2 -1
- package/dist/{cli-qf7acvyr.js → cli-94796kxr.js} +2 -2
- package/dist/{cli-wn3m6q54.js → cli-dbmh9yqn.js} +7 -5
- package/dist/{cli-p0ec4vv6.js → cli-ff8b5cbe.js} +1 -1
- package/dist/{cli-y43n987v.js → cli-gbx122ge.js} +1 -1
- package/dist/{cli-ykthjw29.js → cli-jcavqvh7.js} +20 -24
- package/dist/cli-k1py8264.js +1129 -0
- package/dist/{cli-qwsagsmg.js → cli-k5c6jfzn.js} +1 -1
- package/dist/{cli-gkvf8d83.js → cli-n02497b2.js} +5 -3
- package/dist/{cli-vm20sh8d.js → cli-nqq9tthd.js} +9 -7
- package/dist/{cli-jp4mdj9d.js → cli-pqtrhrss.js} +2 -2
- package/dist/{cli-gzjsamwc.js → cli-q92pr3rt.js} +1 -1
- package/dist/{cli-mmk5vagg.js → cli-qzy21svh.js} +2 -2
- package/dist/{cli-dq2ssyf0.js → cli-refygp3c.js} +5 -5
- package/dist/{cli-perb20ma.js → cli-tar44ekp.js} +1 -1
- package/dist/{cli-h89g0qrd.js → cli-v292k2fv.js} +1 -1
- package/dist/{cli-mcez7z4p.js → cli-vvbwy286.js} +1 -1
- package/dist/{cli-x268say8.js → cli-wbcsjpyv.js} +366 -68
- package/dist/cli-wdrrgv4m.js +22 -0
- package/dist/{cli-3z4q09tn.js → cli-yr11vvst.js} +32 -1127
- package/dist/{cli-92bqgbgy.js → cli-zhp3t49e.js} +4 -2
- package/dist/cli.js +23 -10
- package/dist/{codex-adapter-vcseqpwf.js → codex-adapter-mqczt8xv.js} +1 -1
- package/dist/codex-hook-emq42pfq.js +106 -0
- package/dist/{codex-session-runner-jec9e9t1.js → codex-session-runner-mrwz1h50.js} +1 -1
- package/dist/{commands-sda76yn8.js → commands-7dbx98fp.js} +5 -3
- package/dist/{db-vn9e4rqj.js → db-r5705rk8.js} +7 -2
- package/dist/{handlers-xfja18ac.js → handlers-8kj038es.js} +12 -10
- package/dist/{hook-2medrp47.js → hook-2590fnyk.js} +1 -1
- package/dist/{http-937pyjfc.js → http-8yej35d0.js} +77 -55
- package/dist/{index-vah60vxp.js → index-hy73j39b.js} +8 -7
- package/dist/{index-knqczmnm.js → index-kgay2v5w.js} +11 -10
- package/dist/{index-gw4en7jg.js → index-v3n4hb3w.js} +10 -9
- package/dist/{index-2bqd2q9v.js → index-x1n3tybc.js} +12 -11
- package/dist/{keepalive-20rd6hxh.js → keepalive-q8yg6d6r.js} +6 -5
- package/dist/{lead-7w2k3a49.js → lead-yxtt169p.js} +23 -21
- package/dist/{maintenance-p3x918yw.js → maintenance-70cskw5t.js} +5 -4
- package/dist/{oauth-refresh-sweep-shm0nzm4.js → oauth-refresh-sweep-90h9rzx8.js} +5 -4
- package/dist/{onboard-py9dnf54.js → onboard-20reqz6j.js} +2 -2
- package/dist/{otel-impl-7yjkfg68.js → otel-impl-vja8f9mm.js} +1 -1
- package/dist/{pricing-refresh-3snb6370.js → pricing-refresh-34mbexgm.js} +5 -4
- package/dist/{rbac-roles-gqxdp8st.js → rbac-roles-s1qnewkt.js} +5 -4
- package/dist/{rbac-roles-5e72bbpk.js → rbac-roles-sa59eyp4.js} +4 -3
- package/dist/{seed-pricing-bg42d7h2.js → seed-pricing-p5fnj0qd.js} +4 -3
- package/dist/{setup-nzk3kbbq.js → setup-p9yq3mb2.js} +2 -2
- package/dist/{worker-0p1jdzkm.js → worker-21zrq8cd.js} +23 -21
- package/openapi.json +1 -1
- package/package.json +2 -1
- package/src/be/db.ts +30 -0
- package/src/cli.tsx +12 -0
- package/src/commands/runner.ts +11 -23
- package/src/hooks/codex-hook.ts +157 -0
- package/src/http/kv.ts +37 -8
- package/src/http/mcp-bridge.ts +3 -2
- package/src/kv-overflow.ts +20 -0
- package/src/prompts/steering-delivery.ts +32 -0
- package/src/providers/codex-adapter.ts +20 -4
- package/src/providers/types.ts +8 -0
- package/src/script-workflows/harness.ts +5 -1
- package/src/script-workflows/workflow-ctx.ts +6 -7
- package/src/scripts-runtime/eval-harness.ts +11 -2
- package/src/scripts-runtime/extract-args-schema.ts +5 -1
- package/src/scripts-runtime/response-limit.ts +50 -0
- package/src/scripts-runtime/swarm-sdk.ts +3 -4
- package/src/tests/claude-adapter-binary.test.ts +64 -32
- package/src/tests/codex-steering-hook.test.ts +224 -0
- package/src/tests/kv-http.test.ts +35 -1
- package/src/tests/kv-storage.test.ts +45 -0
- package/src/tests/kv-tool.test.ts +51 -0
- package/src/tests/run-bun-tests.test.ts +171 -0
- package/src/tests/scripts-mcp-e2e.test.ts +105 -1
- package/src/tests/scripts-runtime.test.ts +33 -0
- package/src/tests/sdk-allowlist.test.ts +27 -1
- package/src/tests/slack-read-boundaries.test.ts +229 -0
- package/src/tests/steering-core.test.ts +19 -19
- package/src/tests/steering-transport.test.ts +21 -3
- package/src/tests/store-progress-attachments-handler.test.ts +45 -10
- package/src/tests/swarm-tool-result-gate.test.ts +300 -21
- package/src/tests/tool-output-agent-id.test.ts +9 -3
- package/src/tests/tool-registrar-no-input.test.ts +6 -0
- package/src/tools/kv/kv-get.ts +10 -0
- package/src/tools/kv/kv-list.ts +7 -0
- package/src/tools/kv/kv-read-auth.ts +13 -0
- package/src/tools/kv/kv-write-auth.ts +4 -0
- package/src/tools/steer-task.ts +1 -1
- package/src/tools/store-progress.ts +24 -7
- package/src/tools/utils.ts +403 -43
- package/src/types.ts +7 -1
|
@@ -2,10 +2,12 @@ import {
|
|
|
2
2
|
getAgentById,
|
|
3
3
|
getAgentWorkingOnThread,
|
|
4
4
|
getAllAgents,
|
|
5
|
-
init_db
|
|
5
|
+
init_db
|
|
6
|
+
} from "./cli-yr11vvst.js";
|
|
7
|
+
import {
|
|
6
8
|
init_env_flag,
|
|
7
9
|
isEnvFlagEnabled
|
|
8
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-k1py8264.js";
|
|
9
11
|
|
|
10
12
|
// src/slack/router.ts
|
|
11
13
|
init_db();
|
package/dist/cli.js
CHANGED
|
@@ -65,7 +65,7 @@ var import_react = __toESM(require_react(), 1);
|
|
|
65
65
|
// package.json
|
|
66
66
|
var package_default = {
|
|
67
67
|
name: "@desplega.ai/agent-swarm",
|
|
68
|
-
version: "1.
|
|
68
|
+
version: "1.125.0",
|
|
69
69
|
description: "Multi-agent orchestration for Claude Code, Codex, Gemini CLI, and other AI coding assistants",
|
|
70
70
|
license: "MIT",
|
|
71
71
|
author: "desplega.sh <contact@desplega.sh>",
|
|
@@ -130,6 +130,7 @@ var package_default = {
|
|
|
130
130
|
"mono:test": "turbo run test",
|
|
131
131
|
"mono:lint": "turbo run lint",
|
|
132
132
|
"mono:dev": "turbo run dev",
|
|
133
|
+
"test:root": "bash scripts/run-bun-tests.sh",
|
|
133
134
|
prepack: "bun run build:cli",
|
|
134
135
|
"tsc:check": "bun tsc --noEmit",
|
|
135
136
|
"check:db-boundary": "bash scripts/check-db-boundary.sh",
|
|
@@ -481,6 +482,13 @@ Used internally by the agent-swarm hooks system.`,
|
|
|
481
482
|
options: " -h, --help Show this help",
|
|
482
483
|
examples: ` ${binName} hook`
|
|
483
484
|
},
|
|
485
|
+
"codex-hook": {
|
|
486
|
+
usage: `${binName} codex-hook`,
|
|
487
|
+
description: `Handle Codex CLI hook events from stdin (steering delivery).
|
|
488
|
+
Used internally by the codex hooks registered in the worker image.`,
|
|
489
|
+
options: " -h, --help Show this help",
|
|
490
|
+
examples: ` ${binName} codex-hook`
|
|
491
|
+
},
|
|
484
492
|
artifact: {
|
|
485
493
|
usage: `${binName} artifact <subcommand> [options]`,
|
|
486
494
|
description: "Manage agent artifacts (serve, list, etc.).",
|
|
@@ -635,6 +643,7 @@ ${binName} v${package_default.version}`);
|
|
|
635
643
|
["api", "Start the API + MCP HTTP server"],
|
|
636
644
|
["claude", "Run Claude CLI"],
|
|
637
645
|
["hook", "Handle Claude Code hook events (stdin)"],
|
|
646
|
+
["codex-hook", "Handle Codex CLI hook events (stdin, steering delivery)"],
|
|
638
647
|
["artifact", "Manage agent artifacts"],
|
|
639
648
|
["x", "Execute external command routes"],
|
|
640
649
|
["scripts", "Reusable scripts maintenance"],
|
|
@@ -662,7 +671,7 @@ function McpServer({ port, apiKey, dbPath }) {
|
|
|
662
671
|
if (dbPath) {
|
|
663
672
|
process.env.DATABASE_PATH = dbPath;
|
|
664
673
|
}
|
|
665
|
-
import("./http-
|
|
674
|
+
import("./http-8yej35d0.js").then(() => {
|
|
666
675
|
setStatus("running");
|
|
667
676
|
}).catch((err) => {
|
|
668
677
|
setStatus("error");
|
|
@@ -748,7 +757,7 @@ function WorkerRunner({
|
|
|
748
757
|
}) {
|
|
749
758
|
const { exit } = use_app_default();
|
|
750
759
|
import_react.useEffect(() => {
|
|
751
|
-
import("./worker-
|
|
760
|
+
import("./worker-21zrq8cd.js").then(({ runWorker }) => runWorker({
|
|
752
761
|
prompt: prompt || undefined,
|
|
753
762
|
yolo,
|
|
754
763
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -765,7 +774,7 @@ function WorkerRunner({
|
|
|
765
774
|
function LeadRunner({ prompt, yolo, systemPrompt, systemPromptFile, additionalArgs }) {
|
|
766
775
|
const { exit } = use_app_default();
|
|
767
776
|
import_react.useEffect(() => {
|
|
768
|
-
import("./lead-
|
|
777
|
+
import("./lead-yxtt169p.js").then(({ runLead }) => runLead({
|
|
769
778
|
prompt: prompt || undefined,
|
|
770
779
|
yolo,
|
|
771
780
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -805,8 +814,8 @@ function LazyComponent({
|
|
|
805
814
|
}
|
|
806
815
|
return import_react.createElement(Component, props);
|
|
807
816
|
}
|
|
808
|
-
var loadOnboard = () => import("./onboard-
|
|
809
|
-
var loadConnect = () => import("./setup-
|
|
817
|
+
var loadOnboard = () => import("./onboard-20reqz6j.js").then(({ Onboard }) => Onboard);
|
|
818
|
+
var loadConnect = () => import("./setup-p9yq3mb2.js").then(({ Setup }) => Setup);
|
|
810
819
|
function UnknownCommand({ command }) {
|
|
811
820
|
const { exit } = use_app_default();
|
|
812
821
|
import_react.useEffect(() => {
|
|
@@ -919,8 +928,12 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
919
928
|
}
|
|
920
929
|
process.exit(0);
|
|
921
930
|
} else if (args.command === "hook") {
|
|
922
|
-
const { runHook } = await import("./hook-
|
|
931
|
+
const { runHook } = await import("./hook-2590fnyk.js");
|
|
923
932
|
await runHook();
|
|
933
|
+
} else if (args.command === "codex-hook") {
|
|
934
|
+
const { handleCodexHook } = await import("./codex-hook-emq42pfq.js");
|
|
935
|
+
await handleCodexHook();
|
|
936
|
+
process.exit(0);
|
|
924
937
|
} else if (args.command === "artifact") {
|
|
925
938
|
const artifactArgs = process.argv.slice(process.argv.indexOf("artifact") + 1);
|
|
926
939
|
const { runArtifact } = await import("./artifact-x7e6f41t.js");
|
|
@@ -939,7 +952,7 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
939
952
|
printHelp("scripts");
|
|
940
953
|
process.exit(scriptsArgs[0] === "reembed" || args.showHelp ? 0 : 1);
|
|
941
954
|
}
|
|
942
|
-
const { runScriptsMaintenanceCommand } = await import("./maintenance-
|
|
955
|
+
const { runScriptsMaintenanceCommand } = await import("./maintenance-70cskw5t.js");
|
|
943
956
|
await runScriptsMaintenanceCommand(scriptsArgs);
|
|
944
957
|
console.log("Scripts re-embedded.");
|
|
945
958
|
} else if (args.command === "rbac") {
|
|
@@ -949,14 +962,14 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
949
962
|
printHelp("rbac");
|
|
950
963
|
process.exit(args.showHelp ? 0 : 1);
|
|
951
964
|
}
|
|
952
|
-
const { runRbacCliCommand } = await import("./rbac-roles-
|
|
965
|
+
const { runRbacCliCommand } = await import("./rbac-roles-sa59eyp4.js");
|
|
953
966
|
await runRbacCliCommand(rbacArgs);
|
|
954
967
|
} else if (args.command === "codex-login") {
|
|
955
968
|
const { runCodexLogin } = await import("./codex-login-0h18cy3e.js");
|
|
956
969
|
const codexLoginArgs = process.argv.slice(process.argv.indexOf("codex-login") + 1);
|
|
957
970
|
await runCodexLogin(codexLoginArgs);
|
|
958
971
|
} else if (args.command === "codex-session-runner") {
|
|
959
|
-
const { runCodexSessionRunner } = await import("./codex-session-runner-
|
|
972
|
+
const { runCodexSessionRunner } = await import("./codex-session-runner-mrwz1h50.js");
|
|
960
973
|
await runCodexSessionRunner();
|
|
961
974
|
} else if (args.command === "claude-managed-setup") {
|
|
962
975
|
const { runClaudeManagedSetup } = await import("./claude-managed-setup-eac00cqn.js");
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
import {
|
|
3
|
+
renderSteeringDelivery
|
|
4
|
+
} from "./cli-wdrrgv4m.js";
|
|
5
|
+
import {
|
|
6
|
+
getApiKey
|
|
7
|
+
} from "./cli-f14fvzag.js";
|
|
8
|
+
import {
|
|
9
|
+
getMcpBaseUrl
|
|
10
|
+
} from "./cli-dh55d5fg.js";
|
|
11
|
+
import {
|
|
12
|
+
init_steering_enabled,
|
|
13
|
+
isSteeringEnabled
|
|
14
|
+
} from "./cli-k1py8264.js";
|
|
15
|
+
import"./cli-p9swy5t3.js";
|
|
16
|
+
|
|
17
|
+
// src/hooks/codex-hook.ts
|
|
18
|
+
init_steering_enabled();
|
|
19
|
+
var FETCH_TIMEOUT_MS = 5000;
|
|
20
|
+
function resolveCodexHookConfig(env = process.env) {
|
|
21
|
+
const agentId = env.AGENT_ID;
|
|
22
|
+
const apiKey = getApiKey(env);
|
|
23
|
+
const apiUrl = getMcpBaseUrl();
|
|
24
|
+
if (!agentId || !apiKey || !apiUrl)
|
|
25
|
+
return null;
|
|
26
|
+
return { apiUrl, apiKey, agentId };
|
|
27
|
+
}
|
|
28
|
+
async function collectDeliverableSteering(config, fetchImpl = fetch) {
|
|
29
|
+
const headers = {
|
|
30
|
+
Authorization: `Bearer ${config.apiKey}`,
|
|
31
|
+
"X-Agent-ID": config.agentId
|
|
32
|
+
};
|
|
33
|
+
let messages;
|
|
34
|
+
try {
|
|
35
|
+
const response = await fetchImpl(`${config.apiUrl}/api/steering-messages`, {
|
|
36
|
+
headers,
|
|
37
|
+
signal: AbortSignal.timeout(FETCH_TIMEOUT_MS)
|
|
38
|
+
});
|
|
39
|
+
if (!response.ok)
|
|
40
|
+
return [];
|
|
41
|
+
const data = await response.json();
|
|
42
|
+
messages = (data.messages ?? []).filter((message) => message.status === "pending");
|
|
43
|
+
} catch {
|
|
44
|
+
return [];
|
|
45
|
+
}
|
|
46
|
+
const delivered = [];
|
|
47
|
+
for (const message of messages) {
|
|
48
|
+
try {
|
|
49
|
+
const report = await fetchImpl(`${config.apiUrl}/api/steering-messages/${encodeURIComponent(message.id)}/delivered`, {
|
|
50
|
+
method: "POST",
|
|
51
|
+
headers: { ...headers, "Content-Type": "application/json" },
|
|
52
|
+
body: JSON.stringify({ mode: "queue" }),
|
|
53
|
+
signal: AbortSignal.timeout(FETCH_TIMEOUT_MS)
|
|
54
|
+
});
|
|
55
|
+
if (!report.ok)
|
|
56
|
+
continue;
|
|
57
|
+
} catch {
|
|
58
|
+
continue;
|
|
59
|
+
}
|
|
60
|
+
delivered.push(await renderSteeringDelivery(message.id, message.body));
|
|
61
|
+
}
|
|
62
|
+
return delivered;
|
|
63
|
+
}
|
|
64
|
+
async function handleCodexHookEvent(msg, config, env = process.env, fetchImpl = fetch) {
|
|
65
|
+
const event = msg.hook_event_name;
|
|
66
|
+
if (!event || !config || !isSteeringEnabled(env))
|
|
67
|
+
return null;
|
|
68
|
+
if (event !== "SessionStart" && event !== "PostToolUse" && event !== "Stop")
|
|
69
|
+
return null;
|
|
70
|
+
const envelopes = await collectDeliverableSteering(config, fetchImpl);
|
|
71
|
+
if (envelopes.length === 0)
|
|
72
|
+
return null;
|
|
73
|
+
const additionalContext = envelopes.join(`
|
|
74
|
+
|
|
75
|
+
`);
|
|
76
|
+
if (event === "Stop") {
|
|
77
|
+
return {
|
|
78
|
+
decision: "block",
|
|
79
|
+
reason: `Steering message(s) arrived before you finished:
|
|
80
|
+
|
|
81
|
+
${additionalContext}`
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
hookSpecificOutput: { hookEventName: event, additionalContext }
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
async function handleCodexHook() {
|
|
89
|
+
let msg;
|
|
90
|
+
try {
|
|
91
|
+
msg = await Bun.stdin.json();
|
|
92
|
+
} catch {
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
try {
|
|
96
|
+
const output = await handleCodexHookEvent(msg, resolveCodexHookConfig());
|
|
97
|
+
if (output)
|
|
98
|
+
console.log(JSON.stringify(output));
|
|
99
|
+
} catch {}
|
|
100
|
+
}
|
|
101
|
+
export {
|
|
102
|
+
resolveCodexHookConfig,
|
|
103
|
+
handleCodexHookEvent,
|
|
104
|
+
handleCodexHook,
|
|
105
|
+
collectDeliverableSteering
|
|
106
|
+
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAllAgents,
|
|
3
3
|
getAllTasks,
|
|
4
|
-
init_db
|
|
4
|
+
init_db
|
|
5
|
+
} from "./cli-yr11vvst.js";
|
|
6
|
+
import {
|
|
5
7
|
init_env_flag,
|
|
6
8
|
isEnvFlagEnabled
|
|
7
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-k1py8264.js";
|
|
8
10
|
import"./cli-z2zcxes1.js";
|
|
9
|
-
import"./cli-
|
|
11
|
+
import"./cli-8vzddbs7.js";
|
|
10
12
|
import"./cli-4j2mrzag.js";
|
|
11
13
|
import"./cli-bw80ck94.js";
|
|
12
14
|
import"./cli-xz9aq0rf.js";
|
|
@@ -367,6 +367,8 @@ import {
|
|
|
367
367
|
shouldBlockPolling,
|
|
368
368
|
startTask,
|
|
369
369
|
supersedeTask,
|
|
370
|
+
sweepExpiredKv,
|
|
371
|
+
sweepExpiredKvPrefix,
|
|
370
372
|
taskQueries,
|
|
371
373
|
toggleAgentSkill,
|
|
372
374
|
uninstallMcpServer,
|
|
@@ -411,9 +413,10 @@ import {
|
|
|
411
413
|
upsertSkillFiles,
|
|
412
414
|
upsertSwarmConfig,
|
|
413
415
|
withFavoriteFlags
|
|
414
|
-
} from "./cli-
|
|
416
|
+
} from "./cli-yr11vvst.js";
|
|
417
|
+
import"./cli-k1py8264.js";
|
|
415
418
|
import"./cli-z2zcxes1.js";
|
|
416
|
-
import"./cli-
|
|
419
|
+
import"./cli-8vzddbs7.js";
|
|
417
420
|
import"./cli-4j2mrzag.js";
|
|
418
421
|
import"./cli-bw80ck94.js";
|
|
419
422
|
import"./cli-xz9aq0rf.js";
|
|
@@ -465,6 +468,8 @@ export {
|
|
|
465
468
|
uninstallMcpServer,
|
|
466
469
|
toggleAgentSkill,
|
|
467
470
|
taskQueries,
|
|
471
|
+
sweepExpiredKvPrefix,
|
|
472
|
+
sweepExpiredKv,
|
|
468
473
|
supersedeTask,
|
|
469
474
|
startTask,
|
|
470
475
|
shouldBlockPolling,
|
|
@@ -5,25 +5,25 @@ import {
|
|
|
5
5
|
instantFlush,
|
|
6
6
|
requestSlackThreadSteering,
|
|
7
7
|
wasEventSeen
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-8bkwn1wv.js";
|
|
9
9
|
import {
|
|
10
10
|
extractSlackMessageText,
|
|
11
11
|
extractTaskFromMessage,
|
|
12
12
|
hasOtherUserMention,
|
|
13
13
|
routeMessage
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-zhp3t49e.js";
|
|
15
15
|
import {
|
|
16
16
|
enrichSlackUserEmail,
|
|
17
17
|
resolveSlackUserId,
|
|
18
18
|
rewriteSlackMentions
|
|
19
|
-
} from "./cli-
|
|
20
|
-
import"./cli-
|
|
19
|
+
} from "./cli-pqtrhrss.js";
|
|
20
|
+
import"./cli-0w3mk6r2.js";
|
|
21
21
|
import {
|
|
22
22
|
createTaskWithSiblingAwareness
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-k5c6jfzn.js";
|
|
24
24
|
import {
|
|
25
25
|
registerTreeMessage
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-refygp3c.js";
|
|
27
27
|
import"./cli-rkndnn90.js";
|
|
28
28
|
import"./cli-b0p7rfnd.js";
|
|
29
29
|
import {
|
|
@@ -39,14 +39,16 @@ import {
|
|
|
39
39
|
getTasksByAgentId,
|
|
40
40
|
init_context_key,
|
|
41
41
|
init_db,
|
|
42
|
+
slackContextKey
|
|
43
|
+
} from "./cli-yr11vvst.js";
|
|
44
|
+
import {
|
|
42
45
|
init_env_flag,
|
|
43
46
|
init_resolver,
|
|
44
47
|
isEnvFlagEnabled,
|
|
45
|
-
resolveTemplate
|
|
46
|
-
|
|
47
|
-
} from "./cli-3z4q09tn.js";
|
|
48
|
+
resolveTemplate
|
|
49
|
+
} from "./cli-k1py8264.js";
|
|
48
50
|
import"./cli-z2zcxes1.js";
|
|
49
|
-
import"./cli-
|
|
51
|
+
import"./cli-8vzddbs7.js";
|
|
50
52
|
import"./cli-4j2mrzag.js";
|
|
51
53
|
import"./cli-bw80ck94.js";
|
|
52
54
|
import"./cli-xz9aq0rf.js";
|