@desplega.ai/agent-swarm 2.4.0 → 2.4.1

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.
Files changed (222) hide show
  1. package/README.md +1 -1
  2. package/dist/{acp-adapter-kedstxx6.js → acp-adapter-zvzr538d.js} +9 -9
  3. package/dist/{actions-vget6r1k.js → actions-jhtqdw69.js} +21 -21
  4. package/dist/{amp-adapter-xeb5mktv.js → amp-adapter-bd84rhs2.js} +4 -4
  5. package/dist/{app-mqap8t8m.js → app-kreq1gwg.js} +3 -3
  6. package/dist/{assistant-h0gv97mv.js → assistant-3k22sbsq.js} +22 -22
  7. package/dist/{boot-reembed-qr8a894z.js → boot-reembed-e53x6b9v.js} +1 -1
  8. package/dist/{boot-reembed-rj85jjhw.js → boot-reembed-f6z923ny.js} +1 -1
  9. package/dist/{boot-scrub-sweep-eyfvn6v9.js → boot-scrub-sweep-0538vsb7.js} +4 -4
  10. package/dist/{boot-seeds-xs9a8dx1.js → boot-seeds-6wxqkfk2.js} +4 -4
  11. package/dist/{claude-adapter-bm23cye7.js → claude-adapter-gfts5044.js} +9 -9
  12. package/dist/{claude-managed-adapter-1mwrsm9d.js → claude-managed-adapter-h2y889ge.js} +2 -2
  13. package/dist/{claude-managed-setup-gkfgks4j.js → claude-managed-setup-h00hsgtz.js} +2 -2
  14. package/dist/{claude-sdk-session-apb4ypz3.js → claude-sdk-session-56besmfz.js} +13 -13
  15. package/dist/{cli-nrrg0fvy.js → cli-0bh477zn.js} +18 -5
  16. package/dist/{cli-7gh7020n.js → cli-1dmcq2eh.js} +1 -1
  17. package/dist/{cli-7ayprxp7.js → cli-2dfbv8qr.js} +8 -0
  18. package/dist/{cli-1cevz46c.js → cli-3kh4kpqy.js} +6 -6
  19. package/dist/{cli-tg9ksbn8.js → cli-3p8fqcnh.js} +2 -2
  20. package/dist/{cli-x1p5dhq2.js → cli-3r448dqn.js} +3 -3
  21. package/dist/{cli-ecshf504.js → cli-3tnpj2bh.js} +7 -7
  22. package/dist/{cli-ffbrkh1r.js → cli-471qk6s2.js} +46 -38
  23. package/dist/{cli-a49vpbf3.js → cli-5kqnemen.js} +1 -1
  24. package/dist/{cli-zvze9rbm.js → cli-6ncjvx55.js} +3 -3
  25. package/dist/{cli-fb6t92v8.js → cli-6x9ma5w5.js} +1 -1
  26. package/dist/{cli-c8fwpgqb.js → cli-7225gwj7.js} +2 -2
  27. package/dist/{cli-bn26xbcs.js → cli-8nyhf7za.js} +1 -1
  28. package/dist/{cli-y83zk5sb.js → cli-a0kcty51.js} +4 -4
  29. package/dist/{cli-8b9wvjps.js → cli-a4gvwttf.js} +4 -4
  30. package/dist/{cli-jhp7w1fy.js → cli-a5ebc95n.js} +2 -2
  31. package/dist/{cli-mz1ezzzh.js → cli-ash6xxk7.js} +2 -2
  32. package/dist/{cli-rsd7ga7v.js → cli-axh29tyr.js} +11 -11
  33. package/dist/{cli-p22zdvnt.js → cli-bn0rewsy.js} +3 -3
  34. package/dist/{cli-6ftrrwm1.js → cli-bn5kevnf.js} +5 -5
  35. package/dist/{cli-p1m2b6gc.js → cli-d2mb5s8a.js} +7 -7
  36. package/dist/{cli-c5sbmw1v.js → cli-d82btycs.js} +94 -15
  37. package/dist/{cli-vjfpshn3.js → cli-ejs3m1sx.js} +1 -1
  38. package/dist/{cli-a1esmmee.js → cli-fpmsqq59.js} +7 -2
  39. package/dist/{cli-8cxkw1f5.js → cli-fz9kewbh.js} +2 -2
  40. package/dist/{cli-8rwvksbc.js → cli-g0hgtz4p.js} +5 -5
  41. package/dist/{cli-kz116kvw.js → cli-gf0kfg81.js} +7 -7
  42. package/dist/{cli-eqgfs202.js → cli-hqhzg1qq.js} +2 -2
  43. package/dist/{cli-3wjs22x3.js → cli-j4rqdf2n.js} +2 -2
  44. package/dist/{cli-ywyrffff.js → cli-jh0qcrga.js} +1 -1
  45. package/dist/{cli-ttaz6c7m.js → cli-k9z4zd4p.js} +6 -5
  46. package/dist/{cli-nme7wery.js → cli-kmqgmcnb.js} +46 -13
  47. package/dist/{cli-x719j3vs.js → cli-kr2pmfqx.js} +392 -168
  48. package/dist/{cli-wrv09v7q.js → cli-m2qgh5sv.js} +1 -1
  49. package/dist/{cli-xfe63zx3.js → cli-mfe7f7b5.js} +2 -2
  50. package/dist/{cli-x3en6ct3.js → cli-nwyw3zhg.js} +1 -1
  51. package/dist/{cli-5s5hx57y.js → cli-nx462e4v.js} +1 -1
  52. package/dist/{cli-bfc3k1x5.js → cli-p0rakbrk.js} +9 -9
  53. package/dist/{cli-avmqhatn.js → cli-p6argxh9.js} +8 -8
  54. package/dist/{cli-3avfh5az.js → cli-pemywhfq.js} +2 -2
  55. package/dist/{cli-sppc0cmw.js → cli-pnp2j5zg.js} +2 -2
  56. package/dist/{cli-wk8ccrz6.js → cli-pw7v69vp.js} +2 -2
  57. package/dist/{cli-bhwa8rzc.js → cli-rdq7tzwm.js} +13 -12
  58. package/dist/{cli-rg7ntypm.js → cli-rqqsfz30.js} +379 -87
  59. package/dist/{cli-kk2r80n5.js → cli-s48yvzb8.js} +4 -4
  60. package/dist/{cli-zv4vy2b0.js → cli-s95dknxh.js} +1 -1
  61. package/dist/{cli-b80a1100.js → cli-sjyetj21.js} +2 -2
  62. package/dist/{cli-rdr166ht.js → cli-smvcw9z5.js} +1 -1
  63. package/dist/{cli-2rwet3r7.js → cli-sv5gb0yb.js} +1 -1
  64. package/dist/{cli-5ff2sjyt.js → cli-syhq378v.js} +2 -2
  65. package/dist/{cli-tj4j2ts4.js → cli-tbhwrxpt.js} +8 -8
  66. package/dist/{cli-4fhyq711.js → cli-vy0fay6k.js} +13 -13
  67. package/dist/{cli-ptkpaqfy.js → cli-wt645v7q.js} +1 -1
  68. package/dist/{cli-f3nx1h8z.js → cli-wxbn3yfx.js} +2 -2
  69. package/dist/{cli-wyrr38xm.js → cli-x5mq1fyq.js} +1 -1
  70. package/dist/{cli-ccn0eybf.js → cli-xbzvet96.js} +6 -6
  71. package/dist/{cli-4mkvwgzr.js → cli-xf234ws8.js} +1 -1
  72. package/dist/{cli-tgvpmnwz.js → cli-xftrvxag.js} +5 -5
  73. package/dist/{cli-02vhhssk.js → cli-z071fb95.js} +5 -5
  74. package/dist/{cli-mvg2hf8p.js → cli-z1ew8vbq.js} +14 -7
  75. package/dist/{cli-dsgj3e7a.js → cli-zfg9enh9.js} +2 -2
  76. package/dist/{cli-yxqag76b.js → cli-zw88zjba.js} +1 -1
  77. package/dist/cli.js +19 -19
  78. package/dist/{codex-adapter-pp2gq8gr.js → codex-adapter-p6rmm7vv.js} +6 -6
  79. package/dist/{codex-hook-qwzccd64.js → codex-hook-x7nejyrr.js} +7 -4
  80. package/dist/{codex-login-35p4sk85.js → codex-login-m819c41r.js} +1 -1
  81. package/dist/{codex-session-runner-0vzn09t8.js → codex-session-runner-8vd5t9t0.js} +7 -7
  82. package/dist/{commands-psqhkttb.js → commands-7ems2p13.js} +2 -2
  83. package/dist/{controller-t20vz2k8.js → controller-m263fg43.js} +4 -4
  84. package/dist/{controllers-connect-gkxmqw9d.js → controllers-connect-bg33ae53.js} +23 -23
  85. package/dist/{cursor-adapter-3v542qe5.js → cursor-adapter-cz6nm6mj.js} +3 -3
  86. package/dist/{db-2xbyenjr.js → db-w505dwa8.js} +2 -2
  87. package/dist/{db-nc1rd869.js → db-ys2rbdft.js} +3 -3
  88. package/dist/{devin-adapter-7egzmt0k.js → devin-adapter-zgqadvnm.js} +1 -1
  89. package/dist/{dispatcher-ewceb8ts.js → dispatcher-0s0mckqr.js} +20 -20
  90. package/dist/{docker-njavd3fb.js → docker-fkgtr75t.js} +2 -2
  91. package/dist/{dsh-adapter-75xwh78t.js → dsh-adapter-3n3net33.js} +3 -3
  92. package/dist/{e2b-5r6a5jeb.js → e2b-7am6tmq6.js} +2 -2
  93. package/dist/{e2b-pw1nvtmh.js → e2b-thdcxtjd.js} +2 -2
  94. package/dist/{easter-egg-3d-xsc47jwf.js → easter-egg-3d-5cgynaja.js} +1 -1
  95. package/dist/{event-bus-101fenkh.js → event-bus-9vpk8gmq.js} +1 -1
  96. package/dist/{execute-gzmw1mnw.js → execute-t4e6m3rw.js} +1 -1
  97. package/dist/{external-channel-a5dsmxn4.js → external-channel-5b23fv8z.js} +2 -2
  98. package/dist/{grok-adapter-vj88xr23.js → grok-adapter-q9fghe5q.js} +10 -10
  99. package/dist/handlers-mqrym347.js +39 -0
  100. package/dist/{heartbeat-t2m9r3wa.js → heartbeat-tww6yx1w.js} +23 -23
  101. package/dist/{hook-xa677f8r.js → hook-dx0pkvar.js} +16 -9
  102. package/dist/{hook-8femx1bg.js → hook-pvmh9b6m.js} +6 -6
  103. package/dist/{http-xpmmq028.js → http-k2ejbt05.js} +199 -131
  104. package/dist/{index-s7ckdajq.js → index-2z710v4x.js} +10 -10
  105. package/dist/{index-dg2tmj99.js → index-dgz61nff.js} +20 -20
  106. package/dist/{index-syztqdt6.js → index-g6tbb6ve.js} +1 -1
  107. package/dist/index-h2ek08d6.js +40 -0
  108. package/dist/index-pqfwh9nn.js +41 -0
  109. package/dist/{index-cdzyfrsp.js → index-x5aktmp8.js} +1 -1
  110. package/dist/{keepalive-3nr4st3r.js → keepalive-nhvpw10z.js} +4 -4
  111. package/dist/lead-jb6sf69z.js +78 -0
  112. package/dist/{maintenance-verwpe2c.js → maintenance-agakc519.js} +1 -1
  113. package/dist/{oauth-refresh-sweep-9q2t0y3q.js → oauth-refresh-sweep-4dcbhtn0.js} +3 -3
  114. package/dist/{onboard-aytqedmq.js → onboard-4n2kwa4v.js} +3 -3
  115. package/dist/{opencode-adapter-f4hryjny.js → opencode-adapter-3s7ax02e.js} +7 -7
  116. package/dist/{otel-impl-hckw4wt1.js → otel-impl-tfa12080.js} +2 -2
  117. package/dist/{pi-mono-adapter-hxby0ce1.js → pi-mono-adapter-ytp7gz8b.js} +22 -11
  118. package/dist/{pricing-refresh-5nvme3sm.js → pricing-refresh-3cqx3f3x.js} +3 -3
  119. package/dist/{rbac-roles-pd8c26m1.js → rbac-roles-9fae5rnv.js} +1 -1
  120. package/dist/{rbac-roles-vbpy21mg.js → rbac-roles-y6zbfzve.js} +2 -2
  121. package/dist/{render-v2-7nqgvk2q.js → render-v2-emawjvc4.js} +3 -3
  122. package/dist/{resume-b6djcj3c.js → resume-zhgts7h7.js} +10 -8
  123. package/dist/{runtime-txrxc9za.js → runtime-xe3aqy4x.js} +1 -1
  124. package/dist/{session-access-fc3f9y12.js → session-access-cm823e06.js} +4 -4
  125. package/dist/{setup-n39szm6b.js → setup-tkp99w1e.js} +1 -1
  126. package/dist/{virtual-modules-wyp2k6z3.js → virtual-modules-4r3zkc20.js} +2 -2
  127. package/dist/{work-objects-jem2fre0.js → work-objects-f722h263.js} +23 -23
  128. package/dist/worker-p7f336rq.js +78 -0
  129. package/dist/{x-8ewt8gxn.js → x-y45mthwn.js} +2 -2
  130. package/openapi.json +99 -52
  131. package/package.json +2 -2
  132. package/src/apps/action-runner.ts +146 -0
  133. package/src/apps/row-store.ts +4 -2
  134. package/src/apps/script-types.ts +1 -1
  135. package/src/be/db.ts +14 -4
  136. package/src/be/fleet-benchmark-stats.ts +10 -5
  137. package/src/be/models-catalog.ts +4 -0
  138. package/src/be/onboarding.ts +6 -0
  139. package/src/be/scripts/typecheck.ts +13 -0
  140. package/src/be/swarm-config-guard.ts +10 -1
  141. package/src/be/telemetry-enable.ts +1 -1
  142. package/src/commands/provider-credentials.ts +12 -2
  143. package/src/commands/runner.ts +3 -0
  144. package/src/heartbeat/heartbeat.ts +2 -2
  145. package/src/hooks/codex-hook.ts +6 -2
  146. package/src/hooks/hook.ts +7 -0
  147. package/src/hooks/pr-body-guard.ts +38 -11
  148. package/src/hooks/pr-room-guard.ts +88 -0
  149. package/src/http/agents.ts +1 -0
  150. package/src/http/apps.ts +84 -181
  151. package/src/http/fleet-benchmark.ts +79 -30
  152. package/src/http/global-config.ts +7 -0
  153. package/src/http/ranking.ts +24 -40
  154. package/src/http/tasks.ts +2 -1
  155. package/src/http/telemetry-ui.ts +1 -1
  156. package/src/http/used-by.ts +55 -19
  157. package/src/http/users.ts +2 -2
  158. package/src/providers/amp-adapter.ts +1 -1
  159. package/src/providers/pi-mono-adapter.ts +15 -0
  160. package/src/providers/reasoning-effort.ts +2 -1
  161. package/src/providers/types.ts +2 -0
  162. package/src/ranking/telemetry-ranking.ts +5 -33
  163. package/src/scripts-runtime/sdk-allowlist.ts +7 -0
  164. package/src/scripts-runtime/types/stdlib.d.ts +31 -0
  165. package/src/scripts-runtime/types/swarm-sdk.d.ts +31 -0
  166. package/src/server.ts +4 -0
  167. package/src/telemetry-context.ts +19 -1
  168. package/src/telemetry-contract/EVENTS.md +42 -8
  169. package/src/telemetry-contract/SOURCE.json +6 -5
  170. package/src/telemetry-contract/catalog.json +225 -5
  171. package/src/telemetry-contract/ranking/fixtures/valid/no-claim.json +10 -0
  172. package/src/telemetry-contract/ranking/listing.v1.schema.json +2 -2
  173. package/src/telemetry-contract/types.gen.ts +225 -27
  174. package/src/telemetry-identity.ts +47 -9
  175. package/src/telemetry-snapshot.ts +9 -1
  176. package/src/telemetry-ui-events.ts +9 -2
  177. package/src/telemetry.ts +14 -3
  178. package/src/tests/app-action-run-tool.test.ts +178 -0
  179. package/src/tests/app-row-tools.test.ts +360 -0
  180. package/src/tests/check-pr-body.test.ts +0 -23
  181. package/src/tests/credential-check.test.ts +38 -0
  182. package/src/tests/fleet-benchmark.test.ts +122 -2
  183. package/src/tests/http-users.test.ts +62 -1
  184. package/src/tests/model-catalog-table.test.ts +63 -0
  185. package/src/tests/model-profiles-api.test.ts +19 -7
  186. package/src/tests/models-catalog.test.ts +50 -0
  187. package/src/tests/onboarding.test.ts +21 -0
  188. package/src/tests/org-website.test.ts +62 -0
  189. package/src/tests/pi-mono-adapter.test.ts +23 -0
  190. package/src/tests/pr-body-leaks.test.ts +4 -0
  191. package/src/tests/pr-room-guard.test.ts +242 -0
  192. package/src/tests/ranking-listing.test.ts +8 -23
  193. package/src/tests/ranking-route.test.ts +49 -47
  194. package/src/tests/reasoning-effort.test.ts +39 -3
  195. package/src/tests/runner-harness-telemetry-env.test.ts +56 -1
  196. package/src/tests/swarm-tool-result-gate.test.ts +2 -4
  197. package/src/tests/telemetry-context.test.ts +128 -2
  198. package/src/tests/telemetry-ui-route.test.ts +123 -0
  199. package/src/tests/tool-annotations.test.ts +3 -2
  200. package/src/tests/used-by-route.test.ts +144 -10
  201. package/src/tests/workflow-agent-task-retry.test.ts +130 -4
  202. package/src/tests/workflow-wait-recovery.test.ts +116 -4
  203. package/src/tools/app-action-run.ts +63 -0
  204. package/src/tools/app-rows.ts +234 -0
  205. package/src/tools/model-catalog/index.ts +1 -1
  206. package/src/tools/tool-config.ts +8 -0
  207. package/src/tools/utils.ts +1 -1
  208. package/src/tools/workflows/retry-workflow-run.ts +1 -1
  209. package/src/types.ts +17 -0
  210. package/src/utils/company-profile.ts +24 -0
  211. package/src/utils/org-website.ts +58 -21
  212. package/src/workflows/recovery.ts +10 -22
  213. package/src/workflows/resume.ts +16 -0
  214. package/src/workflows/task-step-routing.ts +47 -7
  215. package/templates/skills/apps/SKILL.md +41 -2
  216. package/templates/skills/apps/content.md +41 -2
  217. package/dist/handlers-zbs90bny.js +0 -39
  218. package/dist/index-8pwc1jc8.js +0 -40
  219. package/dist/index-nxa6me0q.js +0 -41
  220. package/dist/lead-td8h2sfn.js +0 -78
  221. package/dist/worker-wr6xgfr2.js +0 -78
  222. package/src/tests/check-ranking-entry.test.ts +0 -146
