@desplega.ai/agent-swarm 1.160.0 → 1.162.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 (398) hide show
  1. package/README.md +4 -3
  2. package/dist/{acp-adapter-2mjwcsfh.js → acp-adapter-74m73ae9.js} +163 -49
  3. package/dist/{actions-e43rxskr.js → actions-4sr14gnt.js} +42 -38
  4. package/dist/{anthropic-messages-5qx80j9k.js → anthropic-messages-8xxrzky9.js} +22 -26
  5. package/dist/{app-mc7xfagn.js → app-pt68fbwp.js} +17 -14
  6. package/dist/{artifact-3v5t9jtg.js → artifact-fey7dvj9.js} +3 -2
  7. package/dist/{assistant-sedkzv3b.js → assistant-cv3jytks.js} +43 -39
  8. package/dist/{azure-openai-responses-nfb21z9a.js → azure-openai-responses-f5cqsyj8.js} +15 -10
  9. package/dist/{boot-reembed-m3656j2n.js → boot-reembed-4ht4gqth.js} +17 -14
  10. package/dist/{boot-reembed-cqz9swn5.js → boot-reembed-nxpcvpj9.js} +16 -13
  11. package/dist/{boot-scrub-logs-xbxf5d7w.js → boot-scrub-logs-k93kyw8k.js} +13 -10
  12. package/dist/boot-seeds-1skcrs0e.js +32 -0
  13. package/dist/{claude-adapter-dc6289mc.js → claude-adapter-r5g0tzge.js} +39 -30
  14. package/dist/{claude-managed-adapter-naaw51me.js → claude-managed-adapter-yxkfxg8j.js} +6 -5
  15. package/dist/{claude-managed-setup-eacvchx0.js → claude-managed-setup-pkyrgshb.js} +27 -27
  16. package/dist/{claude-sdk-session-bqp2xvym.js → claude-sdk-session-jxyxnrwd.js} +8041 -7910
  17. package/dist/{cli-4derpgyk.js → cli-2hhfhfq5.js} +6 -1
  18. package/dist/{cli-rykfmgwg.js → cli-2x0e561b.js} +1 -1
  19. package/dist/{cli-tzx2ke1v.js → cli-2zy95vhm.js} +137 -64
  20. package/dist/{cli-0x01kwrd.js → cli-4cwxn7gp.js} +47 -186
  21. package/dist/{cli-xjcywfsf.js → cli-4dcpaefp.js} +12 -11
  22. package/dist/{cli-v7fn5gms.js → cli-4x0csdjq.js} +164 -76
  23. package/dist/{cli-12tszpk9.js → cli-5bcd7sfy.js} +91 -29
  24. package/dist/{cli-jz4w45qt.js → cli-5k6k8ta3.js} +190 -50
  25. package/dist/{cli-tpq83z89.js → cli-5xhpb3kv.js} +20 -19
  26. package/dist/{cli-r1mxd1xh.js → cli-7af8yhav.js} +6 -179
  27. package/dist/{cli-jajnsm8q.js → cli-7tre70zp.js} +18160 -31345
  28. package/dist/{cli-447dt1h3.js → cli-8ev9xqnx.js} +218 -25
  29. package/dist/cli-bsky8g7w.js +449 -0
  30. package/dist/{cli-0z2v4nhw.js → cli-cat6h73s.js} +1 -1
  31. package/dist/{cli-25fcq4b4.js → cli-cebmgwsc.js} +15 -11
  32. package/dist/{cli-shkxm1vn.js → cli-cvatsam7.js} +189 -13
  33. package/dist/{cli-2658f6at.js → cli-cvk6yzw5.js} +6 -8
  34. package/dist/cli-dbmwby6a.js +9 -0
  35. package/dist/{cli-ptr8h7kp.js → cli-eg0b3p0k.js} +5 -218
  36. package/dist/cli-f9w1semm.js +413 -0
  37. package/dist/{cli-523679eh.js → cli-g739zqzt.js} +6 -5
  38. package/dist/{cli-dv6cdjs2.js → cli-gd4favx9.js} +28 -7
  39. package/dist/{cli-c8a36vcc.js → cli-gpqpmns7.js} +2 -2
  40. package/dist/{cli-5nbmpy8w.js → cli-hb5c2x5y.js} +1 -1
  41. package/dist/{cli-741yb0xx.js → cli-hmsw1gpy.js} +55 -169
  42. package/dist/{cli-qydf22qq.js → cli-jf7wmv1r.js} +2562 -735
  43. package/dist/{cli-mfe5btp9.js → cli-jxs2ygaw.js} +317 -121
  44. package/dist/{cli-kmcpfwn2.js → cli-jyy6pm2f.js} +19 -3
  45. package/dist/cli-kdkwd3yr.js +615 -0
  46. package/dist/{cli-6cs6wzxt.js → cli-kh04eqwe.js} +2 -2
  47. package/dist/{cli-9hsgwz4w.js → cli-kp42yek0.js} +1309 -391
  48. package/dist/cli-ma3zvh39.js +10404 -0
  49. package/dist/{cli-ybgv4kw2.js → cli-mbssg1xv.js} +9 -2
  50. package/dist/{cli-jsp14b6c.js → cli-mzfth0bp.js} +38 -1
  51. package/dist/{cli-r2ap2czm.js → cli-nexqx4ve.js} +6 -0
  52. package/dist/{cli-f8gy6r2r.js → cli-nq7yqw7b.js} +19 -8
  53. package/dist/{cli-10nhj6xq.js → cli-nt8hecg9.js} +34 -33
  54. package/dist/cli-p0r8sxj5.js +303 -0
  55. package/dist/{cli-58e8yr0d.js → cli-pkd6s2wy.js} +4 -2
  56. package/dist/{cli-a8dvhzrt.js → cli-q24re23n.js} +7 -5
  57. package/dist/cli-qjjvzwzd.js +222 -0
  58. package/dist/cli-qrgt5bqf.js +189 -0
  59. package/dist/{cli-et8m9xsv.js → cli-rfjw9jw2.js} +22 -10
  60. package/dist/{cli-7e398j1h.js → cli-rj0gqwwp.js} +3 -3
  61. package/dist/{cli-btfv8y88.js → cli-rnyzn44p.js} +2 -2
  62. package/dist/{cli-d5czme6m.js → cli-s3hwpt9v.js} +4754 -4945
  63. package/dist/{cli-0jwe9034.js → cli-sptrj5f5.js} +3 -3
  64. package/dist/{cli-0q3avq3s.js → cli-sqvfa090.js} +19 -11
  65. package/dist/{cli-azhgzetg.js → cli-swfmp1fx.js} +27 -27
  66. package/dist/{cli-jyk0ynw2.js → cli-t845n9xk.js} +23 -10
  67. package/dist/{cli-zpep9q5e.js → cli-tcen9p5w.js} +20 -15
  68. package/dist/{cli-74h9hscv.js → cli-tre4bdgq.js} +1 -1
  69. package/dist/{cli-pm1rst0h.js → cli-twrh04ap.js} +30 -15
  70. package/dist/{cli-phsaj4xq.js → cli-v0pvvhfq.js} +1 -1
  71. package/dist/{cli-ydmcgve1.js → cli-vc9bp061.js} +5 -5
  72. package/dist/{cli-g2whhdrf.js → cli-vxe6qa4h.js} +1 -1
  73. package/dist/{cli-vctdqs5h.js → cli-vy3ed88x.js} +15 -2
  74. package/dist/{cli-br0qdrnp.js → cli-vyqs9ya8.js} +18 -18
  75. package/dist/{cli-cpvsaqsw.js → cli-w0bwte75.js} +8 -5
  76. package/dist/cli-wbvnn6tk.js +861 -0
  77. package/dist/{cli-r94z9p1z.js → cli-wgbezhw2.js} +3 -0
  78. package/dist/{cli-evvtk35y.js → cli-wjgs5wxe.js} +7 -7
  79. package/dist/cli-wxkkd0e0.js +33 -0
  80. package/dist/{cli-0wgxmwf6.js → cli-xk79303e.js} +20 -7
  81. package/dist/{cli-ktmyrtpn.js → cli-xqpk3rp7.js} +33 -10
  82. package/dist/{cli-ygwm91nt.js → cli-yy6dew39.js} +1 -1
  83. package/dist/cli-zp38xvtm.js +9487 -0
  84. package/dist/{cli-tfky2838.js → cli-zvhd3f64.js} +4 -4
  85. package/dist/{cli-jayjpjmb.js → cli-zxqx25nz.js} +66 -23
  86. package/dist/cli.js +40 -32
  87. package/dist/{cloudflare-workers-ai-system-one-k6fbxw9d.js → cloudflare-workers-ai-system-one-k8ddqjkq.js} +8 -6
  88. package/dist/{codex-adapter-nmxcatww.js → codex-adapter-esvmnhn7.js} +24 -23
  89. package/dist/{codex-hook-20me6byw.js → codex-hook-m73jmqgx.js} +19 -3
  90. package/dist/{codex-login-w6fz4xbz.js → codex-login-cf7mzsgg.js} +2 -2
  91. package/dist/{codex-session-runner-90aa80ev.js → codex-session-runner-ban9excr.js} +24 -23
  92. package/dist/{commands-8wcq1kn7.js → commands-75413p2n.js} +13 -10
  93. package/dist/{db-j40kc4se.js → db-7f5pecwg.js} +17 -10
  94. package/dist/{dispatcher-4zqy768d.js → dispatcher-fh9at8nz.js} +41 -37
  95. package/dist/dsh-adapter-wpze65d4.js +24 -0
  96. package/dist/{e2b-ez07znam.js → e2b-gjgdjp91.js} +12 -9
  97. package/dist/easter-egg-3d-3w5c2n4c.js +1057 -0
  98. package/dist/{execute-6e7qeyk4.js → execute-f50wg9nh.js} +203 -49
  99. package/dist/{google-generative-ai-k6n5nbpp.js → google-generative-ai-jxxpnegy.js} +2 -2
  100. package/dist/{google-vertex-44xxtcvp.js → google-vertex-x7q1angm.js} +5 -5
  101. package/dist/{handlers-kjdce1w5.js → handlers-w13787bb.js} +44 -40
  102. package/dist/{hook-r2t4bqfg.js → hook-46g1jrvx.js} +34 -20
  103. package/dist/{hook-czx13n12.js → hook-4tpts2ry.js} +25 -21
  104. package/dist/{http-3bbb19be.js → http-19pzbfrt.js} +1440 -283
  105. package/dist/{index-668me3f0.js → index-8fd4dm4h.js} +42 -38
  106. package/dist/{index-fg0dsp6c.js → index-dqmp15bq.js} +41 -37
  107. package/dist/{index-kkv84jq9.js → index-qb4q1y3e.js} +41 -37
  108. package/dist/index-s75wc4wd.js +33 -0
  109. package/dist/{index-zg7vp46x.js → index-scptvdxg.js} +64 -38
  110. package/dist/{keepalive-yra8dy57.js → keepalive-xa5ts9cd.js} +15 -12
  111. package/dist/{lead-va0pad2c.js → lead-qp4xkvjq.js} +59 -54
  112. package/dist/{maintenance-hqewtmyg.js → maintenance-rm5885hm.js} +17 -14
  113. package/dist/{mistral-conversations-pc3ntnxt.js → mistral-conversations-rw7fbt22.js} +4 -4
  114. package/dist/{node-a5e00qhp.js → node-8zkdq42h.js} +834 -833
  115. package/dist/node-f0ykebbv.js +2107 -0
  116. package/dist/node-wyamey5r.js +19 -0
  117. package/dist/{oauth-refresh-sweep-7rdt1m9n.js → oauth-refresh-sweep-1csdfebf.js} +14 -11
  118. package/dist/{onboard-j6ms6d0x.js → onboard-r6b78cs4.js} +10 -10
  119. package/dist/{openai-codex-responses-bbancrr0.js → openai-codex-responses-efvrgrq3.js} +4 -4
  120. package/dist/{openai-completions-jpaj5g2b.js → openai-completions-bbbrrz4z.js} +12 -8
  121. package/dist/{openai-responses-200k1wx4.js → openai-responses-9jjyrcm1.js} +15 -10
  122. package/dist/{opencode-adapter-89rabkw2.js → opencode-adapter-kb3g6pkf.js} +12 -9
  123. package/dist/{otel-impl-a792rjz0.js → otel-impl-0y9knpky.js} +6 -6
  124. package/dist/{pi-mono-adapter-g7qzvr3v.js → pi-mono-adapter-z6s1bme2.js} +128 -37
  125. package/dist/{pricing-refresh-wx0tp7cb.js → pricing-refresh-mth26tgp.js} +15 -12
  126. package/dist/{rbac-roles-8tzawacv.js → rbac-roles-kwntb23q.js} +17 -12
  127. package/dist/rbac-roles-vpk4ebm8.js +45 -0
  128. package/dist/{registry-v5wytg0s.js → registry-km6t1jd2.js} +1 -1
  129. package/dist/{render-v2-mm7zswb8.js → render-v2-hcm7h00y.js} +17 -14
  130. package/dist/{runtime-zyssgse0.js → runtime-vfjsfsc5.js} +5 -4
  131. package/dist/{setup-8y70ys6t.js → setup-hbyzd65h.js} +2 -2
  132. package/dist/{virtual-modules-6nmk7h3n.js → virtual-modules-9bv7ry91.js} +9 -7
  133. package/dist/{work-objects-fg6xkb0n.js → work-objects-m09sxnhe.js} +44 -40
  134. package/dist/{worker-wmwhxsph.js → worker-0h35rvk4.js} +59 -54
  135. package/dist/{x-n3e0v3xa.js → x-f1gt1pz3.js} +2 -2
  136. package/openapi.json +699 -26
  137. package/package.json +19 -11
  138. package/src/azure-devops/api.ts +121 -0
  139. package/src/azure-devops/auth.ts +78 -0
  140. package/src/azure-devops/handlers.ts +413 -0
  141. package/src/azure-devops/index.ts +27 -0
  142. package/src/azure-devops/templates.ts +108 -0
  143. package/src/azure-devops/types.ts +90 -0
  144. package/src/be/api-drain.ts +184 -0
  145. package/src/be/db/tasks/read.ts +32 -7
  146. package/src/be/db/tasks/write.ts +21 -4
  147. package/src/be/db-client.ts +11 -2
  148. package/src/be/db-retention.ts +95 -32
  149. package/src/be/db.ts +44 -19
  150. package/src/be/memory/constants.ts +16 -0
  151. package/src/be/memory/graph-expansion.ts +8 -1
  152. package/src/be/memory/index-content.ts +20 -1
  153. package/src/be/memory/key-guard.ts +93 -0
  154. package/src/be/memory/key-paths.ts +103 -0
  155. package/src/be/memory/link-resolver.ts +29 -3
  156. package/src/be/memory/providers/sqlite-store.ts +152 -45
  157. package/src/be/memory/raters/llm-summarizer.ts +10 -4
  158. package/src/be/memory/raters/llm.ts +15 -5
  159. package/src/be/memory/raters/store.ts +6 -3
  160. package/src/be/memory/raters/types.ts +11 -0
  161. package/src/be/memory/reranker.ts +38 -7
  162. package/src/be/memory/types.ts +12 -1
  163. package/src/be/migrations/190_memory_rating_model.sql +7 -0
  164. package/src/be/migrations/191_context_versions_previous_index.sql +8 -0
  165. package/src/be/migrations/192_favorites_agent_fs_path.sql +36 -0
  166. package/src/be/onboarding.ts +7 -1
  167. package/src/be/pricing-normalize.ts +4 -2
  168. package/src/be/scripts/typecheck.ts +4 -3
  169. package/src/be/seed-pricing.ts +16 -0
  170. package/src/be/seed-prompt-templates.ts +1 -0
  171. package/src/be/swarm-config-guard.ts +46 -17
  172. package/src/be/task-citations.ts +11 -5
  173. package/src/be/users.ts +3 -0
  174. package/src/cli.tsx +3 -2
  175. package/src/comb/agent-fs.ts +39 -0
  176. package/src/comb/config.ts +37 -0
  177. package/src/comb/markers.ts +37 -0
  178. package/src/comb/review-batch.ts +486 -0
  179. package/src/comb/templates.ts +88 -0
  180. package/src/commands/claude-managed-setup.ts +33 -31
  181. package/src/commands/context-preamble.ts +4 -1
  182. package/src/commands/hook.ts +2 -1
  183. package/src/commands/provider-credentials.ts +28 -15
  184. package/src/commands/runner.ts +458 -110
  185. package/src/commands/templates.ts +10 -0
  186. package/src/e2b/env.ts +2 -0
  187. package/src/extensions/catalog.generated.json +17 -0
  188. package/src/extensions/contract-types.generated.ts +1 -1
  189. package/src/fs/agent-fs-provider.ts +106 -2
  190. package/src/github/handlers.ts +10 -74
  191. package/src/github/reactions.ts +119 -138
  192. package/src/github/task-reactions.ts +34 -11
  193. package/src/heartbeat/heartbeat.ts +4 -0
  194. package/src/hooks/codex-hook.ts +25 -1
  195. package/src/hooks/hook.ts +14 -1
  196. package/src/hooks/pr-body-guard.ts +983 -0
  197. package/src/http/agents.ts +1 -1
  198. package/src/http/all-routes.ts +1 -0
  199. package/src/http/assets.ts +5 -17
  200. package/src/http/comb.ts +131 -0
  201. package/src/http/core.ts +14 -1
  202. package/src/http/extensions.ts +51 -27
  203. package/src/http/fs.ts +9 -17
  204. package/src/http/index.ts +27 -9
  205. package/src/http/mcp-user.ts +8 -13
  206. package/src/http/mcp.ts +19 -12
  207. package/src/http/memory.ts +80 -14
  208. package/src/http/onboarding.ts +21 -2
  209. package/src/http/poll.ts +30 -3
  210. package/src/http/realtime.ts +62 -0
  211. package/src/http/request-principal.ts +22 -0
  212. package/src/http/session-data.ts +6 -4
  213. package/src/http/stats.ts +1 -0
  214. package/src/http/status.ts +34 -2
  215. package/src/http/tasks.ts +17 -3
  216. package/src/http/users.ts +1 -1
  217. package/src/http/webhooks.ts +120 -2
  218. package/src/kv-reserved-namespaces.ts +10 -5
  219. package/src/providers/claude-adapter.ts +84 -16
  220. package/src/providers/claude-managed-adapter.ts +29 -2
  221. package/src/providers/codex-adapter.ts +1 -1
  222. package/src/providers/codex-skill-resolver.ts +6 -0
  223. package/src/providers/dsh-adapter.ts +204 -7
  224. package/src/providers/opencode-adapter.ts +24 -3
  225. package/src/providers/pi-mono-adapter.ts +154 -5
  226. package/src/providers/pi-mono-extension.ts +1 -1
  227. package/src/providers/pricing-sources.md +5 -1
  228. package/src/providers/reasoning-effort.ts +10 -2
  229. package/src/providers/types.ts +1 -1
  230. package/src/rbac/legacy-policy.ts +3 -0
  231. package/src/rbac/permissions.ts +14 -0
  232. package/src/realtime/auth.ts +63 -1
  233. package/src/realtime/tickets.ts +52 -0
  234. package/src/realtime/transport.ts +51 -22
  235. package/src/scripts-runtime/types/stdlib.d.ts +13 -5
  236. package/src/scripts-runtime/types/swarm-extension.d.ts +7 -3
  237. package/src/scripts-runtime/types/swarm-sdk.d.ts +13 -5
  238. package/src/tasks/context-key.ts +38 -1
  239. package/src/telemetry-context.ts +175 -0
  240. package/src/telemetry-contract/EVENTS.md +81 -0
  241. package/src/telemetry-contract/SOURCE.json +9 -0
  242. package/src/telemetry-contract/catalog.json +1335 -0
  243. package/src/telemetry-contract/index.ts +60 -0
  244. package/src/telemetry-contract/types.gen.ts +1971 -0
  245. package/src/telemetry-identity.ts +129 -0
  246. package/src/telemetry-snapshot.ts +211 -0
  247. package/src/telemetry-trigger.ts +125 -0
  248. package/src/telemetry-types.typetest.ts +40 -0
  249. package/src/telemetry.ts +271 -67
  250. package/src/tests/api-drain-e2e.test.ts +249 -0
  251. package/src/tests/api-drain-worker-e2e.test.ts +216 -0
  252. package/src/tests/api-drain.test.ts +351 -0
  253. package/src/tests/azure-devops-auth.test.ts +100 -0
  254. package/src/tests/azure-devops-handlers.test.ts +324 -0
  255. package/src/tests/azure-devops-webhook-malformed.test.ts +96 -0
  256. package/src/tests/claude-default-route.test.ts +260 -0
  257. package/src/tests/claude-managed-adapter.test.ts +47 -0
  258. package/src/tests/claude-managed-setup.test.ts +48 -0
  259. package/src/tests/claude-prompt-body-once.test.ts +117 -0
  260. package/src/tests/claude-routes-e2e.test.ts +316 -0
  261. package/src/tests/comb-config-guard.test.ts +38 -0
  262. package/src/tests/comb-links.test.ts +162 -0
  263. package/src/tests/comb-markers.test.ts +68 -0
  264. package/src/tests/comb-review-batch.test.ts +770 -0
  265. package/src/tests/comb-status.test.ts +152 -0
  266. package/src/tests/context-versions-retention.test.ts +314 -0
  267. package/src/tests/core-auth.test.ts +7 -0
  268. package/src/tests/db-retention.test.ts +14 -14
  269. package/src/tests/db-task-read-contract.test.ts +3 -0
  270. package/src/tests/db-task-write-contract.test.ts +3 -0
  271. package/src/tests/docs-index-footprint.test.js +3 -3
  272. package/src/tests/dsh-adapter.test.ts +134 -2
  273. package/src/tests/dsh-usage.test.ts +153 -0
  274. package/src/tests/extensions-catalog.test.ts +1 -0
  275. package/src/tests/extensions-example-deploy-awareness.test.ts +301 -0
  276. package/src/tests/extensions-http.test.ts +137 -10
  277. package/src/tests/extensions-mcp-tools.test.ts +28 -0
  278. package/src/tests/favorites-agent-fs-path.test.ts +226 -0
  279. package/src/tests/fetch-resolved-env.test.ts +24 -0
  280. package/src/tests/fixtures/azure-devops/pull-request-commented.json +129 -0
  281. package/src/tests/fixtures/azure-devops/pull-request-created.json +88 -0
  282. package/src/tests/fixtures/fake-claude-routes.ts +229 -0
  283. package/src/tests/github-handlers-reactions.test.ts +486 -0
  284. package/src/tests/github-reactions.test.ts +280 -0
  285. package/src/tests/harness-cli-version.test.ts +62 -0
  286. package/src/tests/http-api-integration.test.ts +21 -0
  287. package/src/tests/http-task-write-ownership.test.ts +24 -1
  288. package/src/tests/internal-ai/complete-structured.test.ts +94 -0
  289. package/src/tests/internal-ai/credentials.test.ts +22 -0
  290. package/src/tests/internal-ai/models.test.ts +36 -2
  291. package/src/tests/internal-ai/schema-parity.test.ts +25 -1
  292. package/src/tests/internal-ai/summarize-session.test.ts +23 -7
  293. package/src/tests/mcp-user-route.test.ts +133 -0
  294. package/src/tests/memory-key-paths.test.ts +1055 -0
  295. package/src/tests/memory-link-resolver.test.ts +34 -0
  296. package/src/tests/memory-rate-endpoint.test.ts +66 -0
  297. package/src/tests/memory-rater-llm-summarizer.test.ts +2 -1
  298. package/src/tests/memory-rater-llm.test.ts +73 -0
  299. package/src/tests/memory-rater-store.test.ts +31 -0
  300. package/src/tests/memory-reranker.test.ts +40 -0
  301. package/src/tests/onboarding.test.ts +108 -0
  302. package/src/tests/opencode-adapter.test.ts +57 -0
  303. package/src/tests/opencode-plugin.test.ts +4 -0
  304. package/src/tests/pi-codemode.test.ts +82 -4
  305. package/src/tests/pi-mono-adapter.test.ts +265 -2
  306. package/src/tests/pr-body-leaks.test.ts +789 -0
  307. package/src/tests/preload.ts +14 -0
  308. package/src/tests/provider-registration.test.ts +0 -2
  309. package/src/tests/providers/pi-cost.test.ts +190 -4
  310. package/src/tests/rbac-engine.test.ts +25 -1
  311. package/src/tests/realtime-room-auth.test.ts +104 -1
  312. package/src/tests/realtime-tickets.test.ts +74 -0
  313. package/src/tests/realtime-transport.test.ts +131 -4
  314. package/src/tests/runner-api-drain.test.ts +301 -0
  315. package/src/tests/runner-fallback-output.test.ts +61 -0
  316. package/src/tests/runner-fenced-json-output.test.ts +178 -0
  317. package/src/tests/runner-slot-reconcile.test.ts +199 -0
  318. package/src/tests/script-connections.test.ts +6 -0
  319. package/src/tests/send-task-requested-by.test.ts +133 -15
  320. package/src/tests/session-costs-recompute-all-providers.test.ts +23 -0
  321. package/src/tests/task-lifecycle-telemetry.test.ts +8 -3
  322. package/src/tests/task-reactions.test.ts +29 -6
  323. package/src/tests/telemetry-context.test.ts +314 -0
  324. package/src/tests/telemetry-init.test.ts +51 -19
  325. package/src/tests/telemetry-snapshot.test.ts +229 -0
  326. package/src/tests/telemetry-trigger.test.ts +200 -0
  327. package/src/tests/template-registry-helpers.ts +1 -0
  328. package/src/tests/vcs-azure-devops.test.ts +73 -0
  329. package/src/tests/webhooks-task-blocked.test.ts +23 -0
  330. package/src/tests/workflow-agent-task-retry.test.ts +363 -0
  331. package/src/tests/workflow-definition-telemetry.test.ts +4 -4
  332. package/src/tests/workflow-llm.test.ts +14 -0
  333. package/src/tools/context-diff.ts +20 -0
  334. package/src/tools/extension-install.ts +27 -16
  335. package/src/tools/memory-edit.ts +47 -3
  336. package/src/tools/memory-search.ts +13 -1
  337. package/src/tools/memory-store.ts +55 -3
  338. package/src/tools/poll-task.ts +20 -1
  339. package/src/tools/send-task.ts +9 -1
  340. package/src/tools/task-action.ts +11 -0
  341. package/src/types.ts +45 -8
  342. package/src/utils/api-drain.ts +24 -0
  343. package/src/utils/constants.ts +57 -16
  344. package/src/utils/credentials.test.ts +31 -1
  345. package/src/utils/credentials.ts +20 -9
  346. package/src/utils/dsh-usage.ts +53 -0
  347. package/src/utils/harness-cli-version.ts +6 -4
  348. package/src/utils/internal-ai/complete-structured.ts +26 -3
  349. package/src/utils/internal-ai/credentials.ts +23 -9
  350. package/src/utils/internal-ai/index.ts +8 -1
  351. package/src/utils/internal-ai/models.ts +34 -8
  352. package/src/utils/internal-ai/summarize-session.ts +22 -8
  353. package/src/utils/pr-body-leaks.ts +172 -0
  354. package/src/utils/secret-scrubber.ts +8 -0
  355. package/src/utils/task-attachment-links.ts +14 -8
  356. package/src/vcs/azure-devops.ts +80 -0
  357. package/src/vcs/index.ts +5 -1
  358. package/src/vcs/types.ts +2 -2
  359. package/src/workflows/recovery.ts +26 -1
  360. package/src/workflows/resume.ts +31 -4
  361. package/src/workflows/task-step-routing.ts +75 -2
  362. package/templates/community/open-prompt-showreel/PLAYBOOK.md +336 -0
  363. package/templates/community/open-prompt-showreel/README.md +33 -0
  364. package/templates/community/open-prompt-showreel/example/tla-races/facts.ts +145 -0
  365. package/templates/community/open-prompt-showreel/example/tla-races/facts.v3.json +140 -0
  366. package/templates/community/open-prompt-showreel/example/tla-races/music.mist-city.json +8 -0
  367. package/templates/community/open-prompt-showreel/example/tla-races/reel.html +805 -0
  368. package/templates/community/open-prompt-showreel/example/tla-races/smoke.sh +48 -0
  369. package/templates/community/open-prompt-showreel/lead-prompt.md +89 -0
  370. package/templates/community/open-prompt-showreel/setup.sh +167 -0
  371. package/templates/community/open-prompt-showreel/skills/motion-design-replication/SKILL.md +85 -0
  372. package/templates/community/open-prompt-showreel/skills/motion-design-video-analysis/SKILL.md +115 -0
  373. package/templates/community/open-prompt-showreel/skills/open-prompt-showreel/SKILL.md +147 -0
  374. package/templates/community/open-prompt-showreel/skills/video-generation/SKILL.md +195 -0
  375. package/templates/community/open-prompt-showreel/tools/fetch-music.sh +65 -0
  376. package/templates/community/open-prompt-showreel/tools/music-analyze.py +69 -0
  377. package/templates/community/open-prompt-showreel/tools/music-current.sh +34 -0
  378. package/templates/community/open-prompt-showreel/tools/music-cut.sh +36 -0
  379. package/templates/community/open-prompt-showreel/tools/music-refine.py +39 -0
  380. package/templates/community/open-prompt-showreel/tools/render.mjs +157 -0
  381. package/templates/community/open-prompt-showreel/tools/sheet.sh +44 -0
  382. package/templates/community/open-prompt-showreel/tools/web-compress.sh +17 -0
  383. package/templates/community/open-prompt-showreel/tools/x-reencode.sh +21 -0
  384. package/templates/extensions/README.md +1 -0
  385. package/templates/extensions/deploy-awareness/README.md +28 -0
  386. package/templates/extensions/deploy-awareness/hooks.ts +152 -0
  387. package/templates/extensions/deploy-awareness/manifest.json +8 -0
  388. package/templates/skills/memory/config.json +2 -2
  389. package/templates/skills/memory/content.md +59 -5
  390. package/templates/skills/swarm-extensions/config.json +1 -1
  391. package/templates/skills/swarm-extensions/content.md +28 -5
  392. package/tsconfig.json +3 -0
  393. package/dist/boot-seeds-gsetbs5y.js +0 -28
  394. package/dist/cli-j490egb5.js +0 -5632
  395. package/dist/cli-tjf4cn8z.js +0 -9119
  396. package/dist/cli-tmqt7dpj.js +0 -572
  397. package/dist/dsh-adapter-mpnzgztj.js +0 -19
  398. package/dist/index-7aj368tw.js +0 -30
