@desplega.ai/agent-swarm 2.13.2 → 2.13.3

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 (180) hide show
  1. package/dist/acp-adapter-t2q6nsqv.js +17 -0
  2. package/dist/{acp-targets-mz8c5dnt.js → acp-targets-k8xs4tj8.js} +7 -7
  3. package/dist/{actions-5ft3qp5a.js → actions-pg5fxjer.js} +23 -23
  4. package/dist/{agent-fs-provision-6fgz7wvz.js → agent-fs-provision-vbk3fppw.js} +4 -4
  5. package/dist/{amp-adapter-nthn8ezm.js → amp-adapter-adbhxsz9.js} +2 -2
  6. package/dist/{app-535m78qw.js → app-b267ggx1.js} +6 -6
  7. package/dist/{approval-notifications-dewbk403.js → approval-notifications-evc1a9z5.js} +7 -7
  8. package/dist/{assistant-39zyabv2.js → assistant-wgz2ab84.js} +24 -24
  9. package/dist/{boot-args-schema-bqv5bf77.js → boot-args-schema-6tpk28j4.js} +1 -1
  10. package/dist/{boot-reembed-fas7z3zn.js → boot-reembed-ankp369c.js} +1 -1
  11. package/dist/{boot-reembed-157c0gcz.js → boot-reembed-r1zyvefv.js} +1 -1
  12. package/dist/{boot-scrub-sweep-tmec0be2.js → boot-scrub-sweep-cgb6r5bd.js} +2 -2
  13. package/dist/{boot-seeds-32zm50x2.js → boot-seeds-bjceqg7b.js} +4 -4
  14. package/dist/{claude-adapter-gwq7x2nj.js → claude-adapter-knztdnff.js} +9 -6
  15. package/dist/{claude-managed-adapter-rkvw6fvq.js → claude-managed-adapter-qwejzqkk.js} +2 -2
  16. package/dist/{claude-sdk-session-5wbwxy8c.js → claude-sdk-session-c3g6dv0g.js} +22 -8
  17. package/dist/{cli-cs26ed89.js → cli-0j4qmc80.js} +7 -7
  18. package/dist/{cli-dnvmwsvc.js → cli-1606qw3n.js} +32 -32
  19. package/dist/{cli-b0kqw55g.js → cli-1gnf5c7x.js} +1 -1
  20. package/dist/{cli-31vt7baf.js → cli-1wew39p0.js} +10 -10
  21. package/dist/{cli-tceqvv6h.js → cli-268b3dgn.js} +2 -2
  22. package/dist/cli-2ap1the6.js +11 -0
  23. package/dist/{cli-e87fg3en.js → cli-4dyhzhpx.js} +1 -1
  24. package/dist/{cli-t9nxq30h.js → cli-55fqpd9q.js} +8 -8
  25. package/dist/{cli-nvqq3232.js → cli-61fzwtjk.js} +7 -7
  26. package/dist/{cli-c9bwawf9.js → cli-61p7ty8d.js} +2 -2
  27. package/dist/{cli-d528acsw.js → cli-7fa6yv98.js} +2 -2
  28. package/dist/{cli-bp2rt28p.js → cli-7kv5d674.js} +3 -3
  29. package/dist/{cli-tbdw3f92.js → cli-80d5g0fa.js} +2 -2
  30. package/dist/{cli-0xwb7zpt.js → cli-88np9va3.js} +1 -1
  31. package/dist/{cli-zm6bkx3e.js → cli-8m6gqnf1.js} +2 -2
  32. package/dist/{cli-r4fphq38.js → cli-8pnawt98.js} +3 -3
  33. package/dist/{cli-xerdrnqs.js → cli-8sayvj48.js} +2 -2
  34. package/dist/{cli-d0jb2qnt.js → cli-9gmkw6xn.js} +53 -32
  35. package/dist/{cli-a6rzw649.js → cli-a21cwm89.js} +2 -2
  36. package/dist/{cli-s6fhqbz1.js → cli-aytna2fm.js} +1 -1
  37. package/dist/{cli-mwxez0pz.js → cli-b768ek79.js} +1 -1
  38. package/dist/{cli-ewb028rs.js → cli-bh53ppqm.js} +2 -2
  39. package/dist/{cli-zqy28rwx.js → cli-czeh7x13.js} +3 -3
  40. package/dist/{cli-s08zsqva.js → cli-djwt4mtn.js} +71 -5
  41. package/dist/{cli-fgm2mad9.js → cli-dq30fq3q.js} +2 -2
  42. package/dist/{cli-2wde56gv.js → cli-dw43pnzp.js} +5 -5
  43. package/dist/{cli-erh1rgh4.js → cli-e4gx499y.js} +12 -12
  44. package/dist/{cli-69eq6gdk.js → cli-ea367bdn.js} +31 -22
  45. package/dist/{cli-cmgdptmx.js → cli-ef590376.js} +29 -5
  46. package/dist/{cli-8qvte9hn.js → cli-fbmgpt72.js} +2 -2
  47. package/dist/{cli-tgmate57.js → cli-g4dhd3pr.js} +2 -2
  48. package/dist/{cli-0f7n3td3.js → cli-gc715jrc.js} +1 -1
  49. package/dist/{cli-xysy1g8x.js → cli-gkjw33x5.js} +1 -1
  50. package/dist/{cli-getrvmtx.js → cli-grk77aen.js} +1 -1
  51. package/dist/{cli-f1sdh8ca.js → cli-gxqwm3k3.js} +5 -5
  52. package/dist/{cli-m1wddksc.js → cli-h3drhntp.js} +1 -1
  53. package/dist/{cli-qn79645p.js → cli-h9d3sdnc.js} +1 -1
  54. package/dist/{cli-7m6bbtab.js → cli-hd2a204w.js} +6 -6
  55. package/dist/{cli-jkkcm72j.js → cli-hhb8kbwd.js} +9 -9
  56. package/dist/{cli-fcwrd7bh.js → cli-hpxcfvdm.js} +3 -3
  57. package/dist/{cli-ka13xx6b.js → cli-hxj888w3.js} +1 -1
  58. package/dist/{cli-82j36f2m.js → cli-jjzxsk47.js} +9 -3
  59. package/dist/{cli-nkfv398a.js → cli-ka4tqjzd.js} +6 -6
  60. package/dist/{cli-n46d87mj.js → cli-kh973792.js} +3 -3
  61. package/dist/{cli-x5yb8zc8.js → cli-kwm1bek7.js} +1 -1
  62. package/dist/{cli-5k1hvycs.js → cli-mgr3gatr.js} +4 -4
  63. package/dist/{cli-8a4qg44m.js → cli-nbawx3s0.js} +2 -2
  64. package/dist/{cli-1gevjrc1.js → cli-ppf9ap9n.js} +1 -1
  65. package/dist/{cli-6rmryz03.js → cli-pzsedyb0.js} +4 -4
  66. package/dist/{cli-g0b3ma7r.js → cli-r6xnchva.js} +1 -1
  67. package/dist/{cli-j2ybkdk2.js → cli-snwz16eg.js} +1 -1
  68. package/dist/{cli-sjk85d7v.js → cli-sy2ge2ye.js} +3 -3
  69. package/dist/{cli-rvhaahfv.js → cli-syqcny89.js} +3 -3
  70. package/dist/{cli-n14r8h4n.js → cli-tjf1bh1v.js} +2 -2
  71. package/dist/{cli-xhkek467.js → cli-v1v49t36.js} +28 -2
  72. package/dist/{cli-4djg31jh.js → cli-v8rpjrnx.js} +1 -1
  73. package/dist/{cli-62fjschk.js → cli-vgh5adn9.js} +5 -5
  74. package/dist/{cli-wdtqkqnq.js → cli-w24741sm.js} +3 -3
  75. package/dist/{cli-gq6qhmrr.js → cli-wsnradtk.js} +3 -3
  76. package/dist/{cli-gc7jkf4a.js → cli-wtffytm8.js} +3 -3
  77. package/dist/{cli-1f48qdnb.js → cli-xc8m5cjn.js} +2 -2
  78. package/dist/{cli-x7aqhxj5.js → cli-y0q92v4r.js} +2 -2
  79. package/dist/{cli-gedf48yw.js → cli-y754psdt.js} +4 -4
  80. package/dist/cli.js +14 -14
  81. package/dist/{codex-adapter-x25xfbnh.js → codex-adapter-493vb8cv.js} +5 -5
  82. package/dist/{codex-hook-c0nvm30r.js → codex-hook-ej8hn6z5.js} +9 -2
  83. package/dist/{codex-session-runner-kn5xnrvp.js → codex-session-runner-ps5m4z1g.js} +5 -5
  84. package/dist/{commands-8n59gxmy.js → commands-shktk0b8.js} +3 -3
  85. package/dist/{controllers-connect-09gvkrhc.js → controllers-connect-yft057ws.js} +22 -22
  86. package/dist/{core-2b8bv6ny.js → core-nheayfgm.js} +21 -21
  87. package/dist/{cursor-adapter-w1681kp1.js → cursor-adapter-8fpm4dng.js} +1 -1
  88. package/dist/{db-e71keqxk.js → db-0ezhdhz5.js} +3 -3
  89. package/dist/{db-spg81qtr.js → db-84pz2w5c.js} +2 -2
  90. package/dist/{dispatcher-fr4vawwb.js → dispatcher-h2rz69f6.js} +21 -21
  91. package/dist/{easter-egg-3d-ac9tv9a6.js → easter-egg-3d-m41ad78v.js} +1 -1
  92. package/dist/{embedding-space-an77f45k.js → embedding-space-yam9zwzj.js} +6 -6
  93. package/dist/{embeddings-jkrehejr.js → embeddings-g2be0y8q.js} +1 -1
  94. package/dist/{execute-3mys4nta.js → execute-hhdejgzf.js} +1 -1
  95. package/dist/{external-channel-s6zxpts9.js → external-channel-kjt2yzfj.js} +2 -2
  96. package/dist/fx-adapter-8g7xsp8q.js +20 -0
  97. package/dist/{grok-adapter-8ge6tw7m.js → grok-adapter-ztk2zkz1.js} +9 -9
  98. package/dist/handlers-9ywssz71.js +41 -0
  99. package/dist/{heartbeat-jjpb44e5.js → heartbeat-2e5jdexj.js} +23 -23
  100. package/dist/{hook-y6n23zzj.js → hook-34s8cmgn.js} +9 -6
  101. package/dist/{hook-68gbs87k.js → hook-acg9saz7.js} +8 -5
  102. package/dist/{http-8c6y008s.js → http-ra2zr2f8.js} +58 -65
  103. package/dist/{index-xcw7hjt5.js → index-2z1z7qx6.js} +24 -24
  104. package/dist/{index-p2f5xg64.js → index-3j803vnb.js} +36259 -34299
  105. package/dist/index-6mgbdtv1.js +44 -0
  106. package/dist/{index-6h3r0vpe.js → index-93bw5wds.js} +1 -1
  107. package/dist/{index-we3nd2t0.js → index-9q42cr54.js} +1 -1
  108. package/dist/{index-0vthtbc2.js → index-9r4j0a60.js} +23 -15
  109. package/dist/index-hqdsn2t2.js +39 -0
  110. package/dist/index-st231bqv.js +40 -0
  111. package/dist/{keepalive-7e9r5dvp.js → keepalive-vjnnqbkm.js} +4 -4
  112. package/dist/lead-mk0xkth2.js +82 -0
  113. package/dist/{maintenance-d3erjvcg.js → maintenance-px2g599e.js} +1 -1
  114. package/dist/{oauth-refresh-sweep-0qh70988.js → oauth-refresh-sweep-nkykf09m.js} +3 -3
  115. package/dist/{object-webhooks-ac7v2q5p.js → object-webhooks-gt9xnq21.js} +7 -7
  116. package/dist/{onboard-5yphtken.js → onboard-1f134p65.js} +3 -3
  117. package/dist/{opencode-adapter-0xvyba4m.js → opencode-adapter-94976yab.js} +6 -6
  118. package/dist/{otel-impl-svqp691q.js → otel-impl-5d4p2fqs.js} +1 -1
  119. package/dist/{pending-bn4xe5br.js → pending-vkk0vx6n.js} +22 -22
  120. package/dist/{pi-mono-adapter-763s8a3w.js → pi-mono-adapter-cyzdv5er.js} +8 -8
  121. package/dist/{pricing-refresh-kfc215mf.js → pricing-refresh-jtmjwss9.js} +2 -2
  122. package/dist/{rbac-roles-6r4h2ghj.js → rbac-roles-1fvmdyeb.js} +2 -2
  123. package/dist/{rbac-roles-3bznvkpt.js → rbac-roles-yd1fgpsn.js} +3 -3
  124. package/dist/{render-v2-f3qedbpy.js → render-v2-kb5s3vx4.js} +6 -6
  125. package/dist/{resume-vcag4ann.js → resume-z1vs44n5.js} +9 -9
  126. package/dist/{runtime-x0s55z2t.js → runtime-gk6ct7r7.js} +1 -1
  127. package/dist/{session-access-nwzve8q2.js → session-access-nz6nre4d.js} +5 -5
  128. package/dist/{session-source-backfill-jpqfzmgz.js → session-source-backfill-wb60zjkd.js} +1 -1
  129. package/dist/{setup-d2smwaem.js → setup-2x8g8j4s.js} +1 -1
  130. package/dist/thread-buffer-d50rqpev.js +42 -0
  131. package/dist/{tree-visibility-dwzc8en0.js → tree-visibility-ts3z30kw.js} +2 -2
  132. package/dist/{user-merge-jobs-4ce7kma2.js → user-merge-jobs-zetg26e0.js} +3 -3
  133. package/dist/{virtual-modules-78a6yw71.js → virtual-modules-674fka8x.js} +3 -3
  134. package/dist/{work-objects-m0w1e7q8.js → work-objects-w52yyjxm.js} +24 -24
  135. package/dist/worker-662x1vse.js +82 -0
  136. package/dist/{worker-follow-up-e3t6f895.js → worker-follow-up-dyfxyjbj.js} +21 -21
  137. package/openapi.json +4 -1
  138. package/package.json +3 -3
  139. package/src/commands/onboard/agent-fs-version.ts +1 -1
  140. package/src/commands/runner.ts +62 -6
  141. package/src/hooks/codex-hook.ts +15 -4
  142. package/src/hooks/hook.ts +7 -0
  143. package/src/http/session-cost-recompute.ts +3 -1
  144. package/src/http/session-data.ts +3 -0
  145. package/src/prompts/base-prompt.ts +1 -1
  146. package/src/prompts/session-templates.ts +1 -1
  147. package/src/providers/acp-targets.ts +2 -2
  148. package/src/providers/amp-adapter.ts +1 -1
  149. package/src/providers/claude-adapter.ts +21 -1
  150. package/src/providers/claude-sdk-session.ts +22 -3
  151. package/src/providers/claude-session-events.ts +76 -1
  152. package/src/providers/cursor-adapter.ts +1 -1
  153. package/src/providers/fx-adapter.ts +2 -2
  154. package/src/providers/pricing-sources.md +3 -0
  155. package/src/providers/types.ts +13 -0
  156. package/src/slack/render-v2.ts +27 -7
  157. package/src/tests/base-prompt.test.ts +6 -2
  158. package/src/tests/claude-adapter.test.ts +115 -0
  159. package/src/tests/fixtures/fx/acp-updates-recorded.jsonl +1 -1
  160. package/src/tests/internal-ai/complete-structured.test.ts +105 -0
  161. package/src/tests/internal-ai/credentials.test.ts +149 -0
  162. package/src/tests/internal-ai/task-title.test.ts +78 -0
  163. package/src/tests/mcp-input-caps.test.ts +16 -11
  164. package/src/tests/runner-slot-reconcile.test.ts +102 -0
  165. package/src/tests/slack-render-v2.test.ts +85 -0
  166. package/src/types.ts +2 -1
  167. package/src/utils/internal-ai/complete-structured.ts +36 -5
  168. package/src/utils/internal-ai/credentials.ts +78 -2
  169. package/src/utils/internal-ai/models.ts +37 -1
  170. package/src/utils/internal-ai/task-title.ts +31 -1
  171. package/templates/skills/swarm-docs/content.md +8 -0
  172. package/dist/acp-adapter-x1qqgzwx.js +0 -17
  173. package/dist/fx-adapter-4yet1c4f.js +0 -20
  174. package/dist/handlers-0r9evrdj.js +0 -41
  175. package/dist/index-1v23363p.js +0 -39
  176. package/dist/index-30qw6vyw.js +0 -44
  177. package/dist/index-6bm3w6cn.js +0 -40
  178. package/dist/lead-3jpc7kcr.js +0 -79
  179. package/dist/thread-buffer-8fc703jc.js +0 -42
  180. package/dist/worker-3p2vq107.js +0 -79
