@desplega.ai/agent-swarm 2.4.1 → 2.4.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.
- package/dist/{acp-adapter-zvzr538d.js → acp-adapter-1885dpr7.js} +4 -4
- package/dist/{actions-jhtqdw69.js → actions-pn76n32q.js} +18 -18
- package/dist/{amp-adapter-bd84rhs2.js → amp-adapter-af84rx1d.js} +3 -3
- package/dist/{app-kreq1gwg.js → app-6sv8mhzm.js} +3 -3
- package/dist/{assistant-3k22sbsq.js → assistant-sc2tf825.js} +20 -20
- package/dist/{boot-reembed-f6z923ny.js → boot-reembed-gvxjs2py.js} +1 -1
- package/dist/{boot-reembed-e53x6b9v.js → boot-reembed-y3m0ydzj.js} +1 -1
- package/dist/{boot-scrub-sweep-0538vsb7.js → boot-scrub-sweep-1j9mk05f.js} +3 -3
- package/dist/{boot-seeds-6wxqkfk2.js → boot-seeds-37sp626b.js} +4 -4
- package/dist/{claude-adapter-gfts5044.js → claude-adapter-rp0jtnwr.js} +4 -4
- package/dist/{claude-managed-setup-h00hsgtz.js → claude-managed-setup-rdt248k7.js} +1 -1
- package/dist/{claude-sdk-session-56besmfz.js → claude-sdk-session-53rcw5we.js} +9822 -9749
- package/dist/{cli-3tnpj2bh.js → cli-038fga5k.js} +2 -2
- package/dist/{cli-kmqgmcnb.js → cli-0dxxwfkt.js} +8 -8
- package/dist/{cli-471qk6s2.js → cli-1012xb7j.js} +28 -28
- package/dist/{cli-sv5gb0yb.js → cli-1eszr343.js} +1 -1
- package/dist/{cli-7225gwj7.js → cli-1m17dc9d.js} +1 -1
- package/dist/{cli-xftrvxag.js → cli-1ma335fz.js} +3 -3
- package/dist/{cli-s48yvzb8.js → cli-1n9gdg56.js} +4 -4
- package/dist/{cli-ash6xxk7.js → cli-1xsraagq.js} +3 -3
- package/dist/{cli-xbzvet96.js → cli-36ckw0wx.js} +5 -4
- package/dist/{cli-mhywgrrz.js → cli-4sydckyj.js} +1 -1
- package/dist/{cli-3r448dqn.js → cli-4yef8ghv.js} +3 -3
- package/dist/{cli-g0hgtz4p.js → cli-58vwn100.js} +3 -3
- package/dist/{cli-pw7v69vp.js → cli-625tb7aq.js} +1 -1
- package/dist/{cli-m2qgh5sv.js → cli-6aen3ezb.js} +1 -1
- package/dist/{cli-z071fb95.js → cli-6eyncg0y.js} +6 -6
- package/dist/{cli-0bh477zn.js → cli-73ezfhha.js} +120 -12
- package/dist/{cli-x5mq1fyq.js → cli-74c1wpm0.js} +3 -3
- package/dist/{cli-b1dfr1m4.js → cli-7a6p4e65.js} +1 -1
- package/dist/{cli-fpmsqq59.js → cli-836ehxmt.js} +1 -1
- package/dist/{cli-1pa3rz69.js → cli-8vverzf7.js} +1 -1
- package/dist/{cli-rdq7tzwm.js → cli-8y99kfey.js} +11 -11
- package/dist/{cli-z1ew8vbq.js → cli-aa3tb29r.js} +10 -5
- package/dist/{cli-6ncjvx55.js → cli-aypbg9r2.js} +1 -1
- package/dist/{cli-3kh4kpqy.js → cli-bxrqvpg5.js} +6 -6
- package/dist/{cli-0hyhdkdk.js → cli-cebvbc9t.js} +4 -1
- package/dist/{cli-p6argxh9.js → cli-dm8p2dpf.js} +7 -7
- package/dist/{cli-jh0qcrga.js → cli-e4d78xsv.js} +1 -1
- package/dist/{cli-7a91w22y.js → cli-e8xyjvfc.js} +1 -1
- package/dist/{cli-axh29tyr.js → cli-f0p0f6ja.js} +10 -10
- package/dist/{cli-w9g4sz81.js → cli-gf2850q7.js} +1 -1
- package/dist/{cli-bn5kevnf.js → cli-gx0j2khs.js} +4 -4
- package/dist/{cli-gf0kfg81.js → cli-h0mgxann.js} +5 -5
- package/dist/{cli-kr2pmfqx.js → cli-kgnkyabk.js} +85 -71
- package/dist/{cli-hqhzg1qq.js → cli-mzkwkbdy.js} +1 -1
- package/dist/{cli-k9z4zd4p.js → cli-npfe9t1s.js} +2 -2
- package/dist/{cli-syhq378v.js → cli-p0qerd2r.js} +1 -1
- package/dist/{cli-sjyetj21.js → cli-pygdsgh8.js} +1 -1
- package/dist/{cli-2wag8973.js → cli-qeaq3j6t.js} +1 -1
- package/dist/{cli-nx462e4v.js → cli-qp2m4btv.js} +3 -3
- package/dist/{cli-tbhwrxpt.js → cli-s9rr4gr2.js} +5 -5
- package/dist/{cli-fz9kewbh.js → cli-sds5zzs8.js} +1 -1
- package/dist/{cli-vy0fay6k.js → cli-tkf4x6ha.js} +15 -15
- package/dist/{cli-mfe7f7b5.js → cli-v87dr6e3.js} +2 -2
- package/dist/{cli-rqqsfz30.js → cli-vcgscaan.js} +91 -21
- package/dist/{cli-zfg9enh9.js → cli-vfha21c9.js} +6 -1
- package/dist/{cli-3p8fqcnh.js → cli-vq9gqarq.js} +1 -1
- package/dist/{cli-a4gvwttf.js → cli-wk28hzqn.js} +2 -2
- package/dist/{cli-p0rakbrk.js → cli-zvbb4n0e.js} +6 -5
- package/dist/cli.js +17 -17
- package/dist/{codex-adapter-p6rmm7vv.js → codex-adapter-2zrmab9b.js} +2 -2
- package/dist/{codex-hook-x7nejyrr.js → codex-hook-e2he7aca.js} +2 -2
- package/dist/{codex-session-runner-8vd5t9t0.js → codex-session-runner-kbkz62vc.js} +2 -2
- package/dist/{commands-7ems2p13.js → commands-hd574th6.js} +3 -3
- package/dist/{controller-m263fg43.js → controller-pz5mcfg4.js} +3 -3
- package/dist/{controllers-connect-bg33ae53.js → controllers-connect-5rgq2hfk.js} +19 -19
- package/dist/{cursor-adapter-cz6nm6mj.js → cursor-adapter-mgaprq0j.js} +2 -2
- package/dist/{db-w505dwa8.js → db-6nf1207q.js} +6 -2
- package/dist/{db-ys2rbdft.js → db-h06dxp05.js} +3 -3
- package/dist/{dispatcher-0s0mckqr.js → dispatcher-zthpy4m1.js} +17 -17
- package/dist/{dsh-adapter-3n3net33.js → dsh-adapter-64dhw0j7.js} +2 -2
- package/dist/{e2b-thdcxtjd.js → e2b-16d6ch39.js} +1 -1
- package/dist/{e2b-7am6tmq6.js → e2b-zn0b4w5w.js} +1 -1
- package/dist/{external-channel-5b23fv8z.js → external-channel-x01t7ke6.js} +2 -2
- package/dist/{grok-adapter-q9fghe5q.js → grok-adapter-h21jv594.js} +5 -5
- package/dist/handlers-2qjw434w.js +39 -0
- package/dist/{heartbeat-tww6yx1w.js → heartbeat-zzfksckz.js} +20 -20
- package/dist/{hook-pvmh9b6m.js → hook-3xfqhh2s.js} +2 -2
- package/dist/{hook-dx0pkvar.js → hook-z4zhzj1f.js} +10 -5
- package/dist/{http-k2ejbt05.js → http-q813tmya.js} +121 -75
- package/dist/{index-2z710v4x.js → index-220tk9bw.js} +9 -9
- package/dist/index-d0g18bax.js +41 -0
- package/dist/{index-dgz61nff.js → index-m0a4ydqj.js} +17 -17
- package/dist/{index-h2ek08d6.js → index-wbbs14c5.js} +17 -17
- package/dist/{index-x5aktmp8.js → index-x8xbyn1t.js} +1 -1
- package/dist/{keepalive-nhvpw10z.js → keepalive-y5t1my7m.js} +3 -3
- package/dist/{lead-jb6sf69z.js → lead-2xwtq66b.js} +30 -30
- package/dist/{maintenance-agakc519.js → maintenance-ybfsaedv.js} +1 -1
- package/dist/{oauth-refresh-sweep-4dcbhtn0.js → oauth-refresh-sweep-909jmn12.js} +2 -2
- package/dist/{onboard-4n2kwa4v.js → onboard-xn6fkkys.js} +3 -3
- package/dist/{opencode-adapter-3s7ax02e.js → opencode-adapter-x4tqzhkh.js} +3 -3
- package/dist/{otel-impl-tfa12080.js → otel-impl-e6mn0z13.js} +1 -1
- package/dist/{pi-mono-adapter-ytp7gz8b.js → pi-mono-adapter-mcfkn9vf.js} +3 -3
- package/dist/{pricing-refresh-3cqx3f3x.js → pricing-refresh-ygd362ep.js} +3 -3
- package/dist/{rbac-roles-9fae5rnv.js → rbac-roles-c9axvfnz.js} +3 -3
- package/dist/{rbac-roles-y6zbfzve.js → rbac-roles-mb470p4e.js} +2 -2
- package/dist/{render-v2-emawjvc4.js → render-v2-g0306nh1.js} +3 -3
- package/dist/{resume-zhgts7h7.js → resume-v315hnq6.js} +5 -5
- package/dist/{session-access-cm823e06.js → session-access-2zg285a1.js} +4 -4
- package/dist/{setup-tkp99w1e.js → setup-a4mtf02k.js} +1 -1
- package/dist/{work-objects-f722h263.js → work-objects-9fr0fgtn.js} +21 -21
- package/dist/{worker-p7f336rq.js → worker-qae22jeb.js} +30 -30
- package/openapi.json +393 -1
- package/package.json +3 -3
- package/src/apps/catalog.generated.json +3 -2
- package/src/apps/definition.ts +152 -4
- package/src/apps/row-store.ts +19 -7
- package/src/apps/schema-migrate.ts +14 -6
- package/src/apps/script-types.ts +1 -0
- package/src/apps/sync.ts +20 -19
- package/src/be/db/tasks/read.ts +112 -0
- package/src/be/db.ts +9 -4
- package/src/be/migrations/231_slack_tasks_last_updated_index.sql +5 -0
- package/src/be/swarm-config-guard.ts +15 -0
- package/src/github/handlers.ts +6 -5
- package/src/hooks/hook.ts +2 -1
- package/src/http/apps.ts +15 -2
- package/src/http/status.ts +49 -43
- package/src/http/tasks.ts +47 -0
- package/src/providers/acp-targets.ts +1 -1
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/codex-adapter.ts +4 -4
- package/src/providers/opencode-adapter.ts +2 -2
- package/src/providers/pi-mono-extension.ts +2 -1
- package/src/telemetry.ts +15 -3
- package/src/tests/app-row-tools.test.ts +25 -0
- package/src/tests/apps-json-column.test.ts +611 -0
- package/src/tests/apps-script-types.test.ts +2 -0
- package/src/tests/apps-sync-engine.test.ts +42 -0
- package/src/tests/claude-stop-hook.test.ts +47 -0
- package/src/tests/codex-adapter.test.ts +42 -0
- package/src/tests/db-task-read-contract.test.ts +4 -0
- package/src/tests/db-task-write-contract.test.ts +2 -0
- package/src/tests/docs-index-footprint.test.js +2 -2
- package/src/tests/env-flag.test.ts +15 -1
- package/src/tests/github-handlers-cancel-config.test.ts +29 -8
- package/src/tests/github-handlers-inline-comments.test.ts +9 -2
- package/src/tests/runner-harness-telemetry-env.test.ts +6 -0
- package/src/tests/script-connections.test.ts +2 -0
- package/src/tests/skill-script-refs.test.ts +63 -0
- package/src/tests/slack-render-v2-query-plans.test.ts +147 -0
- package/src/tests/status.test.ts +158 -9
- package/src/tests/task-lineage.test.ts +180 -0
- package/src/tests/telemetry-init.test.ts +62 -5
- package/src/tests/user-token-rest-auth.test.ts +38 -0
- package/src/tools/app-rows.ts +5 -0
- package/src/utils/env-flag.ts +9 -0
- package/templates/skills/apps/SKILL.md +4 -2
- package/templates/skills/apps/content.md +4 -2
- package/templates/skills/code-quality/content.md +9 -14
- package/dist/handlers-mqrym347.js +0 -39
- package/dist/index-pqfwh9nn.js +0 -41
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
applyOpenRouterBaseUrlOverride2,
|
|
20
20
|
buildOpenAICompatibleProviderBlock2
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-36ckw0wx.js";
|
|
22
22
|
import {
|
|
23
23
|
fetchInstalledMcpServers
|
|
24
24
|
} from "./cli-bst1vp7e.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
init_package,
|
|
45
45
|
package_default
|
|
46
|
-
} from "./cli-
|
|
46
|
+
} from "./cli-1xsraagq.js";
|
|
47
47
|
import {
|
|
48
48
|
scrubSecrets,
|
|
49
49
|
init_secret_scrubber
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
getPendingWaitsByEvent2,
|
|
40
40
|
resolveWaitState2,
|
|
41
41
|
init_db3
|
|
42
|
-
} from "./cli-
|
|
42
|
+
} from "./cli-vcgscaan.js";
|
|
43
43
|
import {
|
|
44
44
|
BaseExecutor,
|
|
45
45
|
postApprovalCancellationUpdates,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
findEntryNodes,
|
|
51
51
|
resolveValidationPort,
|
|
52
52
|
getSuccessors
|
|
53
|
-
} from "./cli-
|
|
53
|
+
} from "./cli-s9rr4gr2.js";
|
|
54
54
|
import {
|
|
55
55
|
workflowEventBus2,
|
|
56
56
|
init_event_bus
|
|
@@ -59,12 +59,12 @@ import {
|
|
|
59
59
|
RetryPolicySchema,
|
|
60
60
|
SUPERSEDED_WORKFLOW_TASK_REASON,
|
|
61
61
|
init_types
|
|
62
|
-
} from "./cli-
|
|
62
|
+
} from "./cli-836ehxmt.js";
|
|
63
63
|
import {
|
|
64
64
|
getSlackConfiguration,
|
|
65
65
|
isSlackConfigured,
|
|
66
66
|
init_config
|
|
67
|
-
} from "./cli-
|
|
67
|
+
} from "./cli-qeaq3j6t.js";
|
|
68
68
|
import {
|
|
69
69
|
deepInterpolate,
|
|
70
70
|
init_template
|
|
@@ -86,11 +86,11 @@ import {
|
|
|
86
86
|
import {
|
|
87
87
|
getAppUrl,
|
|
88
88
|
init_constants2
|
|
89
|
-
} from "./cli-
|
|
89
|
+
} from "./cli-gf2850q7.js";
|
|
90
90
|
import {
|
|
91
91
|
isEnvFlagEnabled,
|
|
92
92
|
init_env_flag
|
|
93
|
-
} from "./cli-
|
|
93
|
+
} from "./cli-cebvbc9t.js";
|
|
94
94
|
import {
|
|
95
95
|
isSensitiveKey,
|
|
96
96
|
scrubSecrets,
|
|
@@ -107,7 +107,7 @@ async function notifyAutomationPreflightFailure(preflight) {
|
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
109
|
try {
|
|
110
|
-
const { getSlackApp } = await import("./app-
|
|
110
|
+
const { getSlackApp } = await import("./app-6sv8mhzm.js");
|
|
111
111
|
const app = getSlackApp();
|
|
112
112
|
if (!app) {
|
|
113
113
|
console.warn("[Automation Preflight] Slack not available, cannot send notification");
|
|
@@ -1435,7 +1435,7 @@ async function runClaimedStep(def, runId, ctx, node, registry, existingStep, ste
|
|
|
1435
1435
|
if ("async" in result && result.async) {
|
|
1436
1436
|
const waiting = await checkpointStepWaiting(runId, stepId, ctx);
|
|
1437
1437
|
if (waiting && result.waitFor === "workflow.child.finished") {
|
|
1438
|
-
const { resumeFromChildRun } = await import("./resume-
|
|
1438
|
+
const { resumeFromChildRun } = await import("./resume-v315hnq6.js");
|
|
1439
1439
|
await resumeFromChildRun(stepId, registry);
|
|
1440
1440
|
}
|
|
1441
1441
|
return { outcome: waiting ? "waiting" : "completed", successors: [] };
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
renderMemoriesPrompt,
|
|
21
21
|
isUnknownModelError,
|
|
22
22
|
writeSkillsToFilesystem
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-6aen3ezb.js";
|
|
24
24
|
import {
|
|
25
25
|
isPollTracingEnabled,
|
|
26
26
|
initOtel,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
injectTraceContext2,
|
|
31
31
|
initialize,
|
|
32
32
|
ensure
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-tkf4x6ha.js";
|
|
34
34
|
import {
|
|
35
35
|
getContextWindowSize
|
|
36
36
|
} from "./cli-a5ebc95n.js";
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
canonicalAzureDevOpsRepoUrl,
|
|
52
52
|
parseAzureDevOpsRepoUrl,
|
|
53
53
|
resolveScriptsOnlyMode
|
|
54
|
-
} from "./cli-
|
|
54
|
+
} from "./cli-kgnkyabk.js";
|
|
55
55
|
import {
|
|
56
56
|
ACP_TARGET_IDS,
|
|
57
57
|
isAcpTarget
|
|
@@ -59,32 +59,32 @@ import {
|
|
|
59
59
|
import {
|
|
60
60
|
checkAmpCredentials2,
|
|
61
61
|
liveTestAmpCredentials2
|
|
62
|
-
} from "./cli-
|
|
62
|
+
} from "./cli-1ma335fz.js";
|
|
63
63
|
import {
|
|
64
64
|
checkClaudeCredentials2
|
|
65
|
-
} from "./cli-
|
|
65
|
+
} from "./cli-h0mgxann.js";
|
|
66
66
|
import {
|
|
67
67
|
checkClaudeManagedCredentials2
|
|
68
68
|
} from "./cli-a0kcty51.js";
|
|
69
69
|
import {
|
|
70
70
|
codexUserHome,
|
|
71
71
|
checkCodexCredentials2
|
|
72
|
-
} from "./cli-
|
|
72
|
+
} from "./cli-zvbb4n0e.js";
|
|
73
73
|
import {
|
|
74
74
|
checkCursorCredentials2
|
|
75
|
-
} from "./cli-
|
|
75
|
+
} from "./cli-58vwn100.js";
|
|
76
76
|
import {
|
|
77
77
|
checkDevinCredentials2
|
|
78
78
|
} from "./cli-s95dknxh.js";
|
|
79
79
|
import {
|
|
80
80
|
checkDshCredentials2
|
|
81
|
-
} from "./cli-
|
|
81
|
+
} from "./cli-wk28hzqn.js";
|
|
82
82
|
import {
|
|
83
83
|
checkOpencodeCredentials2
|
|
84
|
-
} from "./cli-
|
|
84
|
+
} from "./cli-36ckw0wx.js";
|
|
85
85
|
import {
|
|
86
86
|
checkGrokCredentials2
|
|
87
|
-
} from "./cli-
|
|
87
|
+
} from "./cli-aypbg9r2.js";
|
|
88
88
|
import {
|
|
89
89
|
CODEX_OAUTH_POOL_SLOTS_ENV,
|
|
90
90
|
isCodexOAuthConfigKey,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "./cli-j4bwnpkm.js";
|
|
94
94
|
import {
|
|
95
95
|
validateJsonSchema
|
|
96
|
-
} from "./cli-
|
|
96
|
+
} from "./cli-0dxxwfkt.js";
|
|
97
97
|
import {
|
|
98
98
|
mapTriggerSurface,
|
|
99
99
|
init_telemetry_context,
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
init_vcs_repo_match,
|
|
112
112
|
isApiDrainingResponse,
|
|
113
113
|
init_api_drain
|
|
114
|
-
} from "./cli-
|
|
114
|
+
} from "./cli-vcgscaan.js";
|
|
115
115
|
import {
|
|
116
116
|
parseWorkerModelTierOverrides,
|
|
117
117
|
resolveTaskModelSelection,
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
ProviderNameSchema,
|
|
120
120
|
WorkerNudgeSchema,
|
|
121
121
|
init_types
|
|
122
|
-
} from "./cli-
|
|
122
|
+
} from "./cli-836ehxmt.js";
|
|
123
123
|
import {
|
|
124
124
|
generateDefaultClaudeMd2,
|
|
125
125
|
generateDefaultSoulMd2,
|
|
@@ -143,11 +143,11 @@ import {
|
|
|
143
143
|
resolveClaudeMdPath,
|
|
144
144
|
syncProfileFilesToServer,
|
|
145
145
|
init_profile_sync
|
|
146
|
-
} from "./cli-
|
|
146
|
+
} from "./cli-74c1wpm0.js";
|
|
147
147
|
import {
|
|
148
148
|
isSteeringEnabled2,
|
|
149
149
|
init_steering_enabled
|
|
150
|
-
} from "./cli-
|
|
150
|
+
} from "./cli-4sydckyj.js";
|
|
151
151
|
import {
|
|
152
152
|
normalizeProviderKeyAliases,
|
|
153
153
|
ModelWindowExhaustedError,
|
|
@@ -190,11 +190,11 @@ import {
|
|
|
190
190
|
import {
|
|
191
191
|
getMcpBaseUrl,
|
|
192
192
|
init_constants2
|
|
193
|
-
} from "./cli-
|
|
193
|
+
} from "./cli-gf2850q7.js";
|
|
194
194
|
import {
|
|
195
195
|
isEnvFlagEnabled,
|
|
196
196
|
init_env_flag
|
|
197
|
-
} from "./cli-
|
|
197
|
+
} from "./cli-cebvbc9t.js";
|
|
198
198
|
import {
|
|
199
199
|
getApiKey,
|
|
200
200
|
init_api_key
|
|
@@ -246,15 +246,15 @@ async function materializeCodexAuthJson(_slot, creds, deps = {}) {
|
|
|
246
246
|
async function createProviderAdapter(provider) {
|
|
247
247
|
switch (provider) {
|
|
248
248
|
case "claude": {
|
|
249
|
-
const { ClaudeAdapter } = await import("./claude-adapter-
|
|
249
|
+
const { ClaudeAdapter } = await import("./claude-adapter-rp0jtnwr.js");
|
|
250
250
|
return new ClaudeAdapter;
|
|
251
251
|
}
|
|
252
252
|
case "pi": {
|
|
253
|
-
const { PiMonoAdapter } = await import("./pi-mono-adapter-
|
|
253
|
+
const { PiMonoAdapter } = await import("./pi-mono-adapter-mcfkn9vf.js");
|
|
254
254
|
return new PiMonoAdapter;
|
|
255
255
|
}
|
|
256
256
|
case "codex": {
|
|
257
|
-
const { CodexAdapter } = await import("./codex-adapter-
|
|
257
|
+
const { CodexAdapter } = await import("./codex-adapter-2zrmab9b.js");
|
|
258
258
|
return new CodexAdapter;
|
|
259
259
|
}
|
|
260
260
|
case "claude-managed": {
|
|
@@ -266,27 +266,27 @@ async function createProviderAdapter(provider) {
|
|
|
266
266
|
return new DevinAdapter;
|
|
267
267
|
}
|
|
268
268
|
case "opencode": {
|
|
269
|
-
const { OpencodeAdapter } = await import("./opencode-adapter-
|
|
269
|
+
const { OpencodeAdapter } = await import("./opencode-adapter-x4tqzhkh.js");
|
|
270
270
|
return new OpencodeAdapter;
|
|
271
271
|
}
|
|
272
272
|
case "dsh": {
|
|
273
|
-
const { DshAdapter } = await import("./dsh-adapter-
|
|
273
|
+
const { DshAdapter } = await import("./dsh-adapter-64dhw0j7.js");
|
|
274
274
|
return new DshAdapter;
|
|
275
275
|
}
|
|
276
276
|
case "amp": {
|
|
277
|
-
const { AmpAdapter } = await import("./amp-adapter-
|
|
277
|
+
const { AmpAdapter } = await import("./amp-adapter-af84rx1d.js");
|
|
278
278
|
return new AmpAdapter;
|
|
279
279
|
}
|
|
280
280
|
case "cursor": {
|
|
281
|
-
const { CursorAdapter } = await import("./cursor-adapter-
|
|
281
|
+
const { CursorAdapter } = await import("./cursor-adapter-mgaprq0j.js");
|
|
282
282
|
return new CursorAdapter;
|
|
283
283
|
}
|
|
284
284
|
case "grok": {
|
|
285
|
-
const { GrokAdapter } = await import("./grok-adapter-
|
|
285
|
+
const { GrokAdapter } = await import("./grok-adapter-h21jv594.js");
|
|
286
286
|
return new GrokAdapter;
|
|
287
287
|
}
|
|
288
288
|
case "acp": {
|
|
289
|
-
const { ACPAdapter } = await import("./acp-adapter-
|
|
289
|
+
const { ACPAdapter } = await import("./acp-adapter-1885dpr7.js");
|
|
290
290
|
return new ACPAdapter;
|
|
291
291
|
}
|
|
292
292
|
default:
|
|
@@ -1205,7 +1205,7 @@ var CREDENTIAL_PROVIDER_CHECKERS = {
|
|
|
1205
1205
|
devin: (env) => checkDevinCredentials2(env),
|
|
1206
1206
|
opencode: (env, opts) => checkOpencodeCredentials2(env, opts),
|
|
1207
1207
|
pi: async (env, opts) => {
|
|
1208
|
-
const { checkPiMonoCredentials, listPiOpencodeGoModelIds } = await import("./pi-mono-adapter-
|
|
1208
|
+
const { checkPiMonoCredentials, listPiOpencodeGoModelIds } = await import("./pi-mono-adapter-mcfkn9vf.js");
|
|
1209
1209
|
return {
|
|
1210
1210
|
...await checkPiMonoCredentials(env, opts),
|
|
1211
1211
|
opencodeGoModels: listPiOpencodeGoModelIds()
|
|
@@ -1477,7 +1477,7 @@ async function validateProviderCredentials(provider, env = process.env, presence
|
|
|
1477
1477
|
latency_ms: Date.now() - startedAt
|
|
1478
1478
|
};
|
|
1479
1479
|
}
|
|
1480
|
-
const { liveTestCursorKey } = await import("./cursor-adapter-
|
|
1480
|
+
const { liveTestCursorKey } = await import("./cursor-adapter-mgaprq0j.js");
|
|
1481
1481
|
const result = await liveTestCursorKey(apiKey);
|
|
1482
1482
|
return result.ok ? { ok: true, latency_ms: Date.now() - startedAt } : { ok: false, error: result.error, latency_ms: Date.now() - startedAt };
|
|
1483
1483
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ampBillsCacheWrites,
|
|
3
3
|
resolveAmpModel
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-1eszr343.js";
|
|
5
5
|
import {
|
|
6
6
|
CONTEXT_FORMULA,
|
|
7
7
|
computeContextUsedUnified,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./cli-a5ebc95n.js";
|
|
10
10
|
import {
|
|
11
11
|
swarmRuntimeInstanceId
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-e8xyjvfc.js";
|
|
13
13
|
import {
|
|
14
14
|
detachedProcessGroup,
|
|
15
15
|
registerProcessGroup,
|
|
@@ -36,7 +36,7 @@ import { mkdir, mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
|
36
36
|
import { tmpdir } from "node:os";
|
|
37
37
|
import { join } from "node:path";
|
|
38
38
|
init_secret_scrubber();
|
|
39
|
-
var AMP_PACKAGE = "@ampcode/cli@0.0.
|
|
39
|
+
var AMP_PACKAGE = "@ampcode/cli@0.0.1792470027-g8c393d";
|
|
40
40
|
var AMP_MCP_SERVER_NAME = "agent-swarm";
|
|
41
41
|
var AMP_PLUGIN_MODE_KEY = "agent-swarm";
|
|
42
42
|
var AMP_LIVE_TEST_TIMEOUT_MS = 5000;
|
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
tierConfigKey,
|
|
8
8
|
init_model_tier_keys,
|
|
9
9
|
init_db3
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-vcgscaan.js";
|
|
11
11
|
import {
|
|
12
12
|
ensureRbacSeedsSynced2,
|
|
13
13
|
init_rbac_roles
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-qp2m4btv.js";
|
|
15
15
|
import {
|
|
16
16
|
seedPricingFromModelsDev
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-vq9gqarq.js";
|
|
18
18
|
import {
|
|
19
19
|
MODEL_TIERS,
|
|
20
20
|
DEFAULT_MODEL_TIER_MAP,
|
|
21
21
|
ProviderNameSchema,
|
|
22
22
|
init_types
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-836ehxmt.js";
|
|
24
24
|
|
|
25
25
|
// src/be/boot-seeds.ts
|
|
26
26
|
init_db3();
|
|
@@ -7,7 +7,7 @@ var package_default;
|
|
|
7
7
|
var init_package = __esm(() => {
|
|
8
8
|
package_default = {
|
|
9
9
|
name: "@desplega.ai/agent-swarm",
|
|
10
|
-
version: "2.4.
|
|
10
|
+
version: "2.4.3",
|
|
11
11
|
description: "agent-swarm.dev — an open-source operating system for AI work: a lead agent breaks goals into tasks, routes them to specialized workers such as Claude Code or Codex, runs each worker in an isolated container, and preserves shared memory, tools, schedules, and review gates so delegated work compounds across sessions.",
|
|
12
12
|
keywords: [
|
|
13
13
|
"agent-swarm.dev",
|
|
@@ -207,7 +207,7 @@ var init_package = __esm(() => {
|
|
|
207
207
|
dependencies: {
|
|
208
208
|
"@agentclientprotocol/sdk": "1.9.0",
|
|
209
209
|
"@ai-sdk/openai": "^3.0.41",
|
|
210
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
210
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.304",
|
|
211
211
|
"@anthropic-ai/sdk": "^0.135.0",
|
|
212
212
|
"@asteasolutions/zod-to-openapi": "^8.0.0",
|
|
213
213
|
"@aws-sdk/client-bedrock": "3.1048.0",
|
|
@@ -216,7 +216,7 @@ var init_package = __esm(() => {
|
|
|
216
216
|
"@chat-adapter/teams": "4.41.1",
|
|
217
217
|
"@chat-adapter/telegram": "4.41.1",
|
|
218
218
|
"@cursor/sdk": "1.0.38",
|
|
219
|
-
"@desplega.ai/agent-fs-just-bash": "0.18.
|
|
219
|
+
"@desplega.ai/agent-fs-just-bash": "0.18.5",
|
|
220
220
|
"@desplega.ai/business-use": "^0.4.2",
|
|
221
221
|
"@earendil-works/pi-agent-core": "^1.3.0",
|
|
222
222
|
"@earendil-works/pi-ai": "^1.3.0",
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./cli-a5ebc95n.js";
|
|
6
6
|
import {
|
|
7
7
|
swarmRuntimeInstanceId
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-e8xyjvfc.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveSlashSkillPrompt
|
|
11
11
|
} from "./cli-jc1g9ndz.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
autoIndexMemoryFile,
|
|
24
24
|
fetchConcurrentContext,
|
|
25
25
|
summarizeTranscript
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-vfha21c9.js";
|
|
27
27
|
import {
|
|
28
28
|
applyReasoningEffort
|
|
29
29
|
} from "./cli-bn0rewsy.js";
|
|
@@ -44,8 +44,9 @@ import {
|
|
|
44
44
|
} from "./cli-dfyv0jdy.js";
|
|
45
45
|
import {
|
|
46
46
|
isEnvFlagEnabled,
|
|
47
|
+
isSessionSummarySkipped,
|
|
47
48
|
init_env_flag
|
|
48
|
-
} from "./cli-
|
|
49
|
+
} from "./cli-cebvbc9t.js";
|
|
49
50
|
import {
|
|
50
51
|
scrubSecrets,
|
|
51
52
|
registerVolatileSecret,
|
|
@@ -706,7 +707,7 @@ class OpencodeSession {
|
|
|
706
707
|
}
|
|
707
708
|
async runSessionEnd(signal) {
|
|
708
709
|
await sessionHooks.syncIdentity(this.swarm, "session_sync", signal);
|
|
709
|
-
if (
|
|
710
|
+
if (isSessionSummarySkipped()) {
|
|
710
711
|
console.debug("session_summary skipped (opencode): SKIP_SESSION_SUMMARY is set");
|
|
711
712
|
} else {
|
|
712
713
|
const transcript = this.transcript.join(`
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
getKv2,
|
|
3
3
|
upsertKv2,
|
|
4
4
|
init_db3
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-vcgscaan.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveIdentity,
|
|
8
8
|
recordUnmappedIdentity
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-kgnkyabk.js";
|
|
10
10
|
import {
|
|
11
11
|
findUserByExternalId,
|
|
12
12
|
findOrCreateUserByEmail,
|
|
13
13
|
linkIdentity,
|
|
14
14
|
init_users
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-sds5zzs8.js";
|
|
16
16
|
|
|
17
17
|
// src/slack/enrich.ts
|
|
18
18
|
init_db3();
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./cli-a5ebc95n.js";
|
|
5
5
|
import {
|
|
6
6
|
swarmRuntimeInstanceId
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-e8xyjvfc.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveSlashSkillPrompt
|
|
10
10
|
} from "./cli-jc1g9ndz.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_MODEL_TIER_MAP,
|
|
16
16
|
init_types
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-836ehxmt.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveTemplateFromCode,
|
|
20
20
|
resolveTemplateAsync,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
parseEnvFlag,
|
|
26
26
|
init_env_flag
|
|
27
|
-
} from "./cli-
|
|
27
|
+
} from "./cli-cebvbc9t.js";
|
|
28
28
|
import {
|
|
29
29
|
scrubSecrets,
|
|
30
30
|
registerVolatileSecret,
|
|
@@ -17,7 +17,7 @@ async function createRuntimeProvider(kind, target = {}) {
|
|
|
17
17
|
return new DockerRuntimeProvider;
|
|
18
18
|
}
|
|
19
19
|
case "e2b": {
|
|
20
|
-
const { E2BRuntimeProvider } = await import("./e2b-
|
|
20
|
+
const { E2BRuntimeProvider } = await import("./e2b-zn0b4w5w.js");
|
|
21
21
|
return new E2BRuntimeProvider(target);
|
|
22
22
|
}
|
|
23
23
|
case "k8s":
|
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
init_active_sessions,
|
|
10
10
|
getSteeringMessageById2,
|
|
11
11
|
init_db3
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-vcgscaan.js";
|
|
13
13
|
import {
|
|
14
14
|
getUserGrant2,
|
|
15
15
|
init_rbac_roles
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-qp2m4btv.js";
|
|
17
17
|
import {
|
|
18
18
|
findUserById,
|
|
19
19
|
findUserByExternalId,
|
|
20
20
|
init_users
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-sds5zzs8.js";
|
|
22
22
|
import {
|
|
23
23
|
isRbacEnabled,
|
|
24
24
|
init_rbac
|
|
25
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-8vverzf7.js";
|
|
26
26
|
import {
|
|
27
27
|
init_zod
|
|
28
28
|
} from "./cli-4chz1hye.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
isEnvFlagEnabled,
|
|
40
40
|
init_env_flag
|
|
41
|
-
} from "./cli-
|
|
41
|
+
} from "./cli-cebvbc9t.js";
|
|
42
42
|
import {
|
|
43
43
|
scrubSecrets,
|
|
44
44
|
init_secret_scrubber
|
|
@@ -502,7 +502,7 @@ function route(def) {
|
|
|
502
502
|
try {
|
|
503
503
|
const rawBody = def.body ? await parseBody(req, def.maxBodyBytes) : undefined;
|
|
504
504
|
if (def.session && "bodyTaskIds" in def.session) {
|
|
505
|
-
const { bodySessionDenial } = await import("./session-access-
|
|
505
|
+
const { bodySessionDenial } = await import("./session-access-2zg285a1.js");
|
|
506
506
|
const denial = await bodySessionDenial(req, def.session.bodyTaskIds(rawBody));
|
|
507
507
|
if (denial) {
|
|
508
508
|
jsonError(res, denial, 403);
|