@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
@@ -1,6 +1,5 @@
1
- import {
2
- bedrockProviderModule
3
- } from "./cli-6p8p2e6r.js";
1
+ import"./cli-6p8p2e6r.js";
2
+ import"./cli-2ap1the6.js";
4
3
  import {
5
4
  auditAssetKeys,
6
5
  init_asset_key_audit,
@@ -557,7 +556,7 @@ import {
557
556
  countScriptRunJournalSteps2,
558
557
  countScriptRunJournalAgentTaskSteps2,
559
558
  init_db4
560
- } from "./cli-erh1rgh4.js";
559
+ } from "./cli-e4gx499y.js";
561
560
  import {
562
561
  PRIMARY_ROLE_NAMES2,
563
562
  OperatorGrantedTargetError2,
@@ -571,7 +570,7 @@ import {
571
570
  assertNotLastAdmin2,
572
571
  setUserRoles2,
573
572
  init_rbac_roles
574
- } from "./cli-n14r8h4n.js";
573
+ } from "./cli-tjf1bh1v.js";
575
574
  import {
576
575
  MAX_MODEL_GROUP_MEMBERS,
577
576
  listModelGroups,
@@ -581,17 +580,17 @@ import {
581
580
  modelGroupReferences,
582
581
  deleteModelGroup,
583
582
  init_model_groups
584
- } from "./cli-8qvte9hn.js";
583
+ } from "./cli-fbmgpt72.js";
585
584
  import {
586
585
  requestModelCatalogRefresh2,
587
586
  init_pricing_refresh
588
- } from "./cli-m1wddksc.js";
587
+ } from "./cli-h3drhntp.js";
589
588
  import {
590
589
  workflowEventBus2,
591
590
  init_event_bus
592
591
  } from "./cli-vx9acp12.js";
593
- import"./cli-ka13xx6b.js";
594
- import"./cli-e87fg3en.js";
592
+ import"./cli-hxj888w3.js";
593
+ import"./cli-4dyhzhpx.js";
595
594
  import"./cli-vr4eyq6p.js";
596
595
  import"./cli-r8ddn0hf.js";
597
596
  import {
@@ -631,7 +630,7 @@ import {
631
630
  startSlackApp2,
632
631
  stopSlackApp2,
633
632
  init_app4
634
- } from "./cli-69eq6gdk.js";
633
+ } from "./cli-ea367bdn.js";
635
634
  import {
636
635
  AGENT_MAX_TASKS_CONFIG_KEY,
637
636
  reconcileAgentMaxTasksPolicy,
@@ -660,12 +659,12 @@ import {
660
659
  dispatchApprovalNotifications2,
661
660
  createApprovalFollowUpTask2,
662
661
  init_approval_notifications
663
- } from "./cli-f1sdh8ca.js";
662
+ } from "./cli-gxqwm3k3.js";
664
663
  import {
665
664
  retryFailedRun2,
666
665
  cancelWorkflowRun2,
667
666
  init_resume
668
- } from "./cli-fcwrd7bh.js";
667
+ } from "./cli-hpxcfvdm.js";
669
668
  import {
670
669
  safeParse,
671
670
  getObjectShape,
@@ -1168,7 +1167,7 @@ import {
1168
1167
  getEnabledCapabilities,
1169
1168
  createServer,
1170
1169
  init_server
1171
- } from "./cli-dnvmwsvc.js";
1170
+ } from "./cli-1606qw3n.js";
1172
1171
  import {
1173
1172
  getFileStorageProvider2,
1174
1173
  init_registry2
@@ -1194,7 +1193,7 @@ import {
1194
1193
  resolvePoolDelivery2,
1195
1194
  createPoolAgent2,
1196
1195
  init_db2
1197
- } from "./cli-tceqvv6h.js";
1196
+ } from "./cli-268b3dgn.js";
1198
1197
  import {
1199
1198
  duplicateGuardedQueryKey,
1200
1199
  warnIfCorsAllowsAnyOrigin,
@@ -1245,7 +1244,7 @@ import {
1245
1244
  describeRequestRoute,
1246
1245
  route,
1247
1246
  init_route_def
1248
- } from "./cli-2wde56gv.js";
1247
+ } from "./cli-dw43pnzp.js";
1249
1248
  import {
1250
1249
  startPoolRouting,
1251
1250
  stopPoolRouting,
@@ -1258,17 +1257,17 @@ import {
1258
1257
  checkHeartbeatChecklist2,
1259
1258
  runHeartbeatSweep2,
1260
1259
  stopHeartbeat2
1261
- } from "./cli-31vt7baf.js";
1260
+ } from "./cli-1wew39p0.js";
1262
1261
  import"./cli-50whymxq.js";