@@ -406,23 +406,23 @@ import {
406
406
  recordInlineScriptRun2,
407
407
  exports_db,
408
408
  init_db4
409
- } from "./cli-erh1rgh4.js";
409
+ } from "./cli-e4gx499y.js";
410
410
  import {
411
411
  assertMayActOnOperatorGrantedTarget2,
412
412
  getUserGrant2,
413
413
  init_rbac_roles
414
- } from "./cli-n14r8h4n.js";
414
+ } from "./cli-tjf1bh1v.js";
415
415
  import {
416
416
  ensurePricingSeeded2,
417
417
  ensureRbacSeeded2,
418
418
  ensureModelProfilesSeeded2,
419
419
  init_boot_seeds
420
- } from "./cli-8qvte9hn.js";
420
+ } from "./cli-fbmgpt72.js";
421
421
  import {
422
422
  requestModelCatalogRefresh2,
423
423
  startPricingRefreshLoop2,
424
424
  init_pricing_refresh
425
- } from "./cli-m1wddksc.js";
425
+ } from "./cli-h3drhntp.js";
426
426
  import {
427
427
  workflowEventBus2,
428
428
  init_event_bus
@@ -435,7 +435,7 @@ import {
435
435
  externalChannelToolError2,
436
436
  getChannelBlockReason2,
437
437
  init_external_channel
438
- } from "./cli-ka13xx6b.js";
438
+ } from "./cli-hxj888w3.js";
439
439
  import {
440
440
  tableToAscii2,
441
441
  init_dist8
@@ -498,7 +498,7 @@ import {
498
498
  startSlackApp2,
499
499
  stopSlackAppUnderLifecycleLock2,
500
500
  init_app4
501
- } from "./cli-69eq6gdk.js";
501
+ } from "./cli-ea367bdn.js";
502
502
  import {
503
503
  AGENT_MAX_TASKS_CONFIG_KEY,
504
504
  resetAgentMaxTasksMirror,
@@ -519,7 +519,7 @@ import {
519
519
  postApprovalCancellationUpdates2,
520
520
  createApprovalFollowUpTask2,
521
521
  init_approval_notifications
522
- } from "./cli-f1sdh8ca.js";
522
+ } from "./cli-gxqwm3k3.js";
523
523
  import {
524
524
  shapeApprovalResolution,
525
525
  init_approval_resolution,
@@ -543,7 +543,7 @@ import {
543
543
  resumeFromChildRun2,
544
544
  initWaitBusSubscriptions2,
545
545
  init_resume
546
- } from "./cli-fcwrd7bh.js";
546
+ } from "./cli-hpxcfvdm.js";
547
547
  import {
548
548
  getFileStorageProvider2,
549
549
  init_registry2
@@ -551,7 +551,7 @@ import {
551
551
  import {
552
552
  getRuntimePool2,
553
553
  init_db2
554
- } from "./cli-tceqvv6h.js";
554
+ } from "./cli-268b3dgn.js";
555
555
  import {
556
556
  duplicateGuardedQueryKey,
557
557
  parseQueryParams,
@@ -584,7 +584,7 @@ import {
584
584
  findRoute,
585
585
  route,
586
586
  init_route_def
587
- } from "./cli-2wde56gv.js";
587
+ } from "./cli-dw43pnzp.js";
588
588
  import {
589
589
  COMPOSIO_HTTP_METHODS,
590
590
  executeComposioRequest,
@@ -686,7 +686,7 @@ import {
686
686
  init_typecheck,
687
687
  parseSkillContent,
688
688
  init_skill_parser
689
- } from "./cli-nkfv398a.js";
689
+ } from "./cli-ka4tqjzd.js";
690
690
  import {
691
691
  detachedProcessGroup,
692
692
  registerProcessGroup,
@@ -701,7 +701,7 @@ import {
701
701
  ensureToken,
702
702
  ensureTokenOrThrow,
703
703
  init_ensure_token
704
- } from "./cli-xerdrnqs.js";
704
+ } from "./cli-8sayvj48.js";
705
705
  import {
706
706
  A1Error,
707
707
  colName,
@@ -736,11 +736,11 @@ import {
736
736
  listObjects,
737
737
  reindexObjects,
738
738
  init_objects
739
- } from "./cli-wdtqkqnq.js";
739
+ } from "./cli-w24741sm.js";
740
740
  import {
741
741
  agentFsClientFor,
742
742
  init_agent_fs_identity
743
- } from "./cli-j2ybkdk2.js";
743
+ } from "./cli-snwz16eg.js";
744
744
  import {
745
745
  FilesError,
746
746
  providerPath,
@@ -754,7 +754,7 @@ import {
754
754
  isSlackLeaveThreadDisabled,
755
755
  leaveSlackThread,
756
756
  init_left_threads
757
- } from "./cli-4djg31jh.js";
757
+ } from "./cli-v8rpjrnx.js";
758
758
  import {
759
759
  require_fast_deep_equal
760
760
  } from "./cli-bhp11egn.js";
