@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
|
@@ -14,13 +14,15 @@ import {
|
|
|
14
14
|
hasNonTerminalRerouteDecisionChild,
|
|
15
15
|
init_date_utils,
|
|
16
16
|
init_db,
|
|
17
|
+
init_templates1 as init_templates,
|
|
18
|
+
normalizeDateRequired
|
|
19
|
+
} from "./cli-yr11vvst.js";
|
|
20
|
+
import {
|
|
17
21
|
init_env_flag,
|
|
18
22
|
init_resolver,
|
|
19
|
-
init_templates1 as init_templates,
|
|
20
23
|
isEnvFlagEnabled,
|
|
21
|
-
normalizeDateRequired,
|
|
22
24
|
resolveTemplate
|
|
23
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-k1py8264.js";
|
|
24
26
|
|
|
25
27
|
// src/be/db-queries/tracker.ts
|
|
26
28
|
init_date_utils();
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getPinCandidateAgent,
|
|
8
8
|
getResumeGeneration,
|
|
9
9
|
repointTrackerSyncBySwarmId
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-n02497b2.js";
|
|
11
11
|
import {
|
|
12
12
|
getExecutorRegistry,
|
|
13
13
|
recoverIncompleteRuns
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-5a4nmfrn.js";
|
|
15
15
|
import {
|
|
16
16
|
MAX_EMPTY_POLLS,
|
|
17
17
|
assignUnassignedTaskPending,
|
|
@@ -42,20 +42,22 @@ import {
|
|
|
42
42
|
hasNonTerminalResumeChild,
|
|
43
43
|
hasPendingSteering,
|
|
44
44
|
init_db,
|
|
45
|
-
init_registry,
|
|
46
|
-
init_resolver,
|
|
47
45
|
init_steering,
|
|
48
46
|
isAgentEligibleForTask,
|
|
49
47
|
isPoolAffinityEnforcementEnabled,
|
|
50
48
|
promotePendingSteeringForTask,
|
|
51
|
-
registerTemplate,
|
|
52
49
|
releaseStaleMentionProcessing,
|
|
53
50
|
releaseStaleProcessingInbox,
|
|
54
51
|
releaseStaleReviewingTasks,
|
|
55
|
-
resolveTemplate,
|
|
56
52
|
supersedeTask,
|
|
57
53
|
updateAgentStatus
|
|
58
|
-
} from "./cli-
|
|
54
|
+
} from "./cli-yr11vvst.js";
|
|
55
|
+
import {
|
|
56
|
+
init_registry,
|
|
57
|
+
init_resolver,
|
|
58
|
+
registerTemplate,
|
|
59
|
+
resolveTemplate
|
|
60
|
+
} from "./cli-k1py8264.js";
|
|
59
61
|
import {
|
|
60
62
|
init_secret_scrubber,
|
|
61
63
|
scrubSecrets
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
linkIdentity,
|
|
5
5
|
recordUnmappedIdentity,
|
|
6
6
|
resolveIdentity
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-0w3mk6r2.js";
|
|
8
8
|
import {
|
|
9
9
|
getKv,
|
|
10
10
|
init_db,
|
|
11
11
|
upsertKv
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-yr11vvst.js";
|
|
13
13
|
|
|
14
14
|
// src/slack/enrich.ts
|
|
15
15
|
init_db();
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
getEmbeddingProvider,
|
|
5
5
|
init_embedding,
|
|
6
6
|
serializeEmbedding
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-ff8b5cbe.js";
|
|
8
8
|
import {
|
|
9
9
|
getDb,
|
|
10
10
|
init_db
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-yr11vvst.js";
|
|
12
12
|
import {
|
|
13
13
|
init_secret_scrubber,
|
|
14
14
|
scrubSecrets
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
init_db,
|
|
31
31
|
markTaskSlackReplySent,
|
|
32
32
|
setSlackMessageTracking
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-yr11vvst.js";
|
|
34
34
|
import {
|
|
35
35
|
require_receiver,
|
|
36
36
|
require_sender,
|
|
@@ -55070,13 +55070,13 @@ async function initSlackApp() {
|
|
|
55070
55070
|
socketMode: true,
|
|
55071
55071
|
logLevel: import_bolt.LogLevel.DEBUG
|
|
55072
55072
|
});
|
|
55073
|
-
const { registerMessageHandler } = await import("./handlers-
|
|
55074
|
-
const { registerCommandHandler } = await import("./commands-
|
|
55075
|
-
const { registerActionHandlers } = await import("./actions-
|
|
55073
|
+
const { registerMessageHandler } = await import("./handlers-8kj038es.js");
|
|
55074
|
+
const { registerCommandHandler } = await import("./commands-7dbx98fp.js");
|
|
55075
|
+
const { registerActionHandlers } = await import("./actions-3aky6er5.js");
|
|
55076
55076
|
registerMessageHandler(app);
|
|
55077
55077
|
registerCommandHandler(app);
|
|
55078
55078
|
registerActionHandlers(app);
|
|
55079
|
-
const { createAssistant } = await import("./assistant-
|
|
55079
|
+
const { createAssistant } = await import("./assistant-ncftbs9t.js");
|
|
55080
55080
|
app.assistant(createAssistant());
|
|
55081
55081
|
return app;
|
|
55082
55082
|
}
|