@@ -4,62 +4,66 @@ import {
4
4
  runRebootSweep,
5
5
  startHeartbeat,
6
6
  stopHeartbeat
7
- } from "./cli-a8dvhzrt.js";
8
- import"./cli-9hsgwz4w.js";
9
- import"./cli-0z2v4nhw.js";
10
- import"./cli-cpvsaqsw.js";
7
+ } from "./cli-q24re23n.js";
8
+ import"./cli-kp42yek0.js";
9
+ import"./cli-cat6h73s.js";
10
+ import"./cli-w0bwte75.js";
11
11
  import"./cli-re8z5p8p.js";
12
- import"./cli-jsp14b6c.js";
13
- import"./cli-tzx2ke1v.js";
14
- import"./cli-tmqt7dpj.js";
15
- import"./cli-tfky2838.js";
16
- import"./cli-vctdqs5h.js";
17
- import"./cli-tpq83z89.js";
12
+ import"./cli-wxkkd0e0.js";
13
+ import"./cli-zvhd3f64.js";
14
+ import"./cli-vy3ed88x.js";
15
+ import"./cli-5xhpb3kv.js";
18
16
  import"./cli-epan13p1.js";
19
- import"./cli-y89t4nca.js";
20
17
  import"./cli-f14fvzag.js";