@@ -839,7 +839,7 @@ import {
839
839
  validateDefinition,
840
840
  applyDefinitionPatch,
841
841
  init_definition2
842
- } from "./cli-jkkcm72j.js";
842
+ } from "./cli-hhb8kbwd.js";
843
843
  import {
844
844
  isMultiRuntimeEnabled,
845
845
  init_multi_runtime2
@@ -867,11 +867,11 @@ import {
867
867
  getSessionRoot,
868
868
  sessionAccessForRoot,
869
869
  init_session_shares
870
- } from "./cli-b0kqw55g.js";
870
+ } from "./cli-1gnf5c7x.js";
871
871
  import {
872
872
  publicEndpointSsrfOptions,
873
873
  init_mcp_wrapper
874
- } from "./cli-xysy1g8x.js";
874
+ } from "./cli-gkjw33x5.js";
875
875
  import {
876
876
  findUserById,
877
877
  findUserByExternalId,
@@ -886,7 +886,7 @@ import {
886
886
  resolveSessionToken,
887
887
  fingerprintApiKey,
888
888
  init_users
889
- } from "./cli-getrvmtx.js";
889
+ } from "./cli-grk77aen.js";
890
890
  import {
891
891
  AMP_ESTIMATE_MODELS,
892
892
  ampBillsCacheWrites,
@@ -910,7 +910,7 @@ import {
910
910
  init_task_attachment_links,
911
911
  contentSha256,
912
912
  init_profile_sync
913
- } from "./cli-s6fhqbz1.js";
913
+ } from "./cli-aytna2fm.js";
914
914
  import {
915
915
  getSlackConfiguration,
916
916
  isSlackConfigured,
@@ -938,7 +938,7 @@ import {
938
938
  init_registry3,
939
939
  resolveTemplate,
940
940
  init_resolver
941
- } from "./cli-mwxez0pz.js";
941
+ } from "./cli-b768ek79.js";
942
942
  import {
943
943
  normalizeAssetKey,
944
944
  defaultAssetKey,
@@ -1067,7 +1067,7 @@ import {
1067
1067
  import {
1068
1068
  init_package,
1069
1069
  package_default
1070
- } from "./cli-sjk85d7v.js";
1070
+ } from "./cli-sy2ge2ye.js";
1071
1071
  import {
1072
1072
  getNodeEnv,
1073
1073
  isDevOrTestNodeEnv,
@@ -20469,7 +20469,7 @@ function startRetryPoller(registry, intervalMs = 5000) {
20469
20469
  if (!waiting)
20470
20470
  continue;
20471
20471
  if (result.waitFor === "workflow.child.finished") {
20472
- const { resumeFromChildRun } = await import("./resume-vcag4ann.js");
20472
+ const { resumeFromChildRun } = await import("./resume-z1vs44n5.js");
20473
20473
  await resumeFromChildRun(step.id, registry);
20474
20474
  }
20475
20475
  } else {
@@ -21348,7 +21348,7 @@ var init_notify = __esm(() => {
21348
21348
  }
21349
21349
  }
21350
21350
  case "slack": {
21351
- const { getSlackApp } = await import("./app-535m78qw.js");
21351
+ const { getSlackApp } = await import("./app-b267ggx1.js");
21352
21352
  let app = getSlackApp();
21353
21353
  if (!app) {
21354
21354
  if (!isSlackConfigured()) {
@@ -24985,7 +24985,7 @@ function setPreloadedTools(server, names) {
24985
24985
  async function applyPreToolCall(name, args, requestInfo, inputSchema) {
24986
24986
  if (requestInfo.callOrigin !== "mcp")
24987
24987
  return { args };
24988
- const dispatcher = await import("./dispatcher-fr4vawwb.js");
24988
+ const dispatcher = await import("./dispatcher-h2rz69f6.js");
24989
24989
  const result = await dispatcher.dispatchPre("pre.tool.call", { tool: name, args, requestInfo }, inputSchema ? {
24990
24990
  validateModify: async (data) => {
24991
24991
  const schema = normalizeObjectSchema(inputSchema) ?? inputSchema;
@@ -36722,7 +36722,7 @@ async function notifySlack(text) {
36722
36722
  return;
36723
36723
  }
36724
36724
  try {
36725
- const { getSlackApp } = await import("./app-535m78qw.js");
36725
+ const { getSlackApp } = await import("./app-b267ggx1.js");
36726
36726
  const app = getSlackApp();
36727
36727
  if (!app) {
36728
36728
  console.warn("[Jira webhook keepalive] Slack not available, cannot send notification");
@@ -36793,7 +36793,7 @@ async function deleteJiraWebhook(webhookId) {
36793
36793
  console.log(`[Jira webhook keepalive] Deleted webhook id=${webhookId}`);
36794
36794
  }
36795
36795
  async function overwriteWebhookIds(next) {
36796
- const { getDbClient } = await import("./db-spg81qtr.js");
36796
+ const { getDbClient } = await import("./db-84pz2w5c.js");
36797
36797
  await getDbClient().transaction(async (tx) => {
36798
36798
  const row = await tx.get("SELECT metadata FROM oauth_apps WHERE provider = 'jira'");
36799
36799
  if (!row) {
@@ -110287,7 +110287,7 @@ async function loadGlobalConfigsIntoEnv2(override = false) {
110287
110287
  if (updated.length > 0) {
110288
110288
  refreshSecretScrubberCache();
110289
110289
  }
110290
- const { syncSlackTreeVisibility } = await import("./tree-visibility-dwzc8en0.js");
110290
+ const { syncSlackTreeVisibility } = await import("./tree-visibility-ts3z30kw.js");
110291
110291
  await syncSlackTreeVisibility();
110292
110292
  return updated;
110293
110293
  }
@@ -110295,7 +110295,7 @@ async function reloadGlobalConfigsAndIntegrations2() {
110295
110295
  return runWithoutRequestAuth(() => runSlackLifecycleExclusive(() => reloadGlobalConfigsAndIntegrationsInner()));
110296
110296
  }
110297
110297
  async function reloadGlobalConfigsAndIntegrationsInner() {
110298
- const { getEmbeddingProvider, resetEmbeddingProvider } = await import("./index-we3nd2t0.js");
110298
+ const { getEmbeddingProvider, resetEmbeddingProvider } = await import("./index-9q42cr54.js");
110299
110299
  const wasEmbeddingsConfigured = getEmbeddingProvider().isConfigured();
110300
110300
  const updated = await loadGlobalConfigsIntoEnv2(true);
110301
110301
  await syncTelemetryEnabled("settings").catch((err) => {
@@ -110311,7 +110311,7 @@ async function reloadGlobalConfigsAndIntegrationsInner() {
110311
110311
  integrations.push("embeddings");
110312
110312
  }
110313
110313
  if (isEmbeddingsConfigured) {
110314
- import("./embedding-space-an77f45k.js").then(({ runEmbeddingMaintenance }) => runEmbeddingMaintenance({ backfill: !wasEmbeddingsConfigured })).catch((err) => {
110314
+ import("./embedding-space-yam9zwzj.js").then(({ runEmbeddingMaintenance }) => runEmbeddingMaintenance({ backfill: !wasEmbeddingsConfigured })).catch((err) => {
110315
110315
  console.error("[config-reload] embedding maintenance failed (non-fatal):", err);
110316
110316
  });
110317
110317
  }
@@ -143122,7 +143122,7 @@ async function readScriptActionAllowlist() {
143122
143122
  const [row] = await getSwarmConfigs2({ scope: "global", key: UI_SPEC_SCRIPT_ACTIONS_KEY });
143123
143123
  if (row)
143124
143124
  return row.value;
143125
- const { getDeploymentEnvValue } = await import("./core-2b8bv6ny.js");
143125
+ const { getDeploymentEnvValue } = await import("./core-nheayfgm.js");
143126
143126
  return getDeploymentEnvValue(UI_SPEC_SCRIPT_ACTIONS_KEY);
143127
143127
  }
143128
143128
  async function loadScriptActionLookups() {
@@ -144756,7 +144756,7 @@ async function recomputeSessionCost(input, lookupRate) {
144756
144756
  }
144757
144757
  return {
144758
144758
  totalCostUsd: pricedCostUsd + sessionFeesUsd,
144759
- costSource: "pricing-table",
144759
+ costSource: input.estimated ? "estimated" : "pricing-table",
144760
144760
  modelBreakdown: modelUsageEntries ? pricedModels : undefined
144761
144761
  };
144762
144762
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getDbClient2,
3
3
  init_db4
4
- } from "./cli-erh1rgh4.js";
4
+ } from "./cli-e4gx499y.js";
5
5
  import {
6
6
  __esm
7
7
  } from "./cli-242037k3.js";
@@ -70,11 +70,11 @@ import {
70
70
  getStaleApprovalRequests2,
71
71
  upsertKv2,
72
72
  init_db4
73
- } from "./cli-erh1rgh4.js";
73
+ } from "./cli-e4gx499y.js";
74
74
  import {
75
75
  listRuntimePools2,
76
76
  init_db2
77
- } from "./cli-tceqvv6h.js";
77
+ } from "./cli-268b3dgn.js";
78
78
  import {
79
79
  runtimeStaleThresholdMinutes,
80
80
  countActiveRuntimeInstancesForAgent,
@@ -84,15 +84,15 @@ import {
84
84
  init_multi_runtime,
85
85
  createApprovalFollowUpTask2,
86
86
  init_approval_notifications
87
- } from "./cli-f1sdh8ca.js";
87
+ } from "./cli-gxqwm3k3.js";
88
88
  import {
89
89
  userHoldsOperatorGrantedRole2,
90
90
  assertMayActOnOperatorGrantedTarget2,
91
91
  init_rbac_roles
92
- } from "./cli-n14r8h4n.js";
92
+ } from "./cli-tjf1bh1v.js";
93
93
  import {
94
94
  remediateStalledRuntime
95
- } from "./cli-7m6bbtab.js";
95
+ } from "./cli-hd2a204w.js";
96
96
  import {
97
97
  recoverIncompleteRuns,
98
98
  init_recovery,
@@ -120,13 +120,13 @@ import {
120
120
  init_approval_cancel,
121
121
  canClaim,
122
122
  init_budget_admission
123
- } from "./cli-dnvmwsvc.js";
123
+ } from "./cli-1606qw3n.js";
124
124
  import {
125
125
  runScriptWithRunCredential,
126
126
  init_run_credential,
127
127
  runSavedScriptAsAgent,
128
128
  init_run_saved
129
- } from "./cli-nkfv398a.js";
129
+ } from "./cli-ka4tqjzd.js";
130
130
  import {
131
131
  isMultiRuntimeEnabled,
132
132
  init_multi_runtime2
@@ -135,13 +135,13 @@ import {
135
135
  recordIdentityEvent,
136
136
  mintToken,
137
137
  init_users
138
- } from "./cli-getrvmtx.js";
138
+ } from "./cli-grk77aen.js";
139
139
  import {
140
140
  registerTemplate,
141
141
  init_registry3,
142
142
  resolveTemplate,
143
143
  init_resolver
144
- } from "./cli-mwxez0pz.js";
144
+ } from "./cli-b768ek79.js";
145
145
  import {
146
146
  DEFAULT_OPENROUTER_BASE_URL,
147
147
  getOpenRouterBaseUrl,
@@ -160,7 +160,7 @@ import {
160
160
  import {
161
161
  init_package,
162
162
  package_default
163
- } from "./cli-sjk85d7v.js";
163
+ } from "./cli-sy2ge2ye.js";
164
164
  import {
165
165
  scrubSecrets,
166
166
  init_secret_scrubber
@@ -16,7 +16,7 @@ import {
16
16
  getSwarmConfigs2,
17
17
  upsertSwarmConfig2,
18
18
  init_db4
19
- } from "./cli-erh1rgh4.js";
19
+ } from "./cli-e4gx499y.js";
20
20
  import {
21
21
  createRuntimeProvider,
22
22
  init_runtime_providers
@@ -30,7 +30,7 @@ import {
30
30
  init_session_token_connections,
31
31
  insertSessionToken,
32
32
  init_users
33
- } from "./cli-getrvmtx.js";
33
+ } from "./cli-grk77aen.js";
34
34
  import {
35
35
  RuntimeControllerCreateSchema,
36
36
  RuntimeControllerUpdateSchema,
@@ -0,0 +1,11 @@
1
+ import {
2
+ bedrockProviderModule
3
+ } from "./cli-6p8p2e6r.js";
4
+ import {
5
+ setBedrockProviderModule,
6
+ init_bedrock_converse_stream_lazy
7
+ } from "./cli-k3facve0.js";
8
+
9
+ // src/utils/internal-ai/register-bedrock.ts
10
+ init_bedrock_converse_stream_lazy();
11
+ setBedrockProviderModule(bedrockProviderModule);
@@ -4,7 +4,7 @@ import {
4
4
  getSlackRenderV2ActivatedAt2,
5
5
  ensureSlackRenderV2Activation2,
6
6
  init_db4
7
- } from "./cli-erh1rgh4.js";
7
+ } from "./cli-e4gx499y.js";
8
8
  import {
9
9
  isEnvFlagEnabled,
10
10
  init_env_flag
@@ -148,7 +148,7 @@ import {
148
148
  Instantiate,
149
149
  Evaluate2,
150
150
  Priority
151
- } from "./cli-cmgdptmx.js";
151
+ } from "./cli-ef590376.js";
152
152
  import {
153
153
  require_index_min
154
154
  } from "./cli-t9wbrgm4.js";
@@ -198,7 +198,7 @@ import {
198
198
  streamSimple2,
199
199
  completeSimple,
200
200
  init_compat
201
- } from "./cli-xhkek467.js";
201
+ } from "./cli-v1v49t36.js";
202
202
  import {
203
203
  uuidv7
204
204
  } from "./cli-4se3x6qm.js";
@@ -59482,7 +59482,7 @@ function loadAllHighlightLanguages() {
59482
59482
  if (!allLanguagesPromise) {
59483
59483
  allLanguagesPromise = new Promise((resolve) => {
59484
59484
  setImmediate(() => {
59485
- import("./index-6h3r0vpe.js").then((m)=>__toESM(m.default,1)).then(() => resolve(), () => {
59485
+ import("./index-93bw5wds.js").then((m)=>__toESM(m.default,1)).then(() => resolve(), () => {
59486
59486
  resolve();
59487
59487
  });
59488
59488
  });
@@ -65897,7 +65897,7 @@ function getCreateJiti() {
65897
65897
  }
65898
65898
  var virtualModulesPromise;
65899
65899
  function getVirtualModules() {
65900
- virtualModulesPromise ??= import("./virtual-modules-78a6yw71.js").then((module) => module.VIRTUAL_MODULES);
65900
+ virtualModulesPromise ??= import("./virtual-modules-674fka8x.js").then((module) => module.VIRTUAL_MODULES);
65901
65901
  return virtualModulesPromise;
65902
65902
  }
65903
65903
  var _aliases = null;
@@ -90060,7 +90060,7 @@ function parseCodemodeSource(input) {
90060
90060
  }
90061
90061
 
90062
90062
  // node_modules/@earendil-works/pi-coding-agent/dist/extensions/codemode/execute.lazy.js
90063
- var loadCodemodeExecutor = () => import("./execute-3mys4nta.js");
90063
+ var loadCodemodeExecutor = () => import("./execute-hhdejgzf.js");
90064
90064
 
90065
90065
  // node_modules/@earendil-works/pi-coding-agent/dist/extensions/codemode/renderer.js
90066
90066
  var CODE_PREVIEW_LINES = 10;
@@ -91205,7 +91205,7 @@ function createMcpResourceToolDefinitions(options) {
91205
91205
  }
91206
91206
 
91207
91207
  // node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/runtime.lazy.js
91208
- var loadMcpRuntime = () => import("./runtime-x0s55z2t.js");
91208
+ var loadMcpRuntime = () => import("./runtime-gk6ct7r7.js");
91209
91209
 
91210
91210
  // node_modules/@earendil-works/pi-coding-agent/dist/utils/clipboard.js
91211
91211
  import { randomUUID as randomUUID3 } from "node:crypto";
@@ -96824,7 +96824,7 @@ var builtInExtensions = [
96824
96824
  ];
96825
96825
 
96826
96826
  // node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/cli.lazy.js
96827
- var loadMcpCommand = () => import("./cli-fgm2mad9.js");
96827
+ var loadMcpCommand = () => import("./cli-dq30fq3q.js");
96828
96828
 
96829
96829
  // node_modules/@earendil-works/pi-coding-agent/dist/migrations.js
96830
96830
  import { existsSync as existsSync22, mkdirSync as mkdirSync11, readdirSync as readdirSync10, readFileSync as readFileSync17, renameSync as renameSync2, rmSync as rmSync4, writeFileSync as writeFileSync11 } from "fs";
@@ -99414,7 +99414,7 @@ function playEasterEgg3d(tui, egg) {
99414
99414
  if (tui.hasOverlay())
99415
99415
  return true;
99416
99416
  const screen = tui.getScreenLines();
99417
- import("./easter-egg-3d-ac9tv9a6.js").then((module) => module.playEasterEgg3d(tui, screen, egg), () => {});
99417
+ import("./easter-egg-3d-m41ad78v.js").then((module) => module.playEasterEgg3d(tui, screen, egg), () => {});
99418
99418
  return true;
99419
99419
  }
99420
99420
  function playPiLogo3d(tui, column, row) {
@@ -14,7 +14,7 @@ import {
14
14
  SteeringBlockedError,
15
15
  init_steering2,
16
16
  init_db4
17
- } from "./cli-erh1rgh4.js";
17
+ } from "./cli-e4gx499y.js";
18
18
  import {
19
19
  isBlockExternalEnabled2,
20
20
  invalidateChannelExternality2,
@@ -22,7 +22,7 @@ import {
22
22
  shouldBlockChannel2,
23
23
  leaveExternalChannel2,
24
24
  init_external_channel
25
- } from "./cli-ka13xx6b.js";
25
+ } from "./cli-hxj888w3.js";
26
26
  import {
27
27
  workflowEventBus2,
28
28
  init_event_bus
@@ -42,7 +42,7 @@ import {
42
42
  init_render_v2,
43
43
  registerTreeMessage,
44
44
  init_watcher
45
- } from "./cli-69eq6gdk.js";
45
+ } from "./cli-ea367bdn.js";
46
46
  import {
47
47
  dispatchPre2,
48
48
  init_dispatcher,
@@ -60,7 +60,7 @@ import {
60
60
  slackInboundMessageText,
61
61
  collectSlackMessageFiles,
62
62
  init_message_text
63
- } from "./cli-dnvmwsvc.js";
63
+ } from "./cli-1606qw3n.js";
64
64
  import {
65
65
  requestSlackThreadSteering,
66
66
  formatSlackSteeringAck,
@@ -71,7 +71,7 @@ import {
71
71
  getBufferMessageCount2,
72
72
  instantFlush2,
73
73
  init_thread_buffer
74
- } from "./cli-cs26ed89.js";
74
+ } from "./cli-0j4qmc80.js";
75
75
  import {
76
76
  wasEventSeen,
77
77
  init_event_dedup
@@ -82,7 +82,7 @@ import {
82
82
  getSlackUserTeam,
83
83
  isOurSlackTeam,
84
84
  init_enrich
85
- } from "./cli-gc7jkf4a.js";
85
+ } from "./cli-wtffytm8.js";
86
86
  import {
87
87
  isSlackLeaveThreadDisabled,
88
88
  SLACK_LEFT_THREAD_CONFIRMATION,
@@ -90,7 +90,7 @@ import {
90
90
  leaveSlackThread,
91
91
  shouldSkipLeftSlackThread,
92
92
  init_left_threads
93
- } from "./cli-4djg31jh.js";
93
+ } from "./cli-v8rpjrnx.js";
94
94
  import {
95
95
  init_zod
96
96
  } from "./cli-96234j5w.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ACPAdapter2
3
- } from "./cli-1f48qdnb.js";
3
+ } from "./cli-xc8m5cjn.js";
4
4
  import {
5
5
  isGrokOpenRouterModel2,
6
6
  grokTargetProfile2
7
- } from "./cli-d528acsw.js";
7
+ } from "./cli-7fa6yv98.js";
8
8
  import {
9
9
  getOpenRouterBaseUrl,
10
10
  getOpenRouterAttributionHeaders,
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  applyOpenRouterBaseUrlOverride2,
11
11
  buildOpenAICompatibleProviderBlock2
12
- } from "./cli-rvhaahfv.js";
12
+ } from "./cli-syqcny89.js";
13
13
  import {
14
14
  getContextWindowSize,
15
15
  clampContextPercent,
@@ -20,7 +20,7 @@ import {
20
20
  resolveTemplateAsync,
21
21
  init_resolver,
22
22
  init_session_templates
23
- } from "./cli-mwxez0pz.js";
23
+ } from "./cli-b768ek79.js";
24
24
  import {
25
25
  DEFAULT_MODEL_TIER_MAP,
26
26
  init_types5
@@ -11,7 +11,7 @@ import {
11
11
  } from "./cli-0726awxw.js";
12
12
  import {
13
13
  summarizeSession
14
- } from "./cli-gq6qhmrr.js";
14
+ } from "./cli-wsnradtk.js";
15
15
  import {
16
16
  getMemoryRaterNames,
17
17
  init_memory_raters,
@@ -26,13 +26,13 @@ import {
26
26
  readIdentityBaselines,
27
27
  advanceIdentityBaselines,
28
28
  init_profile_sync
29
- } from "./cli-s6fhqbz1.js";
29
+ } from "./cli-aytna2fm.js";
30
30
  import {
31
31
  resolveTemplateFromCode,
32
32
  resolveTemplateAsync,
33
33
  init_resolver,
34
34
  init_session_templates
35
- } from "./cli-mwxez0pz.js";
35
+ } from "./cli-b768ek79.js";
36
36
  import {
37
37
  getOpenRouterAttributionHeaders,
38
38
  init_openrouter_base_url
@@ -13,10 +13,10 @@ import {
13
13
  WORKFLOW_CONTEXT_REQUESTER_SQL,
14
14
  init_user_references,
15
15
  init_db4
16
- } from "./cli-erh1rgh4.js";
16
+ } from "./cli-e4gx499y.js";
17
17
  import {
18
18
  nextRestRatio2
19
- } from "./cli-zqy28rwx.js";
19
+ } from "./cli-czeh7x13.js";
20
20
  import {
21
21
  scrubSecrets,
22
22
  init_secret_scrubber
@@ -8,7 +8,7 @@ import {
8
8
  resolveTemplateAsync,
9
9
  init_resolver,
10
10
  init_session_templates
11
- } from "./cli-mwxez0pz.js";
11
+ } from "./cli-b768ek79.js";
12
12
 
13
13
  // src/hooks/context-bound-note.ts
14
14
  import { renameSync, writeFileSync } from "node:fs";
@@ -51,7 +51,7 @@ async function validateProviderDependencies(provider, config, dependencies = pro
51
51
  };
52
52
  switch (provider) {
53
53
  case "claude": {
54
- const { resolveClaudeBinaryArgv, withClaudeRouteEnv } = await import("./claude-adapter-gwq7x2nj.js");
54
+ const { resolveClaudeBinaryArgv, withClaudeRouteEnv } = await import("./claude-adapter-knztdnff.js");
55
55
  const sourceEnv = withClaudeRouteEnv(env);
56
56
  const { argv, useClaudeBridge } = resolveClaudeBinaryArgv(sourceEnv);
57
57
  requireExecutable(argv[0], useClaudeBridge ? "Use worker-full or install @desplega.ai/claude-bridge during image provisioning." : "Install Claude Code or set CLAUDE_BINARY to a trusted executable on the worker.", sourceEnv);
@@ -69,7 +69,7 @@ async function validateProviderDependencies(provider, config, dependencies = pro
69
69
  case "grok":
70
70
  case "fx":
71
71
  case "acp": {
72
- const { resolveAcpTarget, grokTargetProfile, fxTargetProfile } = await import("./acp-targets-mz8c5dnt.js");
72
+ const { resolveAcpTarget, grokTargetProfile, fxTargetProfile } = await import("./acp-targets-k8xs4tj8.js");
73
73
  const target = provider === "grok" ? grokTargetProfile : provider === "fx" ? fxTargetProfile : resolveAcpTarget(config);
74
74
  const hint = provider === "grok" ? "Use worker-full, install @xai-official/grok@1.0.77, or set GROK_BINARY to a trusted executable." : provider === "fx" ? "Use worker-full, install the pinned fx release (Dockerfile.worker FX_VERSION), or set FX_BINARY." : `ACP_TARGET='${target.target}'. ${acpInstallHints[target.target]}`;
75
75
  requireExecutable(target.command(config)[0], hint, target.env(config));
@@ -6,17 +6,17 @@ import {
6
6
  init_key_bootstrap,
7
7
  getDbClient2,
8
8
  init_db4
9
- } from "./cli-erh1rgh4.js";
9
+ } from "./cli-e4gx499y.js";
10
10
  import {
11
11
  AgentFsRequestError2,
12
12
  agentFsRequest2,
13
13
  resolveAgentFsServiceCredentials2,
14
14
  init_agent_fs_provision
15
- } from "./cli-a6rzw649.js";
15
+ } from "./cli-a21cwm89.js";
16
16
  import {
17
17
  applyFileChange,
18
18
  init_objects
19
- } from "./cli-wdtqkqnq.js";
19
+ } from "./cli-w24741sm.js";
20
20
  import {
21
21
  FilesError,
22
22
  init_provider,
@@ -11,7 +11,7 @@ import {
11
11
  acquireOAuthRefreshLock,
12
12
  releaseOAuthRefreshLock,
13
13
  init_oauth
14
- } from "./cli-erh1rgh4.js";
14
+ } from "./cli-e4gx499y.js";
15
15
  import {
16
16
  generateRandomCodeVerifier,
17
17
  generateRandomState,
@@ -19,7 +19,7 @@ import {
19
19
  init_build,
20
20
  publicEndpointSsrfOptions,
21
21
  init_mcp_wrapper
22
- } from "./cli-xysy1g8x.js";
22
+ } from "./cli-gkjw33x5.js";
23
23
  import {
24
24
  scrubSecrets,
25
25
  registerVolatileSecret,