@desplega.ai/agent-swarm 1.152.2 → 1.153.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/README.md +1 -1
  2. package/dist/{acp-adapter-pfeje2v5.js → acp-adapter-ahmjxhek.js} +4 -4
  3. package/dist/{actions-0sttc7f5.js → actions-jzrfpkmn.js} +30 -26
  4. package/dist/{anthropic-messages-2y8nktar.js → anthropic-messages-9vqsbznt.js} +112 -84
  5. package/dist/{app-p8teva95.js → app-03na2vwb.js} +9 -6
  6. package/dist/{assistant-r45jnsrt.js → assistant-hfkxvhgt.js} +31 -27
  7. package/dist/{azure-openai-responses-f38x2avq.js → azure-openai-responses-04qwdwfq.js} +27 -13
  8. package/dist/{boot-reembed-je26h5y7.js → boot-reembed-c98xrad3.js} +8 -6
  9. package/dist/{boot-reembed-1qmybsd4.js → boot-reembed-zt3qm9xn.js} +9 -7
  10. package/dist/{boot-scrub-logs-gte3h1mm.js → boot-scrub-logs-jcqd8ksj.js} +6 -4
  11. package/dist/{claude-adapter-csc1mzka.js → claude-adapter-mgryg8g3.js} +17 -15
  12. package/dist/{claude-managed-adapter-dsmkcrjy.js → claude-managed-adapter-ea2aga6w.js} +3 -3
  13. package/dist/{claude-sdk-session-fcd6f078.js → claude-sdk-session-jjf4zss1.js} +17 -15
  14. package/dist/{cli-r2fpe7cx.js → cli-00w2c66p.js} +61 -55
  15. package/dist/{cli-fm4ytsdk.js → cli-0d9nbqxf.js} +1 -1
  16. package/dist/cli-0x5qzvkg.js +4279 -0
  17. package/dist/{cli-d3p82erb.js → cli-18amys3y.js} +9 -9
  18. package/dist/{cli-wbyk465z.js → cli-1hwnb4hc.js} +1 -1
  19. package/dist/{cli-xw7vak96.js → cli-3bcmp015.js} +5 -5
  20. package/dist/cli-3er6gcsn.js +1849 -0
  21. package/dist/{cli-c4eeb5q2.js → cli-5b6b62tz.js} +1 -1
  22. package/dist/{cli-4ahpr4sw.js → cli-5mbmvxnn.js} +5 -5
  23. package/dist/{cli-xy1cchaf.js → cli-5taqtpze.js} +235 -8
  24. package/dist/{cli-fmy65jdn.js → cli-6ks9xf1n.js} +7 -5
  25. package/dist/cli-7g9s78jf.js +2827 -0
  26. package/dist/{cli-jew3jda5.js → cli-7pnz2v6s.js} +2 -2
  27. package/dist/{cli-r84ctdxn.js → cli-83wkg402.js} +2 -2
  28. package/dist/{cli-jvy9qgjs.js → cli-a9scg8sv.js} +4 -4
  29. package/dist/{cli-4yc5d8fk.js → cli-avkd6mqv.js} +50 -0
  30. package/dist/{cli-ht5rs63n.js → cli-b2g6mzjc.js} +15 -6
  31. package/dist/{cli-jbmc0r7r.js → cli-bw0dfwkr.js} +1 -1
  32. package/dist/{cli-8wrympd7.js → cli-bzr0ftht.js} +26 -7
  33. package/dist/{cli-wpv5rgg2.js → cli-cdq08v3r.js} +2 -2
  34. package/dist/cli-cgj4hc12.js +18902 -0
  35. package/dist/cli-d6hk10xx.js +14075 -0
  36. package/dist/{cli-zvgj5zg8.js → cli-djvxhnc4.js} +31 -3324
  37. package/dist/{cli-s25avqg9.js → cli-e781c6f9.js} +1 -0
  38. package/dist/{cli-3bpzj8me.js → cli-eazstkad.js} +2 -2
  39. package/dist/{cli-s2qjdd6z.js → cli-eetrvv91.js} +1 -1
  40. package/dist/cli-h38x0qhg.js +6912 -0
  41. package/dist/{cli-9xvdm3bx.js → cli-h60qfasa.js} +742 -278
  42. package/dist/{pi-mono-adapter-jcqt71cg.js → cli-ja7mrygn.js} +67343 -101083
  43. package/dist/{cli-j8dggbcr.js → cli-k0g1sjzm.js} +23 -31
  44. package/dist/{cli-gphgnvpf.js → cli-m04pt18h.js} +2 -2
  45. package/dist/{cli-rgvp6r2x.js → cli-mcnhgnn1.js} +193 -4
  46. package/dist/{cli-j4nv2wqy.js → cli-mzgyhxbe.js} +10 -4
  47. package/dist/{cli-qn042eh7.js → cli-n0q9b7j4.js} +46 -1870
  48. package/dist/cli-n7h1kqpf.js +29 -0
  49. package/dist/{cli-ckz5t2hb.js → cli-nq0kgyxe.js} +5 -5
  50. package/dist/{cli-z3wkng35.js → cli-qrqhc31j.js} +151 -125
  51. package/dist/{cli-56h18ng2.js → cli-r8tdds6s.js} +1 -1
  52. package/dist/{cli-ch38q5z4.js → cli-rj7de4b2.js} +6788 -2541
  53. package/dist/{cli-qd65dvr6.js → cli-s5s1f2yn.js} +56 -40
  54. package/dist/{cli-kj76p1ez.js → cli-scwq51gn.js} +13 -7
  55. package/dist/{cli-2nnd56zt.js → cli-tdh4hjr2.js} +3 -2
  56. package/dist/{cli-c2mk1kgf.js → cli-v4en75c5.js} +8 -1
  57. package/dist/{cli-b9dd0h3k.js → cli-vw03hg5t.js} +3 -2
  58. package/dist/{cli-zvkq5csn.js → cli-ybpp1srm.js} +6 -6
  59. package/dist/cli-yn0a417a.js +4069 -0
  60. package/dist/{cli-gpqcs935.js → cli-ysc1kbet.js} +2 -2
  61. package/dist/{cli-zfzznn7c.js → cli-ytxs7mn1.js} +26 -2
  62. package/dist/cli-zcsyfw2z.js +3335 -0
  63. package/dist/{cli-4j8k1m4w.js → cli-zt1227k1.js} +1162 -192
  64. package/dist/cli-zy5w9gpt.js +230 -0
  65. package/dist/cli.js +26 -34
  66. package/dist/{codex-adapter-fxmpsabw.js → codex-adapter-8548daap.js} +12 -11
  67. package/dist/{codex-session-runner-rr1e47ea.js → codex-session-runner-2dad8p4x.js} +12 -11
  68. package/dist/{commands-0f5rxz51.js → commands-355dbpa8.js} +6 -4
  69. package/dist/{db-r3jxf3wy.js → db-4jjvwz1s.js} +6 -4
  70. package/dist/{dispatcher-06vph6q4.js → dispatcher-ca590nkz.js} +29 -25
  71. package/dist/dsh-adapter-rgvj6ykp.js +19 -0
  72. package/dist/{e2b-413b8t4v.js → e2b-93x1k0j5.js} +6 -7
  73. package/dist/{google-generative-ai-ndjmj5fa.js → google-generative-ai-xtw7tggr.js} +33 -73
  74. package/dist/{google-vertex-fr665tqs.js → google-vertex-zdqpms6n.js} +38 -68
  75. package/dist/{handlers-0hgtc910.js → handlers-2y6dqpvf.js} +32 -28
  76. package/dist/{hook-9kvrv1er.js → hook-0s8knepr.js} +11 -9
  77. package/dist/{hook-fbfhkat3.js → hook-k0gec254.js} +12 -10
  78. package/dist/{http-xbyx8k5j.js → http-jp2nb4zw.js} +300 -237
  79. package/dist/{index-tfsdxyv6.js → index-0wzg3sp3.js} +39 -24
  80. package/dist/{index-rnyahfn5.js → index-3mq6ce93.js} +29 -25
  81. package/dist/{index-jsw3aynb.js → index-42s7eezq.js} +29 -25
  82. package/dist/{cli-pdz9qde4.js → index-9ch1n761.js} +10 -11
  83. package/dist/{index-gpfn1741.js → index-b56xkbc7.js} +8 -6
  84. package/dist/{index-66xz5e9j.js → index-h5gs261z.js} +521 -9
  85. package/dist/{index-2sp0384z.js → index-kkeftv5h.js} +738 -21
  86. package/dist/{index-sgk50mbg.js → index-s37dbevy.js} +30 -26
  87. package/dist/index-w097eg0x.js +5 -0
  88. package/dist/jiti-loader-b4837mtm.js +34 -0
  89. package/dist/jiti-static-loader-q2g5ds0y.js +31267 -0
  90. package/dist/{keepalive-s3xpr7sw.js → keepalive-9pfw7t02.js} +8 -6
  91. package/dist/{lead-rq4n5r16.js → lead-7vcmcdq4.js} +44 -39
  92. package/dist/{maintenance-f0atj1ab.js → maintenance-x277jbpd.js} +9 -7
  93. package/dist/{mistral-conversations-qhr84ph3.js → mistral-conversations-zx0kn554.js} +24 -18
  94. package/dist/{node-x1g4v0pq.js → node-5qtycf6a.js} +16 -11
  95. package/dist/{oauth-refresh-sweep-q0t3bxre.js → oauth-refresh-sweep-5fwa7th2.js} +7 -5
  96. package/dist/{onboard-br5j1kch.js → onboard-17sv0f51.js} +103 -35
  97. package/dist/{openai-codex-responses-wy6a43wd.js → openai-codex-responses-4vjqzvjp.js} +33 -27
  98. package/dist/{openai-completions-32rdwmze.js → openai-completions-pxsmym7g.js} +52 -64
  99. package/dist/{openai-responses-6xwf7bzg.js → openai-responses-tmn0rqp0.js} +23 -24
  100. package/dist/{opencode-adapter-28axqa09.js → opencode-adapter-qbmv4tpy.js} +6 -6
  101. package/dist/{otel-impl-vdqge2nt.js → otel-impl-srjy4be4.js} +4 -4
  102. package/dist/{pi-messages-b1mbr6gp.js → pi-messages-txpjj39q.js} +3 -3
  103. package/dist/pi-mono-adapter-946a0sdd.js +1316 -0
  104. package/dist/{pricing-refresh-hb3691fd.js → pricing-refresh-vetcm563.js} +8 -6
  105. package/dist/{rbac-roles-jh280k9g.js → rbac-roles-cfzgr6r1.js} +8 -6
  106. package/dist/{rbac-roles-t78xt39b.js → rbac-roles-cmxaddmy.js} +7 -5
  107. package/dist/{render-v2-7p8r2ymg.js → render-v2-f9hzff72.js} +9 -6
  108. package/dist/{seed-pricing-hf889enh.js → seed-pricing-jggk6rsy.js} +7 -5
  109. package/dist/{setup-w6mb03jv.js → setup-8mfceb9t.js} +4 -5
  110. package/dist/virtual-modules-ax661xp0.js +54 -0
  111. package/dist/{work-objects-nt8gy1kj.js → work-objects-vdsdcczj.js} +32 -28
  112. package/dist/{worker-dwy617t0.js → worker-cd0nhyv1.js} +44 -39
  113. package/openapi.json +36 -14
  114. package/package.json +6 -6
  115. package/src/be/automation-preflight.ts +6 -4
  116. package/src/be/extensions/db.ts +35 -4
  117. package/src/be/models-catalog.ts +2 -0
  118. package/src/be/modelsdev-cache.json +213 -0
  119. package/src/be/rbac-audit.ts +2 -0
  120. package/src/be/seed-pricing.ts +3 -1
  121. package/src/be/swarm-config-guard.ts +1 -0
  122. package/src/commands/onboard/compose-generator.ts +6 -1
  123. package/src/commands/onboard/env-generator.ts +6 -1
  124. package/src/commands/onboard/manifest.ts +1 -0
  125. package/src/commands/onboard/steps/integration-slack.tsx +56 -16
  126. package/src/commands/onboard/steps/review.tsx +5 -0
  127. package/src/commands/onboard/types.ts +6 -0
  128. package/src/commands/onboard.tsx +5 -1
  129. package/src/commands/provider-credentials.ts +14 -2
  130. package/src/extensions/lifecycle.ts +15 -21
  131. package/src/http/agents.ts +2 -2
  132. package/src/http/config.ts +1 -1
  133. package/src/http/core.ts +5 -3
  134. package/src/http/extensions.ts +108 -34
  135. package/src/http/status.ts +22 -10
  136. package/src/prompts/base-prompt.ts +15 -7
  137. package/src/providers/claude-managed-models.ts +8 -0
  138. package/src/providers/codex-models.ts +15 -1
  139. package/src/providers/dsh-adapter.ts +248 -0
  140. package/src/providers/index.ts +5 -1
  141. package/src/providers/modelsdev-reasoning.json +50 -0
  142. package/src/rbac/legacy-policy.ts +15 -1
  143. package/src/rbac/types.ts +2 -0
  144. package/src/server.ts +7 -1
  145. package/src/slack/app.ts +32 -10
  146. package/src/slack/config.ts +29 -0
  147. package/src/telemetry.ts +2 -3
  148. package/src/tests/agents-harness-provider.test.ts +19 -0
  149. package/src/tests/agents-list-model-display.test.ts +60 -1
  150. package/src/tests/base-prompt.test.ts +25 -0
  151. package/src/tests/claude-managed-adapter.test.ts +6 -0
  152. package/src/tests/codex-gpt6-release.test.ts +97 -0
  153. package/src/tests/config-api-only-keys.test.ts +9 -0
  154. package/src/tests/context-window.test.ts +1 -0
  155. package/src/tests/dsh-adapter.test.ts +276 -0
  156. package/src/tests/e2e-nightly-report.test.ts +3 -3
  157. package/src/tests/e2e-redact.test.ts +2 -0
  158. package/src/tests/env-flag.test.ts +6 -0
  159. package/src/tests/extensions-db.test.ts +41 -0
  160. package/src/tests/extensions-http.test.ts +148 -4
  161. package/src/tests/extensions-lifecycle.test.ts +18 -0
  162. package/src/tests/extensions-mcp-tools.test.ts +9 -5
  163. package/src/tests/internal-ai/complete-structured.test.ts +32 -9
  164. package/src/tests/internal-ai/credentials.test.ts +4 -4
  165. package/src/tests/internal-ai/models.test.ts +20 -0
  166. package/src/tests/migration-046-budgets.test.ts +2 -0
  167. package/src/tests/model-control.test.ts +2 -2
  168. package/src/tests/onboard-compose.test.ts +14 -0
  169. package/src/tests/onboard-env.test.ts +17 -0
  170. package/src/tests/onboard-manifest.test.ts +12 -0
  171. package/src/tests/opus-5-5-registry.test.ts +48 -0
  172. package/src/tests/pricing-refresh.test.ts +1 -1
  173. package/src/tests/pricing-routes.test.ts +15 -3
  174. package/src/tests/provider-registration.test.ts +5 -2
  175. package/src/tests/rbac-admission-e2e.test.ts +54 -0
  176. package/src/tests/rbac-e2e-helpers.ts +2 -0
  177. package/src/tests/rbac-engine.test.ts +32 -0
  178. package/src/tests/rbac-wire-e2e.test.ts +33 -0
  179. package/src/tests/reasoning-effort.test.ts +8 -0
  180. package/src/tests/reload-config.test.ts +33 -0
  181. package/src/tests/session-costs-model-key-normalize.test.ts +1 -0
  182. package/src/tests/slack-config.test.ts +136 -0
  183. package/src/tests/slack-mode-lifecycle.test.ts +69 -0
  184. package/src/tests/status.test.ts +22 -2
  185. package/src/tests/task-tool-preload-mcp.test.ts +3 -1
  186. package/src/tests/telemetry-init.test.ts +18 -0
  187. package/src/tests/workflow-llm.test.ts +3 -3
  188. package/src/tools/extension-common.ts +4 -0
  189. package/src/tools/extension-install.ts +1 -1
  190. package/src/tools/extension-list.ts +4 -3
  191. package/src/types.ts +17 -8
  192. package/src/utils/context-window.ts +1 -0
  193. package/src/utils/credentials.ts +8 -0
  194. package/src/utils/internal-ai/complete-structured.ts +8 -0
  195. package/src/utils/internal-ai/models.ts +5 -5
  196. package/templates/schedules/daily-status-report/content.md +25 -12
  197. package/templates/schedules/daily-workflow-health-audit/content.md +1 -1
  198. package/templates/skills/swarm-extensions/content.md +9 -5
  199. package/dist/cli-4wppfkcm.js +0 -16384
  200. package/dist/cli-55qrx3q8.js +0 -6041
  201. package/dist/cli-cg4vnyh4.js +0 -305
  202. package/dist/cli-jyetr64j.js +0 -52
  203. package/dist/cli-pp9ax9pa.js +0 -520
  204. package/dist/cli-qa66qaf0.js +0 -6076
  205. package/dist/cli-qghpvca2.js +0 -590
  206. package/dist/cli-rembwgt8.js +0 -861
  207. package/dist/cli-tcvj7j2r.js +0 -1971
  208. package/dist/cli-vfcth11k.js +0 -36
  209. package/dist/cli-w1d1bgkk.js +0 -1422
  210. package/dist/cli-y6x0gqtg.js +0 -5977
  211. package/dist/es5-tj3tn4jj.js +0 -844
  212. package/dist/index-1kq5hw2p.js +0 -467
  213. package/dist/index-1p8wdstt.js +0 -7
  214. package/dist/index-8fdjzb2f.js +0 -100
  215. package/dist/index-bxmwzbgw.js +0 -365
  216. package/dist/index-nzerxd5z.js +0 -7
  217. package/dist/index-pyymnzat.js +0 -1168
  218. package/dist/index-qv6atbab.js +0 -619
  219. package/dist/index-rja32qa7.js +0 -801
  220. package/dist/index-tzg5srfp.js +0 -211
  221. package/dist/index-vhncw983.js +0 -90
  222. package/dist/index-xk036zsk.js +0 -859
  223. package/dist/index-zyazbzcb.js +0 -6
  224. package/dist/{claude-managed-setup-48dwg9bv.js → claude-managed-setup-f5pmsyrp.js} +3 -3
