@desplega.ai/agent-swarm 2.7.0 → 2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. package/dist/{acp-adapter-ma1js5n7.js → acp-adapter-8dn5tq56.js} +6 -6
  2. package/dist/{actions-1vhmtvg9.js → actions-3r6gw7dy.js} +18 -18
  3. package/dist/{amp-adapter-sxqqvmdk.js → amp-adapter-wjtq413p.js} +3 -3
  4. package/dist/{anthropic-messages-txs190dd.js → anthropic-messages-n4cby1rz.js} +4 -4
  5. package/dist/{app-mwx1d5a9.js → app-d53yhykk.js} +3 -3
  6. package/dist/{assistant-yx1p6g82.js → assistant-ksrawj3k.js} +20 -20
  7. package/dist/{boot-reembed-7h78vmvv.js → boot-reembed-fxfw17m2.js} +10 -3
  8. package/dist/{boot-reembed-5h37a2c2.js → boot-reembed-k5y5xbj0.js} +15 -8
  9. package/dist/{boot-scrub-sweep-8mawd4gw.js → boot-scrub-sweep-se41j9fd.js} +3 -3
  10. package/dist/{boot-seeds-ca84dhnn.js → boot-seeds-r3kwwv8b.js} +4 -4
  11. package/dist/{claude-adapter-wqt4hfkq.js → claude-adapter-ahmyf231.js} +7 -7
  12. package/dist/{claude-managed-adapter-6fjqtr2z.js → claude-managed-adapter-5knamegc.js} +3 -3
  13. package/dist/{claude-managed-setup-rqv98sea.js → claude-managed-setup-mdc7dy6b.js} +2 -2
  14. package/dist/{claude-sdk-session-f29f3b2x.js → claude-sdk-session-n5wen9zk.js} +8728 -8599
  15. package/dist/{cli-m5e802r7.js → cli-0dqtv2jg.js} +2 -2
  16. package/dist/{cli-e1595bgx.js → cli-0tww7dnz.js} +2 -2
  17. package/dist/{cli-2y7v133v.js → cli-0w4e4v58.js} +7 -7
  18. package/dist/{cli-d20qvpr2.js → cli-2sjm3t4r.js} +1 -1
  19. package/dist/{cli-gf2850q7.js → cli-3cywb44q.js} +18 -1
  20. package/dist/{cli-8wkb09q5.js → cli-3k9jej0c.js} +2 -2
  21. package/dist/{cli-twctnkng.js → cli-3v2cyqb8.js} +3 -3
  22. package/dist/{cli-he9gbdx0.js → cli-5qt9vzmq.js} +39 -20
  23. package/dist/{cli-a6ds2epe.js → cli-5rp1w4cr.js} +1 -1
  24. package/dist/{cli-6srv653c.js → cli-6vwjsetx.js} +4 -4
  25. package/dist/{cli-1hhbzkbb.js → cli-6w2yrrc0.js} +8 -8
  26. package/dist/{cli-f12mr20z.js → cli-75tdydgv.js} +1 -1
  27. package/dist/{cli-j3y0x2n4.js → cli-8feswf2v.js} +43 -33
  28. package/dist/{cli-07q03xm2.js → cli-8wd3mbyj.js} +1 -1
  29. package/dist/{cli-ymjpkxgn.js → cli-9csfthbw.js} +8 -6
  30. package/dist/{cli-f1e0ptjj.js → cli-b41p764a.js} +21 -2
  31. package/dist/{cli-kv7sbc2c.js → cli-c1t533hh.js} +3 -3
  32. package/dist/{cli-54sj64fc.js → cli-c28jxpcv.js} +1 -1
  33. package/dist/{cli-8mbc9za9.js → cli-cb50g9cd.js} +1 -1
  34. package/dist/{cli-c668vvcf.js → cli-d8gaphtr.js} +1 -1
  35. package/dist/{cli-86ehn4s5.js → cli-dgtfysne.js} +2 -2
  36. package/dist/{cli-sjctjr48.js → cli-dscnhn18.js} +1 -1
  37. package/dist/{cli-j0ppywdr.js → cli-dv11pgpv.js} +12 -12
  38. package/dist/{cli-1m9x8dr5.js → cli-ekptgk2m.js} +5 -5
  39. package/dist/{cli-9gsm2rzp.js → cli-f3mzy662.js} +17 -17
  40. package/dist/{cli-s0mgx214.js → cli-fk7k8s9x.js} +2 -2
  41. package/dist/{cli-vbhgkw9h.js → cli-h3e7bhvn.js} +3 -3
  42. package/dist/{cli-yd2nreqw.js → cli-hkxqdmnb.js} +2 -2
  43. package/dist/{cli-8wmj18cz.js → cli-hpkvgdad.js} +7 -4
  44. package/dist/{cli-wqr7cea4.js → cli-hq2v4rr5.js} +37 -9
  45. package/dist/{cli-sgqm2582.js → cli-k1zb7raw.js} +5 -5
  46. package/dist/{cli-4rvr7zfx.js → cli-k4awgvzm.js} +5 -0
  47. package/dist/{cli-ay40dnj3.js → cli-k7d3hvya.js} +2 -2
  48. package/dist/{cli-j9bpmykh.js → cli-kbtdftbw.js} +5 -5
  49. package/dist/{cli-x37r7qwf.js → cli-kj69b9tw.js} +25 -5
  50. package/dist/{cli-gsfk58nw.js → cli-kk9jy4nm.js} +1 -1
  51. package/dist/{cli-39aet655.js → cli-m52t4cta.js} +1 -1
  52. package/dist/{cli-h5jeg46p.js → cli-mdadewqp.js} +5 -5
  53. package/dist/{cli-a89zdqz9.js → cli-nf6k60sn.js} +1 -1
  54. package/dist/{cli-v6shg7na.js → cli-nzdf09js.js} +1 -1
  55. package/dist/{cli-rr7zx19j.js → cli-prcyzecg.js} +12 -12
  56. package/dist/{cli-6a9qfa8b.js → cli-pzafyqtk.js} +118 -48
  57. package/dist/{cli-48gxjmcz.js → cli-qvaa1gjp.js} +87 -24
  58. package/dist/{cli-qj442fws.js → cli-rg4b2g6j.js} +1 -1
  59. package/dist/{cli-aypd09nf.js → cli-rm66vqdz.js} +1 -1
  60. package/dist/{cli-9pshx6rd.js → cli-s504c3w7.js} +1 -1
  61. package/dist/{cli-ptfq202x.js → cli-swkx9jm2.js} +3 -3
  62. package/dist/{cli-m30k9777.js → cli-thsaq4pd.js} +16 -16
  63. package/dist/{cli-60sty27p.js → cli-twjnyvs8.js} +2 -2
  64. package/dist/{cli-rd5m70gj.js → cli-typdpe8g.js} +4 -4
  65. package/dist/{cli-yxbsmx56.js → cli-vg8pwmsd.js} +6 -6
  66. package/dist/{cli-s09j9vp5.js → cli-vhpckzvp.js} +1 -1
  67. package/dist/{cli-dv97kdzv.js → cli-wdxgsdz5.js} +2 -2
  68. package/dist/{cli-7a6p4e65.js → cli-wtjg6je3.js} +1 -1
  69. package/dist/{cli-b3yzyc57.js → cli-x3cngb1h.js} +44 -12
  70. package/dist/{cli-6mgdba42.js → cli-xbz6mcg4.js} +2 -2
  71. package/dist/{cli-2pvzmas1.js → cli-y4tdxsqb.js} +3 -3
  72. package/dist/{cli-f4dbh7a5.js → cli-yqrsp3ny.js} +7 -7
  73. package/dist/cli.js +27 -19
  74. package/dist/{codex-adapter-zk59x2zh.js → codex-adapter-7wepzq15.js} +5 -5
  75. package/dist/{codex-hook-xyjhvxwd.js → codex-hook-pbdh4xhx.js} +2 -2
  76. package/dist/{codex-session-runner-kh6s4j3n.js → codex-session-runner-02sb49e4.js} +5 -5
  77. package/dist/{commands-68et1qv2.js → commands-3rcspxct.js} +2 -2
  78. package/dist/{controller-fyrbnzg4.js → controller-8ar4avd6.js} +3 -3
  79. package/dist/{controllers-connect-nep9h2xv.js → controllers-connect-ajvh9h0v.js} +19 -19
  80. package/dist/{cursor-adapter-yss3pg7t.js → cursor-adapter-gd0sa7bh.js} +1 -1
  81. package/dist/{db-28gjyvxj.js → db-dv9j7ts5.js} +2 -2
  82. package/dist/{db-8ftwvzba.js → db-z26vgdvj.js} +3 -3
  83. package/dist/{dispatcher-hayexmkr.js → dispatcher-8m0htjq8.js} +17 -17
  84. package/dist/{dsh-adapter-46wawff9.js → dsh-adapter-y8gyk130.js} +1 -1
  85. package/dist/{e2b-fn3zacvt.js → e2b-74vg9b7e.js} +1 -1
  86. package/dist/{e2b-222hsajc.js → e2b-jyay8wzn.js} +1 -1
  87. package/dist/{easter-egg-3d-8d1e0h4m.js → easter-egg-3d-28f880xx.js} +1 -1
  88. package/dist/{execute-cjrfxfnm.js → execute-9seb79vh.js} +1 -1
  89. package/dist/{external-channel-xbmxcg09.js → external-channel-smz7jyth.js} +2 -2
  90. package/dist/{getMachineId-bsd-brn0xym3.js → getMachineId-bsd-whfre6gr.js} +3 -3
  91. package/dist/{getMachineId-darwin-t339sfxm.js → getMachineId-darwin-5zjynb19.js} +3 -3
  92. package/dist/{getMachineId-linux-5eq95d8b.js → getMachineId-linux-8mksrrsq.js} +3 -3
  93. package/dist/{getMachineId-unsupported-qavrtc7j.js → getMachineId-unsupported-fxtqsdt2.js} +3 -3
  94. package/dist/{getMachineId-win-q7fe1wx7.js → getMachineId-win-nzfmz857.js} +3 -3
  95. package/dist/{grok-adapter-ag4wks2a.js → grok-adapter-z0nnvtbn.js} +7 -7
  96. package/dist/handlers-pspryh6g.js +41 -0
  97. package/dist/{heartbeat-psfvcgwp.js → heartbeat-f928aqyp.js} +20 -20
  98. package/dist/{hook-cyq4mryn.js → hook-d7c605r4.js} +7 -7
  99. package/dist/{hook-8pz04697.js → hook-q9hv5xf9.js} +5 -5
  100. package/dist/{http-haj1nd6k.js → http-q6j4k989.js} +934 -180
  101. package/dist/{index-z5h22pes.js → index-5nb266jr.js} +17 -17
  102. package/dist/{index-ysd45kgc.js → index-8fxt5eah.js} +10 -10
  103. package/dist/{index-zgvqzjsw.js → index-cekzwhez.js} +5 -5
  104. package/dist/{index-zyq8ct52.js → index-ch0c1xff.js} +17 -17
  105. package/dist/{index-syvhnvtw.js → index-ebnjhxh1.js} +1 -1
  106. package/dist/{index-y1ajx04a.js → index-ed8dy8rn.js} +20 -20
  107. package/dist/{index-jwt2bj6f.js → index-ejqdkkqx.js} +11 -10
  108. package/dist/{index-dr94zbnh.js → index-farm1zsn.js} +32661 -29443
  109. package/dist/{index-q52f47pe.js → index-yn1yxg85.js} +1 -1
  110. package/dist/{keepalive-xdvsamvj.js → keepalive-zzc3hks1.js} +3 -3
  111. package/dist/{lead-hqg57kdp.js → lead-c0pjcaw4.js} +36 -36
  112. package/dist/{maintenance-4y2xzh3a.js → maintenance-kqsxzpzx.js} +1 -1
  113. package/dist/{oauth-refresh-sweep-jd4r7zbs.js → oauth-refresh-sweep-7qt0g55z.js} +2 -2
  114. package/dist/{onboard-18447q9q.js → onboard-k7x13fqg.js} +118 -5
  115. package/dist/{opencode-adapter-26b2frdf.js → opencode-adapter-tqvrtter.js} +5 -5
  116. package/dist/{otel-impl-f9tgr8yw.js → otel-impl-sqkf6k3b.js} +97 -97
  117. package/dist/{pi-mono-adapter-qn6qbga1.js → pi-mono-adapter-m2qnafxm.js} +63 -9
  118. package/dist/{pricing-refresh-dw2tgb53.js → pricing-refresh-wkpwhgvs.js} +3 -3
  119. package/dist/{rbac-roles-s4nwj2m3.js → rbac-roles-dpn0c0wj.js} +7 -4
  120. package/dist/{rbac-roles-aygm2760.js → rbac-roles-wk7xd6a6.js} +2 -2
  121. package/dist/{render-v2-yfvdfr0x.js → render-v2-ex2m4g2k.js} +3 -3
  122. package/dist/{resume-1bmvjbf3.js → resume-725g9b0b.js} +7 -7
  123. package/dist/{runtime-f7tpzedy.js → runtime-kajas15g.js} +1 -1
  124. package/dist/{session-access-r5garej6.js → session-access-0j2ezjje.js} +8 -4
  125. package/dist/{session-source-backfill-424wzv0r.js → session-source-backfill-62202awe.js} +2 -2
  126. package/dist/{setup-8tygvxkq.js → setup-9sj11ax6.js} +1 -1
  127. package/dist/{virtual-modules-xsw323b3.js → virtual-modules-c6fcq6zr.js} +2 -2
  128. package/dist/{work-objects-ggnghpgf.js → work-objects-0y07495y.js} +20 -20
  129. package/dist/{worker-sqjd1nqf.js → worker-d4q9sqbc.js} +36 -36
  130. package/openapi.json +1070 -9
  131. package/package.json +3 -3
  132. package/src/be/connector-codes.ts +65 -22
  133. package/src/be/memory/boot-reembed.ts +4 -1
  134. package/src/be/memory/constants.ts +6 -0
  135. package/src/be/memory/embedding-recovery.ts +48 -0
  136. package/src/be/memory/index-content.ts +5 -2
  137. package/src/be/memory/providers/openai-embedding.ts +65 -14
  138. package/src/be/memory/task-learning.ts +110 -8
  139. package/src/be/memory/types.ts +13 -2
  140. package/src/be/migrations/246_connector_code_kind.sql +11 -0
  141. package/src/be/onboarding.ts +125 -15
  142. package/src/be/rbac-roles.ts +4 -1
  143. package/src/be/scripts/embeddings.ts +2 -2
  144. package/src/be/seed/agent-fs-provision.ts +75 -14
  145. package/src/be/swarm-config-guard.ts +3 -0
  146. package/src/cli.tsx +9 -0
  147. package/src/comb/config.ts +6 -1
  148. package/src/commands/onboard/agent-fs-version.ts +5 -0
  149. package/src/commands/onboard/compose-generator.ts +112 -1
  150. package/src/commands/onboard/env-generator.ts +9 -0
  151. package/src/commands/onboard/tei-image.ts +12 -0
  152. package/src/commands/onboard/types.ts +7 -0
  153. package/src/commands/onboard.tsx +11 -1
  154. package/src/commands/runner.ts +14 -1
  155. package/src/http/agentfs-proxy.ts +369 -0
  156. package/src/http/all-routes.ts +1 -0
  157. package/src/http/codex-oauth-device.ts +8 -1
  158. package/src/http/fs.ts +64 -10
  159. package/src/http/inbox-state.ts +27 -1
  160. package/src/http/index.ts +4 -1
  161. package/src/http/memory.ts +7 -4
  162. package/src/http/onboarding.ts +139 -11
  163. package/src/http/session-access.ts +24 -0
  164. package/src/http/sessions.ts +10 -6
  165. package/src/http/tasks.ts +85 -11
  166. package/src/http/telemetry-ui.ts +1 -1
  167. package/src/http/user-roles.ts +4 -1
  168. package/src/http/users.ts +272 -3
  169. package/src/http/utils.ts +22 -3
  170. package/src/prompts/base-prompt.ts +24 -9
  171. package/src/prompts/session-templates.ts +26 -2
  172. package/src/providers/amp-adapter.ts +1 -1
  173. package/src/providers/codex-adapter.ts +6 -1
  174. package/src/providers/cursor-adapter.ts +1 -1
  175. package/src/providers/pi-mono-adapter.ts +58 -3
  176. package/src/rbac/legacy-policy.ts +1 -0
  177. package/src/rbac/permissions.ts +4 -0
  178. package/src/tests/agent-fs-provision-seeder.test.ts +261 -92
  179. package/src/tests/agentfs-proxy.test.ts +1106 -0
  180. package/src/tests/base-prompt.test.ts +69 -2
  181. package/src/tests/codex-adapter.test.ts +46 -8
  182. package/src/tests/codex-oauth-device.test.ts +12 -1
  183. package/src/tests/comb-config-guard.test.ts +20 -0
  184. package/src/tests/comb-links.test.ts +79 -1
  185. package/src/tests/comb-status.test.ts +44 -0
  186. package/src/tests/docs-index-footprint.test.js +3 -3
  187. package/src/tests/fixtures/onboard/baseline-states.ts +68 -0
  188. package/src/tests/fixtures/onboard/content.compose.yml.txt +190 -0
  189. package/src/tests/fixtures/onboard/content.env.txt +29 -0
  190. package/src/tests/fixtures/onboard/dev.compose.yml.txt +155 -0
  191. package/src/tests/fixtures/onboard/dev.env.txt +28 -0
  192. package/src/tests/fixtures/onboard/full-all.compose.yml.txt +582 -0
  193. package/src/tests/fixtures/onboard/full-all.env.txt +59 -0
  194. package/src/tests/fixtures/onboard/full.compose.yml.txt +435 -0
  195. package/src/tests/fixtures/onboard/full.env.txt +36 -0
  196. package/src/tests/fixtures/onboard/research.compose.yml.txt +155 -0
  197. package/src/tests/fixtures/onboard/research.env.txt +28 -0
  198. package/src/tests/fixtures/onboard/solo.compose.yml.txt +85 -0
  199. package/src/tests/fixtures/onboard/solo.env.txt +26 -0
  200. package/src/tests/http-log-scrubbing.test.ts +34 -1
  201. package/src/tests/http-task-write-ownership.test.ts +5 -1
  202. package/src/tests/invites-http.test.ts +464 -0
  203. package/src/tests/memory-embedding-input-cap.test.ts +122 -1
  204. package/src/tests/memory-embedding-recovery.test.ts +137 -0
  205. package/src/tests/onboard-compose.test.ts +142 -0
  206. package/src/tests/onboard-env.test.ts +24 -0
  207. package/src/tests/onboard-non-interactive.test.ts +29 -0
  208. package/src/tests/onboard-tei-image.test.ts +36 -0
  209. package/src/tests/onboarding.test.ts +451 -4
  210. package/src/tests/openai-embedding-provider.test.ts +105 -2
  211. package/src/tests/pi-mono-session-cost-on-abort.test.ts +270 -0
  212. package/src/tests/preload-env.test.ts +4 -0
  213. package/src/tests/preload.ts +4 -0
  214. package/src/tests/prompt-template-session.test.ts +19 -3
  215. package/src/tests/rbac-admission-e2e.test.ts +22 -6
  216. package/src/tests/rbac-admission.test.ts +342 -4
  217. package/src/tests/rbac-engine.test.ts +1 -0
  218. package/src/tests/rbac-roles.test.ts +9 -1
  219. package/src/tests/send-task-requester-gate.test.ts +64 -3
  220. package/src/tests/sessions-move.test.ts +39 -1
  221. package/src/tests/store-progress-learning.test.ts +95 -2
  222. package/src/tests/whoami-route.test.ts +41 -0
  223. package/src/tools/inject-learning.ts +1 -1
  224. package/src/tools/memory-edit.ts +1 -1
  225. package/src/tools/memory-search.ts +1 -1
  226. package/src/tools/store-progress.ts +5 -1
  227. package/src/tools/utils.ts +12 -1
  228. package/src/utils/constants.ts +39 -0
  229. package/src/utils/task-attachment-links.ts +15 -3
  230. package/templates/skills/swarm-docs/content.md +1 -1
  231. package/dist/handlers-tzmevqb5.js +0 -41
  232. package/dist/{azure-openai-responses-9kfwhmn7.js → azure-openai-responses-43asa23s.js} +0 -0
  233. package/dist/{node-vxx896fa.js → node-t28cc56b.js} +0 -0
  234. package/dist/{openai-codex-responses-79s8xnbh.js → openai-codex-responses-jhr3sjtm.js} +3 -3
  235. package/dist/{openai-completions-tdbyts0x.js → openai-completions-gs6yn37k.js} +3 -3
  236. /package/dist/{openai-responses-dm3t5vqp.js → openai-responses-jqm9vwwk.js} +0 -0