@@ -5,10 +5,10 @@ import {
5
5
  authJsonToCredentialSelection,
6
6
  credentialsToAuthJson,
7
7
  loadAllCodexOAuthSlots
8
- } from "./cli-vjfpshn3.js";
8
+ } from "./cli-ejs3m1sx.js";
9
9
  import {
10
10
  effectiveReasoningEffort
11
- } from "./cli-p22zdvnt.js";
11
+ } from "./cli-bn0rewsy.js";
12
12
  import {
13
13
  isSkillLoaderCall,
14
14
  skillFromToolArgs,
@@ -20,7 +20,7 @@ import {
20
20
  renderMemoriesPrompt,
21
21
  isUnknownModelError,
22
22
  writeSkillsToFilesystem
23
- } from "./cli-wrv09v7q.js";
23
+ } from "./cli-m2qgh5sv.js";
24
24
  import {
25
25
  isPollTracingEnabled,
26
26
  initOtel,
@@ -30,10 +30,10 @@ import {
30
30
  injectTraceContext2,
31
31
  initialize,
32
32
  ensure
33
- } from "./cli-4fhyq711.js";
33
+ } from "./cli-vy0fay6k.js";
34
34
  import {
35
35
  getContextWindowSize
36
- } from "./cli-jhp7w1fy.js";
36
+ } from "./cli-a5ebc95n.js";
37
37
  import {
38
38
  MAX_RATE_LIMIT_RESET_MS,
39
39
  isRateLimitMessage,
@@ -51,40 +51,40 @@ import {
51
51
  canonicalAzureDevOpsRepoUrl,
52
52
  parseAzureDevOpsRepoUrl,
53
53
  resolveScriptsOnlyMode
54
- } from "./cli-x719j3vs.js";
54
+ } from "./cli-kr2pmfqx.js";
55
55
  import {
56
56
  ACP_TARGET_IDS,
57
57
  isAcpTarget
58
- } from "./cli-a49vpbf3.js";
58
+ } from "./cli-5kqnemen.js";
59
59
  import {
60
60
  checkAmpCredentials2,
61
61
  liveTestAmpCredentials2
62
- } from "./cli-tgvpmnwz.js";
62
+ } from "./cli-xftrvxag.js";
63
63
  import {
64
64
  checkClaudeCredentials2
65
- } from "./cli-kz116kvw.js";
65
+ } from "./cli-gf0kfg81.js";
66
66
  import {
67
67
  checkClaudeManagedCredentials2
68
- } from "./cli-y83zk5sb.js";
68
+ } from "./cli-a0kcty51.js";
69
69
  import {
70
70
  codexUserHome,
71
71
  checkCodexCredentials2
72
- } from "./cli-bfc3k1x5.js";
72
+ } from "./cli-p0rakbrk.js";
73
73
  import {
74
74
  checkCursorCredentials2
75
- } from "./cli-8rwvksbc.js";
75
+ } from "./cli-g0hgtz4p.js";
76
76
  import {
77
77
  checkDevinCredentials2
78
- } from "./cli-zv4vy2b0.js";
78
+ } from "./cli-s95dknxh.js";
79
79
  import {
80
80
  checkDshCredentials2
81
- } from "./cli-8b9wvjps.js";
81
+ } from "./cli-a4gvwttf.js";
82
82
  import {
83
83
  checkOpencodeCredentials2
84
- } from "./cli-ccn0eybf.js";
84
+ } from "./cli-xbzvet96.js";
85
85
  import {
86
86
  checkGrokCredentials2
87
- } from "./cli-zvze9rbm.js";
87
+ } from "./cli-6ncjvx55.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-nme7wery.js";
96
+ } from "./cli-kmqgmcnb.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-rg7ntypm.js";
114
+ } from "./cli-rqqsfz30.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-a1esmmee.js";
122
+ } from "./cli-fpmsqq59.js";
123
123
  import {
124
124
  generateDefaultClaudeMd2,
125
125
  generateDefaultSoulMd2,
@@ -143,7 +143,7 @@ import {
143
143
  resolveClaudeMdPath,
144
144
  syncProfileFilesToServer,
145
145
  init_profile_sync
146
- } from "./cli-wyrr38xm.js";
146
+ } from "./cli-x5mq1fyq.js";
147
147
  import {
148
148
  isSteeringEnabled2,
149
149
  init_steering_enabled
@@ -154,7 +154,7 @@ import {
154
154
  CLAUDE_CREDENTIALS_HINT,
155
155
  resolveCredentialPools,
156
156
  init_credentials
157
- } from "./cli-yxqag76b.js";
157
+ } from "./cli-zw88zjba.js";
158
158
  import {
159
159
  init_templates3
160
160
  } from "./cli-0ebey9hg.js";