21
- import"./cli-12tszpk9.js";
22
- import"./cli-ygwm91nt.js";
18
+ import"./cli-y89t4nca.js";
19
+ import"./cli-5bcd7sfy.js";
20
+ import"./cli-yy6dew39.js";
23
21
  import"./cli-3dpj7atn.js";
24
- import"./cli-10nhj6xq.js";
22
+ import"./cli-2x0e561b.js";
23
+ import"./cli-nt8hecg9.js";
25
24
  import"./cli-rb9m6rpe.js";
26
- import"./cli-rykfmgwg.js";
27
- import"./cli-0jwe9034.js";
28
- import"./cli-6cs6wzxt.js";
25
+ import"./cli-mzfth0bp.js";
26
+ import"./cli-sptrj5f5.js";
27
+ import"./cli-5k6k8ta3.js";
28
+ import"./cli-cebmgwsc.js";
29
+ import"./cli-kh04eqwe.js";
29
30
  import"./cli-fad8m16k.js";
30
- import"./cli-jz4w45qt.js";
31
- import"./cli-25fcq4b4.js";
32
31
  import"./cli-bsakbbkm.js";
33
32
  import"./cli-trc24wk2.js";
34
33
  import"./cli-51tf7ac3.js";
35
- import"./cli-azhgzetg.js";
34
+ import"./cli-swfmp1fx.js";
36
35
  import"./cli-q51yprfq.js";