@@ -6,7 +6,11 @@ import {
6
6
  getResolvedConfig2,
7
7
  getAllUsers2,
8
8
  init_db3
9
- } from "./cli-48gxjmcz.js";
9
+ } from "./cli-qvaa1gjp.js";
10
+ import {
11
+ getUserGrant2,
12
+ init_rbac_roles
13
+ } from "./cli-hpkvgdad.js";
10
14
  import {
11
15
  scrubSecrets,
12
16
  init_secret_scrubber
@@ -15,6 +19,7 @@ import {
15
19
  // src/be/seed/agent-fs-provision.ts
16
20
  init_secret_scrubber();
17
21
  init_db3();
22
+ init_rbac_roles();
18
23
  import { createHash, randomUUID } from "node:crypto";
19
24
  var KIND = "agent-fs-provision";
20
25
  var ITEM_KEY = "shared-org-drive";
@@ -22,6 +27,7 @@ var PROVISION_VERSION = 1;
22
27
  var ORG_NAME = "swarm";
23
28
  var DRIVE_NAME = "shared";
24
29
  var PROVISION_HASH_KEY = "AGENT_FS_PROVISION_HASH";
30
+ var PROVISION_RETRY_MARKER = "retry-pending";
25
31
  var API_KEY_CONFIG = "API_AGENT_FS_API_KEY";
26
32
  var LEGACY_SHARED_KEY_CONFIG = "AGENT_FS_API_KEY";
27
33
 
@@ -47,6 +53,8 @@ var agentFsProvisionSeeder = {
47
53
  },
48
54
  async upstreamHash() {
49
55
  const existingHash = await getConfigValue(PROVISION_HASH_KEY);
56
+ if (existingHash === PROVISION_RETRY_MARKER)
57
+ return null;
50
58
  if (existingHash)
51
59
  return existingHash;
52
60
  const hasOrg = !!await getConfigValue("AGENT_FS_DEFAULT_ORG_ID");
@@ -69,16 +77,26 @@ async function provisionAgentFs(item) {
69
77
  registerEmail: item.registerEmail
70
78
  });
71
79
  const currentRoles = await getCurrentOrgMemberRoles(item.apiUrl, shared.authHeaders, shared.orgId);
80
+ let transientFailures = 0;
72
81
  for (const invite of item.invites) {
73
82
  const currentRole = currentRoles.get(invite.email.toLowerCase());
74
83
  if (currentRole && roleRank(currentRole) >= roleRank(invite.role))
75
84
  continue;
76
- await inviteToSharedOrg(item.apiUrl, shared.authHeaders, shared.orgId, invite);
85
+ const outcome = await inviteToSharedOrg(item.apiUrl, shared.authHeaders, shared.orgId, invite);
86
+ if (outcome === "transient-failure")
87
+ transientFailures++;
88
+ }
89
+ if (transientFailures > 0) {
90
+ await storeProvisionHash(PROVISION_RETRY_MARKER);
91
+ throw new Error(`agent-fs invites failed for ${transientFailures} member(s); will retry on next boot`);
77
92
  }
93
+ await storeProvisionHash(item.contentHash);
94
+ }
95
+ async function storeProvisionHash(value) {
78
96
  await upsertSwarmConfig2({
79
97
  scope: "global",
80
98
  key: PROVISION_HASH_KEY,
81
- value: item.contentHash,
99
+ value,
82
100
  isSecret: false,
83
101
  description: "Internal hash for agent-fs provisioning reconciliation"
84
102
  });
@@ -131,15 +149,25 @@ async function inviteEmailToSharedOrg(email, role) {
131
149
  const currentRoles = await getCurrentOrgMemberRoles(shared.apiUrl, shared.authHeaders, shared.orgId);
132
150
  const currentRole = currentRoles.get(email.trim().toLowerCase());
133
151
  if (currentRole && roleRank(currentRole) >= roleRank(role)) {
134
- return { orgId: shared.orgId, invited: false };
152
+ return { orgId: shared.orgId, invited: false, status: "already_member" };
135
153
  }
136
- await agentFsRequest(shared.apiUrl, `/orgs/${encodeURIComponent(shared.orgId)}/members/invite`, {
154
+ const response = await agentFsRequest(shared.apiUrl, `/orgs/${encodeURIComponent(shared.orgId)}/members/invite`, {
137
155
  method: "POST",
138
156
  headers: shared.authHeaders,
139
157
  body: { email: email.trim(), role },
140
158
  allowConflict: true
141
159
  });
142
- return { orgId: shared.orgId, invited: true };
160
+ if (response.status !== "pending") {
161
+ return { orgId: shared.orgId, invited: true, status: "added" };
162
+ }
163
+ return {
164
+ orgId: shared.orgId,
165
+ invited: true,
166
+ status: "pending",
167
+ ...typeof response.inviteId === "string" ? { inviteId: response.inviteId } : {},
168
+ ...typeof response.expiresAt === "string" ? { expiresAt: response.expiresAt } : {},
169
+ ...typeof response.acceptUrl === "string" ? { acceptUrl: response.acceptUrl } : {}
170
+ };
143
171
  }
144
172
  async function ensureAgentFsCredentialsForAgent(agentId) {
145
173
  const apiUrl = await resolveApiUrl();
@@ -264,8 +292,11 @@ async function inviteToSharedOrg(apiUrl, headers, orgId, invite) {
264
292
  body: invite,
265
293
  allowConflict: true
266
294
  });
295
+ return "invited";
267
296
  } catch (error) {
268
297
  console.warn(scrubSecrets(`[seed:${KIND}] invite skipped for ${invite.email}: ${error instanceof Error ? error.message : String(error)}`));
298
+ const noAccount = error instanceof AgentFsRequestError && error.status === 500 && /not found/i.test(error.message);
299
+ return noAccount ? "no-account" : "transient-failure";
269
300
  }
270
301
  }
271
302
  async function getCurrentOrgMemberRoles(apiUrl, headers, orgId) {
@@ -318,16 +349,17 @@ async function resolveRegisterEmail() {
318
349
  async function resolveInviteTargets() {
319
350
  const targets = new Map;
320
351
  for (const user of await getAllUsers2()) {
321
- if (!user.email)
352
+ const email = user.email?.trim();
353
+ if (!email)
322
354
  continue;
323
- const role = isExplicitViewerRole(user.role) ? "viewer" : "editor";
324
- targets.set(user.email.toLowerCase(), { email: user.email, role });
355
+ if ((user.status ?? "active") !== "active")
356
+ continue;
357
+ const grant = await getUserGrant2(user.id);
358
+ const role = grant.grantsAll || grant.verbs.has("task.fs.mutate") ? "editor" : "viewer";
359
+ targets.set(email.toLowerCase(), { email, role });
325
360
  }
326
361
  return [...targets.values()].sort((a, b) => a.email.localeCompare(b.email));
327
362
  }
328
- function isExplicitViewerRole(role) {
329
- return /\b(viewer|read[-\s]?only|guest)\b/i.test(role ?? "");
330
- }
331
363
  async function provisionHashFromCurrentState() {
332
364
  return provisionHash({
333
365
  apiUrl: await resolveApiUrl(),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  publicEndpointSsrfOptions
3
- } from "./cli-j9bpmykh.js";
3
+ } from "./cli-kbtdftbw.js";
4
4
  import {
5
5
  getMemoryRaterNames
6
6
  } from "./cli-3h26v7yj.js";
@@ -8,7 +8,7 @@ import {
8
8
  normalizeOrgWebsite,
9
9
  init_org_website,
10
10
  assertUrlSafe
11
- } from "./cli-48gxjmcz.js";
11
+ } from "./cli-qvaa1gjp.js";
12
12
  import {
13
13
  getRouteProvider,
14
14
  createScopedFetch,
@@ -2,17 +2,17 @@ import {
2
2
  getKv2,
3
3
  upsertKv2,
4
4
  init_db3
5
- } from "./cli-48gxjmcz.js";
5
+ } from "./cli-qvaa1gjp.js";
6
6
  import {
7
7
  resolveIdentity,
8
8
  recordUnmappedIdentity
9
- } from "./cli-6a9qfa8b.js";
9
+ } from "./cli-pzafyqtk.js";
10
10
  import {
11
11
  findUserByExternalId,
12
12
  findOrCreateUserByEmail,
13
13
  linkIdentity,
14
14
  init_users
15
- } from "./cli-a89zdqz9.js";
15
+ } from "./cli-nf6k60sn.js";
16
16
 
17
17
  // src/slack/enrich.ts
18
18
  init_db3();
@@ -10,7 +10,7 @@ import {
10
10
  getMostRecentTaskInThread2,
11
11
  reactionName,
12
12
  init_db3
13
- } from "./cli-48gxjmcz.js";
13
+ } from "./cli-qvaa1gjp.js";
14
14
  import {
15
15
  TaskCreationBlockedError,
16
16
  buildEffectiveText,
@@ -23,7 +23,7 @@ import {
23
23
  extractTaskFromMessage,
24
24
  extractSlackMessageText,
25
25
  dispatchPre2
26
- } from "./cli-6a9qfa8b.js";
26
+ } from "./cli-pzafyqtk.js";
27
27
  import {
28
28
  noteSlackInboundSideEffect,
29
29
  ignoreSlackInbound,
@@ -34,14 +34,14 @@ import {
34
34
  isSlackRenderV2Enabled2,
35
35
  ensureSlackThreadTree2,
36
36
  registerTreeMessage
37
- } from "./cli-m30k9777.js";
37
+ } from "./cli-thsaq4pd.js";
38
38
  import {
39
39
  isBlockExternalEnabled2,
40
40
  invalidateChannelExternality2,
41
41
  getChannelBlockReason2,
42
42
  shouldBlockChannel2,
43
43
  leaveExternalChannel2
44
- } from "./cli-s09j9vp5.js";
44
+ } from "./cli-vhpckzvp.js";
45
45
  import {
46
46
  workflowEventBus2,
47
47
  init_event_bus
@@ -50,7 +50,7 @@ import {
50
50
  enrichSlackUserEmail,
51
51
  resolveSlackUserId,
52
52
  rewriteSlackMentions
53
- } from "./cli-2pvzmas1.js";
53
+ } from "./cli-y4tdxsqb.js";
54
54
  import {
55
55
  wasEventSeen,
56
56
  requestSlackThreadSteering,
@@ -58,11 +58,11 @@ import {
58
58
  bufferThreadMessage,
59
59
  getBufferMessageCount,
60
60
  instantFlush
61
- } from "./cli-sgqm2582.js";
61
+ } from "./cli-k1zb7raw.js";
62
62
  import {
63
63
  resolveTemplate,
64
64
  init_resolver
65
- } from "./cli-f1e0ptjj.js";
65
+ } from "./cli-b41p764a.js";
66
66
  import {
67
67
  init_zod
68
68
  } from "./cli-4chz1hye.js";