@@ -186,7 +186,7 @@ import {
186
186
  runtimeHarnessSections,
187
187
  refreshRuntimeModelCatalog,
188
188
  init_runtime_model_catalog
189
- } from "./cli-fb6t92v8.js";
189
+ } from "./cli-6x9ma5w5.js";
190
190
  import {
191
191
  getMcpBaseUrl,
192
192
  init_constants2
@@ -204,7 +204,7 @@ import {
204
204
  registerEnvSecrets,
205
205
  registerSensitiveKeyName,
206
206
  init_secret_scrubber
207
- } from "./cli-4mkvwgzr.js";
207
+ } from "./cli-xf234ws8.js";
208
208
  import {
209
209
  harnessModelMismatch,
210
210
  openAICompatibleProviders,
@@ -212,7 +212,7 @@ import {
212
212
  providerBaseUrl,
213
213
  providerKeyFromEnv,
214
214
  init_src2
215
- } from "./cli-x3en6ct3.js";
215
+ } from "./cli-nwyw3zhg.js";
216
216
 
217
217
  // src/commands/runner.ts
218
218
  import { existsSync, statSync } from "node:fs";
@@ -246,47 +246,47 @@ 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-bm23cye7.js");
249
+ const { ClaudeAdapter } = await import("./claude-adapter-gfts5044.js");
250
250
  return new ClaudeAdapter;
