@desplega.ai/agent-swarm 1.149.0 → 1.150.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.
Files changed (385) hide show
  1. package/README.md +7 -3
  2. package/dist/{acp-adapter-4jncb126.js → acp-adapter-d5mzggyk.js} +1 -1
  3. package/dist/{actions-31vp3ae7.js → actions-wn6ew0p7.js} +11 -10
  4. package/dist/{anthropic-messages-vs2rabzp.js → anthropic-messages-ec35ktvx.js} +4 -4
  5. package/dist/{app-1hh67x8w.js → app-dty7p9hg.js} +7 -7
  6. package/dist/{artifact-gj9arwrr.js → artifact-td4q4dch.js} +1 -1
  7. package/dist/{assistant-z66dmz6p.js → assistant-q4vhgjtx.js} +16 -17
  8. package/dist/{boot-reembed-wxa8ya0s.js → boot-reembed-92292pgf.js} +9 -9
  9. package/dist/{boot-reembed-fqzxxzjh.js → boot-reembed-n15q6s9x.js} +8 -8
  10. package/dist/{boot-scrub-logs-jnyndh79.js → boot-scrub-logs-44pc955m.js} +5 -5
  11. package/dist/{claude-adapter-3qpa9w0j.js → claude-adapter-cjegjbje.js} +14 -14
  12. package/dist/{claude-managed-adapter-qvsmh6mv.js → claude-managed-adapter-p3ts5m9m.js} +2 -2
  13. package/dist/{claude-sdk-session-2yxgjs5d.js → claude-sdk-session-7ywbn12v.js} +14 -14
  14. package/dist/{cli-cr12paw2.js → cli-111ey3ra.js} +5 -5
  15. package/dist/{cli-4wtq5jjv.js → cli-1mx65de9.js} +1 -1
  16. package/dist/{cli-9d8ntetj.js → cli-2658f6at.js} +1 -1
  17. package/dist/{cli-n3dz2942.js → cli-3ckzxdt1.js} +10 -6
  18. package/dist/{cli-yb9qhqam.js → cli-3mh119qv.js} +184 -67
  19. package/dist/{cli-ykxrnd1q.js → cli-72xdszyx.js} +2 -2
  20. package/dist/{cli-xm87hzbw.js → cli-7fesa1ky.js} +1 -1
  21. package/dist/{cli-3q5ejx9p.js → cli-7kwmt3r5.js} +2 -2
  22. package/dist/{cli-2qts1hys.js → cli-8chp8xab.js} +2 -2
  23. package/dist/{cli-qaacms9y.js → cli-9gqddmxs.js} +122 -97
  24. package/dist/{cli-zvz62chv.js → cli-a45d5v9b.js} +4 -4
  25. package/dist/{cli-9xvdm3bx.js → cli-asvrh7kj.js} +1 -1
  26. package/dist/{cli-kgz4np97.js → cli-b8x19vbh.js} +4 -4
  27. package/dist/{cli-9fy6nk6g.js → cli-ceb5y160.js} +1 -1
  28. package/dist/{cli-k0cr4kat.js → cli-ck1vqzdj.js} +1 -1
  29. package/dist/{cli-e29gmdmw.js → cli-dv6cdjs2.js} +2 -1
  30. package/dist/{cli-jecc01cb.js → cli-dyx0237s.js} +1 -1
  31. package/dist/{cli-kjwt6hdf.js → cli-gm0fhz13.js} +3 -3
  32. package/dist/{cli-sd5pv3b1.js → cli-h505yhex.js} +2 -2
  33. package/dist/{handlers-nbzdzn9k.js → cli-hbagregr.js} +15 -38
  34. package/dist/{cli-08b07b4r.js → cli-hmyynq9b.js} +1 -1
  35. package/dist/{cli-d8ftsp62.js → cli-kt7wevqh.js} +20 -13
  36. package/dist/{cli-gjhjfeeg.js → cli-kyysm7m3.js} +1 -1
  37. package/dist/{cli-1ebpar1q.js → cli-mzb0n642.js} +6 -6
  38. package/dist/{cli-q50ef8g0.js → cli-n1yj5fd5.js} +1 -1
  39. package/dist/{cli-3apbzgyk.js → cli-n75jt793.js} +13 -9
  40. package/dist/{cli-19f354qr.js → cli-q04q68be.js} +2 -2
  41. package/dist/{cli-yab68w40.js → cli-qp69dd5d.js} +29 -14
  42. package/dist/{cli-6pqcb4q0.js → cli-rnsr8asm.js} +12 -11
  43. package/dist/{cli-ygweqcn4.js → cli-rwp3ksm7.js} +91 -108
  44. package/dist/{cli-phsxnkp6.js → cli-ryz8q8p1.js} +74 -58
  45. package/dist/{cli-e95cx1eb.js → cli-taym3dmg.js} +10 -10
  46. package/dist/{cli-nye12xk5.js → cli-ttje5a4z.js} +7 -4
  47. package/dist/{cli-9hspd3dp.js → cli-vr6qj104.js} +1 -1
  48. package/dist/{cli-mnmsfd1w.js → cli-xjb9wghj.js} +7 -3
  49. package/dist/{cli-gv88e1vf.js → cli-ydk0wjj8.js} +1 -1
  50. package/dist/{cli-aae6hz6a.js → cli-zd21jrrc.js} +3 -3
  51. package/dist/{cli-7smrsr25.js → cli-zthatyrx.js} +23 -11
  52. package/dist/cli.js +19 -19
  53. package/dist/{codex-adapter-8meawydj.js → codex-adapter-rn3aq7jm.js} +7 -7
  54. package/dist/{codex-hook-hfrt9shr.js → codex-hook-gthcmm0g.js} +3 -3
  55. package/dist/{codex-session-runner-gjgxyp5j.js → codex-session-runner-bge0cbsw.js} +7 -7
  56. package/dist/{commands-hz3nb95f.js → commands-26phw0pc.js} +5 -5
  57. package/dist/{db-ggz97zbm.js → db-jxjx6s1b.js} +6 -6
  58. package/dist/{e2b-p04vmtx0.js → e2b-413b8t4v.js} +1 -1
  59. package/dist/handlers-vr1djg4n.js +41 -0
  60. package/dist/{hook-bks2q1f6.js → hook-jw0ztn96.js} +9 -9
  61. package/dist/{hook-kq9wp0ep.js → hook-t6fqsggw.js} +10 -10
  62. package/dist/{http-hrf77v87.js → http-hyc7s57s.js} +80 -71
  63. package/dist/{index-n28pw1zt.js → index-1d9r6a74.js} +18 -18
  64. package/dist/{index-cqtebbhb.js → index-bcyx5djw.js} +17 -17
  65. package/dist/{index-6nsbg88z.js → index-sfhaq59d.js} +408 -74
  66. package/dist/{index-8hmeg8j1.js → index-wtwpthe1.js} +17 -17
  67. package/dist/{keepalive-dxc12gvg.js → keepalive-fbsak4ya.js} +7 -7
  68. package/dist/{lead-yckfn18d.js → lead-rdzdm627.js} +39 -39
  69. package/dist/{maintenance-6kfb2m5e.js → maintenance-25z1c1vf.js} +9 -9
  70. package/dist/{node-x1g4v0pq.js → node-209sxmg3.js} +9 -9
  71. package/dist/{oauth-refresh-sweep-1x1ac722.js → oauth-refresh-sweep-j3d7gtse.js} +6 -6
  72. package/dist/{onboard-dcyt1609.js → onboard-dkcwrc75.js} +2 -2
  73. package/dist/{otel-impl-tbk3e5dr.js → otel-impl-8rgyy3j8.js} +1 -1
  74. package/dist/{pi-mono-adapter-zvshk5cj.js → pi-mono-adapter-4s2bbkgq.js} +8 -8
  75. package/dist/{pricing-refresh-kaqg567e.js → pricing-refresh-9cek71nq.js} +7 -7
  76. package/dist/{rbac-roles-cf97v1vd.js → rbac-roles-vk8mqp9v.js} +6 -6
  77. package/dist/{rbac-roles-ammq6rd2.js → rbac-roles-z98s2ypy.js} +5 -5
  78. package/dist/{render-v2-80w603vy.js → render-v2-3j26g0qh.js} +7 -7
  79. package/dist/{seed-pricing-zbrn83xv.js → seed-pricing-7rxhcnzm.js} +6 -6
  80. package/dist/{setup-fe66kczs.js → setup-e2t7vz0c.js} +2 -2
  81. package/dist/work-objects-8d3nd3x2.js +141 -0
  82. package/dist/{worker-qmb2d1e2.js → worker-0x9fn7nq.js} +39 -39
  83. package/openapi.json +15 -4
  84. package/package.json +3 -3
  85. package/src/agentmail/handlers.ts +5 -0
  86. package/src/be/budget-refusal-notify.ts +1 -0
  87. package/src/be/db/tasks/read.ts +3 -0
  88. package/src/be/db/tasks/write.ts +13 -1
  89. package/src/be/db.ts +4 -2
  90. package/src/be/migrations/153_deferred_task_wait_members.sql +25 -0
  91. package/src/be/migrations/154_routing_source.sql +3 -0
  92. package/src/be/scripts/typecheck.ts +7 -3
  93. package/src/be/seed/automation-toggle.ts +69 -0
  94. package/src/be/seed/schedules-seeder.ts +53 -8
  95. package/src/be/seed/workflows-seeder.ts +35 -6
  96. package/src/be/seed-scripts/catalog/delegate.ts +3 -1
  97. package/src/be/seed-skills/bundled-files.generated.json +1 -1
  98. package/src/be/steering.ts +1 -0
  99. package/src/be/swarm-config-guard.ts +1 -0
  100. package/src/commands/credential-refresh.ts +70 -0
  101. package/src/commands/provider-credentials.ts +2 -25
  102. package/src/commands/runner.ts +23 -56
  103. package/src/github/handlers.ts +9 -0
  104. package/src/gitlab/handlers.ts +4 -0
  105. package/src/heartbeat/heartbeat.ts +3 -0
  106. package/src/http/approval-requests.ts +1 -0
  107. package/src/http/apps.ts +1 -0
  108. package/src/http/config.ts +4 -1
  109. package/src/http/core.ts +4 -2
  110. package/src/http/index.ts +16 -3
  111. package/src/http/script-runs.ts +5 -0
  112. package/src/http/tasks.ts +5 -0
  113. package/src/integrations/kapso/inbound.ts +1 -0
  114. package/src/jira/sync.ts +2 -0
  115. package/src/linear/sync.ts +2 -0
  116. package/src/prompts/session-templates.ts +13 -9
  117. package/src/providers/claude-adapter.ts +21 -8
  118. package/src/scheduler/deferred-task-waits.ts +34 -5
  119. package/src/scheduler/schedule-task.ts +5 -1
  120. package/src/scheduler/scheduler.ts +104 -123
  121. package/src/scripts-runtime/types/stdlib.d.ts +7 -3
  122. package/src/scripts-runtime/types/swarm-sdk.d.ts +7 -3
  123. package/src/slack/HEURISTICS.md +2 -0
  124. package/src/slack/actions.ts +1 -0
  125. package/src/slack/app.ts +2 -0
  126. package/src/slack/assistant.ts +4 -12
  127. package/src/slack/handlers.ts +9 -14
  128. package/src/slack/inbound-files.ts +3 -3
  129. package/src/slack/render-v2.ts +17 -3
  130. package/src/slack/thread-buffer.ts +66 -23
  131. package/src/slack/work-objects.test.ts +252 -0
  132. package/src/slack/work-objects.ts +118 -0
  133. package/src/tasks/worker-follow-up.ts +4 -0
  134. package/src/tests/acp-adapter.test.ts +10 -10
  135. package/src/tests/agent-fs-live-url.test.ts +40 -0
  136. package/src/tests/agent-fs-provision-seeder.test.ts +12 -12
  137. package/src/tests/api-key-tracking.test.ts +18 -18
  138. package/src/tests/api-key.test.ts +4 -2
  139. package/src/tests/apps-rbac.test.ts +1 -1
  140. package/src/tests/apps-spike5.test.ts +1 -1
  141. package/src/tests/apps-sync-engine.test.ts +8 -8
  142. package/src/tests/apps-user-config.test.ts +1 -1
  143. package/src/tests/artifact-sdk.test.ts +8 -8
  144. package/src/tests/asset-key-mcp.test.ts +2 -0
  145. package/src/tests/automation-preflight-alert.test.ts +1 -1
  146. package/src/tests/base-prompt.test.ts +6 -6
  147. package/src/tests/budget-user-scope.test.ts +1 -1
  148. package/src/tests/budgets-routes.test.ts +1 -1
  149. package/src/tests/claude-adapter-binary.test.ts +22 -40
  150. package/src/tests/claude-adapter-otel.test.ts +13 -7
  151. package/src/tests/claude-adapter.test.ts +8 -6
  152. package/src/tests/claude-hook-credentials.test.ts +3 -3
  153. package/src/tests/claude-managed-adapter.test.ts +4 -4
  154. package/src/tests/claude-managed-setup.test.ts +3 -3
  155. package/src/tests/claude-sdk-lifecycle.test.ts +1 -1
  156. package/src/tests/claude-sdk-transport.test.ts +6 -6
  157. package/src/tests/claude-stop-hook.test.ts +8 -8
  158. package/src/tests/claude-worker-parity.test.ts +3 -3
  159. package/src/tests/codex-adapter-pool-auth-revalidate.test.ts +5 -5
  160. package/src/tests/codex-adapter.test.ts +7 -5
  161. package/src/tests/codex-app-server.test.ts +2 -2
  162. package/src/tests/codex-login.test.ts +15 -15
  163. package/src/tests/codex-oauth-credential-info.test.ts +4 -4
  164. package/src/tests/codex-oauth-keep-warm.test.ts +4 -4
  165. package/src/tests/codex-oauth-refresh-lock.test.ts +1 -1
  166. package/src/tests/codex-oauth-storage.test.ts +7 -7
  167. package/src/tests/codex-pool.test.ts +1 -1
  168. package/src/tests/codex-steering-hook.test.ts +1 -1
  169. package/src/tests/codex-swarm-events.test.ts +1 -1
  170. package/src/tests/config-api-only-keys.test.ts +1 -1
  171. package/src/tests/config-session-auth.test.ts +2 -2
  172. package/src/tests/connection-embedded-auth.test.ts +20 -18
  173. package/src/tests/core-auth.test.ts +1 -1
  174. package/src/tests/create-page-tool.test.ts +3 -3
  175. package/src/tests/credential-refresh.test.ts +115 -0
  176. package/src/tests/credential-wait.test.ts +2 -2
  177. package/src/tests/credentials.test.ts +6 -4
  178. package/src/tests/db-queries-oauth.test.ts +40 -40
  179. package/src/tests/defer-task.test.ts +73 -8
  180. package/src/tests/deferred-task-wait-migration.test.ts +64 -0
  181. package/src/tests/deferred-task-wake.test.ts +190 -1
  182. package/src/tests/devin-adapter.test.ts +1 -1
  183. package/src/tests/devin-api.test.ts +1 -1
  184. package/src/tests/e2b-dispatch.test.ts +21 -19
  185. package/src/tests/e2e-claude-transport.test.ts +3 -3
  186. package/src/tests/e2e-redact.test.ts +6 -6
  187. package/src/tests/ensure-token.test.ts +68 -68
  188. package/src/tests/entrypoint-api-readiness.test.ts +1 -1
  189. package/src/tests/entrypoint-codex-oauth-seed.test.ts +13 -13
  190. package/src/tests/events-http.test.ts +1 -1
  191. package/src/tests/fs-routes.test.ts +1 -1
  192. package/src/tests/gitlab-auth.test.ts +10 -10
  193. package/src/tests/harness-provider-resolution.test.ts +8 -5
  194. package/src/tests/heartbeat-reroute-decision.test.ts +1 -0
  195. package/src/tests/helper-credentials.test.ts +137 -0
  196. package/src/tests/http/context-routes.test.ts +2 -2
  197. package/src/tests/http-api-integration.test.ts +5 -2
  198. package/src/tests/http-users.test.ts +1 -1
  199. package/src/tests/identity-refresh.test.ts +2 -2
  200. package/src/tests/internal-ai/complete-structured.test.ts +2 -2
  201. package/src/tests/internal-ai/credentials.test.ts +19 -17
  202. package/src/tests/jira-metadata.test.ts +1 -1
  203. package/src/tests/jira-oauth.test.ts +5 -5
  204. package/src/tests/jira-sync.test.ts +1 -1
  205. package/src/tests/jira-webhook-lifecycle.test.ts +3 -3
  206. package/src/tests/jira-webhook.test.ts +2 -2
  207. package/src/tests/kapso-inbound.test.ts +2 -2
  208. package/src/tests/kv-http.test.ts +1 -1
  209. package/src/tests/kv-namespace-resolution.test.ts +1 -1
  210. package/src/tests/kv-page-proxy.test.ts +2 -2
  211. package/src/tests/launch-password-rejection.test.ts +2 -2
  212. package/src/tests/linear-webhook.test.ts +1 -1
  213. package/src/tests/mcp-oauth-dcr-reuse.test.ts +6 -6
  214. package/src/tests/mcp-oauth-ensure-token.test.ts +28 -22
  215. package/src/tests/mcp-oauth-manual-client.test.ts +16 -12
  216. package/src/tests/mcp-oauth-queries.test.ts +35 -32
  217. package/src/tests/mcp-oauth-resolve-secrets.test.ts +8 -8
  218. package/src/tests/mcp-oauth-wrapper.test.ts +20 -20
  219. package/src/tests/mcp-user-route.test.ts +1 -1
  220. package/src/tests/memory-edges.test.ts +1 -1
  221. package/src/tests/memory-rate-endpoint.test.ts +1 -1
  222. package/src/tests/memory-rate-tool.test.ts +2 -2
  223. package/src/tests/memory-rater-e2e.test.ts +1 -1
  224. package/src/tests/memory-rater-llm-summarizer.test.ts +3 -3
  225. package/src/tests/memory-rater-llm.test.ts +1 -1
  226. package/src/tests/model-control.test.ts +3 -0
  227. package/src/tests/multi-runtime-registration.test.ts +97 -3
  228. package/src/tests/oauth-access-token-tool.test.ts +18 -18
  229. package/src/tests/oauth-callback-flow.test.ts +8 -8
  230. package/src/tests/oauth-credential-bindings.test.ts +29 -27
  231. package/src/tests/oauth-keepalive.test.ts +10 -10
  232. package/src/tests/oauth-presets.test.ts +13 -5
  233. package/src/tests/oauth-refresh-failure.test.ts +9 -9
  234. package/src/tests/oauth-refresh-sweep.test.ts +20 -13
  235. package/src/tests/oauth-wrapper.test.ts +1 -1
  236. package/src/tests/onboard-compose.test.ts +3 -3
  237. package/src/tests/onboard-env.test.ts +26 -26
  238. package/src/tests/onboard-non-interactive.test.ts +4 -4
  239. package/src/tests/opencode-adapter.test.ts +1 -1
  240. package/src/tests/opencode-plugin.test.ts +2 -2
  241. package/src/tests/otel-session-cost-metrics.test.ts +1 -1
  242. package/src/tests/page-proxy-authed.test.ts +2 -2
  243. package/src/tests/page-proxy.test.ts +2 -2
  244. package/src/tests/page-session.test.ts +7 -7
  245. package/src/tests/page-viewer-auth.test.ts +2 -2
  246. package/src/tests/pages-authed-mode.test.ts +1 -1
  247. package/src/tests/pages-http.test.ts +1 -1
  248. package/src/tests/pages-password-mode.test.ts +1 -1
  249. package/src/tests/pages-public-authed-401.test.ts +1 -1
  250. package/src/tests/pages-public-html.test.ts +2 -2
  251. package/src/tests/pages-view-count.test.ts +1 -1
  252. package/src/tests/pi-mono-adapter.test.ts +10 -10
  253. package/src/tests/pi-mono-extension.test.ts +2 -2
  254. package/src/tests/pricing-routes.test.ts +1 -1
  255. package/src/tests/profile-sync-warning.test.ts +8 -8
  256. package/src/tests/profile-sync.test.ts +8 -8
  257. package/src/tests/prompt-template-session.test.ts +36 -5
  258. package/src/tests/provider-process-group.test.ts +95 -4
  259. package/src/tests/providers/pi-cost.test.ts +1 -1
  260. package/src/tests/queue-stall-alarm.test.ts +1 -1
  261. package/src/tests/rbac-admission.test.ts +1 -1
  262. package/src/tests/rbac-charact-http.test.ts +1 -1
  263. package/src/tests/rbac-e2e-helpers.ts +1 -1
  264. package/src/tests/realtime-room-surfaces.test.ts +1 -1
  265. package/src/tests/reload-config.test.ts +1 -1
  266. package/src/tests/routing-reason-contract.test.ts +76 -3
  267. package/src/tests/routing-reason-inventory.test.ts +11 -6
  268. package/src/tests/routing-source.test.ts +53 -0
  269. package/src/tests/runner-agent-fs-provision-retry.test.ts +1 -1
  270. package/src/tests/runner-context-preamble.test.ts +1 -1
  271. package/src/tests/runner-deployment-resume.test.ts +1 -1
  272. package/src/tests/runner-fallback-output.test.ts +1 -1
  273. package/src/tests/runner-identity-refresh.test.ts +1 -1
  274. package/src/tests/runner-skills-refresh.test.ts +1 -1
  275. package/src/tests/schedule-target-type.test.ts +3 -3
  276. package/src/tests/scheduled-tasks.test.ts +14 -5
  277. package/src/tests/scheduler-occurrence.test.ts +347 -0
  278. package/src/tests/script-apis-mcp.test.ts +1 -1
  279. package/src/tests/script-connections-http.test.ts +61 -58
  280. package/src/tests/script-connections-mcp.test.ts +1 -1
  281. package/src/tests/script-connections.test.ts +1 -1
  282. package/src/tests/script-runs-http.test.ts +15 -7
  283. package/src/tests/script-workflows-runtime-e2e.test.ts +1 -1
  284. package/src/tests/scripts-external-api.test.ts +1 -1
  285. package/src/tests/scripts-http.test.ts +1 -1
  286. package/src/tests/scripts-mcp-e2e.test.ts +1 -1
  287. package/src/tests/scripts-only-gating.test.ts +2 -2
  288. package/src/tests/scripts-retention.test.ts +1 -1
  289. package/src/tests/scripts-runtime-identity.test.ts +1 -1
  290. package/src/tests/scripts-runtime-secret-egress.test.ts +1 -1
  291. package/src/tests/scripts-runtime.test.ts +6 -4
  292. package/src/tests/scripts-typecheck.test.ts +21 -0
  293. package/src/tests/sdk-allowlist.test.ts +1 -1
  294. package/src/tests/secret-scrubber.test.ts +38 -31
  295. package/src/tests/seed-registry.test.ts +46 -8
  296. package/src/tests/seed-schedules.test.ts +139 -8
  297. package/src/tests/seed-workflows.test.ts +93 -7
  298. package/src/tests/send-task-output-schema.test.ts +9 -1
  299. package/src/tests/send-task-requested-by.test.ts +1 -0
  300. package/src/tests/send-task-slack-routing-guard.test.ts +2 -0
  301. package/src/tests/session-costs-codex-recompute.test.ts +1 -1
  302. package/src/tests/session-costs-golden.test.ts +2 -2
  303. package/src/tests/session-costs-model-key-normalize.test.ts +2 -2
  304. package/src/tests/session-costs-recompute-all-providers.test.ts +1 -1
  305. package/src/tests/session-tokens.test.ts +1 -1
  306. package/src/tests/shutdown-error-scrubbing.test.ts +1 -1
  307. package/src/tests/slack-file-tools-attachments.test.ts +1 -1
  308. package/src/tests/slack-inbound-files.test.ts +222 -86
  309. package/src/tests/slack-reaction-config.test.ts +5 -4
  310. package/src/tests/slack-read-boundaries.test.ts +1 -1
  311. package/src/tests/slack-render-v2.test.ts +120 -1
  312. package/src/tests/status.test.ts +7 -7
  313. package/src/tests/steering-core.test.ts +1 -1
  314. package/src/tests/steering-transport.test.ts +4 -4
  315. package/src/tests/store-progress-output-guidance.test.ts +34 -0
  316. package/src/tests/swarm-tool-result-gate.test.ts +11 -11
  317. package/src/tests/swarm-x-tool.test.ts +7 -5
  318. package/src/tests/sync-ai-toolbox-skills.test.ts +19 -0
  319. package/src/tests/task-supersede-resume.test.ts +1 -1
  320. package/src/tests/task-tools-ctx.test.ts +2 -0
  321. package/src/tests/tasks-requested-by-filter.test.ts +2 -2
  322. package/src/tests/telemetry-init.test.ts +11 -3
  323. package/src/tests/tool-output-agent-id.test.ts +1 -0
  324. package/src/tests/tracker-fold.test.ts +7 -7
  325. package/src/tests/tracker-tools.test.ts +3 -3
  326. package/src/tests/ui-followup-lead-delegation.test.ts +1 -0
  327. package/src/tests/unified-oauth-migration.test.ts +5 -5
  328. package/src/tests/user-token-rest-auth.test.ts +1 -1
  329. package/src/tests/user-token-routes.test.ts +1 -1
  330. package/src/tests/whoami-route.test.ts +1 -1
  331. package/src/tests/workflow-agent-task.test.ts +15 -13
  332. package/src/tests/workflow-ctx.test.ts +1 -1
  333. package/src/tests/workflow-e2e.test.ts +1 -1
  334. package/src/tests/workflow-engine-v2.test.ts +3 -1
  335. package/src/tests/workflow-executors.test.ts +2 -2
  336. package/src/tests/workflow-http-v2.test.ts +8 -6
  337. package/src/tests/workflow-input-redaction.test.ts +7 -5
  338. package/src/tests/workflow-integration-io.test.ts +2 -2
  339. package/src/tests/workflow-llm.test.ts +5 -5
  340. package/src/tests/workflow-registry.test.ts +1 -1
  341. package/src/tests/workflow-swarm-script.test.ts +1 -1
  342. package/src/tests/workflow-triggers-v2.test.ts +23 -21
  343. package/src/tests/x-composio.test.ts +9 -7
  344. package/src/tests/x402-client.test.ts +1 -1
  345. package/src/tests/x402-config.test.ts +28 -41
  346. package/src/tools/defer-task.ts +156 -24
  347. package/src/tools/send-task.ts +21 -1
  348. package/src/tools/skills/skill-publish.ts +1 -0
  349. package/src/tools/store-progress.ts +1 -1
  350. package/src/tools/templates.ts +2 -1
  351. package/src/types.ts +11 -0
  352. package/src/utils/constants.ts +7 -1
  353. package/src/utils/credentials.test.ts +16 -16
  354. package/src/workflows/executors/agent-task.ts +5 -0
  355. package/templates/ai-toolbox.manifest.json +7 -1
  356. package/templates/schedules/daily-blocker-digest/config.json +6 -1
  357. package/templates/schedules/daily-compounding-reflection/config.json +1 -0
  358. package/templates/schedules/daily-hn-briefing/config.json +1 -1
  359. package/templates/schedules/daily-status-report/config.json +6 -1
  360. package/templates/schedules/daily-swarm-update-check/config.json +19 -0
  361. package/templates/schedules/daily-swarm-update-check/content.md +49 -0
  362. package/templates/schedules/daily-workflow-health-audit/config.json +6 -1
  363. package/templates/schedules/gtm-weekly-review/config.json +1 -1
  364. package/templates/schedules/weekly-code-health-reports/config.json +1 -1
  365. package/templates/schedules/weekly-dependabot-triage/config.json +1 -1
  366. package/templates/schedules/weekly-dora-metrics/config.json +1 -1
  367. package/templates/schedules/weekly-harness-upgrade-check/config.json +1 -1
  368. package/templates/skills/delegate-work/files/scripts/codex-exec.sh +1 -1
  369. package/templates/skills/serply-search/SKILL.md +95 -0
  370. package/templates/skills/serply-search/config.json +13 -0
  371. package/templates/skills/serply-search/content.md +90 -0
  372. package/templates/skills/swarm-scripts/SKILL.md +2 -2
  373. package/templates/skills/swarm-scripts/content.md +2 -2
  374. package/templates/workflows/claude-code-changelog-watch/config.json +1 -1
  375. package/templates/workflows/gsc-topic-miner/config.json +1 -1
  376. package/templates/workflows/linear-drain-loop/config.json +1 -1
  377. package/templates/workflows/llm-safe-release-context/config.json +1 -1
  378. package/templates/workflows/ralph-loop/config.json +1 -1
  379. package/dist/{azure-openai-responses-cqar64rc.js → azure-openai-responses-g85jv7m8.js} +8 -8
  380. package/dist/{cli-4xz3pmrq.js → cli-8qx7jnrk.js} +5 -5
  381. package/dist/{cli-6664w7y4.js → cli-wk0gjrn3.js} +3 -3
  382. package/dist/{google-vertex-ppw8ydpa.js → google-vertex-pkhpkbq9.js} +3 -3
  383. package/dist/{openai-codex-responses-g7w48y30.js → openai-codex-responses-pm5gnyfa.js} +4 -4
  384. package/dist/{openai-completions-0bqmsajw.js → openai-completions-qdcmkfnr.js} +12 -12
  385. package/dist/{openai-responses-nmeyptke.js → openai-responses-vwvk1taj.js} +13 -13