@@ -6,21 +6,21 @@ import {
6
6
  extractArgsJsonSchema,
7
7
  extractScriptSignature,
8
8
  typecheckScript
9
- } from "./cli-wpv5rgg2.js";
9
+ } from "./cli-cdq08v3r.js";
10
10
  import {
11
11
  getScript,
12
12
  require_dist,
13
13
  upsertScriptByName,
14
14
  validateDefinition,
15
15
  validateScriptImports
16
- } from "./cli-fmy65jdn.js";
16
+ } from "./cli-6ks9xf1n.js";
17
17
  import"./cli-epan13p1.js";
18
18
  import"./cli-y89t4nca.js";
19
19
  import"./cli-f14fvzag.js";
20
- import"./cli-56h18ng2.js";
21
- import"./cli-gpqcs935.js";
22
- import"./cli-jew3jda5.js";
23
- import"./cli-fm4ytsdk.js";
20
+ import"./cli-r8tdds6s.js";
21
+ import"./cli-ysc1kbet.js";
22
+ import"./cli-7pnz2v6s.js";
23
+ import"./cli-0d9nbqxf.js";
24
24
  import"./cli-aehm1rbq.js";
25
25
  import"./cli-2658f6at.js";
26
26
  import {
@@ -39,15 +39,17 @@ import {
39
39
  updateSkill,
40
40
  updateWorkflow,
41
41
  upsertSkillFiles
42
- } from "./cli-zvgj5zg8.js";
43
- import"./cli-ht5rs63n.js";
42
+ } from "./cli-djvxhnc4.js";
43
+ import"./cli-zcsyfw2z.js";
44
+ import"./cli-b2g6mzjc.js";
44
45
  import"./cli-z61ykvam.js";