37
36
  import"./cli-3er6gcsn.js";
38
- import"./cli-2658f6at.js";
37
+ import"./cli-cvk6yzw5.js";
39
38
  import"./cli-yatxqynm.js";
40
- import"./cli-qydf22qq.js";
41
- import"./cli-3qhyh31j.js";
42
- import"./cli-ktmyrtpn.js";
43
- import"./cli-r1mxd1xh.js";
44
- import"./cli-n7h1kqpf.js";
45
- import"./cli-ptr8h7kp.js";
46
- import"./cli-dv6cdjs2.js";
47
- import"./cli-1a2j50m0.js";
48
- import"./cli-0wgxmwf6.js";
49
- import"./cli-ywybs5as.js";
50
- import"./cli-ej6gbxfb.js";
51
- import"./cli-kmcpfwn2.js";
52
- import"./cli-sd0mxa3c.js";
53
- import"./cli-w5e1d1vv.js";
54
- import"./cli-0q3avq3s.js";
55
- import"./cli-r2ap2czm.js";
56
39
  import"./cli-13hw4z91.js";
40
+ import"./cli-ykk5jaax.js";
57
41
  import"./cli-btbzvq95.js";
58
42
  import"./cli-1m2e086m.js";
59
- import"./cli-ykk5jaax.js";
60
43
  import"./cli-bzr0ftht.js";
61
44
  import"./cli-bd957dgb.js";
62
45
  import"./cli-pzxba7gw.js";
46
+ import"./cli-2zy95vhm.js";
47
+ import"./cli-kdkwd3yr.js";
48
+ import"./cli-jf7wmv1r.js";
49
+ import"./cli-xqpk3rp7.js";
50
+ import"./cli-3qhyh31j.js";
51
+ import"./cli-7af8yhav.js";
52
+ import"./cli-n7h1kqpf.js";
53
+ import"./cli-eg0b3p0k.js";
54
+ import"./cli-xk79303e.js";
55
+ import"./cli-ywybs5as.js";
56
+ import"./cli-gd4favx9.js";
57
+ import"./cli-qrgt5bqf.js";
58
+ import"./cli-qjjvzwzd.js";
59
+ import"./cli-1a2j50m0.js";
60
+ import"./cli-f9w1semm.js";
61
+ import"./cli-ej6gbxfb.js";
62
+ import"./cli-jyy6pm2f.js";
63
+ import"./cli-sd0mxa3c.js";
64
+ import"./cli-w5e1d1vv.js";
65
+ import"./cli-sqvfa090.js";
66
+ import"./cli-nexqx4ve.js";
63
67
  import"./cli-f7kvq46p.js";
64
68
  import"./cli-zf8jjwex.js";
65
69
  import"./cli-bc05qbss.js";
@@ -20,66 +20,70 @@ import {
20
20
  stopWaitPoller,
21
21
  subscribeWaitToBus,
22
22
  validateTemplateVariables
23
- } from "./cli-9hsgwz4w.js";
24
- import"./cli-0z2v4nhw.js";
25
- import"./cli-cpvsaqsw.js";
23
+ } from "./cli-kp42yek0.js";
24
+ import"./cli-cat6h73s.js";
25
+ import"./cli-w0bwte75.js";
26
26
  import"./cli-re8z5p8p.js";
27
- import"./cli-jsp14b6c.js";
28
- import"./cli-tzx2ke1v.js";
29
- import"./cli-tmqt7dpj.js";
30
- import"./cli-tfky2838.js";
31
- import"./cli-vctdqs5h.js";
27
+ import"./cli-wxkkd0e0.js";
28
+ import"./cli-zvhd3f64.js";
29
+ import"./cli-vy3ed88x.js";
32
30
  import {
33
31
  findEntryNodes,
34
32
  getSuccessors
35
- } from "./cli-tpq83z89.js";
33
+ } from "./cli-5xhpb3kv.js";
36
34
  import"./cli-epan13p1.js";
37
- import"./cli-y89t4nca.js";
38
35
  import"./cli-f14fvzag.js";
39
- import"./cli-12tszpk9.js";
40
- import"./cli-ygwm91nt.js";
36
+ import"./cli-y89t4nca.js";
37
+ import"./cli-5bcd7sfy.js";
38
+ import"./cli-yy6dew39.js";
41
39
  import"./cli-3dpj7atn.js";
42
- import"./cli-10nhj6xq.js";
40
+ import"./cli-2x0e561b.js";
41
+ import"./cli-nt8hecg9.js";
43
42
  import"./cli-rb9m6rpe.js";
44
- import"./cli-rykfmgwg.js";
45
- import"./cli-0jwe9034.js";
46
- import"./cli-6cs6wzxt.js";
43
+ import"./cli-mzfth0bp.js";
44
+ import"./cli-sptrj5f5.js";
45
+ import"./cli-5k6k8ta3.js";
46
+ import"./cli-cebmgwsc.js";
47
+ import"./cli-kh04eqwe.js";
47
48
  import"./cli-fad8m16k.js";
48
- import"./cli-jz4w45qt.js";
49
- import"./cli-25fcq4b4.js";
50
49
  import"./cli-bsakbbkm.js";
51
50
  import"./cli-trc24wk2.js";
52
51
  import"./cli-51tf7ac3.js";
53
- import"./cli-azhgzetg.js";
52
+ import"./cli-swfmp1fx.js";
54
53
  import"./cli-q51yprfq.js";
55
54
  import"./cli-3er6gcsn.js";
56
- import"./cli-2658f6at.js";
55
+ import"./cli-cvk6yzw5.js";
57
56
  import"./cli-yatxqynm.js";