@@ -11,14 +11,14 @@ import {
11
11
  getResumeGeneration,
12
12
  repointTrackerSyncBySwarmId,
13
13
  resolveLeadOnlyRecoveryAssignment
14
- } from "./cli-mnmsfd1w.js";
14
+ } from "./cli-xjb9wghj.js";
15
15
  import {
16
16
  isMultiRuntimeEnabled
17
17
  } from "./cli-07jd68a1.js";
18
18
  import {
19
19
  getExecutorRegistry,
20
20
  recoverIncompleteRuns
21
- } from "./cli-6pqcb4q0.js";
21
+ } from "./cli-rnsr8asm.js";
22
22
  import {
23
23
  MAX_EMPTY_POLLS,
24
24
  assignUnassignedTaskPending,
@@ -61,13 +61,13 @@ import {
61
61
  releaseStaleReviewingTasks,
62
62
  supersedeTask,
63
63
  updateAgentStatus
64
- } from "./cli-yab68w40.js";
64
+ } from "./cli-qp69dd5d.js";
65
65
  import {
66
66
  init_registry,
67
67
  init_resolver,
68
68
  registerTemplate,
69
69
  resolveTemplate
70
- } from "./cli-3apbzgyk.js";
70
+ } from "./cli-n75jt793.js";
71
71
  import {
72
72
  init_secret_scrubber,
73
73
  scrubSecrets
@@ -520,6 +520,7 @@ async function runRebootSweep() {
520
520
  parentTaskId: task.id,
521
521
  agentId: preferredAgentId,
522
522
  routingReason: preferredAgentId === undefined ? undefined : preferredAgentId === task.agentId ? "continuity" : "reroute_fault",
523
+ routingSource: preferredAgentId === undefined ? undefined : "engine_default",
523
524
  tags,
524
525
  priority: task.priority,
525
526
  source: task.source,
@@ -893,6 +894,7 @@ async function checkHeartbeatChecklist() {
893
894
  await createTaskExtended(result.text, {
894
895
  agentId: lead.id,
895
896
  routingReason: "skill",
897
+ routingSource: "engine_default",
896
898
  taskType: "heartbeat-checklist",
897
899
  tags: ["checklist", "auto-generated"],
898
900
  priority: 60
@@ -1028,6 +1030,7 @@ async function createBootTriageTask() {
1028
1030
  await createTaskExtended(result.text, {
1029
1031
  agentId: lead.id,
1030
1032
  routingReason: "skill",
1033
+ routingSource: "engine_default",
1031
1034
  taskType: "boot-triage",
1032
1035
  tags: ["boot", "triage", "auto-generated"],
1033
1036
  priority: 70
@@ -7,7 +7,7 @@ import {
7
7
  init_date_utils,
8
8
  init_db,
9
9
  normalizeDateRequired
10
- } from "./cli-yab68w40.js";
10
+ } from "./cli-qp69dd5d.js";
11
11
  import {
12
12
  init_secret_scrubber,
13
13
  registerVolatileSecret,
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  init_task_attachment_links,
6
6
  taskAttachmentDisplayUrl
7
- } from "./cli-9d8ntetj.js";
7
+ } from "./cli-2658f6at.js";
8
8
  import {
9
9
  buildRoutingAffinityFromAgent,
10
10
  createLogEntry,
@@ -26,11 +26,11 @@ import {
26
26
  updateAgentMaxTasks,
27
27
  updateAgentStatus,
28
28
  upsertSwarmConfig
29
- } from "./cli-yab68w40.js";
29
+ } from "./cli-qp69dd5d.js";
30
30
  import {
31
31
  init_resolver,
32
32
  resolveTemplate
33
- } from "./cli-3apbzgyk.js";
33
+ } from "./cli-n75jt793.js";
34
34
  import {
35
35
  init_env_flag,
36
36
  isEnvFlagEnabled
@@ -479,6 +479,7 @@ ${depLines.join(`
479
479
  return await createTaskExtended(followUpDescription, {
480
480
  agentId: leadAgent.id,
481
481
  routingReason: "skill",
482
+ routingSource: "engine_default",
482
483
  source: "system",
483
484
  taskType: "follow-up",
484
485
  parentTaskId: task.id,
@@ -557,6 +558,7 @@ async function createResumeFollowUp(args) {
557
558
  const created = await createTaskExtended(followUpDescription, {
558
559
  agentId: preferredAgentId,
559
560
  routingReason: preferredAgentId === undefined ? undefined : preferredAgentId === parent.agentId ? "continuity" : "reroute_fault",
561
+ routingSource: preferredAgentId === undefined ? undefined : "engine_default",
560
562
  creatorAgentId: parent.creatorAgentId,
561
563
  source: "system",
562
564
  taskType: "resume",
@@ -611,6 +613,7 @@ async function createRerouteDecisionTask(args) {
611
613
  const created = await createTaskExtended(decision.text, {
612
614
  agentId: leadAgent.id,
613
615
  routingReason: "reroute_fault",
616
+ routingSource: "engine_default",
614
617
  creatorAgentId: original.creatorAgentId,
615
618
  source: "system",
616
619
  taskType: "reroute-decision",
@@ -648,6 +651,7 @@ async function createPoolStarvationDecisionTask(args) {
648
651
  const created = await createTaskExtended(decision.text, {
649
652
  agentId: leadAgent.id,
650
653
  routingReason: "overflow",
654
+ routingSource: "engine_default",
651
655
  creatorAgentId: original.creatorAgentId,
652
656
  source: "system",
653
657
  taskType: "reroute-decision",
@@ -4,7 +4,7 @@ import {
4
4
  incrKv,
5
5
  init_db,
6
6
  upsertKv
7
- } from "./cli-yab68w40.js";
7
+ } from "./cli-qp69dd5d.js";
8
8
 
9
9
  // src/be/users.ts
10
10
  init_db();
@@ -3,7 +3,7 @@ import {
3
3
  } from "./cli-epan13p1.js";
4
4
  import {
5
5
  embedScript
6
- } from "./cli-2qts1hys.js";
6
+ } from "./cli-8chp8xab.js";
7
7
  import {
8
8
  detachedProcessGroup,
9
9
  registerProcessGroup,
@@ -23,7 +23,7 @@ import {
23
23
  oauthAppRowToProviderConfig,
24
24
  updateAuthorizationTokens,
25
25
  upsertAuthorization
26
- } from "./cli-9hspd3dp.js";
26
+ } from "./cli-vr6qj104.js";
27
27
  import {
28
28
  CredentialBroker,
29
29
  DEFAULT_CREDENTIAL_BINDINGS,
@@ -44,7 +44,7 @@ import {
44
44
  normalizeDateRequired,
45
45
  placeholderForConfigKey,
46
46
  upsertSwarmConfig
47
- } from "./cli-yab68w40.js";
47
+ } from "./cli-qp69dd5d.js";
48
48
  import {
49
49
  init_env_flag,
50
50
  isEnvFlagEnabled
@@ -1,6 +1,9 @@
1
+ import {
2
+ fetchInstalledMcpServers
3
+ } from "./cli-tng3131n.js";
1
4
  import {
2
5
  runStopHookSessionSummarySubprocess
3
- } from "./cli-cr12paw2.js";
6
+ } from "./cli-111ey3ra.js";
4
7
  import {
5
8
  SessionErrorTracker,
6
9
  buildOtelTraceparentEnv,
@@ -8,9 +11,6 @@ import {
8
11
  parseStderrForErrors,
9
12
  trackErrorFromJson
10
13
  } from "./cli-b5b30yzk.js";
11
- import {
12
- fetchInstalledMcpServers
13
- } from "./cli-tng3131n.js";
14
14
  import {
15
15
  CTX_MODE_NUDGE_EVERY
16
16
  } from "./cli-zm7njwzd.js";
@@ -245,6 +245,8 @@ function parseClaudeBinary(raw) {
245
245
  return trimmed.split(/\s+/);
246
246
  }
247
247
  var MIN_CLAUDE_QUEUE_STEERING_VERSION = [2, 1, 205];
248
+ var CLAUDE_VERSION_PROBE_TIMEOUT_MS = 1000;
249
+ var CLAUDE_VERSION_PROBE_MAX_BUFFER_BYTES = 64 * 1024;
248
250
  function resolveClaudeQueueSteeringOverride(env) {
249
251
  const raw = env.CLAUDE_QUEUE_STEERING?.trim().toLowerCase();
250
252
  if (!raw)
@@ -817,7 +819,7 @@ class ClaudeAdapter {
817
819
  if (transport === "sdk" && isClaudeBridgeEffective(sourceEnv)) {
818
820
  throw new Error("CLAUDE_TRANSPORT=sdk cannot run with an effective Claude Bridge configuration. Select CLI transport or disable the bridge.");
819
821
  }
820
- const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-2yxgjs5d.js") : undefined;
822
+ const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-7ywbn12v.js") : undefined;
821
823
  claudeSdk?.validateClaudeSdkAdditionalArgs([
822
824
  ...claudeBinaryArgv.slice(1),
823
825
  ...config.additionalArgs ?? []
@@ -871,14 +873,24 @@ class ClaudeAdapter {
871
873
  const queueSteeringOverride = resolveClaudeQueueSteeringOverride(sourceEnv);
872
874
  let harnessVersion;
873
875
  try {
874
- const result = Bun.spawnSync([...effectiveClaudeBinaryArgv, "--version"], {
876
+ const probe = registerProcessGroup(Bun.spawn([...effectiveClaudeBinaryArgv, "--version"], {
877
+ detached: detachedProcessGroup,
875
878
  env: sourceEnv,
879
+ stdin: "ignore",
876
880
  stdout: "pipe",
877
- stderr: "pipe"
878
- });
879
- if (result.success) {
880
- const trimmed = `${result.stdout?.toString() ?? ""}
881
- ${result.stderr?.toString() ?? ""}`.trim();
881
+ stderr: "pipe",
882
+ timeout: CLAUDE_VERSION_PROBE_TIMEOUT_MS,
883
+ killSignal: "SIGKILL",
884
+ maxBuffer: CLAUDE_VERSION_PROBE_MAX_BUFFER_BYTES
885
+ }));
886
+ const exitCode = await probe.exited.finally(() => terminateProcessGroup(probe.pid));
887
+ const [stdout, stderr] = await Promise.all([
888
+ new Response(probe.stdout).text(),
889
+ new Response(probe.stderr).text()
890
+ ]);
891
+ if (exitCode === 0) {
892
+ const trimmed = `${stdout}
893
+ ${stderr}`.trim();
882
894
  if (trimmed) {
883
895
  harnessVersion = trimmed;
884
896
  harnessVariantMeta = { version: trimmed };
package/dist/cli.js CHANGED
@@ -13,15 +13,15 @@ import"./cli-pw9rj5t9.js";
13
13
  import"./cli-pp9ax9pa.js";
14
14
  import {
15
15
  bedrockProviderModule
16
- } from "./cli-4xz3pmrq.js";
16
+ } from "./cli-8qx7jnrk.js";
17
17
  import"./cli-cg4vnyh4.js";
18
18
  import {
19
19
  setBedrockProviderModule
20
20
  } from "./cli-c4eeb5q2.js";
21
- import"./cli-pdz9qde4.js";
22
21
  import"./cli-txgcknmy.js";
23
- import"./cli-6map995v.js";
22
+ import"./cli-pdz9qde4.js";
24
23
  import"./cli-btbzvq95.js";
24
+ import"./cli-6map995v.js";
25
25
  import"./cli-1m2e086m.js";
26
26
  import"./cli-j8dggbcr.js";
27
27
  import"./cli-rgvp6r2x.js";
@@ -65,7 +65,7 @@ var import_react = __toESM(require_react(), 1);
65
65
  // package.json
66
66
  var package_default = {
67
67
  name: "@desplega.ai/agent-swarm",
68
- version: "1.149.0",
68
+ version: "1.150.0",
69
69
  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.",
70
70
  keywords: [
71
71
  "agent-swarm.dev",
@@ -258,8 +258,8 @@ var package_default = {
258
258
  "@inkjs/ui": "^2.0.0",
259
259
  "@linear/sdk": "^77.0.0",
260
260
  "@modelcontextprotocol/sdk": "1.29.0",
261
- "@openai/codex": "0.153.4",
262
- "@opencode-ai/sdk": "^1.18.29",
261
+ "@openai/codex": "0.154.0",
262
+ "@opencode-ai/sdk": "^1.18.31",
263
263
  "@openfort/openfort-node": "^0.9.1",
264
264
  "@opentelemetry/api": "^1.9.1",
265
265
  "@opentelemetry/exporter-metrics-otlp-http": "^0.218.0",
@@ -741,7 +741,7 @@ function McpServer({ port, apiKey, dbPath }) {
741
741
  if (dbPath) {
742
742
  process.env.DATABASE_PATH = dbPath;
743
743
  }
744
- import("./http-hrf77v87.js").then(() => {
744
+ import("./http-hyc7s57s.js").then(() => {
745
745
  setStatus("running");
746
746
  }).catch((err) => {
747
747
  setStatus("error");
@@ -827,7 +827,7 @@ function WorkerRunner({
827
827
  }) {
828
828
  const { exit } = use_app_default();
829
829
  import_react.useEffect(() => {
830
- import("./worker-qmb2d1e2.js").then(({ runWorker }) => runWorker({
830
+ import("./worker-0x9fn7nq.js").then(({ runWorker }) => runWorker({
831
831
  prompt: prompt || undefined,
832
832
  yolo,
833
833
  systemPrompt: systemPrompt || undefined,
@@ -844,7 +844,7 @@ function WorkerRunner({
844
844
  function LeadRunner({ prompt, yolo, systemPrompt, systemPromptFile, additionalArgs }) {
845
845
  const { exit } = use_app_default();
846
846
  import_react.useEffect(() => {
847
- import("./lead-yckfn18d.js").then(({ runLead }) => runLead({
847
+ import("./lead-rdzdm627.js").then(({ runLead }) => runLead({
848
848
  prompt: prompt || undefined,
849
849
  yolo,
850
850
  systemPrompt: systemPrompt || undefined,
@@ -884,8 +884,8 @@ function LazyComponent({
884
884
  }
885
885
  return import_react.createElement(Component, props);
886
886
  }
887
- var loadOnboard = () => import("./onboard-dcyt1609.js").then(({ Onboard }) => Onboard);
888
- var loadConnect = () => import("./setup-fe66kczs.js").then(({ Setup }) => Setup);
887
+ var loadOnboard = () => import("./onboard-dkcwrc75.js").then(({ Onboard }) => Onboard);
888
+ var loadConnect = () => import("./setup-e2t7vz0c.js").then(({ Setup }) => Setup);
889
889
  function UnknownCommand({ command }) {
890
890
  const { exit } = use_app_default();
891
891
  import_react.useEffect(() => {
@@ -1006,19 +1006,19 @@ ${binName} docs \u2014 v${package_default.version}
1006
1006
  }
1007
1007
  process.exit(0);
1008
1008
  } else if (args.command === "hook") {
1009
- const { runHook } = await import("./hook-kq9wp0ep.js");
1009
+ const { runHook } = await import("./hook-t6fqsggw.js");
1010
1010
  await runHook();
1011
1011
  } else if (args.command === "codex-hook") {
1012
- const { handleCodexHook } = await import("./codex-hook-hfrt9shr.js");
1012
+ const { handleCodexHook } = await import("./codex-hook-gthcmm0g.js");
1013
1013
  await handleCodexHook();
1014
1014
  process.exit(0);
1015
1015
  } else if (args.command === "session-summary-stdin") {
1016
- const { runSessionSummaryFromStdin } = await import("./hook-bks2q1f6.js");
1016
+ const { runSessionSummaryFromStdin } = await import("./hook-jw0ztn96.js");
1017
1017
  await runSessionSummaryFromStdin();
1018
1018
  process.exit(process.exitCode ?? 0);
1019
1019
  } else if (args.command === "artifact") {
1020
1020
  const artifactArgs = process.argv.slice(process.argv.indexOf("artifact") + 1);
1021
- const { runArtifact } = await import("./artifact-gj9arwrr.js");
1021
+ const { runArtifact } = await import("./artifact-td4q4dch.js");
1022
1022
  await runArtifact(artifactArgs[0] || "help", {
1023
1023
  additionalArgs: artifactArgs.slice(1),
1024
1024
  port: args.port,
@@ -1034,7 +1034,7 @@ ${binName} docs \u2014 v${package_default.version}
1034
1034
  printHelp("scripts");
1035
1035
  process.exit(scriptsArgs[0] === "reembed" || args.showHelp ? 0 : 1);
1036
1036
  }
1037
- const { runScriptsMaintenanceCommand } = await import("./maintenance-6kfb2m5e.js");
1037
+ const { runScriptsMaintenanceCommand } = await import("./maintenance-25z1c1vf.js");
1038
1038
  await runScriptsMaintenanceCommand(scriptsArgs);
1039
1039
  console.log("Scripts re-embedded.");
1040
1040
  } else if (args.command === "rbac") {
@@ -1044,21 +1044,21 @@ ${binName} docs \u2014 v${package_default.version}
1044
1044
  printHelp("rbac");
1045
1045
  process.exit(args.showHelp ? 0 : 1);
1046
1046
  }
1047
- const { runRbacCliCommand } = await import("./rbac-roles-ammq6rd2.js");
1047
+ const { runRbacCliCommand } = await import("./rbac-roles-z98s2ypy.js");
1048
1048
  await runRbacCliCommand(rbacArgs);
1049
1049
  } else if (args.command === "codex-login") {
1050
1050
  const { runCodexLogin } = await import("./codex-login-vx7ghkzj.js");
1051
1051
  const codexLoginArgs = process.argv.slice(process.argv.indexOf("codex-login") + 1);
1052
1052
  await runCodexLogin(codexLoginArgs);
1053
1053
  } else if (args.command === "codex-session-runner") {
1054
- const { runCodexSessionRunner } = await import("./codex-session-runner-gjgxyp5j.js");
1054
+ const { runCodexSessionRunner } = await import("./codex-session-runner-bge0cbsw.js");
1055
1055
  await runCodexSessionRunner();
1056
1056
  } else if (args.command === "claude-managed-setup") {
1057
1057
  const { runClaudeManagedSetup } = await import("./claude-managed-setup-f5pmsyrp.js");
1058
1058
  const setupArgs = process.argv.slice(process.argv.indexOf("claude-managed-setup") + 1);
1059
1059
  await runClaudeManagedSetup(setupArgs);
1060
1060
  } else if (args.command === "e2b") {
1061
- const { runE2BCommand } = await import("./e2b-p04vmtx0.js");
1061
+ const { runE2BCommand } = await import("./e2b-413b8t4v.js");
1062
1062
  const e2bArgs = process.argv.slice(process.argv.indexOf("e2b") + 1);
1063
1063
  await runE2BCommand(e2bArgs);
1064
1064
  } else {
@@ -6,19 +6,19 @@ import {
6
6
  createInProcessCodexSession,
7
7
  resolveCodexAuthMode,
8
8
  resolveCodexRunnerArgv
9
- } from "./cli-e95cx1eb.js";
10
- import"./cli-hsxj0yar.js";
9
+ } from "./cli-taym3dmg.js";
11
10
  import"./cli-r94z9p1z.js";
11
+ import"./cli-hsxj0yar.js";
12
12
  import"./cli-2djtr51b.js";
13
13
  import"./cli-b5b30yzk.js";
14
- import"./cli-jecc01cb.js";
15
- import"./cli-hp1n6zq3.js";
16
14
  import"./cli-zm7njwzd.js";
15
+ import"./cli-dyx0237s.js";
17
16
  import"./cli-s25avqg9.js";
18
- import"./cli-xvkmedgn.js";
17
+ import"./cli-hp1n6zq3.js";
19
18
  import"./cli-4yc5d8fk.js";
19
+ import"./cli-xvkmedgn.js";
20
20
  import"./cli-07jd68a1.js";
21
- import"./cli-1ebpar1q.js";
21
+ import"./cli-mzb0n642.js";
22
22
  import"./cli-e7d20cty.js";
23
23
  import"./cli-3dpj7atn.js";
24
24
  import"./cli-y89t4nca.js";
@@ -27,7 +27,7 @@ import"./cli-bsakbbkm.js";
27
27
  import"./cli-ej6gbxfb.js";
28
28
  import"./cli-sd0mxa3c.js";
29
29
  import"./cli-w5e1d1vv.js";
30
- import"./cli-kjwt6hdf.js";
30
+ import"./cli-gm0fhz13.js";
31
31
  import"./cli-r2ap2czm.js";
32
32
  import"./cli-knd276ed.js";
33
33
  import"./cli-c4eeb5q2.js";
@@ -1,18 +1,18 @@
1
1
  #!/usr/bin/env bun
2
2
  import {
3
3
  renderSteeringDelivery
4
- } from "./cli-xm87hzbw.js";
4
+ } from "./cli-7fesa1ky.js";
5
5
  import {
6
6
  getApiKey
7
7
  } from "./cli-f14fvzag.js";
8
8
  import {
9
9
  init_steering_enabled,
10
10
  isSteeringEnabled
11
- } from "./cli-3apbzgyk.js";
11
+ } from "./cli-n75jt793.js";
12
12
  import {
13
13
  getMcpBaseUrl,
14
14
  init_constants
15
- } from "./cli-e29gmdmw.js";
15
+ } from "./cli-dv6cdjs2.js";
16
16
  import"./cli-ej6gbxfb.js";
17
17
  import"./cli-bc05qbss.js";
18
18
 
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  createInProcessCodexSession
3
- } from "./cli-e95cx1eb.js";
4
- import"./cli-hsxj0yar.js";
3
+ } from "./cli-taym3dmg.js";
5
4
  import"./cli-r94z9p1z.js";
5
+ import"./cli-hsxj0yar.js";
6
6
  import"./cli-2djtr51b.js";
7
7
  import"./cli-b5b30yzk.js";
8
- import"./cli-jecc01cb.js";
9
- import"./cli-hp1n6zq3.js";
10
8
  import"./cli-zm7njwzd.js";
9
+ import"./cli-dyx0237s.js";
11
10
  import"./cli-s25avqg9.js";
12
- import"./cli-xvkmedgn.js";
11
+ import"./cli-hp1n6zq3.js";
13
12
  import"./cli-4yc5d8fk.js";
13
+ import"./cli-xvkmedgn.js";
14
14
  import"./cli-07jd68a1.js";
15
- import"./cli-1ebpar1q.js";
15
+ import"./cli-mzb0n642.js";
16
16
  import"./cli-e7d20cty.js";
17
17
  import"./cli-3dpj7atn.js";
18
18
  import"./cli-y89t4nca.js";
@@ -21,7 +21,7 @@ import"./cli-bsakbbkm.js";
21
21
  import"./cli-ej6gbxfb.js";
22
22
  import"./cli-sd0mxa3c.js";
23
23
  import"./cli-w5e1d1vv.js";
24
- import"./cli-kjwt6hdf.js";
24
+ import"./cli-gm0fhz13.js";
25
25
  import {
26
26
  init_secret_scrubber,
27
27
  scrubSecrets
@@ -2,18 +2,18 @@ import {
2
2
  getAllAgents,
3
3
  getAllTasks,
4
4
  init_db
5
- } from "./cli-yab68w40.js";
6
- import"./cli-08b07b4r.js";
7
- import"./cli-3apbzgyk.js";
8
- import"./cli-e29gmdmw.js";
5
+ } from "./cli-qp69dd5d.js";
9
6
  import"./cli-c2mk1kgf.js";
7
+ import"./cli-hmyynq9b.js";
8
+ import"./cli-n75jt793.js";
9
+ import"./cli-dv6cdjs2.js";
10
10
  import {
11
11
  init_env_flag,
12
12
  isEnvFlagEnabled
13
13
  } from "./cli-ej6gbxfb.js";
14
14
  import"./cli-sd0mxa3c.js";
15
15
  import"./cli-w5e1d1vv.js";
16
- import"./cli-kjwt6hdf.js";
16
+ import"./cli-gm0fhz13.js";
17
17
  import"./cli-r2ap2czm.js";
18
18
  import"./cli-zf8jjwex.js";
19
19
  import"./cli-bc05qbss.js";
@@ -455,20 +455,20 @@ import {
455
455
  upsertSkillFiles,
456
456
  upsertSwarmConfig,
457
457
  withFavoriteFlags
458
- } from "./cli-yab68w40.js";
458
+ } from "./cli-qp69dd5d.js";
459
+ import"./cli-c2mk1kgf.js";
459
460
  import {
460
461
  generateDefaultClaudeMd,
461
462
  generateDefaultIdentityMd,
462
463
  generateDefaultSoulMd,
463
464
  generateDefaultToolsMd
464
- } from "./cli-08b07b4r.js";
465
- import"./cli-3apbzgyk.js";
466
- import"./cli-e29gmdmw.js";
467
- import"./cli-c2mk1kgf.js";
465
+ } from "./cli-hmyynq9b.js";
466
+ import"./cli-n75jt793.js";
467
+ import"./cli-dv6cdjs2.js";
468
468
  import"./cli-ej6gbxfb.js";
469
469
  import"./cli-sd0mxa3c.js";
470
470
  import"./cli-w5e1d1vv.js";
471
- import"./cli-kjwt6hdf.js";
471
+ import"./cli-gm0fhz13.js";
472
472
  import"./cli-r2ap2czm.js";
473
473
  import"./cli-zf8jjwex.js";
474
474
  import"./cli-bc05qbss.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  getAppUrl,
9
9
  init_constants
10
- } from "./cli-e29gmdmw.js";
10
+ } from "./cli-dv6cdjs2.js";
11
11
  import {
12
12
  init_secret_scrubber,
13
13
  isSensitiveKey,
@@ -0,0 +1,41 @@
1
+ import {
2
+ checkUserAccess,
3
+ isBotMessage,
4
+ isSwarmThreadRoot,
5
+ isUserAllowed,
6
+ registerMessageHandler,
7
+ resetSlackHandlerCachesForTesting
8
+ } from "./cli-hbagregr.js";
9
+ import"./cli-9gqddmxs.js";
10
+ import"./cli-b8x19vbh.js";
11
+ import"./cli-jsp14b6c.js";
12
+ import"./cli-72xdszyx.js";
13
+ import"./cli-ydk0wjj8.js";
14
+ import"./cli-n1yj5fd5.js";
15
+ import"./cli-kt7wevqh.js";
16
+ import"./cli-q51yprfq.js";
17
+ import"./cli-2658f6at.js";
18
+ import"./cli-yatxqynm.js";
19
+ import"./cli-qp69dd5d.js";
20
+ import"./cli-c2mk1kgf.js";
21
+ import"./cli-hmyynq9b.js";
22
+ import"./cli-n75jt793.js";
23
+ import"./cli-dv6cdjs2.js";
24
+ import"./cli-ej6gbxfb.js";
25
+ import"./cli-sd0mxa3c.js";
26
+ import"./cli-w5e1d1vv.js";
27
+ import"./cli-gm0fhz13.js";
28
+ import"./cli-r2ap2czm.js";
29
+ import"./cli-pzxba7gw.js";
30
+ import"./cli-f7kvq46p.js";
31
+ import"./cli-zf8jjwex.js";
32
+ import"./cli-bd957dgb.js";
33
+ import"./cli-bc05qbss.js";
34
+ export {
35
+ checkUserAccess,
36
+ isBotMessage,
37
+ isSwarmThreadRoot,
38
+ isUserAllowed,
39
+ registerMessageHandler,
40
+ resetSlackHandlerCachesForTesting
41
+ };
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  materializeClaudeMd,
4
4
  stopClaudeMd
5
- } from "./cli-4wtq5jjv.js";
5
+ } from "./cli-1mx65de9.js";
6
6
  import {
7
7
  summarizeSession
8
- } from "./cli-jecc01cb.js";
8
+ } from "./cli-dyx0237s.js";
9
9
  import {
10
10
  checkToolLoop,
11
11
  clearToolHistory
@@ -17,7 +17,7 @@ import {
17
17
  isLlmRaterEnabled,
18
18
  postRatings
19
19
  } from "./cli-xvkmedgn.js";
20
- import"./cli-1ebpar1q.js";
20
+ import"./cli-mzb0n642.js";
21
21
  import"./cli-e7d20cty.js";
22
22
  import"./cli-3dpj7atn.js";
23
23
  import {
@@ -30,23 +30,23 @@ import {
30
30
  init_profile_sync,
31
31
  readIdentityBaselines,
32
32
  warnProfileFileTooLarge
33
- } from "./cli-zvz62chv.js";
33
+ } from "./cli-a45d5v9b.js";
34
34
  import"./cli-bsakbbkm.js";
35
- import"./cli-9d8ntetj.js";
36
- import"./cli-08b07b4r.js";
37
- import"./cli-3apbzgyk.js";
35
+ import"./cli-2658f6at.js";
36
+ import"./cli-hmyynq9b.js";
37
+ import"./cli-n75jt793.js";
38
38
  import {
39
39
  MAX_PROFILE_FILE_LENGTH,
40
40
  getMcpBaseUrl,
41
41
  init_constants
42
- } from "./cli-e29gmdmw.js";
42
+ } from "./cli-dv6cdjs2.js";
43
43
  import"./cli-ej6gbxfb.js";
44
44
  import"./cli-sd0mxa3c.js";
45
45
  import"./cli-w5e1d1vv.js";
46
46
  import {
47
47
  init_package,
48
48
  package_default
49
- } from "./cli-kjwt6hdf.js";
49
+ } from "./cli-gm0fhz13.js";
50
50
  import {
51
51
  init_secret_scrubber,
52
52
  scrubSecrets
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  handleHook
3
- } from "./cli-cr12paw2.js";
4
- import"./cli-4wtq5jjv.js";
5
- import"./cli-jecc01cb.js";
3
+ } from "./cli-111ey3ra.js";
4
+ import"./cli-1mx65de9.js";
5
+ import"./cli-dyx0237s.js";
6
6
  import"./cli-hp1n6zq3.js";
7
7
  import"./cli-xvkmedgn.js";
8
- import"./cli-1ebpar1q.js";
8
+ import"./cli-mzb0n642.js";
9
9
  import"./cli-e7d20cty.js";
10
10
  import"./cli-3dpj7atn.js";
11
11
  import"./cli-f14fvzag.js";
12
- import"./cli-zvz62chv.js";
12
+ import"./cli-a45d5v9b.js";
13
13
  import"./cli-bsakbbkm.js";
14
- import"./cli-9d8ntetj.js";
15
- import"./cli-08b07b4r.js";
16
- import"./cli-3apbzgyk.js";
17
- import"./cli-e29gmdmw.js";
14
+ import"./cli-2658f6at.js";
15
+ import"./cli-hmyynq9b.js";
16
+ import"./cli-n75jt793.js";
17
+ import"./cli-dv6cdjs2.js";
18
18
  import"./cli-ej6gbxfb.js";
19
19
  import"./cli-sd0mxa3c.js";
20
20
  import"./cli-w5e1d1vv.js";
21
- import"./cli-kjwt6hdf.js";
21
+ import"./cli-gm0fhz13.js";
22
22
  import"./cli-r2ap2czm.js";
23
23
  import"./cli-c4eeb5q2.js";
24
24
  import"./cli-btbzvq95.js";