251
251
  }
252
252
  case "pi": {
253
- const { PiMonoAdapter } = await import("./pi-mono-adapter-hxby0ce1.js");
253
+ const { PiMonoAdapter } = await import("./pi-mono-adapter-ytp7gz8b.js");
254
254
  return new PiMonoAdapter;
255
255
  }
256
256
  case "codex": {
257
- const { CodexAdapter } = await import("./codex-adapter-pp2gq8gr.js");
257
+ const { CodexAdapter } = await import("./codex-adapter-p6rmm7vv.js");
258
258
  return new CodexAdapter;
259
259
  }
260
260
  case "claude-managed": {
261
- const { ClaudeManagedAdapter } = await import("./claude-managed-adapter-1mwrsm9d.js");
261
+ const { ClaudeManagedAdapter } = await import("./claude-managed-adapter-h2y889ge.js");
262
262
  return new ClaudeManagedAdapter;
263
263
  }
264
264
  case "devin": {
265
- const { DevinAdapter } = await import("./devin-adapter-7egzmt0k.js");
265
+ const { DevinAdapter } = await import("./devin-adapter-zgqadvnm.js");
266
266
  return new DevinAdapter;
267
267
  }
268
268
  case "opencode": {
269
- const { OpencodeAdapter } = await import("./opencode-adapter-f4hryjny.js");
269
+ const { OpencodeAdapter } = await import("./opencode-adapter-3s7ax02e.js");
270
270
  return new OpencodeAdapter;
271
271
  }