1263
1262
  import {
1264
1263
  runtimeSupervisorStatus,
1265
1264
  startRuntimeSupervisor,
1266
1265
  stopRuntimeSupervisor
1267
- } from "./cli-7m6bbtab.js";
1266
+ } from "./cli-hd2a204w.js";
1268
1267
  import {
1269
1268
  TASK_TITLE_TIMEOUT_MS,
1270
1269
  generateTaskTitle
1271
- } from "./cli-cmgdptmx.js";
1270
+ } from "./cli-ef590376.js";
1272
1271
  import"./cli-ns59dc6r.js";
1273
1272
  import {
1274
1273
  ACP_TARGET_IDS
@@ -1290,7 +1289,7 @@ import {
1290
1289
  isUnknownModelError,
1291
1290
  checkProviderPoolKey,
1292
1291
  writeSkillsToFilesystem
1293
- } from "./cli-tgmate57.js";
1292
+ } from "./cli-g4dhd3pr.js";
1294
1293
  import {
1295
1294
  AgentFsRequestError2,
1296
1295
  resolveAgentFsSharedContext2,
@@ -1301,7 +1300,7 @@ import {
1301
1300
  agentFsRequest2,
1302
1301
  resolveApiUrl2,
1303
1302
  init_agent_fs_provision
1304
- } from "./cli-a6rzw649.js";
1303
+ } from "./cli-a21cwm89.js";
1305
1304
  import {
1306
1305
  Anthropic
1307
1306
  } from "./cli-cah298e5.js";
@@ -1309,8 +1308,8 @@ import {
1309
1308
  objectWebhookSecret2,
1310
1309
  handleObjectWebhookEvent2,
1311
1310
  init_object_webhooks
1312
- } from "./cli-r4fphq38.js";
1313
- import"./cli-zqy28rwx.js";
1311
+ } from "./cli-8pnawt98.js";
1312
+ import"./cli-czeh7x13.js";
1314
1313
  import {
1315
1314
  createUserMergeJob2,
1316
1315
  getUserMergeJob2,
@@ -1319,7 +1318,7 @@ import {
1319
1318
  findFailedUserMergeJob2,
1320
1319
  requeueUserMergeJob2,
1321
1320
  runUserMergeJobs2
1322
- } from "./cli-tbdw3f92.js";
1321
+ } from "./cli-80d5g0fa.js";
1323
1322
  import {
1324
1323
  isCodexOAuthConfigKey
1325
1324
  } from "./cli-j4bwnpkm.js";
