@desplega.ai/agent-swarm 1.152.2 → 1.153.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/README.md +1 -1
- package/dist/{acp-adapter-pfeje2v5.js → acp-adapter-ahmjxhek.js} +4 -4
- package/dist/{actions-0sttc7f5.js → actions-jzrfpkmn.js} +30 -26
- package/dist/{anthropic-messages-2y8nktar.js → anthropic-messages-9vqsbznt.js} +112 -84
- package/dist/{app-p8teva95.js → app-03na2vwb.js} +9 -6
- package/dist/{assistant-r45jnsrt.js → assistant-hfkxvhgt.js} +31 -27
- package/dist/{azure-openai-responses-f38x2avq.js → azure-openai-responses-04qwdwfq.js} +27 -13
- package/dist/{boot-reembed-je26h5y7.js → boot-reembed-c98xrad3.js} +8 -6
- package/dist/{boot-reembed-1qmybsd4.js → boot-reembed-zt3qm9xn.js} +9 -7
- package/dist/{boot-scrub-logs-gte3h1mm.js → boot-scrub-logs-jcqd8ksj.js} +6 -4
- package/dist/{claude-adapter-csc1mzka.js → claude-adapter-mgryg8g3.js} +17 -15
- package/dist/{claude-managed-adapter-dsmkcrjy.js → claude-managed-adapter-ea2aga6w.js} +3 -3
- package/dist/{claude-sdk-session-fcd6f078.js → claude-sdk-session-jjf4zss1.js} +17 -15
- package/dist/{cli-r2fpe7cx.js → cli-00w2c66p.js} +61 -55
- package/dist/{cli-fm4ytsdk.js → cli-0d9nbqxf.js} +1 -1
- package/dist/cli-0x5qzvkg.js +4279 -0
- package/dist/{cli-d3p82erb.js → cli-18amys3y.js} +9 -9
- package/dist/{cli-wbyk465z.js → cli-1hwnb4hc.js} +1 -1
- package/dist/{cli-xw7vak96.js → cli-3bcmp015.js} +5 -5
- package/dist/cli-3er6gcsn.js +1849 -0
- package/dist/{cli-c4eeb5q2.js → cli-5b6b62tz.js} +1 -1
- package/dist/{cli-4ahpr4sw.js → cli-5mbmvxnn.js} +5 -5
- package/dist/{cli-xy1cchaf.js → cli-5taqtpze.js} +235 -8
- package/dist/{cli-fmy65jdn.js → cli-6ks9xf1n.js} +7 -5
- package/dist/cli-7g9s78jf.js +2827 -0
- package/dist/{cli-jew3jda5.js → cli-7pnz2v6s.js} +2 -2
- package/dist/{cli-r84ctdxn.js → cli-83wkg402.js} +2 -2
- package/dist/{cli-jvy9qgjs.js → cli-a9scg8sv.js} +4 -4
- package/dist/{cli-4yc5d8fk.js → cli-avkd6mqv.js} +50 -0
- package/dist/{cli-ht5rs63n.js → cli-b2g6mzjc.js} +15 -6
- package/dist/{cli-jbmc0r7r.js → cli-bw0dfwkr.js} +1 -1
- package/dist/{cli-8wrympd7.js → cli-bzr0ftht.js} +26 -7
- package/dist/{cli-wpv5rgg2.js → cli-cdq08v3r.js} +2 -2
- package/dist/cli-cgj4hc12.js +18902 -0
- package/dist/cli-d6hk10xx.js +14075 -0
- package/dist/{cli-zvgj5zg8.js → cli-djvxhnc4.js} +31 -3324
- package/dist/{cli-s25avqg9.js → cli-e781c6f9.js} +1 -0
- package/dist/{cli-3bpzj8me.js → cli-eazstkad.js} +2 -2
- package/dist/{cli-s2qjdd6z.js → cli-eetrvv91.js} +1 -1
- package/dist/cli-h38x0qhg.js +6912 -0
- package/dist/{cli-9xvdm3bx.js → cli-h60qfasa.js} +742 -278
- package/dist/{pi-mono-adapter-jcqt71cg.js → cli-ja7mrygn.js} +67343 -101083
- package/dist/{cli-j8dggbcr.js → cli-k0g1sjzm.js} +23 -31
- package/dist/{cli-gphgnvpf.js → cli-m04pt18h.js} +2 -2
- package/dist/{cli-rgvp6r2x.js → cli-mcnhgnn1.js} +193 -4
- package/dist/{cli-j4nv2wqy.js → cli-mzgyhxbe.js} +10 -4
- package/dist/{cli-qn042eh7.js → cli-n0q9b7j4.js} +46 -1870
- package/dist/cli-n7h1kqpf.js +29 -0
- package/dist/{cli-ckz5t2hb.js → cli-nq0kgyxe.js} +5 -5
- package/dist/{cli-z3wkng35.js → cli-qrqhc31j.js} +151 -125
- package/dist/{cli-56h18ng2.js → cli-r8tdds6s.js} +1 -1
- package/dist/{cli-ch38q5z4.js → cli-rj7de4b2.js} +6788 -2541
- package/dist/{cli-qd65dvr6.js → cli-s5s1f2yn.js} +56 -40
- package/dist/{cli-kj76p1ez.js → cli-scwq51gn.js} +13 -7
- package/dist/{cli-2nnd56zt.js → cli-tdh4hjr2.js} +3 -2
- package/dist/{cli-c2mk1kgf.js → cli-v4en75c5.js} +8 -1
- package/dist/{cli-b9dd0h3k.js → cli-vw03hg5t.js} +3 -2
- package/dist/{cli-zvkq5csn.js → cli-ybpp1srm.js} +6 -6
- package/dist/cli-yn0a417a.js +4069 -0
- package/dist/{cli-gpqcs935.js → cli-ysc1kbet.js} +2 -2
- package/dist/{cli-zfzznn7c.js → cli-ytxs7mn1.js} +26 -2
- package/dist/cli-zcsyfw2z.js +3335 -0
- package/dist/{cli-4j8k1m4w.js → cli-zt1227k1.js} +1162 -192
- package/dist/cli-zy5w9gpt.js +230 -0
- package/dist/cli.js +26 -34
- package/dist/{codex-adapter-fxmpsabw.js → codex-adapter-8548daap.js} +12 -11
- package/dist/{codex-session-runner-rr1e47ea.js → codex-session-runner-2dad8p4x.js} +12 -11
- package/dist/{commands-0f5rxz51.js → commands-355dbpa8.js} +6 -4
- package/dist/{db-r3jxf3wy.js → db-4jjvwz1s.js} +6 -4
- package/dist/{dispatcher-06vph6q4.js → dispatcher-ca590nkz.js} +29 -25
- package/dist/dsh-adapter-rgvj6ykp.js +19 -0
- package/dist/{e2b-413b8t4v.js → e2b-93x1k0j5.js} +6 -7
- package/dist/{google-generative-ai-ndjmj5fa.js → google-generative-ai-xtw7tggr.js} +33 -73
- package/dist/{google-vertex-fr665tqs.js → google-vertex-zdqpms6n.js} +38 -68
- package/dist/{handlers-0hgtc910.js → handlers-2y6dqpvf.js} +32 -28
- package/dist/{hook-9kvrv1er.js → hook-0s8knepr.js} +11 -9
- package/dist/{hook-fbfhkat3.js → hook-k0gec254.js} +12 -10
- package/dist/{http-xbyx8k5j.js → http-jp2nb4zw.js} +300 -237
- package/dist/{index-tfsdxyv6.js → index-0wzg3sp3.js} +39 -24
- package/dist/{index-rnyahfn5.js → index-3mq6ce93.js} +29 -25
- package/dist/{index-jsw3aynb.js → index-42s7eezq.js} +29 -25
- package/dist/{cli-pdz9qde4.js → index-9ch1n761.js} +10 -11
- package/dist/{index-gpfn1741.js → index-b56xkbc7.js} +8 -6
- package/dist/{index-66xz5e9j.js → index-h5gs261z.js} +521 -9
- package/dist/{index-2sp0384z.js → index-kkeftv5h.js} +738 -21
- package/dist/{index-sgk50mbg.js → index-s37dbevy.js} +30 -26
- package/dist/index-w097eg0x.js +5 -0
- package/dist/jiti-loader-b4837mtm.js +34 -0
- package/dist/jiti-static-loader-q2g5ds0y.js +31267 -0
- package/dist/{keepalive-s3xpr7sw.js → keepalive-9pfw7t02.js} +8 -6
- package/dist/{lead-rq4n5r16.js → lead-7vcmcdq4.js} +44 -39
- package/dist/{maintenance-f0atj1ab.js → maintenance-x277jbpd.js} +9 -7
- package/dist/{mistral-conversations-qhr84ph3.js → mistral-conversations-zx0kn554.js} +24 -18
- package/dist/{node-x1g4v0pq.js → node-5qtycf6a.js} +16 -11
- package/dist/{oauth-refresh-sweep-q0t3bxre.js → oauth-refresh-sweep-5fwa7th2.js} +7 -5
- package/dist/{onboard-br5j1kch.js → onboard-17sv0f51.js} +103 -35
- package/dist/{openai-codex-responses-wy6a43wd.js → openai-codex-responses-4vjqzvjp.js} +33 -27
- package/dist/{openai-completions-32rdwmze.js → openai-completions-pxsmym7g.js} +52 -64
- package/dist/{openai-responses-6xwf7bzg.js → openai-responses-tmn0rqp0.js} +23 -24
- package/dist/{opencode-adapter-28axqa09.js → opencode-adapter-qbmv4tpy.js} +6 -6
- package/dist/{otel-impl-vdqge2nt.js → otel-impl-srjy4be4.js} +4 -4
- package/dist/{pi-messages-b1mbr6gp.js → pi-messages-txpjj39q.js} +3 -3
- package/dist/pi-mono-adapter-946a0sdd.js +1316 -0
- package/dist/{pricing-refresh-hb3691fd.js → pricing-refresh-vetcm563.js} +8 -6
- package/dist/{rbac-roles-jh280k9g.js → rbac-roles-cfzgr6r1.js} +8 -6
- package/dist/{rbac-roles-t78xt39b.js → rbac-roles-cmxaddmy.js} +7 -5
- package/dist/{render-v2-7p8r2ymg.js → render-v2-f9hzff72.js} +9 -6
- package/dist/{seed-pricing-hf889enh.js → seed-pricing-jggk6rsy.js} +7 -5
- package/dist/{setup-w6mb03jv.js → setup-8mfceb9t.js} +4 -5
- package/dist/virtual-modules-ax661xp0.js +54 -0
- package/dist/{work-objects-nt8gy1kj.js → work-objects-vdsdcczj.js} +32 -28
- package/dist/{worker-dwy617t0.js → worker-cd0nhyv1.js} +44 -39
- package/openapi.json +36 -14
- package/package.json +6 -6
- package/src/be/automation-preflight.ts +6 -4
- package/src/be/extensions/db.ts +35 -4
- package/src/be/models-catalog.ts +2 -0
- package/src/be/modelsdev-cache.json +213 -0
- package/src/be/rbac-audit.ts +2 -0
- package/src/be/seed-pricing.ts +3 -1
- package/src/be/swarm-config-guard.ts +1 -0
- package/src/commands/onboard/compose-generator.ts +6 -1
- package/src/commands/onboard/env-generator.ts +6 -1
- package/src/commands/onboard/manifest.ts +1 -0
- package/src/commands/onboard/steps/integration-slack.tsx +56 -16
- package/src/commands/onboard/steps/review.tsx +5 -0
- package/src/commands/onboard/types.ts +6 -0
- package/src/commands/onboard.tsx +5 -1
- package/src/commands/provider-credentials.ts +14 -2
- package/src/extensions/lifecycle.ts +15 -21
- package/src/http/agents.ts +2 -2
- package/src/http/config.ts +1 -1
- package/src/http/core.ts +5 -3
- package/src/http/extensions.ts +108 -34
- package/src/http/status.ts +22 -10
- package/src/prompts/base-prompt.ts +15 -7
- package/src/providers/claude-managed-models.ts +8 -0
- package/src/providers/codex-models.ts +15 -1
- package/src/providers/dsh-adapter.ts +248 -0
- package/src/providers/index.ts +5 -1
- package/src/providers/modelsdev-reasoning.json +50 -0
- package/src/rbac/legacy-policy.ts +15 -1
- package/src/rbac/types.ts +2 -0
- package/src/server.ts +7 -1
- package/src/slack/app.ts +32 -10
- package/src/slack/config.ts +29 -0
- package/src/telemetry.ts +2 -3
- package/src/tests/agents-harness-provider.test.ts +19 -0
- package/src/tests/agents-list-model-display.test.ts +60 -1
- package/src/tests/base-prompt.test.ts +25 -0
- package/src/tests/claude-managed-adapter.test.ts +6 -0
- package/src/tests/codex-gpt6-release.test.ts +97 -0
- package/src/tests/config-api-only-keys.test.ts +9 -0
- package/src/tests/context-window.test.ts +1 -0
- package/src/tests/dsh-adapter.test.ts +276 -0
- package/src/tests/e2e-nightly-report.test.ts +3 -3
- package/src/tests/e2e-redact.test.ts +2 -0
- package/src/tests/env-flag.test.ts +6 -0
- package/src/tests/extensions-db.test.ts +41 -0
- package/src/tests/extensions-http.test.ts +148 -4
- package/src/tests/extensions-lifecycle.test.ts +18 -0
- package/src/tests/extensions-mcp-tools.test.ts +9 -5
- package/src/tests/internal-ai/complete-structured.test.ts +32 -9
- package/src/tests/internal-ai/credentials.test.ts +4 -4
- package/src/tests/internal-ai/models.test.ts +20 -0
- package/src/tests/migration-046-budgets.test.ts +2 -0
- package/src/tests/model-control.test.ts +2 -2
- package/src/tests/onboard-compose.test.ts +14 -0
- package/src/tests/onboard-env.test.ts +17 -0
- package/src/tests/onboard-manifest.test.ts +12 -0
- package/src/tests/opus-5-5-registry.test.ts +48 -0
- package/src/tests/pricing-refresh.test.ts +1 -1
- package/src/tests/pricing-routes.test.ts +15 -3
- package/src/tests/provider-registration.test.ts +5 -2
- package/src/tests/rbac-admission-e2e.test.ts +54 -0
- package/src/tests/rbac-e2e-helpers.ts +2 -0
- package/src/tests/rbac-engine.test.ts +32 -0
- package/src/tests/rbac-wire-e2e.test.ts +33 -0
- package/src/tests/reasoning-effort.test.ts +8 -0
- package/src/tests/reload-config.test.ts +33 -0
- package/src/tests/session-costs-model-key-normalize.test.ts +1 -0
- package/src/tests/slack-config.test.ts +136 -0
- package/src/tests/slack-mode-lifecycle.test.ts +69 -0
- package/src/tests/status.test.ts +22 -2
- package/src/tests/task-tool-preload-mcp.test.ts +3 -1
- package/src/tests/telemetry-init.test.ts +18 -0
- package/src/tests/workflow-llm.test.ts +3 -3
- package/src/tools/extension-common.ts +4 -0
- package/src/tools/extension-install.ts +1 -1
- package/src/tools/extension-list.ts +4 -3
- package/src/types.ts +17 -8
- package/src/utils/context-window.ts +1 -0
- package/src/utils/credentials.ts +8 -0
- package/src/utils/internal-ai/complete-structured.ts +8 -0
- package/src/utils/internal-ai/models.ts +5 -5
- package/templates/schedules/daily-status-report/content.md +25 -12
- package/templates/schedules/daily-workflow-health-audit/content.md +1 -1
- package/templates/skills/swarm-extensions/content.md +9 -5
- package/dist/cli-4wppfkcm.js +0 -16384
- package/dist/cli-55qrx3q8.js +0 -6041
- package/dist/cli-cg4vnyh4.js +0 -305
- package/dist/cli-jyetr64j.js +0 -52
- package/dist/cli-pp9ax9pa.js +0 -520
- package/dist/cli-qa66qaf0.js +0 -6076
- package/dist/cli-qghpvca2.js +0 -590
- package/dist/cli-rembwgt8.js +0 -861
- package/dist/cli-tcvj7j2r.js +0 -1971
- package/dist/cli-vfcth11k.js +0 -36
- package/dist/cli-w1d1bgkk.js +0 -1422
- package/dist/cli-y6x0gqtg.js +0 -5977
- package/dist/es5-tj3tn4jj.js +0 -844
- package/dist/index-1kq5hw2p.js +0 -467
- package/dist/index-1p8wdstt.js +0 -7
- package/dist/index-8fdjzb2f.js +0 -100
- package/dist/index-bxmwzbgw.js +0 -365
- package/dist/index-nzerxd5z.js +0 -7
- package/dist/index-pyymnzat.js +0 -1168
- package/dist/index-qv6atbab.js +0 -619
- package/dist/index-rja32qa7.js +0 -801
- package/dist/index-tzg5srfp.js +0 -211
- package/dist/index-vhncw983.js +0 -90
- package/dist/index-xk036zsk.js +0 -859
- package/dist/index-zyazbzcb.js +0 -6
- package/dist/{claude-managed-setup-48dwg9bv.js → claude-managed-setup-f5pmsyrp.js} +3 -3
|
@@ -3,20 +3,27 @@ import {
|
|
|
3
3
|
} from "./cli-pgj4a5fb.js";
|
|
4
4
|
import {
|
|
5
5
|
checkClaudeManagedCredentials
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-scwq51gn.js";
|
|
7
7
|
import {
|
|
8
8
|
checkDevinCredentials
|
|
9
9
|
} from "./cli-9b13ggd1.js";
|
|
10
10
|
import {
|
|
11
11
|
checkOpencodeCredentials
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-18amys3y.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./cli-
|
|
14
|
+
checkDshCredentials
|
|
15
|
+
} from "./cli-zy5w9gpt.js";
|
|
16
16
|
import {
|
|
17
17
|
checkCodexCredentials,
|
|
18
18
|
codexUserHome
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-5taqtpze.js";
|
|
20
|
+
import {
|
|
21
|
+
renderMemoriesPrompt,
|
|
22
|
+
writeSkillsToFilesystem
|
|
23
|
+
} from "./cli-pf9q3696.js";
|
|
24
|
+
import {
|
|
25
|
+
checkClaudeCredentials
|
|
26
|
+
} from "./cli-3bcmp015.js";
|
|
20
27
|
import {
|
|
21
28
|
MAX_RATE_LIMIT_RESET_MS,
|
|
22
29
|
isCodexCreditsExhaustedMessage,
|
|
@@ -26,15 +33,11 @@ import {
|
|
|
26
33
|
} from "./cli-b5b30yzk.js";
|
|
27
34
|
import {
|
|
28
35
|
getContextWindowSize
|
|
29
|
-
} from "./cli-
|
|
30
|
-
import {
|
|
31
|
-
renderMemoriesPrompt,
|
|
32
|
-
writeSkillsToFilesystem
|
|
33
|
-
} from "./cli-pf9q3696.js";
|
|
36
|
+
} from "./cli-e781c6f9.js";
|
|
34
37
|
import {
|
|
35
38
|
resolveScriptsOnlyMode,
|
|
36
39
|
validateJsonSchema
|
|
37
|
-
} from "./cli-
|
|
40
|
+
} from "./cli-qrqhc31j.js";
|
|
38
41
|
import {
|
|
39
42
|
authJsonToCredentialSelection,
|
|
40
43
|
credentialsToAuthJson,
|
|
@@ -49,16 +52,6 @@ import {
|
|
|
49
52
|
import {
|
|
50
53
|
getApiKey
|
|
51
54
|
} from "./cli-f14fvzag.js";
|
|
52
|
-
import {
|
|
53
|
-
ensure,
|
|
54
|
-
initOtel,
|
|
55
|
-
initialize,
|
|
56
|
-
injectTraceContext,
|
|
57
|
-
isPollTracingEnabled,
|
|
58
|
-
startSpan,
|
|
59
|
-
withSpan,
|
|
60
|
-
withSpanContext
|
|
61
|
-
} from "./cli-qn042eh7.js";
|
|
62
55
|
import {
|
|
63
56
|
buildContextPreamble,
|
|
64
57
|
buildResumeContextPreamble,
|
|
@@ -71,19 +64,31 @@ import {
|
|
|
71
64
|
syncProfileFilesToServer,
|
|
72
65
|
writeIdentityBaselines,
|
|
73
66
|
writeProfileFileFromDb
|
|
74
|
-
} from "./cli-
|
|
67
|
+
} from "./cli-0d9nbqxf.js";
|
|
68
|
+
import {
|
|
69
|
+
ensure,
|
|
70
|
+
initOtel,
|
|
71
|
+
initialize,
|
|
72
|
+
injectTraceContext,
|
|
73
|
+
isPollTracingEnabled,
|
|
74
|
+
startSpan,
|
|
75
|
+
withSpan,
|
|
76
|
+
withSpanContext
|
|
77
|
+
} from "./cli-n0q9b7j4.js";
|
|
75
78
|
import {
|
|
76
79
|
init_task_attachment_links,
|
|
77
80
|
taskAttachmentFetchCommand
|
|
78
81
|
} from "./cli-2658f6at.js";
|
|
79
82
|
import {
|
|
80
|
-
ProviderNameSchema,
|
|
81
83
|
initTelemetry,
|
|
82
84
|
init_telemetry,
|
|
83
|
-
init_types,
|
|
84
|
-
resolveTaskModelSelection,
|
|
85
85
|
telemetry
|
|
86
|
-
} from "./cli-
|
|
86
|
+
} from "./cli-djvxhnc4.js";
|
|
87
|
+
import {
|
|
88
|
+
ProviderNameSchema,
|
|
89
|
+
init_types,
|
|
90
|
+
resolveTaskModelSelection
|
|
91
|
+
} from "./cli-zcsyfw2z.js";
|
|
87
92
|
import {
|
|
88
93
|
generateDefaultClaudeMd,
|
|
89
94
|
generateDefaultIdentityMd,
|
|
@@ -93,7 +98,7 @@ import {
|
|
|
93
98
|
init_base_prompt,
|
|
94
99
|
init_defaults,
|
|
95
100
|
init_templates
|
|
96
|
-
} from "./cli-
|
|
101
|
+
} from "./cli-b2g6mzjc.js";
|
|
97
102
|
import {
|
|
98
103
|
configureHttpResolver,
|
|
99
104
|
init_resolver,
|
|
@@ -103,14 +108,14 @@ import {
|
|
|
103
108
|
isSteeringEnabled,
|
|
104
109
|
resolveTemplateAsync
|
|
105
110
|
} from "./cli-z61ykvam.js";
|
|
111
|
+
import {
|
|
112
|
+
init_credentials,
|
|
113
|
+
resolveCredentialPools
|
|
114
|
+
} from "./cli-v4en75c5.js";
|
|
106
115
|
import {
|
|
107
116
|
getMcpBaseUrl,
|
|
108
117
|
init_constants
|
|
109
118
|
} from "./cli-dv6cdjs2.js";
|
|
110
|
-
import {
|
|
111
|
-
init_credentials,
|
|
112
|
-
resolveCredentialPools
|
|
113
|
-
} from "./cli-c2mk1kgf.js";
|
|
114
119
|
import {
|
|
115
120
|
init_secret_scrubber,
|
|
116
121
|
scrubSecrets
|
|
@@ -151,19 +156,19 @@ async function materializeCodexAuthJson(_slot, creds, deps = {}) {
|
|
|
151
156
|
async function createProviderAdapter(provider) {
|
|
152
157
|
switch (provider) {
|
|
153
158
|
case "claude": {
|
|
154
|
-
const { ClaudeAdapter } = await import("./claude-adapter-
|
|
159
|
+
const { ClaudeAdapter } = await import("./claude-adapter-mgryg8g3.js");
|
|
155
160
|
return new ClaudeAdapter;
|
|
156
161
|
}
|
|
157
162
|
case "pi": {
|
|
158
|
-
const { PiMonoAdapter } = await import("./pi-mono-adapter-
|
|
163
|
+
const { PiMonoAdapter } = await import("./pi-mono-adapter-946a0sdd.js");
|
|
159
164
|
return new PiMonoAdapter;
|
|
160
165
|
}
|
|
161
166
|
case "codex": {
|
|
162
|
-
const { CodexAdapter } = await import("./codex-adapter-
|
|
167
|
+
const { CodexAdapter } = await import("./codex-adapter-8548daap.js");
|
|
163
168
|
return new CodexAdapter;
|
|
164
169
|
}
|
|
165
170
|
case "claude-managed": {
|
|
166
|
-
const { ClaudeManagedAdapter } = await import("./claude-managed-adapter-
|
|
171
|
+
const { ClaudeManagedAdapter } = await import("./claude-managed-adapter-ea2aga6w.js");
|
|
167
172
|
return new ClaudeManagedAdapter;
|
|
168
173
|
}
|
|
169
174
|
case "devin": {
|
|
@@ -171,15 +176,19 @@ async function createProviderAdapter(provider) {
|
|
|
171
176
|
return new DevinAdapter;
|
|
172
177
|
}
|
|
173
178
|
case "opencode": {
|
|
174
|
-
const { OpencodeAdapter } = await import("./opencode-adapter-
|
|
179
|
+
const { OpencodeAdapter } = await import("./opencode-adapter-qbmv4tpy.js");
|
|
175
180
|
return new OpencodeAdapter;
|
|
176
181
|
}
|
|
182
|
+
case "dsh": {
|
|
183
|
+
const { DshAdapter } = await import("./dsh-adapter-rgvj6ykp.js");
|
|
184
|
+
return new DshAdapter;
|
|
185
|
+
}
|
|
177
186
|
case "acp": {
|
|
178
|
-
const { ACPAdapter } = await import("./acp-adapter-
|
|
187
|
+
const { ACPAdapter } = await import("./acp-adapter-ahmjxhek.js");
|
|
179
188
|
return new ACPAdapter;
|
|
180
189
|
}
|
|
181
190
|
default:
|
|
182
|
-
throw new Error(`Unknown HARNESS_PROVIDER: "${provider}". Supported: claude, pi, codex, devin, claude-managed, opencode, acp`);
|
|
191
|
+
throw new Error(`Unknown HARNESS_PROVIDER: "${provider}". Supported: claude, pi, codex, devin, claude-managed, opencode, acp, dsh`);
|
|
183
192
|
}
|
|
184
193
|
}
|
|
185
194
|
|
|
@@ -582,13 +591,14 @@ function shouldRefreshBedrockStatus(opts) {
|
|
|
582
591
|
return opts.harnessProvider === "pi" && isBedrockMode(opts.env) && opts.now - opts.lastRefreshAt > opts.intervalMs;
|
|
583
592
|
}
|
|
584
593
|
var CREDENTIAL_PROVIDER_CHECKERS = {
|
|
594
|
+
dsh: (env) => checkDshCredentials(env),
|
|
585
595
|
claude: (env) => checkClaudeCredentials(env),
|
|
586
596
|
"claude-managed": (env) => checkClaudeManagedCredentials(env),
|
|
587
597
|
codex: (env, opts) => checkCodexCredentials(env, opts),
|
|
588
598
|
devin: (env) => checkDevinCredentials(env),
|
|
589
599
|
opencode: (env, opts) => checkOpencodeCredentials(env, opts),
|
|
590
600
|
pi: async (env, opts) => {
|
|
591
|
-
const { checkPiMonoCredentials } = await import("./pi-mono-adapter-
|
|
601
|
+
const { checkPiMonoCredentials } = await import("./pi-mono-adapter-946a0sdd.js");
|
|
592
602
|
return checkPiMonoCredentials(env, opts);
|
|
593
603
|
},
|
|
594
604
|
acp: () => ({ ready: true, missing: [], satisfiedBy: "sdk-delegated" })
|
|
@@ -764,12 +774,18 @@ async function validateProviderCredentials(provider) {
|
|
|
764
774
|
latency_ms: r.latency_ms
|
|
765
775
|
};
|
|
766
776
|
}
|
|
777
|
+
case "dsh":
|
|
778
|
+
return checkDshCredentials(env).ready ? presenceCheckOk() : {
|
|
779
|
+
ok: false,
|
|
780
|
+
error: "Set DEEPSEEK_API_KEY or OPENROUTER_API_KEY for dsh.",
|
|
781
|
+
latency_ms: Date.now() - startedAt
|
|
782
|
+
};
|
|
767
783
|
case "acp":
|
|
768
784
|
return presenceCheckOk();
|
|
769
785
|
default:
|
|
770
786
|
return {
|
|
771
787
|
ok: false,
|
|
772
|
-
error: `Unknown provider "${provider}". Supported: claude, claude-managed, codex, devin, opencode, pi, acp.`,
|
|
788
|
+
error: `Unknown provider "${provider}". Supported: claude, claude-managed, codex, devin, opencode, pi, acp, dsh.`,
|
|
773
789
|
latency_ms: Date.now() - startedAt
|
|
774
790
|
};
|
|
775
791
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSwarmEventHandler
|
|
3
3
|
} from "./cli-hsxj0yar.js";
|
|
4
|
+
import {
|
|
5
|
+
readPkgVersion
|
|
6
|
+
} from "./cli-2djtr51b.js";
|
|
7
|
+
import {
|
|
8
|
+
Anthropic
|
|
9
|
+
} from "./cli-j490egb5.js";
|
|
4
10
|
import {
|
|
5
11
|
CONTEXT_FORMULA,
|
|
6
12
|
clampContextPercent,
|
|
7
13
|
computeContextUsedUnified,
|
|
8
14
|
getContextWindowSize
|
|
9
|
-
} from "./cli-
|
|
10
|
-
import {
|
|
11
|
-
readPkgVersion
|
|
12
|
-
} from "./cli-2djtr51b.js";
|
|
15
|
+
} from "./cli-e781c6f9.js";
|
|
13
16
|
import {
|
|
14
17
|
checkToolLoop
|
|
15
18
|
} from "./cli-hp1n6zq3.js";
|
|
16
|
-
import {
|
|
17
|
-
Anthropic
|
|
18
|
-
} from "./cli-j490egb5.js";
|
|
19
19
|
import {
|
|
20
20
|
init_secret_scrubber,
|
|
21
21
|
scrubSecrets
|
|
@@ -38,6 +38,12 @@ var CLAUDE_MANAGED_MODEL_PRICING = {
|
|
|
38
38
|
cacheReadPerMillion: 0.25,
|
|
39
39
|
cacheWritePerMillion: 12.5
|
|
40
40
|
},
|
|
41
|
+
"claude-opus-5-5": {
|
|
42
|
+
inputPerMillion: 4,
|
|
43
|
+
outputPerMillion: 20,
|
|
44
|
+
cacheReadPerMillion: 0.2,
|
|
45
|
+
cacheWritePerMillion: 5
|
|
46
|
+
},
|
|
41
47
|
"claude-opus-5": {
|
|
42
48
|
inputPerMillion: 5,
|
|
43
49
|
outputPerMillion: 25,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getDb,
|
|
3
3
|
init_db
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-djvxhnc4.js";
|
|
5
5
|
|
|
6
6
|
// src/be/seed-pricing.ts
|
|
7
7
|
init_db();
|
|
@@ -89,11 +89,12 @@ var MANUAL_PRICING_OVERRIDES = [
|
|
|
89
89
|
var ANTHROPIC_SHORTNAME_TO_MODELSDEV = {
|
|
90
90
|
fable: "claude-fable-5-1",
|
|
91
91
|
mythos: "claude-mythos-5-1",
|
|
92
|
-
opus: "claude-opus-5",
|
|
92
|
+
opus: "claude-opus-5-5",
|
|
93
93
|
sonnet: "claude-sonnet-5",
|
|
94
94
|
haiku: "claude-haiku-4-5"
|
|
95
95
|
};
|
|
96
96
|
var ANTHROPIC_SHORTNAME_PRICING_FALLBACKS = {
|
|
97
|
+
"claude-opus-5-5": { input: 4, output: 20, cache_read: 0.2, cache_write: 5 },
|
|
97
98
|
"claude-fable-5-1": { input: 10, output: 50, cache_read: 0.25, cache_write: 12.5 },
|
|
98
99
|
"claude-mythos-5-1": { input: 10, output: 50, cache_read: 0.25, cache_write: 12.5 }
|
|
99
100
|
};
|
|
@@ -8,6 +8,9 @@ function getModelAwareCredentialVars(provider, model) {
|
|
|
8
8
|
const base = PROVIDER_CREDENTIAL_VARS[provider];
|
|
9
9
|
if (!base)
|
|
10
10
|
return CREDENTIAL_POOL_VARS;
|
|
11
|
+
if (provider === "dsh" && model) {
|
|
12
|
+
return model.startsWith("openrouter/") ? ["OPENROUTER_API_KEY"] : ["DEEPSEEK_API_KEY"];
|
|
13
|
+
}
|
|
11
14
|
if (!SLASH_MODEL_PROVIDERS.has(provider) || !model)
|
|
12
15
|
return base;
|
|
13
16
|
if (model.includes("/")) {
|
|
@@ -25,6 +28,8 @@ function deriveProviderFromKeyType(keyType) {
|
|
|
25
28
|
case "OPENAI_API_KEY":
|
|
26
29
|
case "CODEX_OAUTH":
|
|
27
30
|
return "codex";
|
|
31
|
+
case "DEEPSEEK_API_KEY":
|
|
32
|
+
return "dsh";
|
|
28
33
|
case "DEVIN_API_KEY":
|
|
29
34
|
return "devin";
|
|
30
35
|
default:
|
|
@@ -146,13 +151,15 @@ var init_credentials = __esm(() => {
|
|
|
146
151
|
"OPENROUTER_API_KEY",
|
|
147
152
|
"OPENAI_API_KEY",
|
|
148
153
|
"CODEX_OAUTH",
|
|
149
|
-
"DEVIN_API_KEY"
|
|
154
|
+
"DEVIN_API_KEY",
|
|
155
|
+
"DEEPSEEK_API_KEY"
|
|
150
156
|
];
|
|
151
157
|
PROVIDER_CREDENTIAL_VARS = {
|
|
152
158
|
claude: ["CLAUDE_CODE_OAUTH_TOKEN", "ANTHROPIC_API_KEY"],
|
|
153
159
|
pi: ["OPENROUTER_API_KEY", "ANTHROPIC_API_KEY", "OPENAI_API_KEY"],
|
|
154
160
|
codex: ["OPENAI_API_KEY", "CODEX_OAUTH"],
|
|
155
161
|
devin: ["DEVIN_API_KEY"],
|
|
162
|
+
dsh: ["OPENROUTER_API_KEY", "DEEPSEEK_API_KEY"],
|
|
156
163
|
opencode: ["OPENROUTER_API_KEY", "ANTHROPIC_API_KEY", "OPENAI_API_KEY"]
|
|
157
164
|
};
|
|
158
165
|
SLASH_MODEL_PROVIDERS = new Set(["opencode", "pi"]);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildModelsDevSeedRows,
|
|
3
3
|
loadModelsDevCache
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-tdh4hjr2.js";
|
|
5
5
|
import {
|
|
6
6
|
createLogEntry,
|
|
7
7
|
getActivePricingRow,
|
|
8
8
|
getDbClient,
|
|
9
9
|
init_db,
|
|
10
10
|
insertPricingRow
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-djvxhnc4.js";
|
|
12
12
|
import {
|
|
13
13
|
init_secret_scrubber,
|
|
14
14
|
scrubSecrets
|
|
@@ -27,6 +27,7 @@ var CATALOG_PROVIDER_IDS = [
|
|
|
27
27
|
"opencode"
|
|
28
28
|
];
|
|
29
29
|
var PINNED_MODELSDEV_ENTRIES = [
|
|
30
|
+
"anthropic/claude-opus-5-5",
|
|
30
31
|
"anthropic/claude-mythos-5",
|
|
31
32
|
"anthropic/claude-sonnet-5",
|
|
32
33
|
"amazon-bedrock/anthropic.claude-sonnet-5",
|
|
@@ -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: "1.
|
|
10
|
+
version: "1.153.0",
|
|
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",
|
|
@@ -195,14 +195,14 @@ var init_package = __esm(() => {
|
|
|
195
195
|
"@aws-sdk/client-bedrock": "3.1048.0",
|
|
196
196
|
"@desplega.ai/business-use": "^0.4.2",
|
|
197
197
|
"@desplega.ai/localtunnel": "^2.2.0",
|
|
198
|
-
"@earendil-works/pi-agent-core": "^0.
|
|
199
|
-
"@earendil-works/pi-ai": "^0.
|
|
200
|
-
"@earendil-works/pi-coding-agent": "^0.
|
|
198
|
+
"@earendil-works/pi-agent-core": "^0.87.1",
|
|
199
|
+
"@earendil-works/pi-ai": "^0.87.1",
|
|
200
|
+
"@earendil-works/pi-coding-agent": "^0.87.1",
|
|
201
201
|
"@inkjs/ui": "^2.0.0",
|
|
202
202
|
"@linear/sdk": "^77.0.0",
|
|
203
203
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
204
|
-
"@openai/codex": "0.
|
|
205
|
-
"@opencode-ai/sdk": "^1.18.
|
|
204
|
+
"@openai/codex": "0.156.1",
|
|
205
|
+
"@opencode-ai/sdk": "^1.18.32",
|
|
206
206
|
"@openfort/openfort-node": "^0.9.1",
|
|
207
207
|
"@opentelemetry/api": "^1.9.1",
|
|
208
208
|
"@opentelemetry/exporter-metrics-otlp-http": "^0.218.0",
|