272
272
  case "dsh": {
273
- const { DshAdapter } = await import("./dsh-adapter-75xwh78t.js");
273
+ const { DshAdapter } = await import("./dsh-adapter-3n3net33.js");
274
274
  return new DshAdapter;
275
275
  }
276
276
  case "amp": {
277
- const { AmpAdapter } = await import("./amp-adapter-xeb5mktv.js");
277
+ const { AmpAdapter } = await import("./amp-adapter-bd84rhs2.js");
278
278
  return new AmpAdapter;
279
279
  }
280
280
  case "cursor": {
281
- const { CursorAdapter } = await import("./cursor-adapter-3v542qe5.js");
281
+ const { CursorAdapter } = await import("./cursor-adapter-cz6nm6mj.js");
282
282
  return new CursorAdapter;
283
283
  }
284
284
  case "grok": {
285
- const { GrokAdapter } = await import("./grok-adapter-vj88xr23.js");
285
+ const { GrokAdapter } = await import("./grok-adapter-q9fghe5q.js");
286
286
  return new GrokAdapter;
287
287
  }
288
288
  case "acp": {
289
- const { ACPAdapter } = await import("./acp-adapter-kedstxx6.js");
289
+ const { ACPAdapter } = await import("./acp-adapter-zvzr538d.js");
290
290
  return new ACPAdapter;
291
291
  }
292
292
  default:
@@ -1205,8 +1205,11 @@ 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 } = await import("./pi-mono-adapter-hxby0ce1.js");
1209
- return checkPiMonoCredentials(env, opts);
1208
+ const { checkPiMonoCredentials, listPiOpencodeGoModelIds } = await import("./pi-mono-adapter-ytp7gz8b.js");
1209
+ return {
1210
+ ...await checkPiMonoCredentials(env, opts),
1211
+ opencodeGoModels: listPiOpencodeGoModelIds()
1212
+ };
1210
1213
  },
1211
1214
  acp: (env) => {
1212
1215
  const target = env.ACP_TARGET ?? "custom";
@@ -1474,7 +1477,7 @@ async function validateProviderCredentials(provider, env = process.env, presence
1474
1477
  latency_ms: Date.now() - startedAt
1475
1478
  };
1476
1479
  }
1477
- const { liveTestCursorKey } = await import("./cursor-adapter-3v542qe5.js");
1480
+ const { liveTestCursorKey } = await import("./cursor-adapter-cz6nm6mj.js");
1478
1481
  const result = await liveTestCursorKey(apiKey);
1479
1482
  return result.ok ? { ok: true, latency_ms: Date.now() - startedAt } : { ok: false, error: result.error, latency_ms: Date.now() - startedAt };
1480
1483
  }