46
+ import"./cli-v4en75c5.js";
45
47
  import"./cli-dv6cdjs2.js";
46
- import"./cli-c2mk1kgf.js";
48
+ import"./cli-n7h1kqpf.js";
47
49
  import"./cli-ej6gbxfb.js";
48
50
  import"./cli-sd0mxa3c.js";
49
51
  import"./cli-w5e1d1vv.js";
50
- import"./cli-zvkq5csn.js";
52
+ import"./cli-ybpp1srm.js";
51
53
  import"./cli-r2ap2czm.js";
52
54
  import"./cli-zf8jjwex.js";
53
55
  import {
@@ -10541,7 +10543,7 @@ var config_default41 = `{
10541
10543
  `;
10542
10544
 
10543
10545
  // templates/skills/swarm-extensions/content.md
10544
- var content_default41 = "# Swarm Extensions\n\nAn extension is a trusted TypeScript hook bundle that runs inside the swarm API server. Use one when a rule must apply to the whole swarm: block or rewrite new tasks, route Slack channels, suppress follow-ups, change stalled-task remediation, guard tool calls, or react after a task or tool call finishes.\n\nDo not use an extension for work that one task, one script, or one schedule can do.\n\n## Tools\n\n`extension-install` and `extension-list`. They are deferred. Load them with your harness tool search before the first call.\n\n`extension-install` validates the bundle (manifest, imports, typecheck against the hook contract) and stores it. Only a lead agent, an operator, or a dashboard user may install. A worker gets `Forbidden` from the tool. When you are a worker, write and validate the bundle, then hand it to your lead with `send-task` (include the manifest, the hooks file, and the config) and report that in your output. Do not call the REST install route with the shared API key to get around the role check. The stored extension stays disabled. An operator enables it from the dashboard (Settings, Extensions) or with `POST /api/extensions/{id}/enable`. Say this in your task report and give the extension name.\n\nInstalling a bundle with the same name and changed files stores a new version. The active version does not change until an operator activates it.\n\n## Get the contract before you write hooks\n\nFetch the generated type definitions and read them. Do not guess event names or field names.\n\n```bash\ncurl -s \"$MCP_BASE_URL/api/extensions/type-defs\" \\\n -H \"X-Agent-ID: $AGENT_ID\" -H \"Authorization: Bearer ${AGENT_SWARM_API_KEY:-$API_KEY}\"\n```\n\n`$MCP_BASE_URL`, `$AGENT_ID`, and `$AGENT_SWARM_API_KEY` (or `$API_KEY`) are in every worker environment. The response is the `swarm-extension` module declaration: every event, its payload, and what a `modify` result may change.\n\n## Events\n\n| Event | When | Result |\n|---|---|---|\n| `pre.task.create` | before any task is stored (REST, MCP, Slack, schedule, workflow, webhook, follow-up) | `block(reason)`, `modify({ priority, agentId, tags, description, ... })`, or nothing |\n| `pre.task.followUp` | before the lead follow-up task for a finished worker task | `block`, `modify({ description, priority, agentId })`, or nothing |\n| `pre.slack.route` | before a Slack message becomes a task | `modify({ target: { kind: \"agent\", agentId } })`, `{ kind: \"lead\" }`, `{ kind: \"broadcast\" }` |\n| `pre.heartbeat.remediate` | after the heartbeat sweep finds a stalled task | `modify({ proposedAction: \"record\" | \"fail\" | \"supersede-resume\" })` |\n| `pre.tool.call` | before an agent MCP tool call runs | `block(reason)` or `modify({ args })` |\n| `post.task.created`, `post.task.completed`, `post.task.failed`, `post.task.cancelled`, `post.task.superseded`, `post.task.progress` | after the change is committed | none |\n| `post.slack.message`, `post.tool.call` | after the message or tool call finished | none |\n\n`event.origin` on `pre.task.create` tells where the task comes from: `rest`, `app`, `mcp`, `slack`, `schedule`, `workflow`, `webhook`, `followUp`, or `extension:<name>`.\n\n## Bundle shape\n\nThe bundle is a manifest plus a files map. Version 1 accepts one file, the `assets.hooks` TypeScript file, and only `runtime: \"api\"`.\n\n```json\n{\n \"manifest\": {\n \"name\": \"require-ticket-ref\",\n \"description\": \"Blocks REST and MCP tasks that do not name a ticket\",\n \"version\": \"1.0.0\",\n \"runtime\": \"api\",\n \"assets\": { \"hooks\": \"hooks.ts\" }\n },\n \"files\": { \"hooks.ts\": \"<file content>\" },\n \"config\": { \"pattern\": \"DES-\\\\d+\" }\n}\n```\n\nRules for `hooks.ts`:\n\n- Import only from `swarm-extension`, `zod`, and `stdlib`. Relative imports, other packages, and dynamic imports are rejected.\n- Export the extension as `default`. Export `config` (a Zod schema) when the extension takes configuration. The install validates `config` against it.\n- Return `block(reason)` or `modify(data)` from pre hooks. Return nothing to continue.\n- Keep handlers fast. A handler is cancelled after 5 seconds. Five consecutive failures auto-disable the extension.\n- Handlers run outside database transactions and must not assume ordering with other extensions. Use `priority` in `api.on(event, handler, { priority })` when order matters (lower runs first).\n\n## Minimal hooks file\n\n```ts\nimport { block, modify, type SwarmExtension } from \"swarm-extension\";\nimport { z } from \"zod\";\n\nexport const config = z.object({ pattern: z.string().default(\"DES-\\\\d+\") });\n\nconst manifest = {\n name: \"require-ticket-ref\",\n description: \"Blocks REST and MCP tasks that do not name a ticket\",\n version: \"1.0.0\",\n runtime: \"api\",\n assets: { hooks: \"hooks.ts\" },\n config,\n} as const;\n\nconst extension: SwarmExtension<typeof manifest> = (api) => {\n api.on(\"pre.task.create\", (event, ctx) => {\n if (event.origin !== \"rest\" && event.origin !== \"mcp\") return;\n if (new RegExp(ctx.config.pattern).test(event.description)) return;\n return block(`Task must reference a ticket matching ${ctx.config.pattern}`);\n });\n\n api.on(\"post.task.completed\", async (event, ctx) => {\n await ctx.state.incr(\"completed\");\n ctx.log.info(\"task completed\", { id: event.task.id });\n });\n};\n\nexport default extension;\n```\n\n## Context (`ctx`)\n\n- `ctx.config`: the validated configuration.\n- `ctx.state`: per-extension key-value store (`get`, `set`, `incr`, `del`).\n- `ctx.swarm`: the swarm SDK. Call any script-exposed tool by name with underscores, for example `await ctx.swarm.slack_post({ channelId, message })` or `await ctx.swarm.task_send({ ... })`. Calls made from a hook carry the `ext:<name>` identity, which has lead privileges while the extension is enabled. Calls resolve with `{ success, status, data }` and do not throw on a tool error. Check `success` and throw when the hook must fail. The type definitions import `SwarmSdk` from `swarm-sdk`. Call the `script-query-types` tool (or `GET /api/scripts/type-defs`) to get `swarm-sdk.d.ts` with every method name and argument type before you use `ctx.swarm`.\n- `ctx.log`: structured logger. Entries appear in the extension run log on the dashboard.\n- `ctx.signal`: abort signal for the 5-second cap.\n\n## Verify\n\n1. Call `extension-list` and confirm the name, version, and `enabled: false`.\n2. Report the enable step. After an operator enables it, the dashboard run log shows every dispatch with its result (`continue`, `modify`, `block`, or `error`).\n3. Trigger the event once and confirm the effect (for example, a blocked REST task returns HTTP 422 with your reason).\n\n## Common mistakes\n\n- Guessing event names. Fetch the type definitions.\n- Using `import` from a package other than `swarm-extension`, `zod`, or `stdlib`.\n- Returning a plain object instead of `block(...)` or `modify(...)`.\n- Modifying fields the event does not allow. Read the `*Modify` type for that event.\n- Expecting the extension to run after install. It runs only after an operator enables it.\n- Blocking tasks from every origin. Check `event.origin` so schedules, workflows, and follow-ups keep working unless you mean to block them.\n";
10546
+ var content_default41 = "# Swarm Extensions\n\nAn extension is a trusted TypeScript hook bundle that runs inside the swarm API server. Use one when a rule must apply to the whole swarm: block or rewrite new tasks, route Slack channels, suppress follow-ups, change stalled-task remediation, guard tool calls, or react after a task or tool call finishes.\n\nDo not use an extension for work that one task, one script, or one schedule can do.\n\n## Tools\n\n`extension-install` and `extension-list`. They are deferred. Load them with your harness tool search before the first call.\n\n`extension-install` validates the bundle (manifest, imports, typecheck against the hook contract) and stores it. Any authenticated agent, including a worker, can install a new bundle. 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.\n\nWorkers may install subsequent versions only for their own extensions, and PATCH or DELETE their own disabled drafts. Ownership stays with the original creator; each version records its writer as `changedByAgentId`. Leads, operators, and dashboard users retain access to all bundles.\n\nA new install is disabled and inert. A lead, operator, or dashboard user must enable it with `extension-enable` or `POST /api/extensions/{id}/enable`. Workers cannot enable, disable, or activate versions. Report the extension name and the required activation step.\n\nInstalling changed files under your existing name stages a new version without activating it. Workers may stage code-only 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.\n\n## Get the contract before you write hooks\n\nFetch the generated type definitions and read them. Do not guess event names or field names.\n\n```bash\ncurl -s \"$MCP_BASE_URL/api/extensions/type-defs\" \\\n -H \"X-Agent-ID: $AGENT_ID\" -H \"Authorization: Bearer ${AGENT_SWARM_API_KEY:-$API_KEY}\"\n```\n\n`$MCP_BASE_URL`, `$AGENT_ID`, and `$AGENT_SWARM_API_KEY` (or `$API_KEY`) are in every worker environment. The response is the `swarm-extension` module declaration: every event, its payload, and what a `modify` result may change.\n\n## Events\n\n| Event | When | Result |\n|---|---|---|\n| `pre.task.create` | before any task is stored (REST, MCP, Slack, schedule, workflow, webhook, follow-up) | `block(reason)`, `modify({ priority, agentId, tags, description, ... })`, or nothing |\n| `pre.task.followUp` | before the lead follow-up task for a finished worker task | `block`, `modify({ description, priority, agentId })`, or nothing |\n| `pre.slack.route` | before a Slack message becomes a task | `modify({ target: { kind: \"agent\", agentId } })`, `{ kind: \"lead\" }`, `{ kind: \"broadcast\" }` |\n| `pre.heartbeat.remediate` | after the heartbeat sweep finds a stalled task | `modify({ proposedAction: \"record\" | \"fail\" | \"supersede-resume\" })` |\n| `pre.tool.call` | before an agent MCP tool call runs | `block(reason)` or `modify({ args })` |\n| `post.task.created`, `post.task.completed`, `post.task.failed`, `post.task.cancelled`, `post.task.superseded`, `post.task.progress` | after the change is committed | none |\n| `post.slack.message`, `post.tool.call` | after the message or tool call finished | none |\n\n`event.origin` on `pre.task.create` tells where the task comes from: `rest`, `app`, `mcp`, `slack`, `schedule`, `workflow`, `webhook`, `followUp`, or `extension:<name>`.\n\n## Bundle shape\n\nThe bundle is a manifest plus a files map. Version 1 accepts one file, the `assets.hooks` TypeScript file, and only `runtime: \"api\"`.\n\n```json\n{\n \"manifest\": {\n \"name\": \"require-ticket-ref\",\n \"description\": \"Blocks REST and MCP tasks that do not name a ticket\",\n \"version\": \"1.0.0\",\n \"runtime\": \"api\",\n \"assets\": { \"hooks\": \"hooks.ts\" }\n },\n \"files\": { \"hooks.ts\": \"<file content>\" },\n \"config\": { \"pattern\": \"DES-\\\\d+\" }\n}\n```\n\nRules for `hooks.ts`:\n\n- Import only from `swarm-extension`, `zod`, and `stdlib`. Relative imports, other packages, and dynamic imports are rejected.\n- Export the extension as `default`. Export `config` (a Zod schema) when the extension takes configuration. Activation validates `config` against it.\n- Return `block(reason)` or `modify(data)` from pre hooks. Return nothing to continue.\n- Keep handlers fast. A handler is cancelled after 5 seconds. Five consecutive failures auto-disable the extension.\n- Handlers run outside database transactions and must not assume ordering with other extensions. Use `priority` in `api.on(event, handler, { priority })` when order matters (lower runs first).\n\n## Minimal hooks file\n\n```ts\nimport { block, modify, type SwarmExtension } from \"swarm-extension\";\nimport { z } from \"zod\";\n\nexport const config = z.object({ pattern: z.string().default(\"DES-\\\\d+\") });\n\nconst manifest = {\n name: \"require-ticket-ref\",\n description: \"Blocks REST and MCP tasks that do not name a ticket\",\n version: \"1.0.0\",\n runtime: \"api\",\n assets: { hooks: \"hooks.ts\" },\n config,\n} as const;\n\nconst extension: SwarmExtension<typeof manifest> = (api) => {\n api.on(\"pre.task.create\", (event, ctx) => {\n if (event.origin !== \"rest\" && event.origin !== \"mcp\") return;\n if (new RegExp(ctx.config.pattern).test(event.description)) return;\n return block(`Task must reference a ticket matching ${ctx.config.pattern}`);\n });\n\n api.on(\"post.task.completed\", async (event, ctx) => {\n await ctx.state.incr(\"completed\");\n ctx.log.info(\"task completed\", { id: event.task.id });\n });\n};\n\nexport default extension;\n```\n\n## Context (`ctx`)\n\n- `ctx.config`: the validated configuration.\n- `ctx.state`: per-extension key-value store (`get`, `set`, `incr`, `del`).\n- `ctx.swarm`: the swarm SDK. Call any script-exposed tool by name with underscores, for example `await ctx.swarm.slack_post({ channelId, message })` or `await ctx.swarm.task_send({ ... })`. Calls made from a hook carry the `ext:<name>` identity, which has lead privileges while the extension is enabled. Calls resolve with `{ success, status, data }` and do not throw on a tool error. Check `success` and throw when the hook must fail. The type definitions import `SwarmSdk` from `swarm-sdk`. Call the `script-query-types` tool (or `GET /api/scripts/type-defs`) to get `swarm-sdk.d.ts` with every method name and argument type before you use `ctx.swarm`.\n- `ctx.log`: structured logger. Entries appear in the extension run log on the dashboard.\n- `ctx.signal`: abort signal for the 5-second cap.\n\n## Verify\n\n1. Call `extension-list` and confirm the name, version, and `enabled: false`.\n2. Report the enable step. After a lead or operator enables it, the dashboard run log shows every dispatch with its result (`continue`, `modify`, `block`, or `error`).\n3. Trigger the event once and confirm the effect (for example, a blocked REST task returns HTTP 422 with your reason).\n\n## Common mistakes\n\n- Guessing event names. Fetch the type definitions.\n- Using `import` from a package other than `swarm-extension`, `zod`, or `stdlib`.\n- Returning a plain object instead of `block(...)` or `modify(...)`.\n- Modifying fields the event does not allow. Read the `*Modify` type for that event.\n- Expecting the extension to run after install. It runs only after a lead or operator enables it.\n- Blocking tasks from every origin. Check `event.origin` so schedules, workflows, and follow-ups keep working unless you mean to block them.\n";
10545
10547
 
10546
10548
  // templates/skills/swarm-scripts/config.json
10547
10549
  var config_default42 = `{
@@ -15451,29 +15453,42 @@ Use the setup milestone data already retrieved from \`/status\`. Report only int
15451
15453
 
15452
15454
  ---
15453
15455
 
15454
- ## Phase 2: Post one digest
15456
+ ## Phase 2: Post one digest — EXCEPTION-ONLY, HARD CEILING 600 CHARACTERS
15455
15457
 
15456
- Post to your configured admin channel (or the in-app fallback if none is configured). Keep it to one message; omit any section with nothing to report.
15458
+ Operator feedback, 2026-09-23, verbatim: "too verbose every day". Brevity is a requirement of this job, not a preference. Count the characters before posting; over 600 ⇒ cut until it fits. A long report is a failed run, not a thorough one.
15457
15459
 
15458
- \`\`\`
15459
- 📊 Daily Status Report — [date]
15460
+ Post ONE message to your configured admin channel (in-app fallback if none configured).
15460
15461
 
15461
- Waiting on you: [N] needs_setup automations — [name: missing parameters/integrations → fix URL].
15462
+ **Everything healthy ⇒ exactly this one line, nothing else:**
15462
15463
 
15463
- Workflows: [X] enabled / [Y] total. [N] hard failures, [M] halted >24h in the last 24h.
15464
- Schedules: [X] enabled / [Y] total. [N] hard failures, [M] didn't fire on time, [K] with ≥3 consecutive errors.
15465
- Agents: [X] online / [Y] total. [names of any agent at/over capacity]. [N] agent-attributed failures in 7d.
15466
- Task failures (7d): [N] needs_setup · [N] gate-refusal · [N] infra · [N] real-defect · [N] unclassified (no reason set).
15467
- Integration setup: [missing credentials from /status], or all verified.
15468
15464
  \`\`\`
15465
+ 📊 <MM-DD> — all clear. Workflows <X>/<Y> · schedules <X>/<Y> · agents <X>/<Y> · <N> failures 7d, <N> real defects. Nothing for you.
15466
+ \`\`\`
15467
+
15468
+ **Add a line ONLY for something both TRUE and ACTIONABLE. Max 3 lines, one sentence each, no sub-bullets:**
15469
+ - an automation in \`needs_setup\` or an unverified integration — name + \`fixUrl\`
15470
+ - a workflow run halted >24h (Phase 1B)
15471
+ - a real defect, or a failure cluster on one agent / schedule / provider
15472
+ - a decision only the operator can make — state the options, end on the question
15473
+
15474
+ More than 3 qualify ⇒ post the 3 that matter and put the rest in the task output.
15475
+
15476
+ **NEVER in the Slack post** — all of this belongs in \`store-progress\` output, where the audit trail lives:
15477
+ - row counts and "read-only report" notes
15478
+ - methodology, query names, script names, phase narration
15479
+ - any zero ("0 halted", "all verified", "no data-quality gap") — silence means zero
15480
+ - week-over-week trend, unless a class crossed a threshold you name in the same line
15481
+ - a finding yesterday's report already carried unchanged
15482
+ - numbered explainers or paragraphs of reasoning
15469
15483
 
15470
15484
  ## Phase 3: Complete
15471
- \`store-progress\` with \`status: "completed"\` and an output paragraph naming the counts above and the Slack message ts (if posted).
15485
+ \`store-progress\` with \`status: "completed"\`. **This is where the detail goes** — every count from Phase 1, the per-class failure breakdown, and the Slack message ts. The Slack post is the headline; the task output is the record. Cutting the post does not mean cutting the work.
15472
15486
 
15473
15487
  ## Anti-patterns
15474
15488
  - ❌ Modifying anything — this schedule reports, it doesn't fix (that's \`daily-workflow-health-audit\` for plumbing and \`daily-compounding-reflection\` for agent/skill/memory evolution).
15475
15489
  - ❌ Folding the unclassified-failure bucket into "real defect" to make the number look more actionable than it is.
15476
- - ❌ Omitting the Waiting on you section — say explicitly when no automation is in \`needs_setup\` and all integrations are verified.
15490
+ - ❌ Narrating a zero. The all-clear line already covers \`needs_setup\` and integrations; only a non-verified integration or a real \`needs_setup\` automation earns its own line.
15491
+ - ❌ Exceeding 600 characters, or posting more than one message.
15477
15492
  `;
15478
15493
 
15479
15494
  // templates/schedules/daily-swarm-update-check/config.json
@@ -15745,7 +15760,7 @@ Otherwise:
15745
15760
  • schedule:<name> — consecutiveErrors=<n>, last error: <lastErrSnippet>
15746
15761
  \`\`\`
15747
15762
 
15748
- Omit any section whose count is 0. Cap message at 4000 chars (Slack limit) — if longer, keep top 5 per section and add \`…and <K> more\` lines.
15763
+ Omit any section whose count is 0. **HARD CEILING 700 characters — not the 4000-char Slack limit.** (Operator feedback, 2026-09-23: "too verbose every day".) Keep at most the top 3 items across ALL sections combined, one line each; everything else goes in the \`store-progress\` output, not the post. Over 700 chars ⇒ cut until it fits. A long digest is a failed run, not a thorough one.
15749
15764
 
15750
15765
  ---
15751
15766
 
@@ -4,52 +4,56 @@ import {
4
4
  runScheduleNow,
5
5
  startScheduler,
6
6
  stopScheduler
7
- } from "./cli-z3wkng35.js";
7
+ } from "./cli-qrqhc31j.js";
8
8
  import"./cli-0z2v4nhw.js";
9
- import"./cli-4wppfkcm.js";
9
+ import"./cli-7g9s78jf.js";
10
10
  import"./cli-e7d20cty.js";
11
11
  import"./cli-re8z5p8p.js";
12
12
  import"./cli-3dpj7atn.js";
13
- import"./cli-b9dd0h3k.js";
14
- import"./cli-r84ctdxn.js";
15
- import"./cli-zfzznn7c.js";
16
- import"./cli-fmy65jdn.js";
13
+ import"./cli-d6hk10xx.js";
14
+ import"./cli-vw03hg5t.js";
15
+ import"./cli-tdh4hjr2.js";
16
+ import"./cli-83wkg402.js";
17
+ import"./cli-ytxs7mn1.js";
18
+ import"./cli-6ks9xf1n.js";
17
19
  import"./cli-epan13p1.js";
18
20
  import"./cli-y89t4nca.js";
19
21
  import"./cli-f14fvzag.js";
20
- import"./cli-fad8m16k.js";
21
- import"./cli-56h18ng2.js";
22
- import"./cli-2nnd56zt.js";
22
+ import"./cli-r8tdds6s.js";
23
23
  import"./cli-bsakbbkm.js";
24
- import"./cli-gpqcs935.js";
24
+ import"./cli-fad8m16k.js";
25
+ import"./cli-jsp14b6c.js";
26
+ import"./cli-ysc1kbet.js";
27
+ import"./cli-7pnz2v6s.js";
28
+ import"./cli-0d9nbqxf.js";
29
+ import"./cli-aehm1rbq.js";
25
30
  import"./cli-51tf7ac3.js";
26
- import"./cli-qn042eh7.js";
31
+ import"./cli-n0q9b7j4.js";
27
32
  import"./cli-q51yprfq.js";
33
+ import"./cli-3er6gcsn.js";
28
34
  import"./cli-yatxqynm.js";
29
- import"./cli-jew3jda5.js";
30
- import"./cli-fm4ytsdk.js";
31
- import"./cli-aehm1rbq.js";
32
35
  import"./cli-2658f6at.js";
33
- import"./cli-jsp14b6c.js";
34
- import"./cli-zvgj5zg8.js";
35
- import"./cli-ht5rs63n.js";
36
+ import"./cli-djvxhnc4.js";
37
+ import"./cli-zcsyfw2z.js";
38
+ import"./cli-b2g6mzjc.js";
36
39
  import"./cli-z61ykvam.js";
40
+ import"./cli-v4en75c5.js";
37
41
  import"./cli-dv6cdjs2.js";
38
- import"./cli-c2mk1kgf.js";
42
+ import"./cli-n7h1kqpf.js";
39
43
  import"./cli-ej6gbxfb.js";
40
44
  import"./cli-sd0mxa3c.js";
41
45
  import"./cli-w5e1d1vv.js";
42
- import"./cli-zvkq5csn.js";
46
+ import"./cli-ybpp1srm.js";
43
47
  import"./cli-r2ap2czm.js";
44
- import"./cli-pzxba7gw.js";
45
- import"./cli-f7kvq46p.js";
46
- import"./cli-zf8jjwex.js";
47
- import"./cli-c4eeb5q2.js";
48
- import"./cli-rgvp6r2x.js";
48
+ import"./cli-5b6b62tz.js";
49
49
  import"./cli-btbzvq95.js";
50
50
  import"./cli-1m2e086m.js";
51
- import"./cli-8wrympd7.js";
51
+ import"./cli-mcnhgnn1.js";
52
+ import"./cli-bzr0ftht.js";
52
53
  import"./cli-bd957dgb.js";
54
+ import"./cli-pzxba7gw.js";
55
+ import"./cli-f7kvq46p.js";
56
+ import"./cli-zf8jjwex.js";
53
57
  import"./cli-bc05qbss.js";
54
58
  export {
55
59
  calculateNextRun,
@@ -20,59 +20,63 @@ import {
20
20
  stopWaitPoller,
21
21
  subscribeWaitToBus,
22
22
  validateTemplateVariables
23
- } from "./cli-z3wkng35.js";
23
+ } from "./cli-qrqhc31j.js";
24
24
  import"./cli-0z2v4nhw.js";
25
- import"./cli-4wppfkcm.js";
25
+ import"./cli-7g9s78jf.js";
26
26
  import"./cli-e7d20cty.js";
27
27
  import"./cli-re8z5p8p.js";
28
28
  import"./cli-3dpj7atn.js";
29
- import"./cli-b9dd0h3k.js";
30
- import"./cli-r84ctdxn.js";
31
- import"./cli-zfzznn7c.js";
29
+ import"./cli-d6hk10xx.js";
30
+ import"./cli-vw03hg5t.js";
31
+ import"./cli-tdh4hjr2.js";
32
+ import"./cli-83wkg402.js";
33
+ import"./cli-ytxs7mn1.js";
32
34
  import {
33
35
  findEntryNodes,
34
36
  getSuccessors
35
- } from "./cli-fmy65jdn.js";
37
+ } from "./cli-6ks9xf1n.js";
36
38
  import"./cli-epan13p1.js";
37
39
  import"./cli-y89t4nca.js";
38
40
  import"./cli-f14fvzag.js";
39
- import"./cli-fad8m16k.js";
40
- import"./cli-56h18ng2.js";
41
- import"./cli-2nnd56zt.js";
41
+ import"./cli-r8tdds6s.js";
42
42
  import"./cli-bsakbbkm.js";
43
- import"./cli-gpqcs935.js";
43
+ import"./cli-fad8m16k.js";
44
+ import"./cli-jsp14b6c.js";
45
+ import"./cli-ysc1kbet.js";
46
+ import"./cli-7pnz2v6s.js";
47
+ import"./cli-0d9nbqxf.js";
48
+ import"./cli-aehm1rbq.js";
44
49
  import"./cli-51tf7ac3.js";
45
- import"./cli-qn042eh7.js";
50
+ import"./cli-n0q9b7j4.js";
46
51
  import"./cli-q51yprfq.js";
52
+ import"./cli-3er6gcsn.js";
47
53
  import"./cli-yatxqynm.js";
48
- import"./cli-jew3jda5.js";
49
- import"./cli-fm4ytsdk.js";
50
- import"./cli-aehm1rbq.js";
51
54
  import"./cli-2658f6at.js";
52
- import"./cli-jsp14b6c.js";
53
- import"./cli-zvgj5zg8.js";
54
- import"./cli-ht5rs63n.js";
55
+ import"./cli-djvxhnc4.js";
56
+ import"./cli-zcsyfw2z.js";
57
+ import"./cli-b2g6mzjc.js";
55
58
  import {
56
59
  interpolate
57
60
  } from "./cli-z61ykvam.js";
61
+ import"./cli-v4en75c5.js";
58
62
  import"./cli-dv6cdjs2.js";
59
- import"./cli-c2mk1kgf.js";
63
+ import"./cli-n7h1kqpf.js";
60
64
  import"./cli-ej6gbxfb.js";
61
65
  import"./cli-sd0mxa3c.js";
62
66
  import"./cli-w5e1d1vv.js";
63
- import"./cli-zvkq5csn.js";
67
+ import"./cli-ybpp1srm.js";
64
68
  import"./cli-r2ap2czm.js";
69
+ import"./cli-5b6b62tz.js";
70
+ import"./cli-btbzvq95.js";
71
+ import"./cli-1m2e086m.js";
72
+ import"./cli-mcnhgnn1.js";
73
+ import"./cli-bzr0ftht.js";
74
+ import"./cli-bd957dgb.js";
65
75
  import"./cli-pzxba7gw.js";
66
76
  import {
67
77
  workflowEventBus
68
78
  } from "./cli-f7kvq46p.js";
69
79
  import"./cli-zf8jjwex.js";
70
- import"./cli-c4eeb5q2.js";
71
- import"./cli-rgvp6r2x.js";
72
- import"./cli-btbzvq95.js";
73
- import"./cli-1m2e086m.js";
74
- import"./cli-8wrympd7.js";
75
- import"./cli-bd957dgb.js";
76
80
  import"./cli-bc05qbss.js";
77
81
  export {
78
82
  cancelWorkflowRun,
@@ -8,7 +8,7 @@ import {
8
8
  __toCommonJS
9
9
  } from "./cli-bc05qbss.js";
10
10
 
11
- // node_modules/https-proxy-agent/node_modules/debug/node_modules/ms/index.js
11
+ // node_modules/gaxios/node_modules/https-proxy-agent/node_modules/debug/node_modules/ms/index.js
12
12
  var require_ms = __commonJS(function(exports, module) {
13
13
  var s = 1000;
14
14
  var m = s * 60;
@@ -118,7 +118,7 @@ var require_ms = __commonJS(function(exports, module) {
118
118
  }
119
119
  });
120
120
 
121
- // node_modules/https-proxy-agent/node_modules/debug/src/common.js
121
+ // node_modules/gaxios/node_modules/https-proxy-agent/node_modules/debug/src/common.js
122
122
  var require_common = __commonJS(function(exports, module) {
123
123
  function setup(env) {
124
124
  createDebug.debug = createDebug;
@@ -293,7 +293,7 @@ var require_common = __commonJS(function(exports, module) {
293
293
  module.exports = setup;
294
294
  });
295
295
 
296
- // node_modules/https-proxy-agent/node_modules/debug/src/browser.js
296
+ // node_modules/gaxios/node_modules/https-proxy-agent/node_modules/debug/src/browser.js
297
297
  var require_browser = __commonJS(function(exports, module) {
298
298
  exports.formatArgs = formatArgs;
299
299
  exports.save = save;
@@ -453,7 +453,7 @@ var require_browser = __commonJS(function(exports, module) {
453
453
  };
454
454
  });
455
455
 
456
- // node_modules/https-proxy-agent/node_modules/debug/src/node.js
456
+ // node_modules/gaxios/node_modules/https-proxy-agent/node_modules/debug/src/node.js
457
457
  var require_node = __commonJS(function(exports, module) {
458
458
  var tty = __require("tty");
459
459
  var util = __require("util");
@@ -624,7 +624,7 @@ var require_node = __commonJS(function(exports, module) {
624
624
  };
625
625
  });
626
626
 
627
- // node_modules/https-proxy-agent/node_modules/debug/src/index.js
627
+ // node_modules/gaxios/node_modules/https-proxy-agent/node_modules/debug/src/index.js
628
628
  var require_src = __commonJS(function(exports, module) {
629
629
  if (typeof process === "undefined" || process.type === "renderer" || false || process.__nwjs) {
630
630
  module.exports = require_browser();
@@ -633,7 +633,7 @@ var require_src = __commonJS(function(exports, module) {
633
633
  }
634
634
  });
635
635
 
636
- // node_modules/agent-base/dist/helpers.js
636
+ // node_modules/gaxios/node_modules/https-proxy-agent/node_modules/agent-base/dist/helpers.js
637
637
  var require_helpers = __commonJS(function(exports) {
638
638
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
639
639
  if (k2 === undefined)
@@ -705,7 +705,7 @@ var require_helpers = __commonJS(function(exports) {
705
705
  exports.req = req;
706
706
  });
707
707
 
708
- // node_modules/agent-base/dist/index.js
708
+ // node_modules/gaxios/node_modules/https-proxy-agent/node_modules/agent-base/dist/index.js
709
709
  var require_dist = __commonJS(function(exports) {
710
710
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
711
711
  if (k2 === undefined)
@@ -856,7 +856,7 @@ var require_dist = __commonJS(function(exports) {
856
856
  exports.Agent = Agent;
857
857
  });
858
858
 
859
- // node_modules/https-proxy-agent/dist/parse-proxy-response.js
859
+ // node_modules/gaxios/node_modules/https-proxy-agent/dist/parse-proxy-response.js
860
860
  var require_parse_proxy_response = __commonJS(function(exports) {
861
861
  var __importDefault = exports && exports.__importDefault || function(mod) {
862
862
  return mod && mod.__esModule ? mod : { default: mod };
@@ -952,7 +952,7 @@ var require_parse_proxy_response = __commonJS(function(exports) {
952
952
  exports.parseProxyResponse = parseProxyResponse;
953
953
  });
954
954
 
955
- // node_modules/https-proxy-agent/dist/index.js
955
+ // node_modules/gaxios/node_modules/https-proxy-agent/dist/index.js
956
956
  var require_dist2 = __commonJS(function(exports) {
957
957
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
958
958
  if (k2 === undefined)
@@ -1099,5 +1099,4 @@ var require_dist2 = __commonJS(function(exports) {
1099
1099
  return ret;
1100
1100
  }
1101
1101
  });
1102
-
1103
- export { require_dist, require_dist2 as require_dist1 };
1102
+ export default require_dist2();
@@ -2,19 +2,21 @@ import {
2
2
  getEmbeddingProvider,
3
3
  getMemoryStore,
4
4
  resetEmbeddingProvider
5
- } from "./cli-jew3jda5.js";
6
- import"./cli-fm4ytsdk.js";
5
+ } from "./cli-7pnz2v6s.js";
6
+ import"./cli-0d9nbqxf.js";
7
7
  import"./cli-aehm1rbq.js";
8
8
  import"./cli-2658f6at.js";
9
- import"./cli-zvgj5zg8.js";
10
- import"./cli-ht5rs63n.js";
9
+ import"./cli-djvxhnc4.js";
10
+ import"./cli-zcsyfw2z.js";
11
+ import"./cli-b2g6mzjc.js";
11
12
  import"./cli-z61ykvam.js";
13
+ import"./cli-v4en75c5.js";
12
14
  import"./cli-dv6cdjs2.js";
13
- import"./cli-c2mk1kgf.js";
15
+ import"./cli-n7h1kqpf.js";
14
16
  import"./cli-ej6gbxfb.js";
15
17
  import"./cli-sd0mxa3c.js";
16
18
  import"./cli-w5e1d1vv.js";
17
- import"./cli-zvkq5csn.js";
19
+ import"./cli-ybpp1srm.js";
18
20
  import"./cli-r2ap2czm.js";
19
21
  import"./cli-zf8jjwex.js";
20
22
  import"./cli-bc05qbss.js";