@desplega.ai/agent-swarm 2.7.10 → 2.8.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 (281) hide show
  1. package/dist/acp-adapter-t949vbbp.js +15 -0
  2. package/dist/{actions-b8aqhrsg.js → actions-7e9czc7s.js} +18 -19
  3. package/dist/{amp-adapter-4c165vgn.js → amp-adapter-gv6cbb7d.js} +2 -3
  4. package/dist/{app-m9khefrh.js → app-b9fbkp9v.js} +3 -3
  5. package/dist/{assistant-rh4v3ntz.js → assistant-wjb7v4c7.js} +20 -21
  6. package/dist/{boot-args-schema-hwkc8bzv.js → boot-args-schema-2t37e0fe.js} +1 -1
  7. package/dist/{boot-reembed-5y6yw9sj.js → boot-reembed-a35nkyr1.js} +1 -1
  8. package/dist/{boot-reembed-fdyk55h4.js → boot-reembed-gka3zas7.js} +1 -1
  9. package/dist/{boot-scrub-sweep-r5r8kqsn.js → boot-scrub-sweep-65sdnp6c.js} +3 -3
  10. package/dist/{boot-seeds-8f9zt5cm.js → boot-seeds-x42tzytw.js} +4 -5
  11. package/dist/{claude-adapter-s5df247c.js → claude-adapter-v221b2fd.js} +7 -8
  12. package/dist/{claude-managed-adapter-h74d06yz.js → claude-managed-adapter-29eq09wd.js} +2 -2
  13. package/dist/{claude-managed-setup-9gsmwzyx.js → claude-managed-setup-9m6450zk.js} +2 -2
  14. package/dist/{claude-sdk-session-dq1j4nz9.js → claude-sdk-session-0q0ptaba.js} +9066 -8818
  15. package/dist/{cli-n5yexkdg.js → cli-0b4zam62.js} +1 -0
  16. package/dist/{cli-5wfz00be.js → cli-0jzra9ad.js} +2 -2
  17. package/dist/{cli-eqtfgfr6.js → cli-2gxeg5gr.js} +1 -1
  18. package/dist/{cli-eqk5p56g.js → cli-2wnq8jkz.js} +9 -9
  19. package/dist/{cli-hfkwwy1h.js → cli-2zp0et3v.js} +21 -2
  20. package/dist/{cli-rt0ag4x1.js → cli-334z18y3.js} +4 -4
  21. package/dist/{cli-6m6b4bep.js → cli-3rkdne1h.js} +2 -2
  22. package/dist/{cli-3xddv0rk.js → cli-4txa0ter.js} +5 -7
  23. package/dist/{cli-jc1g9ndz.js → cli-5j88qqa8.js} +10 -5
  24. package/dist/{cli-xfjrc279.js → cli-5mrq3ake.js} +48 -14
  25. package/dist/{cli-n07eecjs.js → cli-6t09sdhy.js} +3 -3
  26. package/dist/{cli-38yww4e9.js → cli-6wxjceza.js} +8 -8
  27. package/dist/{cli-5xcb8gxq.js → cli-7b8sbmag.js} +8 -8
  28. package/dist/{cli-3xj33nrx.js → cli-7cp6aa1q.js} +10 -3
  29. package/dist/{cli-mp9aa8g5.js → cli-7p1kvkck.js} +6 -6
  30. package/dist/{cli-w3bk0dgv.js → cli-8aes17e4.js} +2 -2
  31. package/dist/{cli-n9abj89w.js → cli-8fknbnhw.js} +8 -8
  32. package/dist/{cli-xd5ebp64.js → cli-8kzasymh.js} +3 -3
  33. package/dist/{cli-2tsfpc70.js → cli-a7wvp2km.js} +1 -1
  34. package/dist/{cli-kx4c8j05.js → cli-abejgen1.js} +63 -19
  35. package/dist/{cli-36wdfzgn.js → cli-bsywb58a.js} +8 -8
  36. package/dist/{cli-yz7v0sh4.js → cli-c55z5chy.js} +4 -6
  37. package/dist/{cli-18qt3few.js → cli-deefvewm.js} +1 -1
  38. package/dist/{cli-jg24scat.js → cli-ee0b971j.js} +3 -3
  39. package/dist/cli-f3vq58d2.js +242 -0
  40. package/dist/{cli-3xcwp3z8.js → cli-ffhtssbp.js} +2 -2
  41. package/dist/{cli-rjyghzg4.js → cli-g70vxtjh.js} +2 -2
  42. package/dist/{cli-g1px1g2e.js → cli-gxkx0zzp.js} +1 -1
  43. package/dist/{cli-j7d73g1y.js → cli-h38x262p.js} +3035 -354
  44. package/dist/{cli-zjphdj1a.js → cli-j790gp2w.js} +40 -18
  45. package/dist/{cli-f2zenhja.js → cli-kc7v1nfv.js} +1 -1
  46. package/dist/{cli-td33w98c.js → cli-m23zjcy2.js} +10 -10
  47. package/dist/{cli-8ewkreqd.js → cli-m28atx8q.js} +7 -9
  48. package/dist/{cli-x9exydey.js → cli-m4dqmnbp.js} +1 -1
  49. package/dist/{cli-ybjdc978.js → cli-mrt48bx7.js} +7 -4
  50. package/dist/{cli-mr97t7cc.js → cli-p1bq50aa.js} +263 -14
  51. package/dist/{cli-ttbqe3q4.js → cli-p1w18yhx.js} +1 -1
  52. package/dist/{cli-nj3x45rw.js → cli-p2gfst4m.js} +52 -43
  53. package/dist/{cli-z9cs5m0w.js → cli-pasjcnmj.js} +12 -12
  54. package/dist/{cli-an1knn2k.js → cli-qa4wdgsy.js} +5 -5
  55. package/dist/{cli-xncjscpm.js → cli-qfedvmcr.js} +50 -24
  56. package/dist/{cli-tmft5dz2.js → cli-qmqk2yc2.js} +1 -1
  57. package/dist/{cli-bxz823sz.js → cli-qsnnd04k.js} +1 -1
  58. package/dist/{cli-cr14kftt.js → cli-qwca7s44.js} +3 -3
  59. package/dist/{cli-7wz05bx3.js → cli-rfywm85n.js} +460 -737
  60. package/dist/{cli-v2fwbnsk.js → cli-rmmpt0wm.js} +6 -6
  61. package/dist/{cli-xbtq4d6s.js → cli-rzsy6nc6.js} +12 -8
  62. package/dist/{cli-0m7rtm11.js → cli-s7t6p9my.js} +1 -1
  63. package/dist/{cli-16phend6.js → cli-sdtt3men.js} +1 -1
  64. package/dist/{cli-pyrxt9gw.js → cli-tk7cjj8h.js} +1 -1
  65. package/dist/{cli-xvymtmv4.js → cli-tqegb8eq.js} +3 -3
  66. package/dist/{cli-kf3pxxdg.js → cli-v1dv1r37.js} +1 -1
  67. package/dist/{cli-h49ejvmc.js → cli-wcg8x116.js} +1 -1
  68. package/dist/{cli-q581b386.js → cli-wk18cm92.js} +5 -5
  69. package/dist/{cli-4vwxp550.js → cli-x1wa213s.js} +1 -1
  70. package/dist/{cli-jrp1dt73.js → cli-xzm9vcfg.js} +1 -1
  71. package/dist/{cli-eb2azq8n.js → cli-y97qxcfx.js} +9 -9
  72. package/dist/{cli-55bkx8hh.js → cli-yq3zak69.js} +1 -1
  73. package/dist/cli.js +17 -17
  74. package/dist/{codex-adapter-yr60sme6.js → codex-adapter-30j9bpzd.js} +5 -6
  75. package/dist/{codex-hook-fac6175r.js → codex-hook-h3vk6xzr.js} +1 -1
  76. package/dist/{codex-session-runner-pch8x584.js → codex-session-runner-8vp57v8w.js} +5 -6
  77. package/dist/{commands-phjfbkv0.js → commands-bngnz9g7.js} +3 -3
  78. package/dist/{controller-jkx994pz.js → controller-hxx8wwy1.js} +2 -2
  79. package/dist/{controllers-connect-c4448kwa.js → controllers-connect-e2b4gyxc.js} +19 -20
  80. package/dist/{cursor-adapter-ndebqnm8.js → cursor-adapter-n5nc3mfe.js} +1 -2
  81. package/dist/{db-ez6egt6v.js → db-bgm7vkc0.js} +3 -3
  82. package/dist/{db-ef32tbfc.js → db-c6np41ca.js} +10 -2
  83. package/dist/{devin-adapter-z46ep5ph.js → devin-adapter-xedz98zv.js} +1 -1
  84. package/dist/{dispatcher-g3tt9hs9.js → dispatcher-jnybck15.js} +17 -18
  85. package/dist/{dsh-adapter-tcyn3099.js → dsh-adapter-nrhbrjz8.js} +1 -2
  86. package/dist/{easter-egg-3d-e36hk5td.js → easter-egg-3d-533knw22.js} +1 -1
  87. package/dist/{embedding-space-4kyh5qqj.js → embedding-space-crsm2zp0.js} +6 -6
  88. package/dist/{embeddings-6a8v4a6t.js → embeddings-e7z3f27f.js} +1 -1
  89. package/dist/{execute-3cbg0twf.js → execute-b3mrb1mv.js} +1 -1
  90. package/dist/{external-channel-se646snz.js → external-channel-m77wf5z3.js} +2 -2
  91. package/dist/{fx-adapter-yw795hqq.js → fx-adapter-b6w0kf56.js} +7 -8
  92. package/dist/{grok-adapter-ttmcss2j.js → grok-adapter-4sqtebdk.js} +7 -8
  93. package/dist/handlers-kdjcyzdj.js +32 -0
  94. package/dist/heartbeat-xgb036sx.js +43 -0
  95. package/dist/{hook-g3nhexsy.js → hook-5h02c9ga.js} +6 -6
  96. package/dist/{hook-hq93y5ej.js → hook-xsk1jbha.js} +5 -5
  97. package/dist/{http-5a9p4h6y.js → http-txe7qhvn.js} +282 -140
  98. package/dist/{index-6haqt3v5.js → index-4a0670yh.js} +8917 -8476
  99. package/dist/index-835xdgnm.js +33 -0
  100. package/dist/index-d469300x.js +37 -0
  101. package/dist/index-rzqwp11g.js +32 -0
  102. package/dist/{index-s72rqgsx.js → index-tvfafeyy.js} +1 -1
  103. package/dist/{index-hgn3c961.js → index-vk63emp7.js} +978 -35
  104. package/dist/{index-3c5pxbge.js → index-ysvbhg5m.js} +1 -1
  105. package/dist/{keepalive-1j4n4dmk.js → keepalive-4zsrce78.js} +3 -3
  106. package/dist/lead-yqt47dkr.js +70 -0
  107. package/dist/{maintenance-dmghacy5.js → maintenance-86jvartk.js} +1 -1
  108. package/dist/{oauth-refresh-sweep-yy06c03c.js → oauth-refresh-sweep-j52kg9pr.js} +2 -2
  109. package/dist/{onboard-52f9t5dm.js → onboard-c2aj5p8q.js} +3 -3
  110. package/dist/{opencode-adapter-krnh9jkn.js → opencode-adapter-dsagkhtw.js} +5 -6
  111. package/dist/{otel-impl-xjqz6wjj.js → otel-impl-yyy203z8.js} +1 -1
  112. package/dist/{pi-mono-adapter-dbxyp0qv.js → pi-mono-adapter-546cd1cc.js} +9 -9
  113. package/dist/{pricing-refresh-ctdr74pd.js → pricing-refresh-1rgzqyzz.js} +2 -3
  114. package/dist/{rbac-roles-q0gr8eyj.js → rbac-roles-e70xfeyj.js} +4 -6
  115. package/dist/{rbac-roles-ehv8s10n.js → rbac-roles-q89qe8er.js} +3 -3
  116. package/dist/{registry-hpjfmcfz.js → registry-32b1mft6.js} +1 -1
  117. package/dist/{render-v2-5b6chvcq.js → render-v2-k6tt107q.js} +3 -3
  118. package/dist/{resume-5a5d2845.js → resume-cnnrjfxa.js} +6 -6
  119. package/dist/{runtime-khxszyfp.js → runtime-1hv06jsn.js} +1 -1
  120. package/dist/{session-access-gj0bjhqg.js → session-access-xkxkjw3n.js} +4 -4
  121. package/dist/{session-source-backfill-2sy0krfk.js → session-source-backfill-1d5pdwww.js} +2 -2
  122. package/dist/{setup-7ssfakk1.js → setup-se8q7gkc.js} +1 -1
  123. package/dist/{virtual-modules-pjj0knwf.js → virtual-modules-gazyapte.js} +3 -3
  124. package/dist/{work-objects-bf3syvhq.js → work-objects-1kxnbzy5.js} +20 -21
  125. package/dist/{worker-follow-up-38xevga6.js → worker-follow-up-zqm8apt4.js} +17 -18
  126. package/dist/worker-j6xxtq7p.js +70 -0
  127. package/openapi.json +334 -7
  128. package/package.json +4 -4
  129. package/src/apps/definition.ts +11 -0
  130. package/src/apps/store.ts +28 -8
  131. package/src/be/db/model-profiles.ts +147 -38
  132. package/src/be/db/tasks/read.ts +5 -1
  133. package/src/be/db/workflow-run-definitions.ts +117 -0
  134. package/src/be/db.ts +24 -3
  135. package/src/be/memory/constants.ts +14 -1
  136. package/src/be/memory/key-paths.ts +8 -0
  137. package/src/be/memory/providers/sqlite-store.ts +160 -10
  138. package/src/be/memory/task-learning.ts +79 -14
  139. package/src/be/memory/types.ts +24 -1
  140. package/src/be/migrations/279_backfill_learning_expiry.sql +15 -0
  141. package/src/be/migrations/281_model_profiles_pr2.sql +28 -0
  142. package/src/be/migrations/283_workflow_run_definitions.sql +14 -0
  143. package/src/be/model-profile-check.ts +284 -0
  144. package/src/be/model-tier-resolution.ts +112 -12
  145. package/src/be/multi-runtime.ts +27 -0
  146. package/src/be/runtime-pools/routing.ts +52 -4
  147. package/src/be/scripts/typecheck.ts +1 -0
  148. package/src/be/seed-scripts/catalog/dreaming-learnings.ts +552 -0
  149. package/src/be/seed-scripts/catalog/dreaming-memtax-create.ts +389 -14
  150. package/src/be/seed-scripts/catalog/dreaming-memtax.ts +6 -3
  151. package/src/be/seed-scripts/index.ts +9 -0
  152. package/src/be/steering.ts +8 -2
  153. package/src/commands/onboard/agent-fs-version.ts +1 -1
  154. package/src/commands/runner.ts +32 -1
  155. package/src/fs/provider.ts +17 -3
  156. package/src/heartbeat/heartbeat.ts +12 -1
  157. package/src/heartbeat/index.ts +1 -0
  158. package/src/http/agents.ts +56 -4
  159. package/src/http/apps.ts +3 -1
  160. package/src/http/config.ts +2 -6
  161. package/src/http/index.ts +2 -3
  162. package/src/http/model-profiles.ts +58 -10
  163. package/src/http/poll.ts +36 -3
  164. package/src/http/schedules.ts +42 -3
  165. package/src/http/tasks.ts +37 -12
  166. package/src/http/workflows.ts +15 -2
  167. package/src/prompts/session-templates.ts +1 -1
  168. package/src/providers/acp-targets.ts +11 -6
  169. package/src/providers/amp-adapter.ts +1 -1
  170. package/src/providers/claude-sdk-session.ts +132 -23
  171. package/src/providers/codex-skill-resolver.ts +10 -4
  172. package/src/providers/cursor-adapter.ts +1 -1
  173. package/src/providers/devin-skill-resolver.ts +5 -5
  174. package/src/providers/dsh-adapter.ts +1 -1
  175. package/src/scheduler/schedule-task.ts +1 -0
  176. package/src/scripts-runtime/sdk-allowlist.ts +1 -0
  177. package/src/scripts-runtime/swarm-sdk.ts +18 -1
  178. package/src/scripts-runtime/types/stdlib.d.ts +1 -0
  179. package/src/scripts-runtime/types/swarm-sdk.d.ts +1 -0
  180. package/src/server.ts +2 -0
  181. package/src/slack/app.ts +93 -0
  182. package/src/slack/inbound-dispatch.ts +18 -1
  183. package/src/slack/workspace-guard.ts +345 -0
  184. package/src/tasks/task-terminal-effects.ts +4 -0
  185. package/src/tasks/worker-follow-up.ts +102 -2
  186. package/src/tests/acp-adapter.test.ts +82 -0
  187. package/src/tests/apps-icon.test.ts +120 -0
  188. package/src/tests/chained-task-follow-up.test.ts +248 -0
  189. package/src/tests/check-pr-body.test.ts +40 -0
  190. package/src/tests/claude-sdk-lifecycle.test.ts +216 -1
  191. package/src/tests/claude-sdk-process.fixture.ts +57 -0
  192. package/src/tests/codex-skill-resolver.test.ts +31 -0
  193. package/src/tests/credentials-allowlist.test.ts +470 -0
  194. package/src/tests/db-task-read-contract.test.ts +5 -0
  195. package/src/tests/db-task-write-contract.test.ts +5 -0
  196. package/src/tests/deferred-wake-follow-up.test.ts +47 -0
  197. package/src/tests/docs-index-footprint.test.js +3 -3
  198. package/src/tests/dreaming-learnings.test.ts +1395 -0
  199. package/src/tests/dsh-adapter.test.ts +1 -1
  200. package/src/tests/explicit-model-validation.test.ts +2 -0
  201. package/src/tests/fs-provider.test.ts +42 -0
  202. package/src/tests/heartbeat.test.ts +28 -1
  203. package/src/tests/human-free-reclassify.test.ts +5 -1
  204. package/src/tests/list-endpoint-slimming.test.ts +17 -0
  205. package/src/tests/migration-283-workflow-run-definitions.test.ts +69 -0
  206. package/src/tests/model-profile-check.test.ts +387 -0
  207. package/src/tests/model-profiles-api.test.ts +528 -1
  208. package/src/tests/profile-claim.test.ts +415 -3
  209. package/src/tests/profile-tier-alias.test.ts +382 -0
  210. package/src/tests/schedule-profile.test.ts +359 -0
  211. package/src/tests/script-connections.test.ts +6 -0
  212. package/src/tests/script-per-script-executor.test.ts +1 -0
  213. package/src/tests/scripts-sdk-bridge-tool-failure.test.ts +141 -0
  214. package/src/tests/seed-scripts.test.ts +2 -2
  215. package/src/tests/slack-inbound-receipts.test.ts +22 -2
  216. package/src/tests/slack-socket-ack.test.ts +16 -1
  217. package/src/tests/slack-workspace-guard.test.ts +905 -0
  218. package/src/tests/steering-core.test.ts +40 -0
  219. package/src/tests/store-progress-learning.test.ts +605 -20
  220. package/src/tests/tool-annotations.test.ts +1 -1
  221. package/src/tests/workflow-convergence.test.ts +46 -40
  222. package/src/tests/workflow-definition-pinning-recovery.test.ts +552 -0
  223. package/src/tests/workflow-definition-pinning.test.ts +645 -0
  224. package/src/tests/workflow-executors.test.ts +16 -7
  225. package/src/tests/workflow-foreach.test.ts +43 -20
  226. package/src/tests/workflow-notify-slack-ready.test.ts +161 -0
  227. package/src/tests/workflow-profile.test.ts +328 -0
  228. package/src/tools/app-upsert.ts +1 -1
  229. package/src/tools/memory-edit.ts +2 -1
  230. package/src/tools/model-profiles/check-model-profile.ts +63 -0
  231. package/src/tools/schedules/create-schedule.ts +45 -4
  232. package/src/tools/schedules/patch-schedule.ts +50 -4
  233. package/src/tools/schedules/update-schedule.ts +50 -4
  234. package/src/tools/send-task.ts +17 -2
  235. package/src/tools/store-progress.ts +15 -3
  236. package/src/tools/task-action.ts +9 -1
  237. package/src/tools/templates.ts +13 -0
  238. package/src/tools/tool-config.ts +2 -1
  239. package/src/tools/utils.ts +61 -4
  240. package/src/tools/workflows/create-workflow.ts +1 -1
  241. package/src/tools/workflows/retry-workflow-run.ts +1 -1
  242. package/src/tools/workflows/update-workflow.ts +10 -1
  243. package/src/types.ts +56 -1
  244. package/src/utils/credentials.ts +89 -12
  245. package/src/workflows/engine.ts +10 -1
  246. package/src/workflows/executors/agent-task.ts +21 -2
  247. package/src/workflows/executors/foreach.ts +4 -1
  248. package/src/workflows/executors/notify.ts +62 -6
  249. package/src/workflows/executors/sub-workflow.ts +1 -1
  250. package/src/workflows/executors/swarm-script.ts +4 -1
  251. package/src/workflows/foreach-driver.ts +8 -5
  252. package/src/workflows/limits.ts +2 -1
  253. package/src/workflows/model-validation.ts +27 -2
  254. package/src/workflows/patch-definition.ts +3 -1
  255. package/src/workflows/recovery.ts +6 -6
  256. package/src/workflows/resume.ts +9 -9
  257. package/src/workflows/retry-poller.ts +2 -2
  258. package/templates/skills/apps/SKILL.md +2 -0
  259. package/templates/skills/apps/content.md +2 -0
  260. package/templates/skills/code-quality/content.md +12 -0
  261. package/templates/skills/memory/content.md +8 -0
  262. package/templates/skills/scheduling/config.json +1 -1
  263. package/templates/skills/scheduling/content.md +2 -2
  264. package/templates/skills/swarm-docs/content.md +4 -0
  265. package/templates/skills/swarm-extensions/content.md +1 -1
  266. package/templates/skills/swarm-scripts/SKILL.md +1 -1
  267. package/templates/skills/swarm-scripts/content.md +1 -1
  268. package/templates/skills/work-on-task/SKILL.md +2 -0
  269. package/templates/skills/work-on-task/content.md +2 -0
  270. package/templates/workflows/dreaming/content.md +174 -7
  271. package/dist/acp-adapter-srfhs1s9.js +0 -16
  272. package/dist/cli-bzvs88tv.js +0 -339
  273. package/dist/cli-cyn9v8zr.js +0 -748
  274. package/dist/cli-ed6yqpf1.js +0 -779
  275. package/dist/handlers-17wha3ze.js +0 -33
  276. package/dist/heartbeat-gwewgdms.js +0 -42
  277. package/dist/index-8arwq8mw.js +0 -34
  278. package/dist/index-tpw054az.js +0 -38
  279. package/dist/index-waq75j2j.js +0 -31
  280. package/dist/lead-re73kdgc.js +0 -72
  281. package/dist/worker-r8mz7a65.js +0 -72