@@ -1526,6 +1529,7 @@ async function buildCredStatusReport(provider, env, opts = {}, kind) {
1526
1529
  models: presence.bedrockModels ?? [],
1527
1530
  error: presence.ready ? undefined : presence.hint ?? undefined
1528
1531
  } : null;
1532
+ const opencodeGo = presence.opencodeGoModels !== undefined ? { probedAt: Date.now(), models: presence.opencodeGoModels } : null;
1529
1533
  return {
1530
1534
  ready: presence.ready,
1531
1535
  missing: presence.missing ?? [],
@@ -1536,6 +1540,7 @@ async function buildCredStatusReport(provider, env, opts = {}, kind) {
1536
1540
  reportedAt: Date.now(),
1537
1541
  reportKind: kind,
1538
1542
  bedrock,
1543
+ opencodeGo,
1539
1544
  acp: null
1540
1545
  };
1541
1546
  }
@@ -2499,6 +2504,9 @@ var RELOADABLE_ENV_KEYS = new Set([
2499
2504
  "SWARM_ORG_NAME",
2500
2505
  "SWARM_ORG_WEBSITE",
2501
2506
  "PUBLIC_RANKING_ENABLED",
2507
+ "SWARM_ORG_TEAM_SIZE",
2508
+ "SWARM_ORG_USE_CASE",
2509
+ "SWARM_ORG_ACQUISITION_SOURCE",
2502
2510
  "PI_TOOL_DEFERRAL",
2503
2511
  "PI_CODEMODE",
2504
2512
  "PI_CODEMODE_MODELS",
@@ -2,7 +2,7 @@ import {
2
2
  openAICompatibleKeyVars,
3
3
  openAICompatibleBaseUrlVars,
4
4
  init_src2
5
- } from "./cli-x3en6ct3.js";
5
+ } from "./cli-nwyw3zhg.js";
6
6
 
7
7
  // src/providers/acp-target-catalog.ts
8
8
  init_src2();
@@ -2,7 +2,7 @@ import {
2
2
  isGrokOpenRouterModel,
3
3
  grokTargetProfile,
4
4
  ACPAdapter2
5
- } from "./cli-ecshf504.js";
5
+ } from "./cli-3tnpj2bh.js";
6
6
  import {
7
7
  getOpenRouterBaseUrl,
8
8
  getOpenRouterAttributionHeaders,
@@ -11,11 +11,11 @@ import {
11
11
  import {
12
12
  registerVolatileSecret,
13
13
  init_secret_scrubber
14
- } from "./cli-4mkvwgzr.js";
14
+ } from "./cli-xf234ws8.js";
15
15
  import {
16
16
  normalizeGrokModel,
17
17
  init_src2
18
- } from "./cli-x3en6ct3.js";
18
+ } from "./cli-nwyw3zhg.js";
19
19
 
20
20
  // src/providers/grok-adapter.ts
21
21
  init_src2();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  withRegistryCatalogSections,
3
3
  init_src2
4
- } from "./cli-x3en6ct3.js";
4
+ } from "./cli-nwyw3zhg.js";
5
5
  import {
6
6
  __esm
7
7
  } from "./cli-242037k3.js";
@@ -13,11 +13,11 @@ import {
13
13
  claudeMdLineageOf,
14
14
  planClaudeMdSync,
15
15
  init_profile_sync
16
- } from "./cli-wyrr38xm.js";
16
+ } from "./cli-x5mq1fyq.js";
17
17
  import {
18
18
  scrubSecrets,
19
19
  init_secret_scrubber
20
- } from "./cli-4mkvwgzr.js";
20
+ } from "./cli-xf234ws8.js";
21
21
 
22
22
  // src/commands/claude-md-session.ts
23
23
  init_file_lock();
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  persistCodexOAuth,
12
12
  getValidCodexOAuth
13
- } from "./cli-vjfpshn3.js";
13
+ } from "./cli-ejs3m1sx.js";
14
14
  import {
15
15
  registerSessionResourceCleanup,
16
16
  cleanupSessionResources,
@@ -9,7 +9,7 @@ import {
9
9
  getContextWindowSize,
10
10
  computeContextUsedUnified,
11
11
  clampContextPercent
12
- } from "./cli-jhp7w1fy.js";
12
+ } from "./cli-a5ebc95n.js";
13
13
  import {
14
14
  readPkgVersion
15
15
  } from "./cli-kr5tjjtz.js";
@@ -19,14 +19,14 @@ import {
19
19
  import {
20
20
  runtimeCatalogModel,
21
21
  init_runtime_model_catalog
22
- } from "./cli-fb6t92v8.js";
22
+ } from "./cli-6x9ma5w5.js";
23
23
  import {
24
24
  scrubSecrets,
25
25
  init_secret_scrubber
26
- } from "./cli-4mkvwgzr.js";
26
+ } from "./cli-xf234ws8.js";
27
27
  import {
28
28
  init_src2
29
- } from "./cli-x3en6ct3.js";
29
+ } from "./cli-nwyw3zhg.js";
30
30
 
31
31
  // src/providers/claude-managed-adapter.ts
32
32
  init_secret_scrubber();
@@ -2,7 +2,7 @@ import {
2
2
  CONTEXT_FORMULA,
3
3
  getContextWindowSize,
4
4
  clampContextPercent
5
- } from "./cli-jhp7w1fy.js";
5
+ } from "./cli-a5ebc95n.js";
6
6
  import {
7
7
  swarmRuntimeInstanceId
8
8
  } from "./cli-7a91w22y.js";
@@ -17,11 +17,11 @@ import {
17
17
  import {
18
18
  reasoningCapability,
19
19
  applyReasoningEffort
20
- } from "./cli-p22zdvnt.js";
20
+ } from "./cli-bn0rewsy.js";
21
21
  import {
22
22
  DEFAULT_MODEL_TIER_MAP,
23
23
  init_types
24
- } from "./cli-a1esmmee.js";
24
+ } from "./cli-fpmsqq59.js";
25
25
  import {
26
26
  getOpenRouterBaseUrl,
27
27
  getOpenRouterAttributionHeaders,
@@ -31,7 +31,7 @@ import {
31
31
  scrubSecrets,
32
32
  registerVolatileSecret,
33
33
  init_secret_scrubber
34
- } from "./cli-4mkvwgzr.js";
34
+ } from "./cli-xf234ws8.js";
35
35
 