@@ -1330,7 +1329,7 @@ import {
1330
1329
  import {
1331
1330
  runTaskUiAction,
1332
1331
  init_actions
1333
- } from "./cli-n46d87mj.js";
1332
+ } from "./cli-kh973792.js";
1334
1333
  import {
1335
1334
  RATING_MODEL_MAX_LENGTH,
1336
1335
  REFERENCES_SOURCE_MAX_LENGTH,
@@ -1426,7 +1425,7 @@ import {
1426
1425
  init_typecheck,
1427
1426
  parseSkillContent,
1428
1427
  init_skill_parser
1429
- } from "./cli-nkfv398a.js";
1428
+ } from "./cli-ka4tqjzd.js";
1430
1429
  import {
1431
1430
  signalProcessGroup,
1432
1431
  detachedProcessGroup,
@@ -1443,17 +1442,17 @@ import {
1443
1442
  forceRefreshAuthorizationOrThrow,
1444
1443
  forceRefreshTokenOrThrow,
1445
1444
  init_ensure_token
1446
- } from "./cli-xerdrnqs.js";
1445
+ } from "./cli-8sayvj48.js";
1447
1446
  import {
1448
1447
  PRIMITIVE_KINDS,
1449
1448
  ObjectsError,
1450
1449
  recordObjectVersion,
1451
1450
  init_objects
1452
- } from "./cli-wdtqkqnq.js";
1451
+ } from "./cli-w24741sm.js";
1453
1452
  import {
1454
1453
  agentFsClientFor,
1455
1454
  init_agent_fs_identity
1456
- } from "./cli-j2ybkdk2.js";
1455
+ } from "./cli-snwz16eg.js";
1457
1456
  import {
1458
1457
  FilesError,
1459
1458
  normalizeFilesError,
@@ -1462,7 +1461,7 @@ import {
1462
1461
  AgentFsProvider,
1463
1462
  init_agent_fs_provider
1464
1463
  } from "./cli-skd2c4ej.js";
1465
- import"./cli-4djg31jh.js";
1464
+ import"./cli-v8rpjrnx.js";
1466
1465
  import {
1467
1466
  automationIntegrationFixUrl,
1468
1467
  preflightAutomation,
@@ -1484,7 +1483,7 @@ import {
1484
1483
  definitionNodeIds,
1485
1484
  validateDefinition,
1486
1485
  init_definition2
1487
- } from "./cli-jkkcm72j.js";
1486
+ } from "./cli-hhb8kbwd.js";
1488
1487
  import {
1489
1488
  _fetchHolder,
1490
1489
  CLIENT_ID,
@@ -1526,7 +1525,7 @@ import {
1526
1525
  toSessionSharesState,
1527
1526
  setSessionShares,
1528
1527
  init_session_shares
1529
- } from "./cli-b0kqw55g.js";
1528
+ } from "./cli-1gnf5c7x.js";
1530
1529
  import {
1531
1530
  isInvalidClientError,
1532
1531
  publicEndpointSsrfOptions,
@@ -1544,12 +1543,8 @@ import {
1544
1543
  revokeMcpToken,
1545
1544
  computeExpiresAt,
1546
1545
  init_mcp_wrapper
1547
- } from "./cli-xysy1g8x.js";
1546
+ } from "./cli-gkjw33x5.js";
1548
1547
  import"./cli-v41kn3cd.js";
1549
- import {
1550
- setBedrockProviderModule,
1551
- init_bedrock_converse_stream_lazy
1552
- } from "./cli-k3facve0.js";
1553
1548
  import {
1554
1549
  import_websocket,
1555
1550
  import_websocket_server,
@@ -1584,7 +1579,7 @@ import {
1584
1579
  revokeAllAgentSessionTokens,
1585
1580
  fingerprintApiKey,
1586
1581
  init_users
1587
- } from "./cli-getrvmtx.js";
1582
+ } from "./cli-grk77aen.js";
1588
1583
  import {
1589
1584
  CORE_TOOLS,
1590
1585
  init_tool_config
@@ -1612,7 +1607,7 @@ import {
1612
1607
  IDENTITY_FIELD_BUDGETS,
1613
1608
  IdentityFieldBudgetError,
1614
1609
  init_identity_field_budget
1615
- } from "./cli-s6fhqbz1.js";
1610
+ } from "./cli-aytna2fm.js";
1616
1611
  import {
1617
1612
  getSlackConfiguration,
1618
1613
  init_config4
@@ -1650,7 +1645,7 @@ import {
1650
1645
  resolveTemplate,
1651
1646
  init_resolver,
1652
1647
  init_session_templates
1653
- } from "./cli-mwxez0pz.js";
1648
+ } from "./cli-b768ek79.js";
1654
1649
  import {
1655
1650
  getOpenRouterAttributionHeaders,
1656
1651
  init_openrouter_base_url
@@ -1882,7 +1877,7 @@ import {
1882
1877
  import {
1883
1878
  init_package,
1884
1879
  package_default
1885
- } from "./cli-sjk85d7v.js";
1880
+ } from "./cli-sy2ge2ye.js";
1886
1881
  import {
1887
1882
  realtimeBus,
1888
1883
  init_bus
@@ -1945,10 +1940,6 @@ function installConsoleScrub() {
1945
1940
  // src/utils/console-scrub-install.ts
1946
1941
  installConsoleScrub();
1947
1942
 
1948
- // src/utils/internal-ai/register-bedrock.ts
1949
- init_bedrock_converse_stream_lazy();
1950
- setBedrockProviderModule(bedrockProviderModule);
1951
-
1952
1943
  // src/http/index.ts
1953
1944
  init_server();
1954
1945
  init_agentmail();
@@ -45426,6 +45417,7 @@ var createSessionCostRoute = route({
45426
45417
  harness: ProviderNameSchema.nullable().optional(),
45427
45418
  totalCostUsd: number2(),
45428
45419
  harnessCostBilled: boolean().optional(),
45420
+ estimated: boolean().optional(),
45429
45421
  taskId: string2().optional(),
45430
45422
  inputTokens: number2().int().nonnegative().optional(),
45431
45423
  outputTokens: number2().int().nonnegative().optional(),
@@ -45601,6 +45593,7 @@ async function handleSessionData(req, res, pathSegments, queryParams, myAgentId)
45601
45593
  model,
45602
45594
  harnessCostUsd: parsed.body.totalCostUsd,
45603
45595
  harnessCostBilled: parsed.body.harnessCostBilled,
45596
+ estimated: parsed.body.estimated,
45604
45597
  inputTokens,
45605
45598
  outputTokens,
45606
45599
  cacheReadTokens: cachedInputTokens,
@@ -53724,7 +53717,7 @@ var httpServer = createHttpServer(async (req, res) => {
53724
53717
  });
53725
53718
  });
53726
53719
  var detachRealtime = attachRealtimeTransport(httpServer);
53727
- var { attachControllerTransport } = await import("./controllers-connect-09gvkrhc.js");
53720
+ var { attachControllerTransport } = await import("./controllers-connect-yft057ws.js");
53728
53721
  var detachControllers = attachControllerTransport(httpServer);
53729
53722
  var stopWorkerNudges = startWorkerNudgeListener();
53730
53723
  var taskAutoTitles = startTaskAutoTitleListener();
@@ -53755,7 +53748,7 @@ async function shutdown() {
53755
53748
  sessionsProcessed: getServerSessionsProcessed()
53756
53749
  });
53757
53750
  if (hasCapability("scheduling")) {
53758
- const { stopScheduler } = await import("./index-6bm3w6cn.js");
53751
+ const { stopScheduler } = await import("./index-st231bqv.js");
53759
53752
  stopScheduler();
53760
53753
  }
53761
53754
  stopHeartbeat2();
@@ -53767,7 +53760,7 @@ async function shutdown() {
53767
53760
  await stopSlackApp2();
53768
53761
  await stopChatSdk();
53769
53762
  if (!isEnvFlagEnabled("OAUTH_KEEPALIVE_DISABLE", false)) {
53770
- const { stopOAuthKeepalive } = await import("./keepalive-7e9r5dvp.js");
53763
+ const { stopOAuthKeepalive } = await import("./keepalive-vjnnqbkm.js");
53771
53764
  await stopOAuthKeepalive();
53772
53765
  }
53773
53766
  stopOAuthPendingGc();
@@ -53857,21 +53850,21 @@ try {
53857
53850
  console.warn("[startup] CAPABILITIES upgrade seed failed (non-fatal):", err);
53858
53851
  }
53859
53852
  try {
53860
- const { ensurePricingSeeded } = await import("./boot-seeds-32zm50x2.js");
53853
+ const { ensurePricingSeeded } = await import("./boot-seeds-bjceqg7b.js");
53861
53854
  ensurePricingSeeded();
53862
- const { startPricingRefreshLoop } = await import("./pricing-refresh-kfc215mf.js");
53855
+ const { startPricingRefreshLoop } = await import("./pricing-refresh-jtmjwss9.js");
53863
53856
  startPricingRefreshLoop();
53864
53857
  } catch (err) {
53865
53858
  console.error("[startup] Failed to seed pricing rows:", err);
53866
53859
  }
53867
53860
  try {
53868
- const { ensureModelProfilesSeeded } = await import("./boot-seeds-32zm50x2.js");
53861
+ const { ensureModelProfilesSeeded } = await import("./boot-seeds-bjceqg7b.js");
53869
53862
  await ensureModelProfilesSeeded();
53870
53863
  } catch (err) {
53871
53864
  console.error("[startup] Failed to seed model profiles:", err);
53872
53865
  }
53873
53866
  try {
53874
- const { ensureRbacSeeded } = await import("./boot-seeds-32zm50x2.js");
53867
+ const { ensureRbacSeeded } = await import("./boot-seeds-bjceqg7b.js");
53875
53868
  ensureRbacSeeded();
53876
53869
  } catch (err) {
53877
53870
  console.error("[startup] Failed to sync RBAC seed rows:", err);
@@ -53879,13 +53872,13 @@ try {
53879
53872
  throw err;
53880
53873
  }
53881
53874
  try {
53882
- const { runAllSeeders } = await import("./index-0vthtbc2.js");
53875
+ const { runAllSeeders } = await import("./index-9r4j0a60.js");
53883
53876
  await runAllSeeders({ scriptEmbeddingMode: "skip" });
53884
53877
  } catch (err) {
53885
53878
  console.error("[startup] Failed to seed built-in entities:", err);
53886
53879
  }
53887
53880
  try {
53888
- const { runImports } = await import("./index-xcw7hjt5.js");
53881
+ const { runImports } = await import("./index-2z1z7qx6.js");
53889
53882
  await runImports();
53890
53883
  } catch (err) {
53891
53884
  console.error("[startup] File import failed:", scrubSecrets(err instanceof Error ? err.message : String(err)));
@@ -53936,10 +53929,10 @@ httpServer.listen(port, async () => {
53936
53929
  startChatSdk().catch((err) => {
53937
53930
  console.error("[chat-sdk] Failed to start, continuing without Chat SDK:", scrubSecrets(err instanceof Error ? err.message : String(err)));
53938
53931
  });
53939
- import("./agent-fs-provision-6fgz7wvz.js").then(({ syncAgentFsOrgSwarmUrl }) => syncAgentFsOrgSwarmUrl(getConfiguredAppUrls()[0])).catch((err) => {
53932
+ import("./agent-fs-provision-vbk3fppw.js").then(({ syncAgentFsOrgSwarmUrl }) => syncAgentFsOrgSwarmUrl(getConfiguredAppUrls()[0])).catch((err) => {
53940
53933
  console.warn("[agent-fs] Failed to set the org swarm URL:", scrubSecrets(err instanceof Error ? err.message : String(err)));
53941
53934
  });
53942
- import("./object-webhooks-ac7v2q5p.js").then(({ ensureObjectWebhooksForKnownDrives }) => ensureObjectWebhooksForKnownDrives()).catch((err) => {
53935
+ import("./object-webhooks-gt9xnq21.js").then(({ ensureObjectWebhooksForKnownDrives }) => ensureObjectWebhooksForKnownDrives()).catch((err) => {
53943
53936
  console.warn("[objects] agent-fs webhook boot check failed:", scrubSecrets(err instanceof Error ? err.message : String(err)));
53944
53937
  });
53945
53938
  startQueueStallAlarm();
@@ -53955,25 +53948,25 @@ httpServer.listen(port, async () => {
53955
53948
  await initWorkflows2();
53956
53949
  await startScriptRunSupervisor(getMcpBaseUrl());
53957
53950
  if (hasCapability("scheduling")) {
53958
- const { startScheduler } = await import("./index-6bm3w6cn.js");
53959
- const { getExecutorRegistry } = await import("./index-30qw6vyw.js");
53951
+ const { startScheduler } = await import("./index-st231bqv.js");
53952
+ const { getExecutorRegistry } = await import("./index-6mgbdtv1.js");
53960
53953
  const intervalMs = Number(process.env.SCHEDULER_INTERVAL_MS) || 1e4;
53961
53954
  startScheduler(getExecutorRegistry(), intervalMs, {
53962
53955
  runId: globalState.__runId
53963
53956
  });
53964
53957
  }
53965
53958
  if (!isEnvFlagEnabled("HEARTBEAT_DISABLE", false)) {
53966
- const { parseHeartbeatIntervalMs, startHeartbeat } = await import("./index-1v23363p.js");
53959
+ const { parseHeartbeatIntervalMs, startHeartbeat } = await import("./index-hqdsn2t2.js");
53967
53960
  startHeartbeat(parseHeartbeatIntervalMs(process.env.HEARTBEAT_INTERVAL_MS));
53968
53961
  }
53969
53962
  startPoolRouting();
53970
53963
  startRuntimeSupervisor();
53971
53964
  if (!isEnvFlagEnabled("OAUTH_KEEPALIVE_DISABLE", false)) {
53972
- const { startOAuthKeepalive } = await import("./keepalive-7e9r5dvp.js");
53965
+ const { startOAuthKeepalive } = await import("./keepalive-vjnnqbkm.js");
53973
53966
  startOAuthKeepalive();
53974
53967
  }
53975
53968
  if (!isEnvFlagEnabled("OAUTH_REFRESH_SWEEP_DISABLE", false)) {
53976
- const { startOAuthRefreshSweep } = await import("./oauth-refresh-sweep-0qh70988.js");
53969
+ const { startOAuthRefreshSweep } = await import("./oauth-refresh-sweep-nkykf09m.js");
53977
53970
  startOAuthRefreshSweep();
53978
53971
  }
53979
53972
  startOAuthPendingGc();
@@ -53983,22 +53976,22 @@ httpServer.listen(port, async () => {
53983
53976
  startSavingsRollup(savingsRollupSql);
53984
53977
  startHumanFreeDrain();
53985
53978
  startTaskSearchBackfill();
53986
- import("./embedding-space-an77f45k.js").then(({ runEmbeddingMaintenance, setDeploymentEnvReader }) => {
53979
+ import("./embedding-space-yam9zwzj.js").then(({ runEmbeddingMaintenance, setDeploymentEnvReader }) => {
53987
53980
  setDeploymentEnvReader(getDeploymentEnvValue2);
53988
53981
  return runEmbeddingMaintenance({ backfill: true });
53989
53982
  }).catch((err) => {
53990
53983
  console.error("[embedding-space] startup maintenance failed (non-fatal):", err);
53991
53984
  });
53992
- import("./boot-args-schema-bqv5bf77.js").then(({ runBootArgsSchemaBackfill }) => runBootArgsSchemaBackfill()).catch((err) => {
53985
+ import("./boot-args-schema-6tpk28j4.js").then(({ runBootArgsSchemaBackfill }) => runBootArgsSchemaBackfill()).catch((err) => {
53993
53986
  console.error("[boot-args-schema] startup backfill failed (non-fatal):", err);
53994
53987
  });
53995
- import("./boot-scrub-sweep-tmec0be2.js").then(({ runBootScrubSweep }) => runBootScrubSweep()).catch((err) => {
53988
+ import("./boot-scrub-sweep-cgb6r5bd.js").then(({ runBootScrubSweep }) => runBootScrubSweep()).catch((err) => {
53996
53989
  console.error("[boot-scrub-sweep] startup scrub failed (non-fatal):", err);
53997
53990
  });
53998
- import("./user-merge-jobs-4ce7kma2.js").then(({ resumeUserMergeJobs }) => resumeUserMergeJobs()).catch((err) => {
53991
+ import("./user-merge-jobs-zetg26e0.js").then(({ resumeUserMergeJobs }) => resumeUserMergeJobs()).catch((err) => {
53999
53992
  console.error("[user-merge] startup resume failed (non-fatal):", err);
54000
53993
  });
54001
- import("./session-source-backfill-jpqfzmgz.js").then(({ runSessionSourceBackfill }) => runSessionSourceBackfill()).catch((err) => {
53994
+ import("./session-source-backfill-wb60zjkd.js").then(({ runSessionSourceBackfill }) => runSessionSourceBackfill()).catch((err) => {
54002
53995
  console.error("[session-source-backfill] startup run failed (non-fatal):", err);
54003
53996
  });
54004
53997
  }).on("error", (err) => {
@@ -4,24 +4,24 @@ import {
4
4
  SKILL_FILE_LIMITS2,
5
5
  normalizeSkillFilePath2,
6
6
  init_db4
7
- } from "./cli-erh1rgh4.js";
7
+ } from "./cli-e4gx499y.js";
8
8
  import {
9
9
  runSeeder
10
- } from "./cli-1gevjrc1.js";
11
- import"./cli-ka13xx6b.js";
12
- import"./cli-e87fg3en.js";
10
+ } from "./cli-ppf9ap9n.js";
11
+ import"./cli-hxj888w3.js";
12
+ import"./cli-4dyhzhpx.js";
13
13
  import"./cli-vr4eyq6p.js";
14
14
  import"./cli-r8ddn0hf.js";
15
15
  import"./cli-vx9acp12.js";
16
- import"./cli-69eq6gdk.js";
17
- import"./cli-f1sdh8ca.js";
18
- import"./cli-fcwrd7bh.js";
19
- import"./cli-n14r8h4n.js";
20
- import"./cli-8qvte9hn.js";
21
- import"./cli-m1wddksc.js";
16
+ import"./cli-ea367bdn.js";
17
+ import"./cli-gxqwm3k3.js";
18
+ import"./cli-hpxcfvdm.js";
19
+ import"./cli-tjf1bh1v.js";
20
+ import"./cli-fbmgpt72.js";
21
+ import"./cli-h3drhntp.js";
22
22
  import"./cli-y260hgep.js";
23
- import"./cli-tceqvv6h.js";
24
- import"./cli-2wde56gv.js";
23
+ import"./cli-268b3dgn.js";
24
+ import"./cli-dw43pnzp.js";
25
25
  import {
26
26
  getExecutorRegistry2,
27
27
  init_workflows,
@@ -30,12 +30,12 @@ import {
30
30
  skillSpecOf,
31
31
  skillHash,
32
32
  init_assets
33
- } from "./cli-dnvmwsvc.js";
33
+ } from "./cli-1606qw3n.js";
34
34
  import {
35
35
  installImportedSkills,
36
36
  prepareSeeders,
37
37
  init_seeders
38
- } from "./cli-5k1hvycs.js";
38
+ } from "./cli-mgr3gatr.js";
39
39
  import {
40
40
  validateScriptImports,
41
41
  init_import_allowlist,
@@ -47,23 +47,23 @@ import {
47
47
  init_typecheck,
48
48
  parseSkillContent,
49
49
  init_skill_parser
50
- } from "./cli-nkfv398a.js";
51
- import"./cli-xerdrnqs.js";
52
- import"./cli-wdtqkqnq.js";
53
- import"./cli-j2ybkdk2.js";
54
- import"./cli-4djg31jh.js";
50
+ } from "./cli-ka4tqjzd.js";
51
+ import"./cli-8sayvj48.js";
52
+ import"./cli-w24741sm.js";
53
+ import"./cli-snwz16eg.js";
54
+ import"./cli-v8rpjrnx.js";
55
55
  import {
56
56
  validateDefinition,
57
57
  init_definition2
58
- } from "./cli-jkkcm72j.js";
58
+ } from "./cli-hhb8kbwd.js";
59
59
  import"./cli-b0m3bg0f.js";
60
- import"./cli-b0kqw55g.js";
61
- import"./cli-xysy1g8x.js";
62
- import"./cli-getrvmtx.js";
60
+ import"./cli-1gnf5c7x.js";
61
+ import"./cli-gkjw33x5.js";
62
+ import"./cli-grk77aen.js";
63
63
  import {
64
64
  IDENTITY_MD_MAX_CHARS,
65
65
  init_identity_field_budget
66
- } from "./cli-s6fhqbz1.js";
66
+ } from "./cli-aytna2fm.js";
67
67
  import {
68
68
  isSafeBundlePath,
69
69
  init_bundle_path,