package/dist/cli.js CHANGED
@@ -53,7 +53,7 @@ var import_react = __toESM(require_react(), 1);
53
53
  // package.json
54
54
  var package_default = {
55
55
  name: "@desplega.ai/agent-swarm",
56
- version: "2.7.0",
56
+ version: "2.7.1",
57
57
  description: "agent-swarm.dev — an open-source operating system for AI work: a lead agent breaks goals into tasks, routes them to specialized workers such as Claude Code or Codex, runs each worker in an isolated container, and preserves shared memory, tools, schedules, and review gates so delegated work compounds across sessions.",
58
58
  keywords: [
59
59
  "agent-swarm.dev",
@@ -256,7 +256,7 @@ var package_default = {
256
256
  dependencies: {
257
257
  "@agentclientprotocol/sdk": "2.0.2",
258
258
  "@ai-sdk/openai": "^3.0.41",
259
- "@anthropic-ai/claude-agent-sdk": "0.3.310",
259
+ "@anthropic-ai/claude-agent-sdk": "0.3.311",
260
260
  "@anthropic-ai/sdk": "^1.3.0",
261
261
  "@asteasolutions/zod-to-openapi": "^8.0.0",
262
262
  "@aws-sdk/client-bedrock": "3.1048.0",
@@ -264,7 +264,7 @@ var package_default = {
264
264
  "@chat-adapter/slack": "4.41.1",
265
265
  "@chat-adapter/teams": "4.41.1",
266
266
  "@chat-adapter/telegram": "4.41.1",
267
- "@cursor/sdk": "1.0.40",
267
+ "@cursor/sdk": "1.1.0",
268
268
  "@desplega.ai/agent-fs-just-bash": "0.18.9",
269
269
  "@desplega.ai/business-use": "^0.4.2",
270
270
  "@earendil-works/pi-agent-core": "^1.4.0",
@@ -390,6 +390,7 @@ function parseArgs(args) {
390
390
  let maxConcurrentTasks;
391
391
  let pullPolicy;
392
392
  let containerEngine;
393
+ let noAgentFs = false;
393
394
  let open = false;
394
395
  let showHelp = false;
395
396
  let dbPath = "";
@@ -449,6 +450,8 @@ function parseArgs(args) {
449
450
  i++;
450
451
  } else if (arg?.startsWith("--container-engine=")) {
451
452
  containerEngine = arg.slice("--container-engine=".length);
453
+ } else if (arg === "--no-agent-fs") {
454
+ noAgentFs = true;
452
455
  } else if (arg === "--open") {
453
456
  open = true;
454
457
  } else if (arg === "--help" || arg === "-h") {
@@ -475,6 +478,7 @@ function parseArgs(args) {
475
478
  maxConcurrentTasks,
476
479
  pullPolicy,
477
480
  containerEngine,
481
+ noAgentFs,
478
482
  open,
479
483
  showHelp,
480
484
  dbPath
@@ -507,6 +511,7 @@ starts the stack, and verifies health.`,
507
511
  " --max-concurrent-tasks <n> Tasks per agent (1-100; default: lead 2, worker 1)",
508
512
  " --pull-policy <policy> Pull policy: always, missing, never (default: always)",
509
513
  " --container-engine <engine> auto, docker, podman (default: $AGENT_SWARM_CONTAINER_ENGINE, else auto; auto prefers Docker)",
514
+ " --no-agent-fs With --yes: skip the bundled agent-fs (files, Comb) and TEI (memory embeddings)",
510
515
  " -h, --help Show this help"
511
516
  ].join(`
512
517
  `),
@@ -515,6 +520,7 @@ starts the stack, and verifies health.`,
515
520
  ` ${binName} onboard --dry-run`,
516
521
  ` ${binName} onboard --yes --preset=full`,
517
522
  ` ${binName} onboard --yes --preset=dev`,
523
+ ` ${binName} onboard --yes --preset=solo --no-agent-fs`,
518
524
  ` ${binName} onboard --container-engine=podman`,
519
525
  ` ANTHROPIC_API_KEY=sk-... ${binName} onboard --yes --preset=solo`
520
526
  ].join(`
@@ -838,7 +844,7 @@ function McpServer({ port, apiKey, dbPath }) {
838
844
  if (dbPath) {
839
845
  process.env.DATABASE_PATH = dbPath;
840
846
  }
841
- import("./http-haj1nd6k.js").then(() => {
847
+ import("./http-q6j4k989.js").then(() => {
842
848
  setStatus("running");
843
849
  }).catch((err) => {
844
850
  setStatus("error");
@@ -925,7 +931,7 @@ function WorkerRunner({
925
931
  const { exit } = use_app_default();
926
932
  import_react.useEffect(() => {
927
933
  installConsoleScrub();
928
- import("./worker-sqjd1nqf.js").then(({ runWorker }) => runWorker({
934
+ import("./worker-d4q9sqbc.js").then(({ runWorker }) => runWorker({
929
935
  prompt: prompt || undefined,
930
936
  yolo,
931
937
  systemPrompt: systemPrompt || undefined,
@@ -943,7 +949,7 @@ function LeadRunner({ prompt, yolo, systemPrompt, systemPromptFile, additionalAr
943
949
  const { exit } = use_app_default();
944
950
  import_react.useEffect(() => {
945
951
  installConsoleScrub();
946
- import("./lead-hqg57kdp.js").then(({ runLead }) => runLead({
952
+ import("./lead-c0pjcaw4.js").then(({ runLead }) => runLead({
947
953
  prompt: prompt || undefined,
948
954
  yolo,
949
955
  systemPrompt: systemPrompt || undefined,
@@ -983,8 +989,8 @@ function LazyComponent({
983
989
  }
984
990
  return import_react.createElement(Component, props);
985
991
  }
986
- var loadOnboard = () => import("./onboard-18447q9q.js").then(({ Onboard }) => Onboard);
987
- var loadConnect = () => import("./setup-8tygvxkq.js").then(({ Setup }) => Setup);
992
+ var loadOnboard = () => import("./onboard-k7x13fqg.js").then(({ Onboard }) => Onboard);
993
+ var loadConnect = () => import("./setup-9sj11ax6.js").then(({ Setup }) => Setup);
988
994
  function UnknownCommand({ command }) {
989
995
  const { exit } = use_app_default();
990
996
  import_react.useEffect(() => {
@@ -1029,7 +1035,8 @@ function App({ args }) {
1029
1035
  preset,
1030
1036
  maxConcurrentTasks,
1031
1037
  pullPolicy,
1032
- containerEngine
1038
+ containerEngine,
1039
+ noAgentFs
1033
1040
  } = args;
1034
1041
  switch (command) {
1035
1042
  case "onboard":
@@ -1041,7 +1048,8 @@ function App({ args }) {
1041
1048
  preset: preset || undefined,
1042
1049
  maxConcurrentTasks,
1043
1050
  pullPolicy,
1044
- containerEngine
1051
+ containerEngine,
1052
+ noAgentFs
1045
1053
  }
1046
1054
  }, undefined, false, undefined, this);
1047
1055
  case "connect":
@@ -1114,14 +1122,14 @@ ${binName} docs \u2014 v${package_default.version}
1114
1122
  }
1115
1123
  process.exit(0);
1116
1124
  } else if (args.command === "hook") {
1117
- const { runHook } = await import("./hook-8pz04697.js");
1125
+ const { runHook } = await import("./hook-q9hv5xf9.js");
1118
1126
  await runHook();
1119
1127
  } else if (args.command === "codex-hook") {
1120
- const { handleCodexHook } = await import("./codex-hook-xyjhvxwd.js");
1128
+ const { handleCodexHook } = await import("./codex-hook-pbdh4xhx.js");
1121
1129
  await handleCodexHook();
1122
1130
  process.exit(process.exitCode ?? 0);
1123
1131
  } else if (args.command === "session-summary-stdin") {
1124
- const { runSessionSummaryFromStdin } = await import("./hook-cyq4mryn.js");
1132
+ const { runSessionSummaryFromStdin } = await import("./hook-d7c605r4.js");
1125
1133
  await runSessionSummaryFromStdin();
1126
1134
  process.exit(process.exitCode ?? 0);
1127
1135
  } else if (args.command === "x") {
@@ -1134,7 +1142,7 @@ ${binName} docs \u2014 v${package_default.version}
1134
1142
  printHelp("scripts");
1135
1143
  process.exit(scriptsArgs[0] === "reembed" || args.showHelp ? 0 : 1);
1136
1144
  }
1137
- const { runScriptsMaintenanceCommand } = await import("./maintenance-4y2xzh3a.js");
1145
+ const { runScriptsMaintenanceCommand } = await import("./maintenance-kqsxzpzx.js");
1138
1146
  await runScriptsMaintenanceCommand(scriptsArgs);
1139
1147
  console.log("Scripts re-embedded.");
1140
1148
  } else if (args.command === "rbac") {
@@ -1144,17 +1152,17 @@ ${binName} docs \u2014 v${package_default.version}
1144
1152
  printHelp("rbac");
1145
1153
  process.exit(args.showHelp ? 0 : 1);
1146
1154
  }
1147
- const { runRbacCliCommand } = await import("./rbac-roles-s4nwj2m3.js");
1155
+ const { runRbacCliCommand } = await import("./rbac-roles-dpn0c0wj.js");
1148
1156
  await runRbacCliCommand(rbacArgs);
1149
1157
  } else if (args.command === "codex-login") {
1150
1158
  const { runCodexLogin } = await import("./codex-login-8cg0vhf2.js");
1151
1159
  const codexLoginArgs = process.argv.slice(process.argv.indexOf("codex-login") + 1);
1152
1160
  await runCodexLogin(codexLoginArgs);
1153
1161
  } else if (args.command === "codex-session-runner") {
1154
- const { runCodexSessionRunner } = await import("./codex-session-runner-kh6s4j3n.js");
1162
+ const { runCodexSessionRunner } = await import("./codex-session-runner-02sb49e4.js");
1155
1163
  await runCodexSessionRunner();
1156
1164
  } else if (args.command === "claude-managed-setup") {
1157
- const { runClaudeManagedSetup } = await import("./claude-managed-setup-rqv98sea.js");
1165
+ const { runClaudeManagedSetup } = await import("./claude-managed-setup-mdc7dy6b.js");
1158
1166
  const setupArgs = process.argv.slice(process.argv.indexOf("claude-managed-setup") + 1);
1159
1167
  await runClaudeManagedSetup(setupArgs);
1160
1168
  } else if (args.command === "worker-token") {
@@ -1162,11 +1170,11 @@ ${binName} docs \u2014 v${package_default.version}
1162
1170
  const tokenArgs = process.argv.slice(process.argv.indexOf("worker-token") + 1);
1163
1171
  process.exit(await runWorkerToken(tokenArgs));
1164
1172
  } else if (args.command === "e2b") {
1165
- const { runE2BCommand } = await import("./e2b-222hsajc.js");
1173
+ const { runE2BCommand } = await import("./e2b-jyay8wzn.js");
1166
1174
  const e2bArgs = process.argv.slice(process.argv.indexOf("e2b") + 1);
1167
1175
  await runE2BCommand(e2bArgs);
1168
1176
  } else if (args.command === "controller") {
1169
- const { runController } = await import("./controller-fyrbnzg4.js");
1177
+ const { runController } = await import("./controller-8ar4avd6.js");
1170
1178
  await runController(process.argv.slice(process.argv.indexOf("controller") + 1));
1171
1179
  } else {
1172
1180
  render_default(/* @__PURE__ */ jsx_dev_runtime.jsxDEV(App, {
@@ -2,20 +2,20 @@ import {
2
2
  checkCodexCredentials2,
3
3
  createInProcessCodexSession2,
4
4
  CodexAdapter2
5
- } from "./cli-ymjpkxgn.js";
5
+ } from "./cli-9csfthbw.js";
6
6
  import"./cli-4zsenjhy.js";
7
7
  import"./cli-kr5tjjtz.js";
8
- import"./cli-vbhgkw9h.js";
8
+ import"./cli-h3e7bhvn.js";
9
9
  import"./cli-4bd1rck6.js";
10
10
  import"./cli-jc1g9ndz.js";
11
- import"./cli-c668vvcf.js";
11
+ import"./cli-d8gaphtr.js";
12
12
  import"./cli-0726awxw.js";
13
- import"./cli-sjctjr48.js";
13
+ import"./cli-dscnhn18.js";
14
14
  import"./cli-vz78s5wm.js";
15
15
  import"./cli-c081bj3b.js";
16
16
  import"./cli-3h26v7yj.js";
17
17
  import"./cli-3ggwdtb0.js";
18
- import"./cli-1m9x8dr5.js";
18
+ import"./cli-ekptgk2m.js";
19
19
  import"./cli-0z1xjzwa.js";
20
20
  import"./cli-e8xyjvfc.js";
21
21
  import"./cli-13p25grh.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bun
2
2
  import {
3
3
  renderSteeringDelivery
4
- } from "./cli-07q03xm2.js";
4
+ } from "./cli-8wd3mbyj.js";
5
5
  import {
6
6
  guardGhPrBody,
7
7
  guardGhPrRoom
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  getMcpBaseUrl,
15
15
  init_constants2
16
- } from "./cli-gf2850q7.js";
16
+ } from "./cli-3cywb44q.js";
17
17
  import {
18
18
  getApiKey,
19
19
  init_api_key
@@ -1,22 +1,22 @@
1
1
  import"./cli-3h26v7yj.js";
2
- import"./cli-sjctjr48.js";
2
+ import"./cli-dscnhn18.js";
3
3
  import"./cli-vz78s5wm.js";
4
4
  import"./cli-445c1vp7.js";
5
- import"./cli-1m9x8dr5.js";
5
+ import"./cli-ekptgk2m.js";
6
6
  import"./cli-2nf3b08t.js";
7
7
  import"./cli-kvzgak7c.js";
8
8
  import"./cli-0z1xjzwa.js";
9
- import"./cli-c668vvcf.js";
9
+ import"./cli-d8gaphtr.js";
10
10
  import"./cli-e8xyjvfc.js";
11
11
  import"./cli-3ggwdtb0.js";
12
12
  import {
13
13
  createInProcessCodexSession2
14
- } from "./cli-ymjpkxgn.js";
14
+ } from "./cli-9csfthbw.js";
15
15
  import"./cli-jc1g9ndz.js";
16
16
  import"./cli-0726awxw.js";
17
17
  import"./cli-4bd1rck6.js";
18
18
  import"./cli-kr5tjjtz.js";
19
- import"./cli-vbhgkw9h.js";
19
+ import"./cli-h3e7bhvn.js";
20
20
  import"./cli-c081bj3b.js";
21
21
  import"./cli-4zsenjhy.js";
22
22
  import"./cli-13p25grh.js";
@@ -2,11 +2,11 @@ import {
2
2
  getAllAgents2,
3
3
  getAllTasks2,
4
4
  init_db3
5
- } from "./cli-48gxjmcz.js";
5
+ } from "./cli-qvaa1gjp.js";
6
6
  import {
7
7
  EXTERNAL_CHANNEL_BLOCKED_REPLY2,
8
8
  shouldBlockChannel2
9
- } from "./cli-s09j9vp5.js";
9
+ } from "./cli-vhpckzvp.js";
10
10
  import {
11
11
  isEnvFlagEnabled,
12
12
  init_env_flag
@@ -3,15 +3,15 @@ import {
3
3
  CONTROLLER_PROTOCOL_VERSION,
4
4
  CONTROLLER_PING_INTERVAL_MS,
5
5
  ControllerServerMessageSchema
6
- } from "./cli-qj442fws.js";
6
+ } from "./cli-rg4b2g6j.js";
7
7
  import {
8
8
  createRuntimeProvider,
9
9
  init_runtime_providers
10
- } from "./cli-39aet655.js";
10
+ } from "./cli-m52t4cta.js";
11
11
  import {
12
12
  RuntimeProviderKindSchema,
13
13
  init_types
14
- } from "./cli-9pshx6rd.js";
14
+ } from "./cli-s504c3w7.js";
15
15
  import {
16
16
  scrubSecrets,
17
17
  registerVolatileSecret,
@@ -6,18 +6,18 @@ import {
6
6
  isRuntimePoolsEnabled,
7
7
  init_runtime_pools_flag,
8
8
  init_db3
9
- } from "./cli-48gxjmcz.js";
9
+ } from "./cli-qvaa1gjp.js";
10
10
  import {
11
11
  CONTROLLER_PROTOCOL_VERSION,
12
12
  CONTROLLER_PING_INTERVAL_MS,
13
13
  ControllerClientMessageSchema
14
- } from "./cli-qj442fws.js";
14
+ } from "./cli-rg4b2g6j.js";
15
15
  import"./cli-e8xyjvfc.js";
16
- import"./cli-j0ppywdr.js";
16
+ import"./cli-dv11pgpv.js";
17
17
  import {
18
18
  getRuntimeController2,
19
19
  init_db
20
- } from "./cli-6srv653c.js";
20
+ } from "./cli-6vwjsetx.js";
21
21
  import {
22
22
  remoteControllerSession,
23
23
  installRemoteController,
@@ -26,32 +26,32 @@ import {
26
26
  ensureRuntimeOwnerId,
27
27
  reconcileRemoteProvisions,
28
28
  reconcileControllerOrphans
29
- } from "./cli-9gsm2rzp.js";
29
+ } from "./cli-f3mzy662.js";
30
30
  import {
31
31
  resolveHttpRequestAuth
32
- } from "./cli-6a9qfa8b.js";
33
- import"./cli-j9bpmykh.js";
34
- import"./cli-aypd09nf.js";
32
+ } from "./cli-pzafyqtk.js";
33
+ import"./cli-kbtdftbw.js";
34
+ import"./cli-rm66vqdz.js";
35
35
  import"./cli-3ggwdtb0.js";
36
- import"./cli-m30k9777.js";
37
- import"./cli-s09j9vp5.js";
38
- import"./cli-1m9x8dr5.js";
36
+ import"./cli-thsaq4pd.js";
37
+ import"./cli-vhpckzvp.js";
38
+ import"./cli-ekptgk2m.js";
39
39
  import"./cli-2nf3b08t.js";
40
40
  import"./cli-kvzgak7c.js";
41
41
  import"./cli-445c1vp7.js";
42
42
  import"./cli-0z1xjzwa.js";
43
43
  import"./cli-kt907da6.js";
44
- import"./cli-twctnkng.js";
45
- import"./cli-8mbc9za9.js";
46
- import"./cli-d20qvpr2.js";
47
- import"./cli-60sty27p.js";
44
+ import"./cli-3v2cyqb8.js";
45
+ import"./cli-cb50g9cd.js";
46
+ import"./cli-2sjm3t4r.js";
47
+ import"./cli-twjnyvs8.js";
48
48
  import"./cli-qz93y3x5.js";
49
- import"./cli-8wmj18cz.js";
50
- import"./cli-rd5m70gj.js";
49
+ import"./cli-hpkvgdad.js";
50
+ import"./cli-typdpe8g.js";
51
51
  import"./cli-g9ypd5en.js";
52
52
  import {
53
53
  route
54
- } from "./cli-wqr7cea4.js";
54
+ } from "./cli-hq2v4rr5.js";
55
55
  import"./cli-3h26v7yj.js";
56
56
  import"./cli-737pyqxr.js";
57
57
  import"./cli-13p25grh.js";
@@ -59,7 +59,7 @@ import"./cli-0adyhvq2.js";
59
59
  import {
60
60
  registerSessionTokenConnection,
61
61
  init_session_token_connections
62
- } from "./cli-a89zdqz9.js";
62
+ } from "./cli-nf6k60sn.js";
63
63
  import"./cli-rycdaj0a.js";
64
64
  import {
65
65
  getApiKey,
@@ -2,7 +2,7 @@ import {
2
2
  checkCursorCredentials2,
3
3
  liveTestCursorKey2,
4
4
  CursorAdapter2
5
- } from "./cli-h5jeg46p.js";
5
+ } from "./cli-mdadewqp.js";
6
6
  import"./cli-jc1g9ndz.js";
7
7
  import"./cli-c081bj3b.js";
8
8
  import"./cli-e8xyjvfc.js";
@@ -510,13 +510,13 @@ import {
510
510
  countScriptRunJournalSteps2,
511
511
  countScriptRunJournalAgentTaskSteps2,
512
512
  init_db3
513
- } from "./cli-48gxjmcz.js";
513
+ } from "./cli-qvaa1gjp.js";
514
514
  import {
515
515
  generateDefaultClaudeMd2,
516
516
  generateDefaultSoulMd2,
517
517
  generateDefaultIdentityMd2,
518
518
  generateDefaultToolsMd2
519
- } from "./cli-x37r7qwf.js";
519
+ } from "./cli-kj69b9tw.js";
520
520
  init_db3();
521
521
 
522
522
  export {
@@ -19,9 +19,9 @@ import {
19
19
  createPoolAgent2,
20
20
  loadRuntimeControllerSecrets2,
21
21
  init_db
22
- } from "./cli-6srv653c.js";
23
- import"./cli-a89zdqz9.js";
24
- import"./cli-48gxjmcz.js";
22
+ } from "./cli-6vwjsetx.js";
23
+ import"./cli-nf6k60sn.js";
24
+ import"./cli-qvaa1gjp.js";
25
25
  init_db();
26
26
 
27
27
  export {