58
- import"./cli-qydf22qq.js";
57
+ import"./cli-13hw4z91.js";
58
+ import"./cli-ykk5jaax.js";
59
+ import"./cli-btbzvq95.js";
60
+ import"./cli-1m2e086m.js";
61
+ import"./cli-bzr0ftht.js";
62
+ import"./cli-bd957dgb.js";
63
+ import"./cli-pzxba7gw.js";
64
+ import"./cli-2zy95vhm.js";
65
+ import"./cli-kdkwd3yr.js";
66
+ import"./cli-jf7wmv1r.js";
67
+ import"./cli-xqpk3rp7.js";
59
68
  import"./cli-3qhyh31j.js";
60
- import"./cli-ktmyrtpn.js";
61
- import"./cli-r1mxd1xh.js";
69
+ import"./cli-7af8yhav.js";
62
70
  import"./cli-n7h1kqpf.js";
71
+ import"./cli-eg0b3p0k.js";
72
+ import"./cli-xk79303e.js";
73
+ import"./cli-ywybs5as.js";
74
+ import"./cli-gd4favx9.js";
75
+ import"./cli-qrgt5bqf.js";
63
76
  import {
64
77
  interpolate
65
- } from "./cli-ptr8h7kp.js";
66
- import"./cli-dv6cdjs2.js";
78
+ } from "./cli-qjjvzwzd.js";
67
79
  import"./cli-1a2j50m0.js";
68
- import"./cli-0wgxmwf6.js";
69
- import"./cli-ywybs5as.js";
80
+ import"./cli-f9w1semm.js";
70
81
  import"./cli-ej6gbxfb.js";
71
- import"./cli-kmcpfwn2.js";
82
+ import"./cli-jyy6pm2f.js";
72
83
  import"./cli-sd0mxa3c.js";
73
84
  import"./cli-w5e1d1vv.js";
74
- import"./cli-0q3avq3s.js";
75
- import"./cli-r2ap2czm.js";
76
- import"./cli-13hw4z91.js";
77
- import"./cli-btbzvq95.js";
78
- import"./cli-1m2e086m.js";
79
- import"./cli-ykk5jaax.js";
80
- import"./cli-bzr0ftht.js";
81
- import"./cli-bd957dgb.js";
82
- import"./cli-pzxba7gw.js";
85
+ import"./cli-sqvfa090.js";
86
+ import"./cli-nexqx4ve.js";
83
87
  import {
84
88
  workflowEventBus
85
89
  } from "./cli-f7kvq46p.js";
@@ -4,61 +4,65 @@ import {
4
4
  runScheduleNow,
5
5
  startScheduler,
6
6
  stopScheduler
7
- } from "./cli-9hsgwz4w.js";
8
- import"./cli-0z2v4nhw.js";
9
- import"./cli-cpvsaqsw.js";
7
+ } from "./cli-kp42yek0.js";
8
+ import"./cli-cat6h73s.js";
9
+ import"./cli-w0bwte75.js";
10
10
  import"./cli-re8z5p8p.js";
11
- import"./cli-jsp14b6c.js";
12
- import"./cli-tzx2ke1v.js";
13
- import"./cli-tmqt7dpj.js";
14
- import"./cli-tfky2838.js";
15
- import"./cli-vctdqs5h.js";
16
- import"./cli-tpq83z89.js";
11
+ import"./cli-wxkkd0e0.js";
12
+ import"./cli-zvhd3f64.js";
13
+ import"./cli-vy3ed88x.js";
14
+ import"./cli-5xhpb3kv.js";
17
15
  import"./cli-epan13p1.js";
18
- import"./cli-y89t4nca.js";
19
16
  import"./cli-f14fvzag.js";
20
- import"./cli-12tszpk9.js";
21
- import"./cli-ygwm91nt.js";
17
+ import"./cli-y89t4nca.js";
18
+ import"./cli-5bcd7sfy.js";
19
+ import"./cli-yy6dew39.js";
22
20
  import"./cli-3dpj7atn.js";
23
- import"./cli-10nhj6xq.js";
21
+ import"./cli-2x0e561b.js";
22
+ import"./cli-nt8hecg9.js";
24
23
  import"./cli-rb9m6rpe.js";
25
- import"./cli-rykfmgwg.js";
26
- import"./cli-0jwe9034.js";
27
- import"./cli-6cs6wzxt.js";
24
+ import"./cli-mzfth0bp.js";
25
+ import"./cli-sptrj5f5.js";
26
+ import"./cli-5k6k8ta3.js";
27
+ import"./cli-cebmgwsc.js";
28
+ import"./cli-kh04eqwe.js";
28
29
  import"./cli-fad8m16k.js";
29
- import"./cli-jz4w45qt.js";
30
- import"./cli-25fcq4b4.js";
31
30
  import"./cli-bsakbbkm.js";
32
31
  import"./cli-trc24wk2.js";
33
32
  import"./cli-51tf7ac3.js";
34
- import"./cli-azhgzetg.js";
33
+ import"./cli-swfmp1fx.js";
35
34
  import"./cli-q51yprfq.js";
36
35
  import"./cli-3er6gcsn.js";
37
- import"./cli-2658f6at.js";
36
+ import"./cli-cvk6yzw5.js";
38
37
  import"./cli-yatxqynm.js";
39
- import"./cli-qydf22qq.js";
40
- import"./cli-3qhyh31j.js";
41
- import"./cli-ktmyrtpn.js";
42
- import"./cli-r1mxd1xh.js";
43
- import"./cli-n7h1kqpf.js";
44
- import"./cli-ptr8h7kp.js";
45
- import"./cli-dv6cdjs2.js";
46
- import"./cli-1a2j50m0.js";
47
- import"./cli-0wgxmwf6.js";
48
- import"./cli-ywybs5as.js";
49
- import"./cli-ej6gbxfb.js";
50
- import"./cli-kmcpfwn2.js";
51
- import"./cli-sd0mxa3c.js";
52
- import"./cli-w5e1d1vv.js";
53
- import"./cli-0q3avq3s.js";
54
- import"./cli-r2ap2czm.js";
55
38
  import"./cli-13hw4z91.js";
39
+ import"./cli-ykk5jaax.js";
56
40
  import"./cli-btbzvq95.js";
57
41
  import"./cli-1m2e086m.js";
58
- import"./cli-ykk5jaax.js";
59
42
  import"./cli-bzr0ftht.js";
60
43
  import"./cli-bd957dgb.js";
61
44
  import"./cli-pzxba7gw.js";
45
+ import"./cli-2zy95vhm.js";
46
+ import"./cli-kdkwd3yr.js";
47
+ import"./cli-jf7wmv1r.js";
48
+ import"./cli-xqpk3rp7.js";
49
+ import"./cli-3qhyh31j.js";
50
+ import"./cli-7af8yhav.js";
51
+ import"./cli-n7h1kqpf.js";
52
+ import"./cli-eg0b3p0k.js";
53
+ import"./cli-xk79303e.js";
54
+ import"./cli-ywybs5as.js";
55
+ import"./cli-gd4favx9.js";
56
+ import"./cli-qrgt5bqf.js";
57
+ import"./cli-qjjvzwzd.js";
58
+ import"./cli-1a2j50m0.js";
59
+ import"./cli-f9w1semm.js";
60
+ import"./cli-ej6gbxfb.js";
61
+ import"./cli-jyy6pm2f.js";
62
+ import"./cli-sd0mxa3c.js";
63
+ import"./cli-w5e1d1vv.js";
64
+ import"./cli-sqvfa090.js";
65
+ import"./cli-nexqx4ve.js";
62
66
  import"./cli-f7kvq46p.js";
63
67
  import"./cli-zf8jjwex.js";
64
68
  import"./cli-bc05qbss.js";
@@ -0,0 +1,33 @@
1
+ import {
2
+ getEmbeddingProvider,
3
+ getMemoryStore,
4
+ resetEmbeddingProvider
5
+ } from "./cli-5k6k8ta3.js";
6
+ import"./cli-cebmgwsc.js";
7
+ import"./cli-cvk6yzw5.js";
8
+ import"./cli-jf7wmv1r.js";
9
+ import"./cli-xqpk3rp7.js";
10
+ import"./cli-3qhyh31j.js";
11
+ import"./cli-7af8yhav.js";
12
+ import"./cli-n7h1kqpf.js";
13
+ import"./cli-eg0b3p0k.js";
14
+ import"./cli-xk79303e.js";
15
+ import"./cli-ywybs5as.js";
16
+ import"./cli-gd4favx9.js";
17
+ import"./cli-qrgt5bqf.js";
18
+ import"./cli-qjjvzwzd.js";
19
+ import"./cli-1a2j50m0.js";
20
+ import"./cli-f9w1semm.js";
21
+ import"./cli-ej6gbxfb.js";
22
+ import"./cli-jyy6pm2f.js";
23
+ import"./cli-sd0mxa3c.js";
24
+ import"./cli-w5e1d1vv.js";
25
+ import"./cli-sqvfa090.js";
26
+ import"./cli-nexqx4ve.js";
27
+ import"./cli-zf8jjwex.js";
28
+ import"./cli-bc05qbss.js";
29
+ export {
30
+ getEmbeddingProvider,
31
+ getMemoryStore,
32
+ resetEmbeddingProvider
33
+ };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./cli-ep19k3mb.js";
4
4
  import {
5
5
  agentFsProvisionSeeder
6
- } from "./cli-7e398j1h.js";
6
+ } from "./cli-rj0gqwwp.js";
7
7
  import {
8
8
  extractArgsJsonSchema,
9
9
  extractScriptSignature,
@@ -13,27 +13,34 @@ import {
13
13
  upsertScriptByName,
14
14
  validateDefinition,
15
15
  validateScriptImports
16
- } from "./cli-tpq83z89.js";
16
+ } from "./cli-5xhpb3kv.js";
17
17
  import"./cli-epan13p1.js";