@@ -11,7 +11,7 @@ import {
11
11
  init_steering2,
12
12
  createLogEntry2,
13
13
  init_db4
14
- } from "./cli-j7d73g1y.js";
14
+ } from "./cli-h38x262p.js";
15
15
  import {
16
16
  ackSlackMessage,
17
17
  skipSlackMessageReaction,
@@ -28,7 +28,7 @@ import {
28
28
  init_watcher,
29
29
  getSlackApp2,
30
30
  init_app3
31
- } from "./cli-mr97t7cc.js";
31
+ } from "./cli-p1bq50aa.js";
32
32
  import {
33
33
  TaskCreationBlockedError,
34
34
  init_errors2,
@@ -42,20 +42,20 @@ import {
42
42
  init_message_text,
43
43
  createAdditiveBuffer,
44
44
  init_additive_buffer
45
- } from "./cli-7wz05bx3.js";
45
+ } from "./cli-rfywm85n.js";
46
46
  import {
47
47
  resolveSlackUserId,
48
48
  rewriteSlackMentions,
49
49
  init_enrich
50
- } from "./cli-n07eecjs.js";
50
+ } from "./cli-6t09sdhy.js";
51
51
  import {
52
52
  isSlackThreadLeft,
53
53
  init_left_threads
54
- } from "./cli-2tsfpc70.js";
54
+ } from "./cli-a7wvp2km.js";
55
55
  import {
56
56
  findUserByExternalId,
57
57
  init_users
58
- } from "./cli-g1px1g2e.js";
58
+ } from "./cli-gxkx0zzp.js";
59
59
  import {
60
60
  isSteeringEnabled2,
61
61
  init_steering_enabled
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  applyOpenRouterBaseUrlOverride2,
11
11
  buildOpenAICompatibleProviderBlock2
12
- } from "./cli-mp9aa8g5.js";
12
+ } from "./cli-7p1kvkck.js";
13
13
  import {
14
14
  fetchInstalledMcpServers
15
15
  } from "./cli-bst1vp7e.js";