36
36
  // src/providers/dsh-adapter.ts
37
37
  init_types();
@@ -2,11 +2,11 @@ import {
2
2
  runtimeCatalogSection,
3
3
  runtimeCatalogModel,
4
4
  init_runtime_model_catalog
5
- } from "./cli-fb6t92v8.js";
5
+ } from "./cli-6x9ma5w5.js";
6
6
  import {
7
7
  buildClaudeShortnameMap,
8
8
  init_src2
9
- } from "./cli-x3en6ct3.js";
9
+ } from "./cli-nwyw3zhg.js";
10
10
 
11
11
  // src/utils/context-window.ts
12
12
  init_src2();
@@ -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.0",
10
+ version: "2.4.1",
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.302",
210
+ "@anthropic-ai/claude-agent-sdk": "0.3.303",
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",
@@ -4,7 +4,7 @@ import {
4
4
  CONTROLLER_COMMAND_TIMEOUT_MS,
5
5
  RuntimeHandleSchema,
6
6
  ControllerStatusResultSchema
7
- } from "./cli-eqgfs202.js";
7
+ } from "./cli-hqhzg1qq.js";
8
8
  import {
9
9
  getDbClient2,
10
10
  isRuntimePoolsEnabled,
@@ -21,7 +21,7 @@ import {
21
21
  upsertSwarmConfig2,
22
22
  getResolvedConfig2,
23
23
  init_db3
24
- } from "./cli-rg7ntypm.js";
24
+ } from "./cli-rqqsfz30.js";
25
25
  import {
26
26
  runtimeStaleThresholdMinutes,
27
27
  getRuntimeInstanceById,
@@ -31,7 +31,7 @@ import {
31
31
  listRuntimeInstancesForPool,
32
32
  createWorkerTaskFollowUp,
33
33
  canClaim
34
- } from "./cli-x719j3vs.js";
34
+ } from "./cli-kr2pmfqx.js";
35
35
  import {
36
36
  getRuntimeController2,
37
37
  getRuntimeControllerTarget2,
@@ -42,11 +42,11 @@ import {
42
42
  getPoolForAgent2,
43
43
  resolvePoolDelivery2,
44
44
  init_db
45
- } from "./cli-6ftrrwm1.js";
45
+ } from "./cli-bn5kevnf.js";
46
46
  import {
47
47
  workflowEventBus2,
48
48
  init_event_bus
49
- } from "./cli-ptkpaqfy.js";
49
+ } from "./cli-wt645v7q.js";
50
50
  import {
51
51
  isMultiRuntimeEnabled
52
52
  } from "./cli-7a91w22y.js";
@@ -57,16 +57,16 @@ import {
57
57
  canProvisionKind,
58
58
  createRuntimeProvider,
59
59
  init_runtime_providers
60
- } from "./cli-wk8ccrz6.js";
60
+ } from "./cli-pw7v69vp.js";
61
61
  import {
62
62
  mintRuntimeToken,
63
63
  init_users
64
- } from "./cli-8cxkw1f5.js";
64
+ } from "./cli-fz9kewbh.js";
65
65
  import {
66
66
  TERMINAL_TASK_STATUSES,
67
67
  isTerminalTaskStatus,
68
68
  init_types
69
- } from "./cli-a1esmmee.js";
69
+ } from "./cli-fpmsqq59.js";
70
70
  import {
71
71
  init_zod
72
72
  } from "./cli-4chz1hye.js";
@@ -86,7 +86,7 @@ import {
86
86
  import {
87
87
  buildImageTemplate,
88
88
  init_dispatch
89
- } from "./cli-7gh7020n.js";
89
+ } from "./cli-1dmcq2eh.js";
90
90
  import {
91
91
  RUNTIME_LABELS,
92
92
  init_types2
@@ -95,7 +95,7 @@ import {
95
95
  scrubSecrets,
96
96
  registerVolatileSecret,
97
97
  init_secret_scrubber
98
- } from "./cli-4mkvwgzr.js";
98
+ } from "./cli-xf234ws8.js";
99
99
 
100
100
  // src/be/runtime-pools/supervisor.ts
101
101
  init_runtime_providers();
@@ -522,7 +522,7 @@ async function recoverSessions(runtimeId, reason) {
522
522
  }
523
523
  if (!sessions.length)
524
524
  return;