18
- import"./cli-y89t4nca.js";
19
18
  import"./cli-f14fvzag.js";
20
- import"./cli-12tszpk9.js";
21
- import"./cli-ygwm91nt.js";
19
+ import"./cli-y89t4nca.js";
20
+ import"./cli-5bcd7sfy.js";
21
+ import"./cli-yy6dew39.js";
22
22
  import"./cli-3dpj7atn.js";
23
- import"./cli-10nhj6xq.js";
23
+ import"./cli-2x0e561b.js";
24
+ import"./cli-nt8hecg9.js";
24
25
  import"./cli-rb9m6rpe.js";
25
- import"./cli-rykfmgwg.js";
26
- import"./cli-0jwe9034.js";
27
- import"./cli-6cs6wzxt.js";
28
- import"./cli-jz4w45qt.js";
29
- import"./cli-25fcq4b4.js";
26
+ import"./cli-sptrj5f5.js";
27
+ import"./cli-5k6k8ta3.js";
28
+ import"./cli-cebmgwsc.js";
29
+ import"./cli-kh04eqwe.js";
30
30
  import"./cli-bsakbbkm.js";
31
31
  import"./cli-trc24wk2.js";
32
- import"./cli-azhgzetg.js";
32
+ import"./cli-swfmp1fx.js";
33
33
  import"./cli-q51yprfq.js";
34
34
  import"./cli-3er6gcsn.js";
35
- import"./cli-2658f6at.js";
35
+ import"./cli-cvk6yzw5.js";
36
36
  import"./cli-yatxqynm.js";
37
+ import"./cli-13hw4z91.js";
38
+ import"./cli-ykk5jaax.js";
39
+ import"./cli-btbzvq95.js";
40
+ import"./cli-1m2e086m.js";
41
+ import"./cli-bzr0ftht.js";
42
+ import"./cli-bd957dgb.js";
43
+ import"./cli-pzxba7gw.js";
37
44
  import {
38
45
  computeContentHash,
39
46
  createScheduledTask,
@@ -50,29 +57,25 @@ import {
50
57
  updateSkill,
51
58
  updateWorkflow,
52
59
  upsertSkillFiles
53
- } from "./cli-qydf22qq.js";
60
+ } from "./cli-jf7wmv1r.js";
61
+ import"./cli-xqpk3rp7.js";
54
62
  import"./cli-3qhyh31j.js";
55
- import"./cli-ktmyrtpn.js";
56
- import"./cli-r1mxd1xh.js";
63
+ import"./cli-7af8yhav.js";
57
64
  import"./cli-n7h1kqpf.js";
58
- import"./cli-ptr8h7kp.js";
59
- import"./cli-dv6cdjs2.js";
60
- import"./cli-1a2j50m0.js";
61
- import"./cli-0wgxmwf6.js";
65
+ import"./cli-eg0b3p0k.js";
66
+ import"./cli-xk79303e.js";
62
67
  import"./cli-ywybs5as.js";
68
+ import"./cli-gd4favx9.js";
69
+ import"./cli-qrgt5bqf.js";
70
+ import"./cli-qjjvzwzd.js";
71
+ import"./cli-1a2j50m0.js";
72
+ import"./cli-f9w1semm.js";
63
73
  import"./cli-ej6gbxfb.js";
64
- import"./cli-kmcpfwn2.js";
74
+ import"./cli-jyy6pm2f.js";
65
75
  import"./cli-sd0mxa3c.js";
66
76
  import"./cli-w5e1d1vv.js";
67
- import"./cli-0q3avq3s.js";
68
- import"./cli-r2ap2czm.js";
69
- import"./cli-13hw4z91.js";
70
- import"./cli-btbzvq95.js";
71
- import"./cli-1m2e086m.js";
72
- import"./cli-ykk5jaax.js";
73
- import"./cli-bzr0ftht.js";
74
- import"./cli-bd957dgb.js";
75
- import"./cli-pzxba7gw.js";
77
+ import"./cli-sqvfa090.js";
78
+ import"./cli-nexqx4ve.js";
76
79
  import"./cli-zf8jjwex.js";