@@ -30,13 +30,13 @@ import {
30
30
  import {
31
31
  DEFAULT_MODEL_TIER_MAP,
32
32
  init_types4
33
- } from "./cli-hfkwwy1h.js";
33
+ } from "./cli-2zp0et3v.js";
34
34
  import {
35
35
  resolveTemplateFromCode,
36
36
  resolveTemplateAsync,
37
37
  init_resolver,
38
38
  init_session_templates
39
- } from "./cli-kf3pxxdg.js";
39
+ } from "./cli-v1dv1r37.js";
40
40
  import {
41
41
  NEVER,
42
42
  string2,
@@ -58,7 +58,7 @@ import {
58
58
  import {
59
59
  init_package,
60
60
  package_default
61
- } from "./cli-rt0ag4x1.js";
61
+ } from "./cli-334z18y3.js";
62
62
  import {
63
63
  fxModelRoute,
64
64
  normalizeGrokModel,
@@ -4366,12 +4366,16 @@ function copyEnvKeys(config, env, keys) {
4366
4366
  function parseStringArray(value) {
4367
4367
  if (!value?.trim())
4368
4368
  return [];
4369
+ let parsed;
4369
4370
  try {
4370
- const parsed = JSON.parse(value);
4371
- if (Array.isArray(parsed) && parsed.every((entry) => typeof entry === "string")) {
4372
- return parsed;
4373
- }
4371
+ parsed = JSON.parse(value);
4374
4372
  } catch {}
4373
+ if (Array.isArray(parsed)) {
4374
+ if (!parsed.every((entry) => typeof entry === "string")) {
4375
+ throw new AcpTargetResolutionError("ACP_TARGET_ENV_KEYS must be a JSON array of strings.");
4376
+ }
4377
+ return parsed;
4378
+ }
4375
4379
  return value.split(",").map((entry) => entry.trim()).filter(Boolean);
4376
4380
  }
4377
4381
  function configuredOptions(config) {
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  assertUrlSafe,
9
9
  init_egress_guard
10
- } from "./cli-j7d73g1y.js";
10
+ } from "./cli-h38x262p.js";
11
11
  import {
12
12
  isEnvFlagEnabled,
13
13
  init_env_flag
@@ -9,7 +9,7 @@ import {
9
9
  acquireOAuthRefreshLock,
10
10
  releaseOAuthRefreshLock,
11
11
  init_oauth
12
- } from "./cli-j7d73g1y.js";
12
+ } from "./cli-h38x262p.js";
13
13
  import {
14
14
  generateRandomCodeVerifier,
15
15
  generateRandomState,
@@ -12,7 +12,7 @@ import {
12
12
  resolveTemplateAsync,
13
13
  init_resolver,
14
14
  init_session_templates
15
- } from "./cli-kf3pxxdg.js";
15
+ } from "./cli-v1dv1r37.js";
16
16
  import {
17
17
  MAX_PROFILE_FILE_LENGTH,
18
18
  getAppUrl,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./cli-0726awxw.js";
5
5
  import {
6
6
  summarizeSession
7
- } from "./cli-rjyghzg4.js";
7
+ } from "./cli-g70vxtjh.js";
8
8
  import {
9
9
  getMemoryRaterNames,
10
10
  init_memory_raters,
@@ -19,7 +19,7 @@ import {
19
19
  readIdentityBaselines,
20
20
  advanceIdentityBaselines,
21
21
  init_profile_sync
22
- } from "./cli-pyrxt9gw.js";
22
+ } from "./cli-tk7cjj8h.js";
23
23
  import {
24
24
  getOpenRouterAttributionHeaders,
25
25
  init_openrouter_base_url
@@ -29,7 +29,7 @@ import {
29
29
  resolveTemplateAsync,
30
30
  init_resolver,
31
31
  init_session_templates
32
- } from "./cli-kf3pxxdg.js";
32
+ } from "./cli-v1dv1r37.js";
33
33
  import {
34
34
  isSessionSummarySkipped,
35
35
  init_env_flag
@@ -366,7 +366,7 @@ Your profile lives in the database. Edit it with \`update-profile\`: \`soulMd\`,
366
366
  ## Memory
367
367
 
368
368
  Memories from past sessions are in your task message. Read them before you start. For a wider search, run the \`task-context-gathering\` script with the task ID and two to four queries.
369
- When you learn something that would change how the next agent works (a fix, a pattern, a gotcha), pass it as \`learning\` on a \`store-progress\` call before the task ends. Completed task outputs are stored for you.
369
+ Pass a fix, pattern or gotcha the next agent needs as \`learning\` on a \`store-progress\` call before the task ends: line 1 a title, line 2 the rule ("When X, do Y"), never a status line. Completed task outputs are stored for you.
370
370
  You MUST use the \`memory\` skill before you store, edit, or delete a memory.
371
371
  `,
372
372
  variables: [],
@@ -2,7 +2,7 @@ import {
2
2
  isGrokOpenRouterModel,
3
3
  grokTargetProfile,
4
4
  ACPAdapter2
5
- } from "./cli-xbtq4d6s.js";
5
+ } from "./cli-rzsy6nc6.js";
6
6
  import {
7
7
  getOpenRouterBaseUrl,
8
8
  getOpenRouterAttributionHeaders,
@@ -1,10 +1,10 @@
1
- import {
2
- resolveSlashSkillPrompt
3
- } from "./cli-jc1g9ndz.js";
4
1
  import {
5
2
  reasoningCapability,
6
3
  applyReasoningEffort
7
4
  } from "./cli-jrzkw01m.js";
5
+ import {
6
+ resolveSlashSkillPrompt
7
+ } from "./cli-5j88qqa8.js";
8
8
  import {
9
9
  CONTEXT_FORMULA,
10
10
  getContextWindowSize,
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  DEFAULT_MODEL_TIER_MAP,
26
26
  init_types4
27
- } from "./cli-hfkwwy1h.js";
27
+ } from "./cli-2zp0et3v.js";
28
28
  import {
29
29
  getOpenRouterBaseUrl,
30
30
  getOpenRouterAttributionHeaders,
@@ -72,7 +72,7 @@ init_multi_runtime2();
72
72
  init_openrouter_base_url();
73
73
  init_process_group();
74
74
  init_secret_scrubber();
75
- var DSH_PACKAGE = "@deepseek-ai/dsh@0.2.2-alpha.3";
75
+ var DSH_PACKAGE = "@deepseek-ai/dsh@0.2.2-rc.1";
76
76
  function checkDshCredentials2(env) {
77
77
  return env.DEEPSEEK_API_KEY?.trim() || env.OPENROUTER_API_KEY?.trim() ? { ready: true, missing: [], satisfiedBy: "env" } : {
78
78
  ready: false,
@@ -74,7 +74,7 @@ import {
74
74
  init_src,
75
75
  selectCredential,
76
76
  init_credentials2
77
- } from "./cli-xfjrc279.js";
77
+ } from "./cli-5mrq3ake.js";
78
78
  import {
79
79
  __export,
80
80
  __esm
@@ -8,7 +8,7 @@ import {
8
8
  resolveTemplateAsync,
9
9
  init_resolver,
10
10
  init_session_templates
11
- } from "./cli-kf3pxxdg.js";
11
+ } from "./cli-v1dv1r37.js";
12
12
 
13
13
  // src/hooks/context-bound-note.ts
14
14
  import { renameSync, writeFileSync } from "node:fs";
@@ -2,19 +2,16 @@ import {
2
2
  contextStatePath,
3
3
  contextBoundNoteMarkerPath,
4
4
  recordContextState
5
- } from "./cli-jrp1dt73.js";
5
+ } from "./cli-xzm9vcfg.js";
6
6
  import {
7
7
  runStopHookSessionSummarySubprocess
8
- } from "./cli-an1knn2k.js";
8
+ } from "./cli-qa4wdgsy.js";
9
9
  import {
10
10
  redactRateLimitEventLine,
11
11
  SessionErrorTracker,
12
12
  trackErrorFromJson,
13
13
  parseStderrForErrors
14
- } from "./cli-f2zenhja.js";
15
- import {
16
- resolveSlashSkillPrompt
17
- } from "./cli-jc1g9ndz.js";
14
+ } from "./cli-kc7v1nfv.js";
18
15
  import {
19
16
  CTX_MODE_NUDGE_EVERY
20
17
  } from "./cli-4bd1rck6.js";
@@ -28,6 +25,9 @@ import {
28
25
  import {
29
26
  fetchInstalledMcpServers
30
27
  } from "./cli-bst1vp7e.js";
28
+ import {
29
+ resolveSlashSkillPrompt
30
+ } from "./cli-5j88qqa8.js";
31
31
  import {
32
32
  CONTEXT_FORMULA,
33
33
  getContextWindowSize,
@@ -55,7 +55,7 @@ import {
55
55
  import {
56
56
  withFileLock,
57
57
  init_file_lock
58
- } from "./cli-pyrxt9gw.js";
58
+ } from "./cli-tk7cjj8h.js";
59
59
  import {
60
60
  getOpenRouterAttributionHeaders,
61
61
  init_openrouter_base_url
@@ -68,7 +68,7 @@ import {
68
68
  CLAUDE_CREDENTIALS_HINT,
69
69
  validateClaudeCredentials,
70
70
  init_credentials2
71
- } from "./cli-xfjrc279.js";
71
+ } from "./cli-5mrq3ake.js";
72
72
  import {
73
73
  isEnvFlagEnabled,
74
74
  init_env_flag
@@ -1263,7 +1263,7 @@ class ClaudeAdapter2 {
1263
1263
  if (transport === "sdk" && isClaudeBridgeEffective(sourceEnv)) {
1264
1264
  throw new Error("CLAUDE_TRANSPORT=sdk cannot run with an effective Claude Bridge configuration. Select CLI transport or disable the bridge.");
1265
1265
  }
1266
- const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-dq1j4nz9.js") : undefined;
1266
+ const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-0q0ptaba.js") : undefined;
1267
1267
  claudeSdk?.validateClaudeSdkAdditionalArgs([
1268
1268
  ...claudeBinaryArgv.slice(1),
1269
1269
  ...config.additionalArgs ?? []
@@ -4,7 +4,7 @@ import {
4
4
  fxSessionExists,
5
5
  fxTargetProfile,
6
6
  ACPAdapter2
7
- } from "./cli-xbtq4d6s.js";
7
+ } from "./cli-rzsy6nc6.js";
8
8
  import {
9
9
  getKnownContextWindowSize,
10
10
  init_context_window
package/dist/cli.js CHANGED
@@ -50,7 +50,7 @@ var import_react = __toESM(require_react(), 1);
50
50
  // package.json
51
51
  var package_default = {
52
52
  name: "@desplega.ai/agent-swarm",
53
- version: "2.7.10",
53
+ version: "2.8.0",
54
54
  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.",
55
55
  keywords: [
56
56
  "agent-swarm.dev",
@@ -254,7 +254,7 @@ var package_default = {
254
254
  dependencies: {
255
255
  "@agentclientprotocol/sdk": "2.4.0",
256
256
  "@ai-sdk/openai": "^3.0.41",
257
- "@anthropic-ai/claude-agent-sdk": "0.3.317",
257
+ "@anthropic-ai/claude-agent-sdk": "0.3.318",
258
258
  "@anthropic-ai/sdk": "^1.4.0",
259
259
  "@asteasolutions/zod-to-openapi": "^8.0.0",
260
260
  "@aws-sdk/client-bedrock": "3.1048.0",
@@ -263,8 +263,8 @@ var package_default = {
263
263
  "@chat-adapter/slack": "4.41.1",
264
264
  "@chat-adapter/teams": "4.41.1",
265
265
  "@chat-adapter/telegram": "4.41.1",
266
- "@cursor/sdk": "1.3.0",
267
- "@desplega.ai/agent-fs-just-bash": "0.18.16",
266
+ "@cursor/sdk": "1.3.1",
267
+ "@desplega.ai/agent-fs-just-bash": "0.18.18",
268
268
  "@desplega.ai/business-use": "^0.4.2",
269
269
  "@earendil-works/pi-agent-core": "^1.5.0",
270
270
  "@earendil-works/pi-ai": "^1.5.0",
@@ -837,7 +837,7 @@ function McpServer({ port, apiKey, dbPath }) {
837
837
  if (dbPath) {
838
838
  process.env.DATABASE_PATH = dbPath;
839
839
  }
840
- import("./http-5a9p4h6y.js").then(() => {
840
+ import("./http-txe7qhvn.js").then(() => {
841
841
  setStatus("running");
842
842
  }).catch((err) => {
843
843
  setStatus("error");
@@ -918,7 +918,7 @@ function WorkerRunner({ prompt, systemPrompt, systemPromptFile, additionalArgs }
918
918
  const { exit } = use_app_default();
919
919
  import_react.useEffect(() => {
920
920
  installConsoleScrub();
921
- import("./worker-r8mz7a65.js").then(({ runWorker }) => runWorker({
921
+ import("./worker-j6xxtq7p.js").then(({ runWorker }) => runWorker({
922
922
  prompt: prompt || undefined,
923
923
  systemPrompt: systemPrompt || undefined,
924
924
  systemPromptFile: systemPromptFile || undefined,
@@ -935,7 +935,7 @@ function LeadRunner({ prompt, systemPrompt, systemPromptFile, additionalArgs })
935
935
  const { exit } = use_app_default();
936
936
  import_react.useEffect(() => {
937
937
  installConsoleScrub();
938
- import("./lead-re73kdgc.js").then(({ runLead }) => runLead({
938
+ import("./lead-yqt47dkr.js").then(({ runLead }) => runLead({
939
939
  prompt: prompt || undefined,
940
940
  systemPrompt: systemPrompt || undefined,
941
941
  systemPromptFile: systemPromptFile || undefined,
@@ -974,8 +974,8 @@ function LazyComponent({
974
974
  }
975
975
  return import_react.createElement(Component, props);
976
976
  }
977
- var loadOnboard = () => import("./onboard-52f9t5dm.js").then(({ Onboard }) => Onboard);
978
- var loadConnect = () => import("./setup-7ssfakk1.js").then(({ Setup }) => Setup);
977
+ var loadOnboard = () => import("./onboard-c2aj5p8q.js").then(({ Onboard }) => Onboard);
978
+ var loadConnect = () => import("./setup-se8q7gkc.js").then(({ Setup }) => Setup);
979
979
  function UnknownCommand({ command }) {
980
980
  const { exit } = use_app_default();
981
981
  import_react.useEffect(() => {
@@ -1104,14 +1104,14 @@ ${binName} docs \u2014 v${package_default.version}
1104
1104
  }
1105
1105
  process.exit(0);
1106
1106
  } else if (args.command === "hook") {
1107
- const { runHook } = await import("./hook-hq93y5ej.js");
1107
+ const { runHook } = await import("./hook-xsk1jbha.js");
1108
1108
  await runHook();
1109
1109
  } else if (args.command === "codex-hook") {
1110
- const { handleCodexHook } = await import("./codex-hook-fac6175r.js");
1110
+ const { handleCodexHook } = await import("./codex-hook-h3vk6xzr.js");
1111
1111
  await handleCodexHook();
1112
1112
  process.exit(process.exitCode ?? 0);
1113
1113
  } else if (args.command === "session-summary-stdin") {
1114
- const { runSessionSummaryFromStdin } = await import("./hook-g3nhexsy.js");
1114
+ const { runSessionSummaryFromStdin } = await import("./hook-5h02c9ga.js");
1115
1115
  await runSessionSummaryFromStdin();
1116
1116
  process.exit(process.exitCode ?? 0);
1117
1117
  } else if (args.command === "x") {
@@ -1124,7 +1124,7 @@ ${binName} docs \u2014 v${package_default.version}
1124
1124
  printHelp("scripts");
1125
1125
  process.exit(scriptsArgs[0] === "reembed" || args.showHelp ? 0 : 1);
1126
1126
  }
1127
- const { runScriptsMaintenanceCommand } = await import("./maintenance-dmghacy5.js");
1127
+ const { runScriptsMaintenanceCommand } = await import("./maintenance-86jvartk.js");
1128
1128
  await runScriptsMaintenanceCommand(scriptsArgs);
1129
1129
  console.log("Scripts re-embedded.");
1130
1130
  } else if (args.command === "rbac") {
@@ -1134,17 +1134,17 @@ ${binName} docs \u2014 v${package_default.version}
1134
1134
  printHelp("rbac");
1135
1135
  process.exit(args.showHelp ? 0 : 1);
1136
1136
  }
1137
- const { runRbacCliCommand } = await import("./rbac-roles-q0gr8eyj.js");
1137
+ const { runRbacCliCommand } = await import("./rbac-roles-e70xfeyj.js");
1138
1138
  await runRbacCliCommand(rbacArgs);
1139
1139
  } else if (args.command === "codex-login") {
1140
1140
  const { runCodexLogin } = await import("./codex-login-bcda78ge.js");
1141
1141
  const codexLoginArgs = process.argv.slice(process.argv.indexOf("codex-login") + 1);
1142
1142
  await runCodexLogin(codexLoginArgs);
1143
1143
  } else if (args.command === "codex-session-runner") {
1144
- const { runCodexSessionRunner } = await import("./codex-session-runner-pch8x584.js");
1144
+ const { runCodexSessionRunner } = await import("./codex-session-runner-8vp57v8w.js");
1145
1145
  await runCodexSessionRunner();
1146
1146
  } else if (args.command === "claude-managed-setup") {
1147
- const { runClaudeManagedSetup } = await import("./claude-managed-setup-9gsmwzyx.js");
1147
+ const { runClaudeManagedSetup } = await import("./claude-managed-setup-9m6450zk.js");
1148
1148
  const setupArgs = process.argv.slice(process.argv.indexOf("claude-managed-setup") + 1);
1149
1149
  await runClaudeManagedSetup(setupArgs);
1150
1150
  } else if (args.command === "worker-token") {
@@ -1156,7 +1156,7 @@ ${binName} docs \u2014 v${package_default.version}
1156
1156
  const e2bArgs = process.argv.slice(process.argv.indexOf("e2b") + 1);
1157
1157
  await runE2BCommand(e2bArgs);
1158
1158
  } else if (args.command === "controller") {
1159
- const { runController } = await import("./controller-jkx994pz.js");
1159
+ const { runController } = await import("./controller-hxx8wwy1.js");
1160
1160
  await runController(process.argv.slice(process.argv.indexOf("controller") + 1));
1161
1161
  } else {
1162
1162
  render_default(/* @__PURE__ */ jsx_dev_runtime.jsxDEV(App, {
@@ -2,17 +2,16 @@ import {
2
2
  checkCodexCredentials2,
3
3
  createInProcessCodexSession2,
4
4
  CodexAdapter2
5
- } from "./cli-eqk5p56g.js";
5
+ } from "./cli-2wnq8jkz.js";
6
6
  import"./cli-m5akxq8q.js";
7
7
  import"./cli-kr5tjjtz.js";
8
8
  import"./cli-98rwmcyc.js";
9
9
  import"./cli-4bd1rck6.js";
10
- import"./cli-jc1g9ndz.js";
11
- import"./cli-rjyghzg4.js";
10
+ import"./cli-g70vxtjh.js";
12
11
  import"./cli-0726awxw.js";
13
- import"./cli-jrp1dt73.js";
14
- import"./cli-f2zenhja.js";
15
- import"./cli-w3bk0dgv.js";
12
+ import"./cli-xzm9vcfg.js";
13
+ import"./cli-kc7v1nfv.js";
14
+ import"./cli-8aes17e4.js";
16
15
  import"./cli-jrzkw01m.js";
17
16
  export {
18
17
  CodexAdapter2 as CodexAdapter,
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bun
2
2
  import {
3
3
  renderSteeringDelivery
4
- } from "./cli-eqtfgfr6.js";
4
+ } from "./cli-2gxeg5gr.js";
5
5
  import {
6
6
  guardGhPrBody,
7
7
  guardGhPrRoom
@@ -1,11 +1,10 @@
1
- import"./cli-jrp1dt73.js";
2
- import"./cli-f2zenhja.js";
3
- import"./cli-w3bk0dgv.js";
4
- import"./cli-rjyghzg4.js";
1
+ import"./cli-xzm9vcfg.js";
2
+ import"./cli-kc7v1nfv.js";
3
+ import"./cli-8aes17e4.js";
4
+ import"./cli-g70vxtjh.js";
5
5
  import {
6
6
  createInProcessCodexSession2
7
- } from "./cli-eqk5p56g.js";
8
- import"./cli-jc1g9ndz.js";
7
+ } from "./cli-2wnq8jkz.js";
9
8
  import"./cli-0726awxw.js";
10
9
  import"./cli-m5akxq8q.js";
11
10
  import"./cli-4bd1rck6.js";
@@ -2,16 +2,16 @@ import {
2
2
  getAllAgents2,
3
3
  getAllTasks2,
4
4
  init_db4
5
- } from "./cli-j7d73g1y.js";
5
+ } from "./cli-h38x262p.js";
6
6
  import {
7
7
  EXTERNAL_CHANNEL_BLOCKED_REPLY2,
8
8
  shouldBlockChannel2,
9
9
  init_external_channel
10
- } from "./cli-bxz823sz.js";
10
+ } from "./cli-qsnnd04k.js";
11
11
  import {
12
12
  isSlackLeaveThreadDisabled,
13
13
  init_left_threads
14
- } from "./cli-2tsfpc70.js";
14
+ } from "./cli-a7wvp2km.js";
15
15
  import {
16
16
  isEnvFlagEnabled,
17
17
  init_env_flag
@@ -3,7 +3,7 @@ import {
3
3
  CONTROLLER_PROTOCOL_VERSION,
4
4
  CONTROLLER_PING_INTERVAL_MS,
5
5
  ControllerServerMessageSchema
6
- } from "./cli-x9exydey.js";
6
+ } from "./cli-m4dqmnbp.js";
7
7
  import {
8
8
  createRuntimeProvider,
9
9
  init_runtime_providers
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  RuntimeProviderKindSchema,
13
13
  init_types4
14
- } from "./cli-hfkwwy1h.js";
14
+ } from "./cli-2zp0et3v.js";
15
15
  import {
16
16
  scrubSecrets,
17
17
  registerVolatileSecret,
@@ -3,16 +3,16 @@ import {
3
3
  isRuntimePoolsEnabled,
4
4
  init_runtime_pools_flag,
5
5
  init_db4
6
- } from "./cli-j7d73g1y.js";
6
+ } from "./cli-h38x262p.js";
7
7
  import {
8
8
  CONTROLLER_PROTOCOL_VERSION,
9
9
  CONTROLLER_PING_INTERVAL_MS,
10
10
  ControllerClientMessageSchema
11
- } from "./cli-x9exydey.js";
11
+ } from "./cli-m4dqmnbp.js";
12
12
  import {
13
13
  getRuntimeController2,
14
14
  init_db2
15
- } from "./cli-xd5ebp64.js";
15
+ } from "./cli-8kzasymh.js";
16
16
  import {
17
17
  remoteControllerSession,
18
18
  installRemoteController,
@@ -21,30 +21,29 @@ import {
21
21
  ensureRuntimeOwnerId,
22
22
  reconcileRemoteProvisions,
23
23
  reconcileControllerOrphans
24
- } from "./cli-38yww4e9.js";
25
- import"./cli-bxz823sz.js";
24
+ } from "./cli-6wxjceza.js";
25
+ import"./cli-qsnnd04k.js";
26
26
  import"./cli-eddnyg3t.js";
27
- import"./cli-mr97t7cc.js";
28
- import"./cli-z9cs5m0w.js";
27
+ import"./cli-p1bq50aa.js";
28
+ import"./cli-pasjcnmj.js";
29
29
  import {
30
30
  resolveHttpRequestAuth,
31
31
  init_auth
32
- } from "./cli-7wz05bx3.js";
33
- import"./cli-yz7v0sh4.js";
34
- import"./cli-3xddv0rk.js";
35
- import"./cli-ed6yqpf1.js";
36
- import"./cli-3xj33nrx.js";
32
+ } from "./cli-rfywm85n.js";
33
+ import"./cli-c55z5chy.js";
34
+ import"./cli-4txa0ter.js";
35
+ import"./cli-f3vq58d2.js";
36
+ import"./cli-7cp6aa1q.js";
37
37
  import"./cli-n9ftpys4.js";
38
38
  import {
39
39
  route,
40
40
  init_route_def
41
- } from "./cli-8ewkreqd.js";
42
- import"./cli-bzvs88tv.js";
43
- import"./cli-zjphdj1a.js";
44
- import"./cli-16phend6.js";
45
- import"./cli-xncjscpm.js";
46
- import"./cli-2tsfpc70.js";
47
- import"./cli-0m7rtm11.js";
41
+ } from "./cli-m28atx8q.js";
42
+ import"./cli-j790gp2w.js";
43
+ import"./cli-sdtt3men.js";
44
+ import"./cli-qfedvmcr.js";
45
+ import"./cli-a7wvp2km.js";
46
+ import"./cli-s7t6p9my.js";
48
47
  import {
49
48
  import_websocket_server,
50
49
  init_wrapper2
@@ -52,7 +51,7 @@ import {
52
51
  import {
53
52
  registerSessionTokenConnection,
54
53
  init_session_token_connections
55
- } from "./cli-g1px1g2e.js";
54
+ } from "./cli-gxkx0zzp.js";
56
55
  import {
57
56
  getApiKey,
58
57
  init_api_key
@@ -2,8 +2,7 @@ import {
2
2
  checkCursorCredentials2,
3
3
  liveTestCursorKey2,
4
4
  CursorAdapter2
5
- } from "./cli-5xcb8gxq.js";
6
- import"./cli-jc1g9ndz.js";
5
+ } from "./cli-7b8sbmag.js";
7
6
  import"./cli-jrzkw01m.js";
8
7
  export {
9
8
  CursorAdapter2 as CursorAdapter,
@@ -19,9 +19,9 @@ import {
19
19
  createPoolAgent2,
20
20
  loadRuntimeControllerSecrets2,
21
21
  init_db2
22
- } from "./cli-xd5ebp64.js";
23
- import"./cli-g1px1g2e.js";
24
- import"./cli-j7d73g1y.js";
22
+ } from "./cli-8kzasymh.js";
23
+ import"./cli-gxkx0zzp.js";
24
+ import"./cli-h38x262p.js";
25
25
  init_db2();
26
26
 
27
27
  export {
@@ -131,6 +131,10 @@ import {
131
131
  getRecentlyCancelledTasksForAgent2,
132
132
  deleteTask2,
133
133
  updateTaskProgress2,
134
+ PINNED_WORKFLOW_KEYS2,
135
+ toPinnedDefinition2,
136
+ pinWorkflowDefinition2,
137
+ getRunWorkflow2,
134
138
  recordKeySeatMismatch2,
135
139
  recordKeyValidation2,
136
140
  getScriptRunExecutionArgs2,
@@ -518,13 +522,13 @@ import {
518
522
  countScriptRunJournalSteps2,
519
523
  countScriptRunJournalAgentTaskSteps2,
520
524
  init_db4
521
- } from "./cli-j7d73g1y.js";
525
+ } from "./cli-h38x262p.js";
522
526
  import {
523
527
  generateDefaultClaudeMd2,
524
528
  generateDefaultSoulMd2,
525
529
  generateDefaultIdentityMd2,
526
530
  generateDefaultToolsMd2
527
- } from "./cli-pyrxt9gw.js";
531
+ } from "./cli-tk7cjj8h.js";
528
532
  init_db4();
529
533
 
530
534
  export {
@@ -534,6 +538,7 @@ export {
534
538
  KvTypeCollisionError2 as KvTypeCollisionError,
535
539
  MAX_EMPTY_POLLS2 as MAX_EMPTY_POLLS,
536
540
  NOT_EXTENSION_AGENT_SQL2 as NOT_EXTENSION_AGENT_SQL,
541
+ PINNED_WORKFLOW_KEYS2 as PINNED_WORKFLOW_KEYS,
537
542
  ReservedAgentRoleError2 as ReservedAgentRoleError,
538
543
  SESSION_ACTIVITY_REFRESH_MIN_INTERVAL_MS2 as SESSION_ACTIVITY_REFRESH_MIN_INTERVAL_MS,
539
544
  SKILL_FILE_LIMITS2 as SKILL_FILE_LIMITS,
@@ -791,6 +796,7 @@ export {
791
796
  getResolvedConfig2 as getResolvedConfig,
792
797
  getRetryableSteps2 as getRetryableSteps,
793
798
  getRootTaskChain2 as getRootTaskChain,
799
+ getRunWorkflow2 as getRunWorkflow,
794
800
  getRunningScriptRuns2 as getRunningScriptRuns,
795
801
  getScheduledTaskById2 as getScheduledTaskById,
796
802
  getScheduledTaskByName2 as getScheduledTaskByName,
@@ -948,6 +954,7 @@ export {
948
954
  noteSlackOutcomeDeliveryFailure2 as noteSlackOutcomeDeliveryFailure,
949
955
  overwriteTerminalTaskResultText2 as overwriteTerminalTaskResultText,
950
956
  pauseTask2 as pauseTask,
957
+ pinWorkflowDefinition2 as pinWorkflowDefinition,
951
958
  postMessage2 as postMessage,
952
959
  promoteAbandonedDraftTasks2 as promoteAbandonedDraftTasks,
953
960
  promoteDraftTask2 as promoteDraftTask,
@@ -1003,6 +1010,7 @@ export {
1003
1010
  supersedeTask2 as supersedeTask,
1004
1011
  sweepExpiredKv2 as sweepExpiredKv,
1005
1012
  sweepExpiredKvPrefix2 as sweepExpiredKvPrefix,
1013
+ toPinnedDefinition2 as toPinnedDefinition,
1006
1014
  toggleAgentSkill2 as toggleAgentSkill,
1007
1015
  uninstallMcpServer2 as uninstallMcpServer,
1008
1016
  uninstallSkill2 as uninstallSkill,