525
- const { remediateTaskForDeadRuntime } = await import("./heartbeat-t2m9r3wa.js");
525
+ const { remediateTaskForDeadRuntime } = await import("./heartbeat-tww6yx1w.js");
526
526
  for (const session of sessions) {
527
527
  try {
528
528
  const task = await getTaskById2(session.taskId);
@@ -2,7 +2,7 @@ import {
2
2
  runtimeCatalogSection,
3
3
  runtimeCatalogModel,
4
4
  init_runtime_model_catalog
5
- } from "./cli-fb6t92v8.js";
5
+ } from "./cli-6x9ma5w5.js";
6
6
  import {
7
7
  dshCatalogRef,
8
8
  grokCatalogRef,
@@ -10,7 +10,7 @@ import {
10
10
  reasoningLevelsFor,
11
11
  claudeCatalogModelId,
12
12
  init_src2
13
- } from "./cli-x3en6ct3.js";
13
+ } from "./cli-nwyw3zhg.js";
14
14
 
15
15
  // src/providers/reasoning-effort.ts
16
16
  init_src2();
@@ -80,7 +80,7 @@ var ANTHROPIC_BUDGET_TOKENS_BY_LEVEL = {
80
80
  function buildOpencodeReasoningOptions(providerId, level) {
81
81
  if (providerId === "anthropic") {
82
82
  if (level === "max")
83
- return { reasoningEffort: level };
83
+ return { effort: level };
84
84
  return { thinking: { type: "enabled", budgetTokens: ANTHROPIC_BUDGET_TOKENS_BY_LEVEL[level] } };
85
85
  }
86
86
  if (providerId === "openrouter") {
@@ -15,17 +15,17 @@ import {
15
15
  init_secret_registry,
16
16
  upsertSwarmConfig2,
17
17
  init_db3
18
- } from "./cli-rg7ntypm.js";
18
+ } from "./cli-rqqsfz30.js";
19
19
  import {
20
20
  createRuntimeProvider,
21
21
  init_runtime_providers
22
- } from "./cli-wk8ccrz6.js";
22
+ } from "./cli-pw7v69vp.js";
23
23
  import {
24
24
  closeSessionTokenConnections,
25
25
  init_session_token_connections,
26
26
  insertSessionToken,
27
27
  init_users
28
- } from "./cli-8cxkw1f5.js";
28
+ } from "./cli-fz9kewbh.js";
29
29
  import {
30
30
  RuntimeControllerCreateSchema,
31
31
  RuntimeControllerUpdateSchema,
@@ -33,13 +33,13 @@ import {
33
33
  RuntimePoolUpdateSchema,
34
34
  RuntimePoolCreateAgentSchema,
35
35
  init_types
36
- } from "./cli-a1esmmee.js";
36
+ } from "./cli-fpmsqq59.js";
37
37
  import {
38
38
  scrubSecrets,
39
39
  registerVolatileSecret,
40
40
  unregisterVolatileSecret,
41
41
  init_secret_scrubber
42
- } from "./cli-4mkvwgzr.js";
42
+ } from "./cli-xf234ws8.js";
43
43
  import {
44
44
  __esm
45
45
  } from "./cli-242037k3.js";
@@ -34,7 +34,7 @@ import {
34
34
  stream4,
35
35
  streamSimple2,
36
36
  completeSimple
37
- } from "./cli-bn26xbcs.js";
37
+ } from "./cli-8nyhf7za.js";
38
38
  import {
39
39
  parseStreamingJson
40
40
  } from "./cli-kvzgak7c.js";
@@ -54114,7 +54114,7 @@ function loadAllHighlightLanguages() {
54114
54114
  if (!allLanguagesPromise) {
54115
54115
  allLanguagesPromise = new Promise((resolve) => {
54116
54116
  setImmediate(() => {
54117
- import("./index-syztqdt6.js").then((m)=>__toESM(m.default,1)).then(() => resolve(), () => {
54117
+ import("./index-g6tbb6ve.js").then((m)=>__toESM(m.default,1)).then(() => resolve(), () => {
54118
54118
  resolve();
54119
54119
  });
54120
54120
  });
@@ -60228,7 +60228,7 @@ function getCreateJiti() {
60228
60228
  }
60229
60229
  var virtualModulesPromise;
60230
60230
  function getVirtualModules() {
60231
- virtualModulesPromise ??= import("./virtual-modules-wyp2k6z3.js").then((module) => module.VIRTUAL_MODULES);
60231
+ virtualModulesPromise ??= import("./virtual-modules-4r3zkc20.js").then((module) => module.VIRTUAL_MODULES);
60232
60232
  return virtualModulesPromise;
60233
60233
  }
60234
60234
  var _aliases = null;
@@ -79942,7 +79942,7 @@ function parseCodemodeSource(input) {
79942
79942
  }
79943
79943
 
79944
79944
  // node_modules/@earendil-works/pi-coding-agent/dist/extensions/codemode/execute.lazy.js
79945
- var loadCodemodeExecutor = () => import("./execute-gzmw1mnw.js");
79945
+ var loadCodemodeExecutor = () => import("./execute-t4e6m3rw.js");
79946
79946
 
79947
79947
  // node_modules/@earendil-works/pi-coding-agent/dist/extensions/codemode/renderer.js
79948
79948
  var CODE_PREVIEW_LINES = 10;
@@ -81098,7 +81098,7 @@ function createMcpResourceToolDefinitions(options) {
81098
81098
  }
81099
81099
 
81100
81100
  // node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/runtime.lazy.js
81101
- var loadMcpRuntime = () => import("./runtime-txrxc9za.js");
81101
+ var loadMcpRuntime = () => import("./runtime-xe3aqy4x.js");
81102
81102
 
81103
81103
  // node_modules/@earendil-works/pi-coding-agent/dist/utils/clipboard.js
81104
81104
  import { randomUUID as randomUUID3 } from "node:crypto";
@@ -86218,7 +86218,7 @@ var builtInExtensions = [
86218
86218
  ];
86219
86219
 
86220
86220
  // node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/cli.lazy.js
86221
- var loadMcpCommand = () => import("./cli-3wjs22x3.js");
86221
+ var loadMcpCommand = () => import("./cli-j4rqdf2n.js");
86222
86222
 
86223
86223
  // node_modules/@earendil-works/pi-coding-agent/dist/migrations.js
86224
86224
  import { existsSync as existsSync23, mkdirSync as mkdirSync11, readdirSync as readdirSync10, readFileSync as readFileSync17, renameSync as renameSync2, rmSync as rmSync3, writeFileSync as writeFileSync11 } from "fs";
@@ -88745,7 +88745,7 @@ function playEasterEgg3d(tui, egg) {
88745
88745
  if (tui.hasOverlay())
88746
88746
  return true;
88747
88747
  const screen = tui.getScreenLines();
88748
- import("./easter-egg-3d-xsc47jwf.js").then((module) => module.playEasterEgg3d(tui, screen, egg), () => {});
88748
+ import("./easter-egg-3d-5cgynaja.js").then((module) => module.playEasterEgg3d(tui, screen, egg), () => {});
88749
88749
  return true;
88750
88750
  }
88751
88751
  function playPiLogo3d(tui, column, row) {