77
80
  import {
78
81
  __toESM
@@ -8548,10 +8551,10 @@ The config file lives at \`~/.agentic-learnings.json\`:
8548
8551
  `;
8549
8552
 
8550
8553
  // templates/skills/memory/config.json
8551
- var config_default25 = '{\n "kind": "skill",\n "name": "memory",\n "displayName": "Memory",\n "slug": "memory",\n "title": "Memory",\n "description": "Remember, recall, learning, memory: how swarm memory works and how to store, search, edit, rate, and delete memories with `memory-store`, `memory-search`, `memory-get`, `memory-edit`, `memory_rate`, and `memory-delete`, plus lead promotion with `inject-learning`. Use before you store, edit, or delete a memory.",\n "version": "1.0.0",\n "category": "skills",\n "placeholders": [],\n "runAllSeedersCandidate": true,\n "systemDefault": true,\n "tags": ["memory", "recall", "learning"]\n}\n';
8554
+ var config_default25 = '{\n "kind": "skill",\n "name": "memory",\n "displayName": "Memory",\n "slug": "memory",\n "title": "Memory",\n "description": "Remember, recall, learning, memory: how swarm memory works and how to store, search, edit, rate, and delete memories with `memory-store`, `memory-search`, `memory-get`, `memory-edit`, `memory_rate`, and `memory-delete`, plus logical paths (`key`, `newKey`, `keyPrefix`, the `/longterm` roots and the lead-only ones) and lead promotion with `inject-learning`. Use before you store, edit, or delete a memory.",\n "version": "1.1.0",\n "category": "skills",\n "placeholders": [],\n "runAllSeedersCandidate": true,\n "systemDefault": true,\n "tags": ["memory", "recall", "learning"]\n}\n';
8552
8555
 
8553
8556
  // templates/skills/memory/content.md
8554
- var content_default25 = '# Memory\n\nSwarm memory is a store of short texts with embeddings, searchable by meaning and by keyword. Recall is automatic: the runner puts the best matches for your task in the task message under "Relevant Past Knowledge". Everything else is a tool call.\n\n## What is stored without you\n\n| Source | When | Scope |\n|---|---|---|\n| `task_completion` | `store-progress` with status `completed` or `failed` | `agent`, or `swarm` for research tasks and tasks tagged `knowledge` or `shared` |\n| `session_summary` | your session ends | `agent` |\n| `file_index` | a file written under `/workspace/personal/memory/` or `/workspace/shared/memory/<agentId>/` on a harness with the file hook (claude, pi, opencode) | by path |\n\nAutomatic tasks (schedules, heartbeat, monitors) skip the `task_completion` write unless `store-progress` gets `persistMemory: true`.\n\nPrefer `memory-store` over memory files. It works on every harness, including the remote ones.\n\n## Tools\n\n| Tool | Use |\n|---|---|\n| `memory-store` | create a memory: `content`, `name`, `scope`, optional `tags`, `taskId`, `intent` |\n| `memory-search` | find memories: `query`, `intent` (required, why you search), `scope` (`all`, `agent`, `swarm`), `limit` |\n| `memory-get` | the full content of one memory by ID |\n| `memory-edit` | change a memory in place: mode `replace` (whole content) or `exact` (one unique substring), `intent` required |\n| `memory-delete` | remove a memory by ID |\n| `memory_rate` | mark a memory you used in this task as useful or misleading |\n| `inject-learning` | lead only: push a learning into a worker\'s memory at swarm scope |\n\nSeed scripts (`script-run` with `name` and `args`):\n\n- `task-context-gathering` `{ taskId, queries: [...] }`: the task plus a deduplicated multi-query recall in one call.\n- `smart-recall` `{ queries: [...] }`: multi-query recall without the task.\n- `memory-dedup-check` `{ text, threshold? }`: near-duplicates of a candidate memory, default threshold 0.85.\n\n## What makes a good memory\n\n- One fact per memory: a fix, a pattern, a gotcha, a preference of a person, a fact about a repo or a host.\n- The context it applies to: repo, host, tool, version.\n- The evidence: what you saw, where.\n- A searchable `name`: "Linear API rejects issue updates without teamId", not "notes".\n- Under 2,000 characters stores as one chunk. Longer content splits on headings, one memory per chunk.\n\nSkip what a tool returns on demand (paths, tool lists, task status), what the repo already records (README, CLAUDE.md, git history), and what only mattered for this one task.\n\nA memory must not contain a token, password, key, or connection string. Remove the value and keep the reference ("the Linear token lives in config key LINEAR_API_KEY").\n\n## Scope\n\n- `agent` (default): only you recall it. Your own setup, your working notes, your mistakes.\n- `swarm`: every agent recalls it. Facts about shared repos, hosts, people, and processes. Choose `swarm` when a second agent would hit the same thing.\n\n## Before you store\n\n1. Run `memory-dedup-check` with the text, or `memory-search` with one or two queries and `intent: "dedup before store"`.\n2. A near-duplicate exists: `memory-edit` it. Mode `replace` for a rewrite, mode `exact` for a one-line correction. Say why in `intent`.\n3. Nothing close exists: `memory-store`.\n\n## Triage\n\n- A memory is wrong: `memory-edit` with the correction.\n- A memory is stale and nobody needs it: `memory-delete`.\n- A recalled memory helped or misled you: `memory_rate` with `useful` true or false and a short `note`. The call needs a task context and counts once per memory per task. Ratings move the memory up or down in future searches.\n\n## Lead: promote a learning\n\nWhen a worker\'s output or failure holds a lesson other workers need, call `inject-learning` with the worker\'s `agentId`, the `learning`, and a `category`: `mistake-pattern`, `best-practice`, `codebase-knowledge`, or `preference`. It lands at swarm scope and every agent recalls it.\n';
8557
+ var content_default25 = '# Memory\n\nSwarm memory is a store of short texts with embeddings, searchable by meaning and by keyword. Recall is automatic: the runner puts the best matches for your task in the task message under "Relevant Past Knowledge". Everything else is a tool call.\n\n## What is stored without you\n\n| Source | When | Scope |\n|---|---|---|\n| `task_completion` | `store-progress` with status `completed` or `failed` | `agent`, or `swarm` for research tasks and tasks tagged `knowledge` or `shared` |\n| `session_summary` | your session ends | `agent` |\n| `file_index` | a file written under `/workspace/personal/memory/` or `/workspace/shared/memory/<agentId>/` on a harness with the file hook (claude, pi, opencode) | by path |\n\nAutomatic tasks (schedules, heartbeat, monitors) skip the `task_completion` write unless `store-progress` gets `persistMemory: true`.\n\nPrefer `memory-store` over memory files. It works on every harness, including the remote ones.\n\n## Tools\n\n| Tool | Use |\n|---|---|\n| `memory-store` | create a memory: `content`, `name`, `scope`, optional `tags`, `taskId`, `intent`, `key` (a logical path, see Logical paths) |\n| `memory-search` | find memories: `query`, `scope` (`all`, `agent`, `swarm`), `limit`, optional `intent` (why you search), `source`, `keyPrefix` (only memories whose key starts with it) |\n| `memory-get` | the full content of one memory by ID |\n| `memory-edit` | change a memory in place: mode `replace` (whole content) or `exact` (one unique substring), `intent` required. `newKey` alone moves it to another logical path |\n| `memory-delete` | remove a memory by ID |\n| `memory_rate` | mark a memory you used in this task as useful or misleading |\n| `inject-learning` | lead only: push a learning into a worker\'s memory at swarm scope |\n\nSeed scripts (`script-run` with `name` and `args`):\n\n- `task-context-gathering` `{ taskId, queries: [...] }`: the task plus a deduplicated multi-query recall in one call.\n- `smart-recall` `{ queries: [...] }`: multi-query recall without the task.\n- `memory-dedup-check` `{ text, threshold? }`: near-duplicates of a candidate memory, default threshold 0.85.\n\n## What makes a good memory\n\n- One fact per memory: a fix, a pattern, a gotcha, a preference of a person, a fact about a repo or a host.\n- The context it applies to: repo, host, tool, version.\n- The evidence: what you saw, where.\n- A searchable `name`: "Linear API rejects issue updates without teamId", not "notes".\n- Under 2,000 characters stores as one chunk. Longer content splits on headings, one memory per chunk.\n\nSkip what a tool returns on demand (paths, tool lists, task status), what the repo already records (README, CLAUDE.md, git history), and what only mattered for this one task.\n\nA memory must not contain a token, password, key, or connection string. Remove the value and keep the reference ("the Linear token lives in config key LINEAR_API_KEY").\n\n## Scope\n\n- `agent` (default): only you recall it. Your own setup, your working notes, your mistakes.\n- `swarm`: every agent recalls it. Facts about shared repos, hosts, people, and processes. Choose `swarm` when a second agent would hit the same thing.\n\n## Logical paths (`key`)\n\nEvery memory has a `key`. By default it is an auto key (`<scope>/<source>/<id>`, or the file path for `file_index`), and the memory is **inbox material**: it keeps the lifecycle of its `source` and expires. Give it a path under `/longterm` and it becomes curated memory: findable by folder, ranked higher, and kept.\n\n`name` is a title. `key` is the address. Use a key only for what should outlive the task: a durable fact, a decision, a person or customer. Leave working notes and task results without one; expiring is the right outcome for them.\n\n### The `/longterm` roots\n\nThe list is closed. A key under `/longterm` whose second segment is not in it is refused, and the error lists the roots.\n\n| Root | Holds | Rank weight | Who may write |\n|---|---|---|---|\n| `/longterm/company-story` | what the company is and does | 1.4 | lead only |\n| `/longterm/entities/people/<slug>`, `/longterm/entities/customers/<slug>` | one doc per person or customer | 1.3 | lead only |\n| `/longterm/facts/<topic>/<slug>` | a durable fact about a repo, host, tool, or process | 1.2 | any agent |\n| `/longterm/decisions/<slug>` | a decision and why | 1.1 (0.3 with the tag `superseded`) | any agent |\n| `/longterm/workstreams/<slug>` | an ongoing effort | 1.0 | any agent |\n| `/longterm/timeline/<period>/<slug>` | dated events | 0.8 | lead only |\n\nAgents and repos are not entity types: agent profiles and `get-repos` own them, so `/longterm/entities/agents/...` is refused.\n\nKey shape: lowercase letters, digits, `-`, and `.` or `_` after the first segment; segments joined by `/`; starts with `/`; no trailing `/`; at most 200 characters. A key outside `/longterm` is not root-checked but must still have this shape.\n\n### Write, move, find\n\n```\nmemory-store key="/longterm/facts/swarm-runtime/sqlite-busy-retry" scope="swarm"\n name="SQLite BUSY_SNAPSHOT needs BEGIN IMMEDIATE" content="..."\n\nmemory-edit memoryId="<id>" newKey="/longterm/decisions/sqlite-busy-retry" intent="promote the fact to a decision"\n\nmemory-search query="busy retry" keyPrefix="/longterm/facts/swarm-runtime/"\n```\n\n- `memory-store`: one key per owner and scope. A second memory under a key you already use fails: `memory-edit` that one. If you pass no `key` and the `name` starts with `/longterm/`, the name is the key, so you set one field. An invalid name of that form is refused, never stored under an auto key.\n- `memory-edit` `newKey`: pass it alone for a pure move. Every chunk of the document moves in one step. The ID, usefulness rating, access counts, and author stay. A key that is already taken is refused. Address the memory with `memoryId`, or with `key` plus `scope`.\n- `memory-search` `keyPrefix`: a literal, case-sensitive prefix, applied before the top results are cut, not after. End a folder with `/` (`/longterm/entities/`, not `/longterm/entities`) to stay inside it.\n\n### What a `/longterm` key changes\n\n`source` stays provenance: there is no `longterm` source. The key is the tier. A memory under `/longterm` follows a `manual` memory\'s lifecycle whatever its `source`:\n\n- It never expires. Storing under a `/longterm` key sets no expiry. Moving a memory in with `newKey` clears the expiry it had, on every chunk. Moving it back out does not restore one.\n- It has no recency decay, and its source-quality multiplier is 1.5.\n- Automated cleanup skips it.\n\nA memory under any other key keeps its `source` lifecycle: `task_completion` expires after 7 days, `session_summary` after 3, `file_index` after 30, `manual` never.\n\nRanking multiplies similarity by recency decay, access boost, source quality, **path weight** (the table above, by longest matching root; any other key weighs 1.0), and usefulness. Path weight is one factor: a weak match under `/longterm/company-story` does not beat a strong match elsewhere on weight alone.\n\n### Lead-only roots\n\nOnly the lead may write or move a key under `/longterm/company-story`, `/longterm/entities`, or `/longterm/timeline`. The check is the permission `memory.write.consolidated`. It applies to a `key`, to a `newKey`, to a `/longterm/` name, and to a `sourcePath` sent to `POST /api/memory/index`, so there is no side door. A worker that tries gets an error naming the lead-only paths. A worker puts durable knowledge under `/longterm/facts` or `/longterm/decisions`, or leaves the key off, and the lead consolidates the rest.\n\n## Before you store\n\n1. Run `memory-dedup-check` with the text, or `memory-search` with one or two queries and `intent: "dedup before store"`.\n2. A near-duplicate exists: `memory-edit` it. Mode `replace` for a rewrite, mode `exact` for a one-line correction. Say why in `intent`.\n3. Nothing close exists: `memory-store`. For a keyed memory, `memory-search` with `keyPrefix` set to the folder you will write into shows what is already there.\n\n## Triage\n\n- A memory is wrong: `memory-edit` with the correction.\n- A memory is stale and nobody needs it: `memory-delete`.\n- A recalled memory helped or misled you: `memory_rate` with `useful` true or false and a short `note`. The call needs a task context and counts once per memory per task. Ratings move the memory up or down in future searches.\n\n## Lead: promote a learning\n\nWhen a worker\'s output or failure holds a lesson other workers need, call `inject-learning` with the worker\'s `agentId`, the `learning`, and a `category`: `mistake-pattern`, `best-practice`, `codebase-knowledge`, or `preference`. It lands at swarm scope and every agent recalls it. It is stored as `manual`, so it never expires, but it takes no key: it has no path weight and `keyPrefix` does not find it. To file a learning by path, `memory-store` it with a `/longterm` key, or `memory-edit` it with `newKey`.\n';
8555
8558
 
8556
8559
  // templates/skills/one-shot/config.json
8557
8560
  var config_default26 = `{
@@ -10618,7 +10621,7 @@ var config_default41 = `{
10618
10621
  "displayName": "Swarm Extensions",
10619
10622
  "slug": "swarm-extensions",
10620
10623
  "title": "Swarm Extensions",
10621
- "description": "Write, install, and manage swarm extensions: TypeScript hook bundles that block, modify, or observe task creation, follow-ups, Slack routing, heartbeat remediation, and tool calls. Covers catalog-only install of predefined extensions (templates/extensions, YAML or JSON manifests) and the scripts, schedules, workflows and skills they ship, the hook contract, where to fetch swarm-extension.d.ts, the extension-catalog, extension-install and extension-list tools, config schemas, and the operator enable step.",
10624
+ "description": "Write, install, and manage swarm extensions: TypeScript hook bundles that block, modify, or observe task creation, follow-ups, Slack routing, heartbeat remediation, and tool calls. Covers installing predefined catalog extensions (templates/extensions, YAML or JSON manifests) by name and, when EXTENSION_ALLOW_INLINE_INSTALL is on, installing an inline manifest plus files as a lead, plus the scripts, schedules, workflows and skills extensions ship, the hook contract, where to fetch swarm-extension.d.ts, the extension-catalog, extension-install and extension-list tools, config schemas, and the operator enable step.",
10622
10625
  "version": "1.0.0",
10623
10626
  "category": "skills",
10624
10627
  "placeholders": [],
@@ -10635,15 +10638,18 @@ An extension is a trusted TypeScript hook bundle that runs inside the swarm API
10635
10638
 
10636
10639
  Do not use an extension for work that one task, one script, or one schedule can do.
10637
10640
 
10638
- ## Install only from the catalog
10641
+ ## Two ways to install
10639
10642
 
10640
- Extensions install only from the predefined catalog in the repo (\`templates/extensions/<name>/\`). Inline bundles are rejected with \`inline_install_disabled\`. To ship a new extension, open a PR that adds a template directory (see Bundle shape below); it becomes installable once that build is deployed.
10643
+ - **Catalog** (always on): a predefined extension in the repo (\`templates/extensions/<name>/\`), installed by name. Any authenticated agent can do it. To ship a catalog extension, open a PR that adds a template directory (see Bundle shape below); it becomes installable once that build is deployed.
10644
+ - **Inline** (opt-in): a \`manifest\` plus a \`files\` map in the install request, with no PR and no deploy. It is off unless an operator sets \`EXTENSION_ALLOW_INLINE_INSTALL=true\` (dashboard Settings > Configuration > Security & access, or the API environment). With the flag off the install fails with \`inline_install_disabled\`. With it on, only a lead, operator, or dashboard user may send an inline bundle; a worker gets 403 and stays catalog-only. An inline bundle runs as code in the API process once enabled, so write it as carefully as a catalog one.
10645
+
10646
+ Both paths run the same validation and both land disabled.
10641
10647
 
10642
10648
  ## Tools
10643
10649
 
10644
10650
  \`extension-catalog\`, \`extension-install\` and \`extension-list\`. They are deferred. Load them with your harness tool search before the first call.
10645
10651
 
10646
- \`extension-catalog\` lists the predefined extensions, the assets each declares, and whether it is installed. \`extension-install\` takes \`{ template: "<name>" }\` (plus optional \`priority\` and \`config\`), validates the bundle (manifest, imports, typecheck against the hook contract, script typecheck) and stores it. Any authenticated agent, including a worker, can install. Your agent is recorded as its owner in \`createdByAgentId\`; \`extension-list\` exposes that field. Always send your \`X-Agent-ID\` when using REST so ownership is attributed to you.
10652
+ \`extension-catalog\` lists the predefined extensions, the assets each declares, and whether it is installed. \`extension-install\` takes \`{ template: "<name>" }\` or, for an inline bundle, \`{ manifest, files }\` (plus optional \`priority\` and \`config\`). \`template\` and \`manifest\`/\`files\` are mutually exclusive. It validates the bundle (manifest, imports, typecheck against the hook contract, script typecheck) and stores it. Any authenticated agent, including a worker, can install a catalog template. Your agent is recorded as its owner in \`createdByAgentId\`; \`extension-list\` exposes that field. Always send your \`X-Agent-ID\` when using REST so ownership is attributed to you.
10647
10653
 
10648
10654
  Install also creates the \`ext:<name>\` agent and every asset the extension declares. Scripts are live and callable right away (scripts have no enabled state). Schedules, workflows, and skills are created disabled. A disabled workflow ignores its triggers and refuses manual triggers.
10649
10655
 
@@ -10653,7 +10659,7 @@ Workers may install subsequent versions only for their own extensions, and PATCH
10653
10659
 
10654
10660
  A new install is disabled and inert. A lead, operator, or dashboard user must enable it with \`extension-enable\` or \`POST /api/extensions/{id}/enable\`. Enabling turns its schedules, workflows, and skills on; disabling turns them off and remembers which ones you had turned off. Workers cannot enable, disable, or activate versions. Report the extension name and the required activation step.
10655
10661
 
10656
- Installing a catalog template whose content changed stages a new version without activating it. Workers may stage updates while an extension is enabled, but cannot PATCH or change its live config/priority. Ask a lead or operator to make those changes. \`EXTENSION_ALLOW_LEAD_ACTIVATION=false\` restricts activation to operators/dashboard users.
10662
+ Installing a template or inline bundle whose content changed stages a new version without activating it. An operator or dashboard user reinstalling an enabled extension activates the new version immediately; a lead never does. Workers may stage updates while an extension is enabled, but cannot PATCH or change its live config/priority. Ask a lead or operator to make those changes. \`EXTENSION_ALLOW_LEAD_ACTIVATION=false\` restricts activation to operators/dashboard users.
10657
10663
 
10658
10664
  Uninstall (\`extension-delete\`, disabled extensions only) deletes the assets you never edited and detaches the ones you did, so your edits survive.
10659
10665
 
@@ -10713,6 +10719,25 @@ A workflow file holds \`name\`, optional \`description\`, \`definition\`, and op
10713
10719
 
10714
10720
  A JSON manifest carries \`"$schema": "../manifest.schema.json"\` instead. After changing a template, run \`bun run build:extension-catalog\` and commit \`src/extensions/catalog.generated.json\`.
10715
10721
 
10722
+ ### Inline bundle
10723
+
10724
+ An inline install sends the same manifest as a JSON object, plus every file it references in \`files\`, keyed by bundle path:
10725
+
10726
+ \`\`\`json
10727
+ {
10728
+ "manifest": {
10729
+ "name": "require-ticket-ref",
10730
+ "description": "Blocks REST and MCP tasks that do not name a ticket",
10731
+ "version": "1.0.0",
10732
+ "runtime": "api",
10733
+ "assets": { "hooks": "hooks.ts" }
10734
+ },
10735
+ "files": { "hooks.ts": "import { block, type SwarmExtension } from \\"swarm-extension\\";\\n..." }
10736
+ }
10737
+ \`\`\`
10738
+
10739
+ \`files\` must hold \`assets.hooks\`, each script \`file\`, each workflow \`file\`, and for each skill \`dir\` its \`SKILL.md\` plus any \`files/**\`. A file the manifest does not reference is rejected. Naming rules (\`<name>-\` prefixes, schedule scripts declared in \`assets.scripts\`) are the same as for a template. To change an inline extension, send the full bundle again under the same name; it adds a new version.
10740
+
10716
10741
  Rules for \`hooks.ts\`:
10717
10742
 
10718
10743
  - Import only from \`swarm-extension\`, \`zod\`, and \`stdlib\`. Relative imports, other packages, and dynamic imports are rejected.
@@ -10776,7 +10801,8 @@ export default extension;
10776
10801
  - Modifying fields the event does not allow. Read the \`*Modify\` type for that event.
10777
10802
  - Expecting the extension to run after install. Its hooks, schedules, workflows, and skills are off until a lead or operator enables it.
10778
10803
  - Expecting agents to see an extension skill after enable. Install it on each agent with \`skill-install\`.
10779
- - Sending an inline \`manifest\`/\`files\` bundle. Install takes a catalog \`template\` name only.
10804
+ - Sending an inline \`manifest\`/\`files\` bundle as a worker, or without \`EXTENSION_ALLOW_INLINE_INSTALL\` on. Workers use a catalog \`template\`; with the flag off ask an operator to turn it on, or ship a catalog template.
10805
+ - Sending both \`template\` and \`manifest\`/\`files\`. Pick one.
10780
10806
  - Blocking tasks from every origin. Check \`event.origin\` so schedules, workflows, and follow-ups keep working unless you mean to block them.
10781
10807
  `;
10782
10808
 
@@ -1,26 +1,29 @@
1
1
  import {
2
2
  ensureAuthorizationTokenOrThrow,
3
3
  listKeepAliveAuthorizations
4
- } from "./cli-6cs6wzxt.js";
5
- import"./cli-qydf22qq.js";
4
+ } from "./cli-kh04eqwe.js";
5
+ import"./cli-jf7wmv1r.js";
6
+ import"./cli-xqpk3rp7.js";
6
7
  import"./cli-3qhyh31j.js";
7
- import"./cli-ktmyrtpn.js";
8
- import"./cli-r1mxd1xh.js";
8
+ import"./cli-7af8yhav.js";
9
9
  import"./cli-n7h1kqpf.js";
10
- import"./cli-ptr8h7kp.js";
11
- import"./cli-dv6cdjs2.js";
12
- import"./cli-1a2j50m0.js";
13
- import"./cli-0wgxmwf6.js";
10
+ import"./cli-eg0b3p0k.js";
11
+ import"./cli-xk79303e.js";
14
12
  import"./cli-ywybs5as.js";
13
+ import"./cli-gd4favx9.js";
14
+ import"./cli-qrgt5bqf.js";
15
+ import"./cli-qjjvzwzd.js";
16
+ import"./cli-1a2j50m0.js";
17
+ import"./cli-f9w1semm.js";
15
18
  import"./cli-ej6gbxfb.js";
16
- import"./cli-kmcpfwn2.js";
19
+ import"./cli-jyy6pm2f.js";
17
20
  import"./cli-sd0mxa3c.js";
18
21
  import"./cli-w5e1d1vv.js";
19
- import"./cli-0q3avq3s.js";
22
+ import"./cli-sqvfa090.js";
20
23
  import {
21
24
  init_secret_scrubber,
22
25
  scrubSecrets
23
- } from "./cli-r2ap2czm.js";
26
+ } from "./cli-nexqx4ve.js";
24
27
  import"./cli-zf8jjwex.js";
25
28
  import {
26
29
  __require
@@ -72,7 +75,7 @@ async function notifySlack(text) {
72
75
  return;
73
76
  }
74
77
  try {
75
- const { getSlackApp } = await import("./app-mc7xfagn.js");
78
+ const { getSlackApp } = await import("./app-pt68fbwp.js");
76
79
  const app = getSlackApp();
77
80
  if (!app) {
78
81
  console.warn("[OAuth Keepalive] Slack not available, cannot send notification");