@tekmidian/pai 1.0.5 → 1.0.7

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 (247) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/dist/{aibroker-client-CQPGqLxL.mjs → aibroker-client-CXsyC7A8.mjs} +2 -2
  3. package/dist/aibroker-client-ChB7gSxV.mjs +3 -0
  4. package/dist/auto-route-CAlZ5p-h.mjs +11 -0
  5. package/dist/{auto-route-DUYr57rs.mjs → auto-route-PDOAYszN.mjs} +2 -2
  6. package/dist/budget-BXmsSBLI.mjs +15 -0
  7. package/dist/{caller-identity-Bim8JT-D.mjs → caller-identity-DPDSrZE2.mjs} +4 -4
  8. package/dist/{capacity-CsZMkVyg.mjs → capacity-CThSydrd.mjs} +82 -10
  9. package/dist/{chain-Dzz6xcKH.mjs → chain-BvdKqRiZ.mjs} +5 -5
  10. package/dist/cli/index.mjs +2175 -284
  11. package/dist/{cockpit-actions-BTA1njMO.mjs → cockpit-actions-BgdKB9G3.mjs} +26 -26
  12. package/dist/{cockpit-actions-BgsiNcUY.mjs → cockpit-actions-DNl0rKfW.mjs} +18 -18
  13. package/dist/cockpit-memory-CqLPjcWe.mjs +20 -0
  14. package/dist/config/defaults/config.yaml +24 -1
  15. package/dist/config/defaults/workers.yaml +2 -0
  16. package/dist/{config-h5qK3fst.mjs → config-C2dd2SXS.mjs} +2 -2
  17. package/dist/{config-CST2uq1v.mjs → config-DGV64YJa.mjs} +11 -3
  18. package/dist/{config-Dv3t7xnT.mjs → config-DHgPx3ER.mjs} +1 -1
  19. package/dist/{config-DYbyEe4-.mjs → config-SlZ-Z52i.mjs} +3 -2
  20. package/dist/{controls-OiVVbe-f.mjs → controls-ByrcupcA.mjs} +59 -66
  21. package/dist/daemon/index.mjs +40 -40
  22. package/dist/{daemon-C1dycZ3W.mjs → daemon-BjgJyJMP.mjs} +79 -31
  23. package/dist/daemon-iymy18Ie.mjs +46 -0
  24. package/dist/daemon-mcp/index.mjs +49 -38
  25. package/dist/detect-C8nFP-kR.mjs +10 -0
  26. package/dist/{detect-CHuxFrLy.mjs → detect-DLjeYwnt.mjs} +2 -2
  27. package/dist/{embed-pass-DtVF2fOV.mjs → embed-pass-DdTMn4DH.mjs} +5 -5
  28. package/dist/{embedding-gate-B98PK_wz.mjs → embedding-gate-BVQvUmox.mjs} +2 -2
  29. package/dist/{embedding-gate-CTAk8STe.mjs → embedding-gate-iq0oQEkF.mjs} +3 -3
  30. package/dist/{endreason-BqyyU7BH.mjs → endreason-BjPom527.mjs} +4 -4
  31. package/dist/{factory-BV0MQA3T.mjs → factory-CYwa0jYj.mjs} +6 -6
  32. package/dist/factory-DFwez99M.mjs +9 -0
  33. package/dist/{fallback-Bj2cyVk_.mjs → fallback-CQ8_CuVu.mjs} +9 -231
  34. package/dist/{health-kufVIf6i.mjs → health-Bb2U4PNK.mjs} +5 -5
  35. package/dist/{helpers-CvbYEKoD.mjs → helpers-Dj2nY56t.mjs} +2 -2
  36. package/dist/{helpers-WV8tdQHM.mjs → helpers-DyHKAwrW.mjs} +6 -6
  37. package/dist/hooks/block-sleep-poll.mjs +9 -0
  38. package/dist/hooks/capture-all-events.mjs +99 -3
  39. package/dist/hooks/capture-tool-output.mjs +99 -3
  40. package/dist/hooks/handoff-link.mjs +159 -0
  41. package/dist/hooks/load-project-context.mjs +10 -1
  42. package/dist/hooks/local-model-hint.mjs +9 -0
  43. package/dist/hooks/route-agents-to-worker.mjs +9 -0
  44. package/dist/hooks/security-validator.mjs +940 -92
  45. package/dist/hooks/supervision-banner.mjs +219 -48
  46. package/dist/hooks/worker-edit-repair.mjs +9 -0
  47. package/dist/hooks/worker-guard.mjs +97 -1
  48. package/dist/hooks/worker-note.mjs +108 -3
  49. package/dist/hooks/worker-pool-host.mjs +1670 -315
  50. package/dist/hooks/worker-proxy.mjs +9 -0
  51. package/dist/hooks/worker-status-line.mjs +251 -70
  52. package/dist/hooks/worker-supervision.mjs +9 -0
  53. package/dist/hooks/worker-tool-name-repair.mjs +9 -0
  54. package/dist/index.mjs +9 -9
  55. package/dist/{ipc-client-CnYEF31R.mjs → ipc-client-CmagIFLh.mjs} +2 -2
  56. package/dist/{ipc-client-DN7EvoVo.mjs → ipc-client-DmbSIBUK.mjs} +1 -1
  57. package/dist/kill-tree-BlPw1vaU.mjs +10 -0
  58. package/dist/{kill-tree-CcpsRLCZ.mjs → kill-tree-DTmiEb3T.mjs} +8 -8
  59. package/dist/{launch-DpQPZGsT.mjs → launch-CV6oPHI2.mjs} +3 -3
  60. package/dist/{launch-UPQBoW2q.mjs → launch-Dy8qQnSD.mjs} +3 -3
  61. package/dist/{indexer-backend-B2vtFl38.mjs → lessons-CdmqZD0G.mjs} +262 -43
  62. package/dist/{local-candidate-Cp_bw4kK.mjs → local-candidate-C2FGhf54.mjs} +3 -3
  63. package/dist/{local-instances-bdCNNSsL.mjs → local-instances-DhF4_sV2.mjs} +2 -2
  64. package/dist/{local-instances-B-c-CxzP.mjs → local-instances-GgXydQ2P.mjs} +4 -4
  65. package/dist/{local-tiers-BtdEEe5n.mjs → local-tiers-CqwGUcEn.mjs} +3 -3
  66. package/dist/{local-tiers-OBqAAfOg.mjs → local-tiers-X_dQfI4Q.mjs} +3 -3
  67. package/dist/{main-config-ops-BYsK3BxM.mjs → main-config-ops-C_fkINDv.mjs} +3 -3
  68. package/dist/{main-resolver-CAC3xfZM.mjs → main-resolver-CN_sfG1R.mjs} +18 -18
  69. package/dist/{migrate-DrA_OwlZ.mjs → migrate-C2z1YmWC.mjs} +2 -2
  70. package/dist/{model-inventory-BuTpi9a6.mjs → model-inventory-BYNrSTaY.mjs} +13 -13
  71. package/dist/{models-add-CJx2YAwh.mjs → models-add-Dc7VXmcu.mjs} +38 -38
  72. package/dist/operator-IrLbk8hy.mjs +7 -0
  73. package/dist/{operator-DrwWItVt.mjs → operator-lRGvYr3D.mjs} +2 -2
  74. package/dist/{pai-marker-DLKJ9Yr5.mjs → pai-marker-kA0iM7rP.mjs} +2 -2
  75. package/dist/{pane-audit-wv9UkyCe.mjs → pane-audit-DUuilP1V.mjs} +13 -23
  76. package/dist/{paths-DS5VQKoR.mjs → paths-BwfwHOvN.mjs} +4 -4
  77. package/dist/{paths-DBd78I7Z.mjs → paths-CKGYM0Lb.mjs} +3 -3
  78. package/dist/{planner-K0mFrCpL.mjs → planner-BDHVUkIM.mjs} +29 -29
  79. package/dist/{pool-BZ94nFuq.mjs → pool-CFeHGX7q.mjs} +2 -2
  80. package/dist/{pool-cli-BjYQDfx6.mjs → pool-cli-Bj2TeA-d.mjs} +6 -6
  81. package/dist/{pool-cli-B1eKySeN.mjs → pool-cli-DOLgPgOM.mjs} +5 -5
  82. package/dist/{postgres-CBHY5PIi.mjs → postgres-B1B80bcj.mjs} +3 -3
  83. package/dist/{postgres-C-T5OWer.mjs → postgres-BL5oBBgY.mjs} +3 -3
  84. package/dist/{project-setup-pIPHZaXf.mjs → project-setup-i5D0xkTn.mjs} +24 -25
  85. package/dist/{providers-Dzx5GAUI.mjs → providers-BC2Myo_O.mjs} +6 -6
  86. package/dist/providers-C-mnlH1b.mjs +16 -0
  87. package/dist/{query-feedback-DN52N9C5.mjs → query-feedback-BWl2HRwN.mjs} +2 -2
  88. package/dist/registrable-Ct0DKNKS.mjs +9 -0
  89. package/dist/{registrable-CXBBpUcz.mjs → registrable-D_4qXCnq.mjs} +4 -4
  90. package/dist/render-CbifCwTb.mjs +2350 -0
  91. package/dist/render-FB4Fv_fi.mjs +13 -0
  92. package/dist/root-80ESg6b7.mjs +36 -0
  93. package/dist/{root-bG48WVpW.mjs → root-B-ZYiEgi.mjs} +10 -10
  94. package/dist/route-table-DcBZCuco.mjs +15 -0
  95. package/dist/{router-CQSc3lk3.mjs → router-D2476pOp.mjs} +2 -2
  96. package/dist/{router-DwHJRgG9.mjs → router-ghujlEFb.mjs} +1 -1
  97. package/dist/{routing-BlD_tKjW.mjs → routing-CF0wlR-_.mjs} +15 -15
  98. package/dist/{routing-D27jxj9x.mjs → routing-CJ8ioPl2.mjs} +13 -13
  99. package/dist/{run-AZVwceiU.mjs → run-CAjfKBQV.mjs} +74 -31
  100. package/dist/{runtime-paths-WsO9sJFc.mjs → runtime-paths-twfV23YL.mjs} +2 -2
  101. package/dist/{scan-C3uotg_f.mjs → scan-ew8M6tTH.mjs} +7 -7
  102. package/dist/{scope-D8HK6vU7.mjs → scope-BRcaPw5D.mjs} +4 -4
  103. package/dist/session-BmQsXF_a.mjs +35 -0
  104. package/dist/{session-BAfypQb9.mjs → session-C1JnDXvP.mjs} +28 -28
  105. package/dist/session-scan-DWCUKhDM.mjs +9 -0
  106. package/dist/{session-scan-BmnjSReu.mjs → session-scan-DihMibI-.mjs} +6 -6
  107. package/dist/{session-usage-oycSdiD3.mjs → session-usage-BRIWFYPS.mjs} +3 -3
  108. package/dist/status-Bj4yVKj0.mjs +6 -0
  109. package/dist/{status-COtzewKV.mjs → status-DTMT5lyn.mjs} +9 -5
  110. package/dist/{tool-errors-DXJ70-sr.mjs → tool-errors-BOW2n882.mjs} +2 -2
  111. package/dist/{tool-errors-B2LnIqR0.mjs → tool-errors-jNJj3Gzm.mjs} +6 -6
  112. package/dist/{viewer-BgGRqXfD.mjs → viewer-4BU8w_gK.mjs} +16 -14
  113. package/dist/viewer-D3VEdqhC.mjs +22 -0
  114. package/dist/{wait-ChpHKJZV.mjs → wait-BindDA5w.mjs} +3 -3
  115. package/dist/{worker-config-DgdT0iTB.mjs → worker-config-CdPmb4_2.mjs} +54 -103
  116. package/dist/worker-config-CfV2dgSb.mjs +42 -0
  117. package/dist/{workers-config-BhZBrR-Q.mjs → workers-config-2VipVOYk.mjs} +2 -2
  118. package/dist/{worktree-BY--Rgmy.mjs → worktree-7ZS3RBf8.mjs} +175 -9
  119. package/dist/{zettelkasten-BHVx5zj-.mjs → zettelkasten-BH8AdNh8.mjs} +4 -4
  120. package/dist/{zettelkasten-LoH9RBiN.mjs → zettelkasten-FFhQFESJ.mjs} +2 -2
  121. package/docs/commands/README.md +32 -2
  122. package/docs/commands/audit.md +34 -3
  123. package/docs/commands/backup.md +1 -1
  124. package/docs/commands/build.md +4 -4
  125. package/docs/commands/cd.md +1 -1
  126. package/docs/commands/clear-names.md +1 -1
  127. package/docs/commands/cockpit.md +1 -1
  128. package/docs/commands/config.md +1 -1
  129. package/docs/commands/daemon.md +1 -1
  130. package/docs/commands/db.md +1 -1
  131. package/docs/commands/doc.md +1 -1
  132. package/docs/commands/end.md +1 -1
  133. package/docs/commands/find.md +1 -1
  134. package/docs/commands/git.md +110 -0
  135. package/docs/commands/handoff.md +70 -0
  136. package/docs/commands/harness.md +74 -0
  137. package/docs/commands/help.md +1 -1
  138. package/docs/commands/home.md +1 -1
  139. package/docs/commands/hooks-db.md +1 -1
  140. package/docs/commands/identity.md +1 -1
  141. package/docs/commands/install.md +1 -1
  142. package/docs/commands/issue.md +1 -1
  143. package/docs/commands/kg.md +1 -1
  144. package/docs/commands/launch.md +1 -1
  145. package/docs/commands/lessons.md +201 -0
  146. package/docs/commands/list.md +1 -1
  147. package/docs/commands/ls.md +1 -1
  148. package/docs/commands/mcp.md +1 -1
  149. package/docs/commands/memory.md +1 -1
  150. package/docs/commands/models.md +1 -1
  151. package/docs/commands/more.md +1 -1
  152. package/docs/commands/new.md +1 -1
  153. package/docs/commands/notes.md +1 -1
  154. package/docs/commands/notify.md +1 -1
  155. package/docs/commands/observation.md +1 -1
  156. package/docs/commands/obsidian.md +1 -1
  157. package/docs/commands/open.md +1 -1
  158. package/docs/commands/pane.md +1 -1
  159. package/docs/commands/pause.md +1 -1
  160. package/docs/commands/plan.md +1 -1
  161. package/docs/commands/project.md +1 -1
  162. package/docs/commands/projects.md +1 -1
  163. package/docs/commands/providers.md +1 -1
  164. package/docs/commands/queue.md +1 -1
  165. package/docs/commands/registry.md +1 -1
  166. package/docs/commands/reload.md +1 -1
  167. package/docs/commands/rename.md +1 -1
  168. package/docs/commands/restore.md +1 -1
  169. package/docs/commands/resume.md +1 -1
  170. package/docs/commands/router.md +1 -1
  171. package/docs/commands/rules.md +70 -0
  172. package/docs/commands/session.md +1 -1
  173. package/docs/commands/sessions.md +1 -1
  174. package/docs/commands/setup.md +1 -1
  175. package/docs/commands/setups.md +1 -1
  176. package/docs/commands/shell-init.md +1 -1
  177. package/docs/commands/skill.md +1 -1
  178. package/docs/commands/task.md +1 -1
  179. package/docs/commands/tasks.md +1 -1
  180. package/docs/commands/topic.md +1 -1
  181. package/docs/commands/update.md +1 -1
  182. package/docs/commands/worker.md +1 -1
  183. package/docs/commands/zettel.md +1 -1
  184. package/docs/concepts/panes.md +3 -2
  185. package/gemini-extension.json +1 -1
  186. package/package.json +2 -2
  187. package/pai-plugin.json +1 -1
  188. package/plugins/context-preservation/plugin.json +1 -1
  189. package/plugins/core/plugin.json +1 -1
  190. package/plugins/creative/plugin.json +1 -1
  191. package/plugins/observability/plugin.json +1 -1
  192. package/plugins/productivity/plugin.json +1 -1
  193. package/plugins/semantic-search/plugin.json +1 -1
  194. package/plugins/ui/plugin.json +1 -1
  195. package/plugins/zettelkasten/plugin.json +1 -1
  196. package/src/hooks/ts/lib/loop-guard.ts +3 -5
  197. package/src/hooks/ts/lib/rules/builtin/base64-decode-to-shell.rule.yaml +15 -0
  198. package/src/hooks/ts/lib/rules/builtin/chmod-world-writable.rule.yaml +13 -0
  199. package/src/hooks/ts/lib/rules/builtin/chmod-zero.rule.yaml +13 -0
  200. package/src/hooks/ts/lib/rules/builtin/credential-file-read.rule.yaml +13 -0
  201. package/src/hooks/ts/lib/rules/builtin/credential-read-then-network.rule.yaml +29 -0
  202. package/src/hooks/ts/lib/rules/builtin/crontab-persistence.rule.yaml +10 -0
  203. package/src/hooks/ts/lib/rules/builtin/curl-piped-to-shell.rule.yaml +22 -0
  204. package/src/hooks/ts/lib/rules/builtin/download-then-execute.rule.yaml +30 -0
  205. package/src/hooks/ts/lib/rules/builtin/find-root-delete.rule.yaml +14 -0
  206. package/src/hooks/ts/lib/rules/builtin/git-push-force.rule.yaml +24 -0
  207. package/src/hooks/ts/lib/rules/builtin/git-push-plus-refspec.rule.yaml +12 -0
  208. package/src/hooks/ts/lib/rules/builtin/git-reset-hard.rule.yaml +12 -0
  209. package/src/hooks/ts/lib/rules/builtin/injection-then-tool.rule.yaml +30 -0
  210. package/src/hooks/ts/lib/rules/builtin/instruction-override-disregard.rule.yaml +14 -0
  211. package/src/hooks/ts/lib/rules/builtin/instruction-override-ignore.rule.yaml +13 -0
  212. package/src/hooks/ts/lib/rules/builtin/launchagents-write-persistence.rule.yaml +12 -0
  213. package/src/hooks/ts/lib/rules/builtin/launchctl-load-persistence.rule.yaml +10 -0
  214. package/src/hooks/ts/lib/rules/builtin/reverse-shell-dev-tcp.rule.yaml +14 -0
  215. package/src/hooks/ts/lib/rules/builtin/reverse-shell-interactive-bash.rule.yaml +12 -0
  216. package/src/hooks/ts/lib/rules/builtin/rm-recursive-parent.rule.yaml +13 -0
  217. package/src/hooks/ts/lib/rules/builtin/rm-recursive-relative.rule.yaml +12 -0
  218. package/src/hooks/ts/lib/rules/builtin/rm-recursive-root.rule.yaml +27 -0
  219. package/src/hooks/ts/lib/rules/builtin/rm-trailing-tilde.rule.yaml +12 -0
  220. package/src/hooks/ts/lib/rules/builtin/sudoers-nopasswd.rule.yaml +15 -0
  221. package/src/hooks/ts/lib/rules/builtin.generated.ts +557 -0
  222. package/src/hooks/ts/lib/rules/eval.ts +76 -0
  223. package/src/hooks/ts/lib/rules/lint.ts +108 -0
  224. package/src/hooks/ts/lib/rules/load.ts +264 -0
  225. package/src/hooks/ts/lib/rules/types.ts +58 -0
  226. package/src/hooks/ts/pre-tool-use/security-validator.ts +35 -96
  227. package/src/hooks/ts/user-prompt/handoff-link.ts +34 -0
  228. package/dist/aibroker-client-BxzeEHPF.mjs +0 -3
  229. package/dist/auto-route-DWYK_0i0.mjs +0 -11
  230. package/dist/budget-DX-VIWGf.mjs +0 -15
  231. package/dist/cockpit-memory-DIrNs4xr.mjs +0 -20
  232. package/dist/daemon-ieo0lnpq.mjs +0 -46
  233. package/dist/detect-C0ZBXqDL.mjs +0 -10
  234. package/dist/factory-DeASMV7Z.mjs +0 -9
  235. package/dist/kill-tree-CXZ0WfVf.mjs +0 -10
  236. package/dist/operator-Bpxq_WB5.mjs +0 -7
  237. package/dist/providers-QJzpaNhX.mjs +0 -16
  238. package/dist/registrable-Drn8wIDO.mjs +0 -9
  239. package/dist/render-C4KR8qQ8.mjs +0 -13
  240. package/dist/render-Cz3BWIBO.mjs +0 -903
  241. package/dist/root-Bfb1zgwE.mjs +0 -36
  242. package/dist/route-table-ZVMNBsy7.mjs +0 -15
  243. package/dist/session-BcnhepLZ.mjs +0 -35
  244. package/dist/session-scan-CqUQdCac.mjs +0 -9
  245. package/dist/status-D_SWmOlH.mjs +0 -6
  246. package/dist/viewer-CbGN2Ri4.mjs +0 -22
  247. package/dist/worker-config-D1KVAMp4.mjs +0 -42
@@ -0,0 +1,13 @@
1
+ import "./config-DGV64YJa.mjs";
2
+ import "./config-SlZ-Z52i.mjs";
3
+ import "./paths-BwfwHOvN.mjs";
4
+ import "./worktree-7ZS3RBf8.mjs";
5
+ import "./status-DTMT5lyn.mjs";
6
+ import "./pool-CFeHGX7q.mjs";
7
+ import "./scope-BRcaPw5D.mjs";
8
+ import { D as fmtElapsed } from "./wait-BindDA5w.mjs";
9
+ import "./capacity-CThSydrd.mjs";
10
+ import "./endreason-BjPom527.mjs";
11
+ import { S as warmupText, _ as renderTable, a as fullLines, b as tickerTool, c as headerLine, d as paneRunStatusRow, f as paneStatusRow, g as renderStatusLine, h as renderEvent, i as dayOf, l as intentOf, m as relPath, n as clockOf, o as goalOf, p as providerTag, r as contextMeter, s as gutterFor, t as blankBetween, u as makeColor, v as shortModel, x as unifiedDiffLines, y as tickerText } from "./render-CbifCwTb.mjs";
12
+
13
+ export { makeColor };
@@ -0,0 +1,36 @@
1
+ import "./utils-J2b9y8PC.mjs";
2
+ import "./migrate-C2z1YmWC.mjs";
3
+ import "./config-DGV64YJa.mjs";
4
+ import "./config-SlZ-Z52i.mjs";
5
+ import "./paths-BwfwHOvN.mjs";
6
+ import "./worktree-7ZS3RBf8.mjs";
7
+ import "./status-DTMT5lyn.mjs";
8
+ import "./pool-CFeHGX7q.mjs";
9
+ import "./registrable-D_4qXCnq.mjs";
10
+ import "./pai-marker-kA0iM7rP.mjs";
11
+ import "./helpers-CRuBUas3.mjs";
12
+ import "./scope-BRcaPw5D.mjs";
13
+ import "./routing-CF0wlR-_.mjs";
14
+ import "./tool-errors-BOW2n882.mjs";
15
+ import "./wait-BindDA5w.mjs";
16
+ import "./local-tiers-CqwGUcEn.mjs";
17
+ import "./caller-identity-DPDSrZE2.mjs";
18
+ import "./capacity-CThSydrd.mjs";
19
+ import "./local-instances-DhF4_sV2.mjs";
20
+ import "./local-candidate-C2FGhf54.mjs";
21
+ import "./factory-CYwa0jYj.mjs";
22
+ import "./postgres-BL5oBBgY.mjs";
23
+ import "./embedding-gate-iq0oQEkF.mjs";
24
+ import "./embeddings-BVq3esBF.mjs";
25
+ import "./router-D2476pOp.mjs";
26
+ import "./detect-DLjeYwnt.mjs";
27
+ import "./helpers-Dj2nY56t.mjs";
28
+ import "./scan-ew8M6tTH.mjs";
29
+ import "./session-C1JnDXvP.mjs";
30
+ import "./launch-CV6oPHI2.mjs";
31
+ import "./health-Bb2U4PNK.mjs";
32
+ import "./launch-Dy8qQnSD.mjs";
33
+ import { _ as setupsTable, a as lastSetup, b as truncate, c as localState, d as pickerOpts, f as plainTable, g as runRoot, h as runNewWith, i as lastOnLabel, l as matchRows, m as rootCommand, n as ago, o as launchKey, p as resolveSetup, r as finishCd, s as launchScreen, t as CANCELLED, u as pickerLayout, v as startSession, y as systemTerm } from "./root-B-ZYiEgi.mjs";
34
+ import "./session-scan-DihMibI-.mjs";
35
+
36
+ export { runNewWith };
@@ -1,12 +1,12 @@
1
- import { M as readWorkersSection, b as nativeOrchestratorModel, p as getProviderOrNative, t as ANTHROPIC_NATIVE } from "./config-CST2uq1v.mjs";
2
- import { u as workersLogDir } from "./paths-DS5VQKoR.mjs";
3
- import { d as terminalHasName } from "./scope-D8HK6vU7.mjs";
4
- import { An as httpModelsCheck, Cn as resolveLocalProvider, Dn as allSetups, Fn as setupWorkersLabel, Ln as shortModel, Mn as orchestratorLabel, On as downLocalProviders, Pn as setupProfile, Rn as workersLabel, dn as getProfile, jn as loadSaved, kn as findSetup, mn as updateProfile, o as cooldownRemaining, un as SESSION_NAME_ENV, x as SESSION_WORKER_PROVIDER_ENV } from "./routing-BlD_tKjW.mjs";
1
+ import { M as readWorkersSection, b as nativeOrchestratorModel, p as getProviderOrNative, t as ANTHROPIC_NATIVE } from "./config-DGV64YJa.mjs";
2
+ import { u as workersLogDir } from "./paths-BwfwHOvN.mjs";
3
+ import { d as terminalHasName } from "./scope-BRcaPw5D.mjs";
4
+ import { An as httpModelsCheck, Cn as resolveLocalProvider, Dn as allSetups, Fn as setupWorkersLabel, Ln as shortModel, Mn as orchestratorLabel, On as downLocalProviders, Pn as setupProfile, Rn as workersLabel, dn as getProfile, jn as loadSaved, kn as findSetup, mn as updateProfile, o as cooldownRemaining, un as SESSION_NAME_ENV, x as SESSION_WORKER_PROVIDER_ENV } from "./routing-CF0wlR-_.mjs";
5
5
  import { n as OPT, t as CliError } from "./define-CjJsmq-6.mjs";
6
- import { C as assertAvailable, D as execHarness, E as dryRunText, O as looksLikePath, T as buildHarness, k as prepareDir, r as collectView, w as modelFor } from "./session-BAfypQb9.mjs";
7
- import { o as launchableProviderNames, t as LaunchError } from "./launch-DpQPZGsT.mjs";
8
- import { a as colorEnabled, f as renderTable, n as readBudget, o as makeStyle, p as suggest, t as providerHealth } from "./health-kufVIf6i.mjs";
9
- import { i as probeResume } from "./launch-UPQBoW2q.mjs";
6
+ import { C as assertAvailable, D as execHarness, E as dryRunText, O as looksLikePath, T as buildHarness, k as prepareDir, r as collectView, w as modelFor } from "./session-C1JnDXvP.mjs";
7
+ import { o as launchableProviderNames, t as LaunchError } from "./launch-CV6oPHI2.mjs";
8
+ import { a as colorEnabled, f as renderTable, n as readBudget, o as makeStyle, p as suggest, t as providerHealth } from "./health-Bb2U4PNK.mjs";
9
+ import { i as probeResume } from "./launch-Dy8qQnSD.mjs";
10
10
  import { writeFileSync } from "node:fs";
11
11
  import { basename } from "node:path";
12
12
  import { emitKeypressEvents } from "node:readline";
@@ -683,7 +683,7 @@ async function runRoot(args, term = systemTerm()) {
683
683
  with: args.with,
684
684
  dryRun: args.dryRun
685
685
  }, term);
686
- return (await import("./session-BcnhepLZ.mjs")).runNewDefault({
686
+ return (await import("./session-BmQsXF_a.mjs")).runNewDefault({
687
687
  dir: args.name,
688
688
  dryRun: args.dryRun
689
689
  });
@@ -791,4 +791,4 @@ const rootCommand = {
791
791
 
792
792
  //#endregion
793
793
  export { setupsTable as _, lastSetup as a, truncate as b, localState as c, pickerOpts as d, plainTable as f, runRoot as g, runNewWith as h, lastOnLabel as i, matchRows as l, rootCommand as m, ago as n, launchKey as o, resolveSetup as p, finishCd as r, launchScreen as s, CANCELLED as t, pickerLayout as u, startSession as v, systemTerm as y };
794
- //# sourceMappingURL=root-bG48WVpW.mjs.map
794
+ //# sourceMappingURL=root-B-ZYiEgi.mjs.map
@@ -0,0 +1,15 @@
1
+ import "./config-DGV64YJa.mjs";
2
+ import "./config-SlZ-Z52i.mjs";
3
+ import "./paths-BwfwHOvN.mjs";
4
+ import "./status-DTMT5lyn.mjs";
5
+ import "./scope-BRcaPw5D.mjs";
6
+ import { Bt as resolveSelector, Ft as clearSessionRoute, Gt as servingChip, Ht as routeChoices, It as configuredLocal, Jt as setRoute, Kt as sessionRoutesPatch, Lt as entryLabel, Nt as TIGHT_PERCENT, Pt as applyPolicyToRoutes, Rt as flowText, Ut as routeRows, Vt as resolveSessionArg, Wt as routeText, Xt as tierFlow, Yt as setSessionRoute, Zt as validateRoute, qt as sessionStartTarget, zt as parseSelector } from "./routing-CF0wlR-_.mjs";
7
+ import "./tool-errors-BOW2n882.mjs";
8
+ import "./wait-BindDA5w.mjs";
9
+ import "./local-tiers-CqwGUcEn.mjs";
10
+ import "./caller-identity-DPDSrZE2.mjs";
11
+ import "./capacity-CThSydrd.mjs";
12
+ import "./local-instances-DhF4_sV2.mjs";
13
+ import "./local-candidate-C2FGhf54.mjs";
14
+
15
+ export { setRoute };
@@ -1,4 +1,4 @@
1
- import { n as aibrokerSocketPath } from "./runtime-paths-WsO9sJFc.mjs";
1
+ import { n as aibrokerSocketPath } from "./runtime-paths-twfV23YL.mjs";
2
2
  import { n as isTestRunner } from "./test-isolation-lqSmYxr0.mjs";
3
3
  import { randomUUID } from "node:crypto";
4
4
  import { spawn } from "node:child_process";
@@ -278,4 +278,4 @@ async function routeNotification(payload, config) {
278
278
 
279
279
  //#endregion
280
280
  export { routeNotification as n, recordedNotifications as t };
281
- //# sourceMappingURL=router-CQSc3lk3.mjs.map
281
+ //# sourceMappingURL=router-D2476pOp.mjs.map
@@ -1,3 +1,3 @@
1
- import { n as routeNotification, t as recordedNotifications } from "./router-CQSc3lk3.mjs";
1
+ import { n as routeNotification, t as recordedNotifications } from "./router-D2476pOp.mjs";
2
2
 
3
3
  export { routeNotification };
@@ -1,17 +1,17 @@
1
- import { g as paiHomePath, h as paiHomeDir } from "./runtime-paths-WsO9sJFc.mjs";
1
+ import { _ as paiHomePath, g as paiHomeDir } from "./runtime-paths-twfV23YL.mjs";
2
2
  import { t as writeFileAtomic } from "./atomic-file-BorMa4T3.mjs";
3
- import { A as providerQuotaSkipAt, B as isLoopbackUrl$1, F as resolveProviderKey, L as writeWorkersSection, M as readWorkersSection, N as resolveCapability, O as providerCostTier, P as resolveModelCapability, R as LOOPBACK_HOST, V as loopbackUrl$1, b as nativeOrchestratorModel, bt as stripModelVariant, c as WorkersConfigError, dt as findTier, ft as listForPolicy, gt as targetList, ht as sessionTier, lt as classRoute, m as isLocalProvider, mt as parseEntry, p as getProviderOrNative, pt as migrateSessionRoutes, rt as workersYamlPath, s as WORKER_CLASSES, st as MAX_ROUTE_MODELS, t as ANTHROPIC_NATIVE, u as classModelCapability, ut as entryProvider, y as nativeAnthropicProvider, z as isLoopbackHostname } from "./config-CST2uq1v.mjs";
4
- import { c as loadConfig, f as readMainConfigRaw } from "./config-DYbyEe4-.mjs";
5
- import { s as routingStatePath, u as workersLogDir } from "./paths-DS5VQKoR.mjs";
6
- import { g as isLive, v as loadStatus, y as loadStatuses } from "./status-COtzewKV.mjs";
7
- import { o as resolveSession, p as currentWorkerId, t as AIBROKER_REGISTRY } from "./scope-D8HK6vU7.mjs";
8
- import { x as recordToolError } from "./tool-errors-DXJ70-sr.mjs";
9
- import { _ as readLocalConfig, d as installedModelDirs, p as logPathFor } from "./local-tiers-BtdEEe5n.mjs";
10
- import { a as buildsDir, l as listBuildsSync, t as callerIdentity } from "./caller-identity-Bim8JT-D.mjs";
3
+ import { A as providerQuotaSkipAt, B as isLoopbackUrl$1, F as resolveProviderKey, L as writeWorkersSection, M as readWorkersSection, N as resolveCapability, O as providerCostTier, P as resolveModelCapability, R as LOOPBACK_HOST, V as loopbackUrl$1, b as nativeOrchestratorModel, bt as stripModelVariant, c as WorkersConfigError, dt as findTier, ft as listForPolicy, gt as targetList, ht as sessionTier, lt as classRoute, m as isLocalProvider, mt as parseEntry, p as getProviderOrNative, pt as migrateSessionRoutes, rt as workersYamlPath, s as WORKER_CLASSES, st as MAX_ROUTE_MODELS, t as ANTHROPIC_NATIVE, u as classModelCapability, ut as entryProvider, y as nativeAnthropicProvider, z as isLoopbackHostname } from "./config-DGV64YJa.mjs";
4
+ import { c as loadConfig, f as readMainConfigRaw } from "./config-SlZ-Z52i.mjs";
5
+ import { s as routingStatePath, u as workersLogDir } from "./paths-BwfwHOvN.mjs";
6
+ import { g as isLive, v as loadStatus, y as loadStatuses } from "./status-DTMT5lyn.mjs";
7
+ import { o as resolveSession, p as currentWorkerId, t as AIBROKER_REGISTRY } from "./scope-BRcaPw5D.mjs";
8
+ import { x as recordToolError } from "./tool-errors-BOW2n882.mjs";
9
+ import { _ as readLocalConfig, d as installedModelDirs, p as logPathFor } from "./local-tiers-CqwGUcEn.mjs";
10
+ import { a as buildsDir, l as listBuildsSync, t as callerIdentity } from "./caller-identity-DPDSrZE2.mjs";
11
11
  import { a as newPrefill, c as schedEnabled, f as sharedScheduler } from "./scheduler-CtUyWJ3O.mjs";
12
- import { i as effectiveCap } from "./capacity-CsZMkVyg.mjs";
13
- import { i as instanceNumber, l as readInstances, r as instanceEngineKey, s as pickInstance, t as endpointRegistry, u as readLiveInstances } from "./local-instances-bdCNNSsL.mjs";
14
- import { c as writeLocalStatus, n as tierProviderNames, r as LOCAL_STATUS_REFRESH_MS, s as readLocalStatus, t as isLocalCandidate } from "./local-candidate-Cp_bw4kK.mjs";
12
+ import { i as effectiveCap } from "./capacity-CThSydrd.mjs";
13
+ import { i as instanceNumber, l as readInstances, r as instanceEngineKey, s as pickInstance, t as endpointRegistry, u as readLiveInstances } from "./local-instances-DhF4_sV2.mjs";
14
+ import { c as writeLocalStatus, n as tierProviderNames, r as LOCAL_STATUS_REFRESH_MS, s as readLocalStatus, t as isLocalCandidate } from "./local-candidate-C2FGhf54.mjs";
15
15
  import { n as TAILSCALE_STATUS_TIMEOUT_MS, t as LOCAL_PROBE_TIMEOUT_MS } from "./timeouts-1MLooEBB.mjs";
16
16
  import { appendFileSync, chmodSync, closeSync, existsSync, fstatSync, mkdirSync, mkdtempSync, openSync, readFileSync, readSync, readdirSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
17
17
  import { createHash, randomBytes } from "node:crypto";
@@ -1664,7 +1664,7 @@ function currentSessionName(env = process.env) {
1664
1664
  */
1665
1665
  async function registryProjectName(cwd) {
1666
1666
  try {
1667
- const { detectProject } = await import("./detect-C0ZBXqDL.mjs");
1667
+ const { detectProject } = await import("./detect-C8nFP-kR.mjs");
1668
1668
  return (await detectProject(cwd))?.display_name || void 0;
1669
1669
  } catch {
1670
1670
  return;
@@ -1690,7 +1690,7 @@ async function detectSessionName(env = process.env, deps = {}) {
1690
1690
  let name;
1691
1691
  const registry = deps.registryPath ?? AIBROKER_REGISTRY;
1692
1692
  const claudeId = env.CLAUDE_CODE_SESSION_ID?.trim();
1693
- const { loadBrokerNames, transcriptCustomTitle } = await import("./session-scan-CqUQdCac.mjs");
1693
+ const { loadBrokerNames, transcriptCustomTitle } = await import("./session-scan-DWCUKhDM.mjs");
1694
1694
  name = resolveSession(env.ITERM_SESSION_ID ?? "", registry)?.name ?? (claudeId ? loadBrokerNames(registry, deps.mapPath).get(claudeId) ?? transcriptCustomTitle(claudeId, deps.projectsDir) : void 0) ?? await (deps.projectName ?? registryProjectName)(cwd);
1695
1695
  cached = {
1696
1696
  key,
@@ -6026,4 +6026,4 @@ function resolveCapabilityRun(config, capability) {
6026
6026
 
6027
6027
  //#endregion
6028
6028
  export { parseFootprint as $, usageLogFile as $n, clearPolicy as $t, budgetSkipReason as A, httpModelsCheck as An, resolveBindAddress as At, MODEL_INVENTORY_MAX_AGE_MS as B, setParkConfigSource as Bn, resolveSelector as Bt, detectSessionProvider as C, resolveLocalProvider as Cn, removeRunSettings as Ct, budgetExceeded as D, allSetups as Dn, routerPort as Dt, budgetCache as E, PORT_TIMEOUT_MS as En, routerHandler as Et, LimitsCache as F, setupWorkersLabel as Fn, clearSessionRoute as Ft, fmtMem as G, appendUsage as Gn, servingChip as Gt, ProbeHold as H, recordDuration as Hn, routeChoices as Ht, buildSpeed as I, setupsPath as In, configuredLocal as It, inventoryRows as J, isTimeOrdered as Jn, setRoute as Jt, fmtMemMapped as K, formatSessionStats as Kn, sessionRoutesPatch as Kt, percentile as L, shortModel as Ln, entryLabel as Lt, budgetWall as M, orchestratorLabel as Mn, loopbackRefusal as Mt, fetchBudgetReading as N, saveSetup as Nn, TIGHT_PERCENT as Nt, budgetFresh as O, downLocalProviders as On, defaultV1Guard as Ot, pickBudgetWindow as P, setupProfile as Pn, applyPolicyToRoutes as Pt, modelLabel as Q, splitBySessionKind as Qn, POLICY_MODES as Qt, DOWN_AFTER_MISSES as R, workersLabel as Rn, flowText as Rt, applySessionProviderEnv as S, providerHostPort as Sn, gcSettingsFiles as St, BudgetCache as T, startLocalStatusRefresh as Tn, duplicateModelIds as Tt, computeInventory as U, aggregate as Un, routeRows as Ut, MODEL_INVENTORY_REFRESH_MS as V, sharedParker as Vn, resolveSessionArg as Vt, currentInventory as W, aggregateBySession as Wn, routeText as Wt, liveDeps as X, parseSince as Xn, tierFlow as Xt, inventoryText as Y, markTimeOrdered as Yn, setSessionRoute as Yt, modelKind as Z, readUsage as Zn, validateRoute as Zt, resolveTarget as _, currentLocalStatus as _n, nativeRoutePreflight as _t, clearCooldown as a, readPolicy as an, readInventoryInput as at, SESSION_PROVIDER_ENV as b, pickLocal as bn, routeLoopbackViaRouter as bt, exclusionReason as c, detectSessionName as cn, writeInventory as ct, probeQuota as d, getProfile as dn, claudeCommand as dt, committedFallThrough as en, parseSizeMb as et, quotaExceeded as f, profilesPath as fn, claudeSettingsExtra as ft, resolveCapabilityRun as g, NoLocalServerError as gn, nativeLaunchSettingsArgs as gt, recordBudgetCooldowns as h, LOCAL_MECHANISM_LINE as hn, nativeLaunchEnv as ht, capabilityForRun as i, parseDuration as in, readInventory as it, budgetUntilLabel as j, loadSaved as jn, isTailnetOrLocalName as jt, budgetFull as k, findSetup as kn, displayHost as kt, isQuotaFailure as l, BATCH_ENV as ln, addSchedulingHeaders as lt, readRoutingState as m, updateProfile as mn, loopbackRouterChoice as mt, NoProviderError as n, findLocal as nn, processTreeMemory as nt, cooldownRemaining as o, routeRun as on, readModelLabels as ot, quotaSkipThreshold as p, readProfiles as pn, isLoopbackProvider as pt, inventoryPath as q, formatStats as qn, sessionStartTarget as qt, autoOrder as r, onBattery as rn, processTreeRssMb as rt, entryModel as s, writePolicy as sn, startInventoryRefresh as st, BUDGET_COOLDOWN_MIN as t, fallThroughReason as tn, parseTable as tt, nextAutoProvider as u, SESSION_NAME_ENV as un, buildRunEnv as ut, setCooldown as v, localProviderForDelegation as vn, pinnedSettings as vt, BUDGET_TTL_MS as w, resolveRunnerProvider as wn, writePrivateFile as wt, SESSION_WORKER_PROVIDER_ENV as x, probeLoopback as xn, routeVerdictLine as xt, writeRoutingState as y, localTierOrder as yn, pinnedSettingsArgs as yt, INVENTORY_HEADERS as z, parkConfigFrom as zn, parseSelector as zt };
6029
- //# sourceMappingURL=routing-BlD_tKjW.mjs.map
6029
+ //# sourceMappingURL=routing-CF0wlR-_.mjs.map
@@ -1,15 +1,15 @@
1
- import "./config-CST2uq1v.mjs";
2
- import "./config-DYbyEe4-.mjs";
3
- import "./paths-DS5VQKoR.mjs";
4
- import "./status-COtzewKV.mjs";
5
- import "./scope-D8HK6vU7.mjs";
6
- import { _ as resolveTarget, a as clearCooldown, c as exclusionReason, d as probeQuota, f as quotaExceeded, g as resolveCapabilityRun, h as recordBudgetCooldowns, i as capabilityForRun, l as isQuotaFailure, m as readRoutingState, n as NoProviderError, o as cooldownRemaining, p as quotaSkipThreshold, r as autoOrder, s as entryModel, t as BUDGET_COOLDOWN_MIN, u as nextAutoProvider, v as setCooldown, y as writeRoutingState } from "./routing-BlD_tKjW.mjs";
7
- import "./tool-errors-DXJ70-sr.mjs";
8
- import "./wait-ChpHKJZV.mjs";
9
- import "./local-tiers-BtdEEe5n.mjs";
10
- import "./caller-identity-Bim8JT-D.mjs";
11
- import "./capacity-CsZMkVyg.mjs";
12
- import "./local-instances-bdCNNSsL.mjs";
13
- import "./local-candidate-Cp_bw4kK.mjs";
1
+ import "./config-DGV64YJa.mjs";
2
+ import "./config-SlZ-Z52i.mjs";
3
+ import "./paths-BwfwHOvN.mjs";
4
+ import "./status-DTMT5lyn.mjs";
5
+ import "./scope-BRcaPw5D.mjs";
6
+ import { _ as resolveTarget, a as clearCooldown, c as exclusionReason, d as probeQuota, f as quotaExceeded, g as resolveCapabilityRun, h as recordBudgetCooldowns, i as capabilityForRun, l as isQuotaFailure, m as readRoutingState, n as NoProviderError, o as cooldownRemaining, p as quotaSkipThreshold, r as autoOrder, s as entryModel, t as BUDGET_COOLDOWN_MIN, u as nextAutoProvider, v as setCooldown, y as writeRoutingState } from "./routing-CF0wlR-_.mjs";
7
+ import "./tool-errors-BOW2n882.mjs";
8
+ import "./wait-BindDA5w.mjs";
9
+ import "./local-tiers-CqwGUcEn.mjs";
10
+ import "./caller-identity-DPDSrZE2.mjs";
11
+ import "./capacity-CThSydrd.mjs";
12
+ import "./local-instances-DhF4_sV2.mjs";
13
+ import "./local-candidate-C2FGhf54.mjs";
14
14
 
15
15
  export { BUDGET_COOLDOWN_MIN, NoProviderError, autoOrder, capabilityForRun, clearCooldown, cooldownRemaining, entryModel, exclusionReason, isQuotaFailure, nextAutoProvider, probeQuota, quotaExceeded, quotaSkipThreshold, readRoutingState, recordBudgetCooldowns, resolveCapabilityRun, resolveTarget, setCooldown, writeRoutingState };
@@ -1,27 +1,27 @@
1
- import { g as paiHomePath, l as claudeHomeDir } from "./runtime-paths-WsO9sJFc.mjs";
2
- import { Ct as planEscalation, Et as appendLedger, F as resolveProviderKey, M as readWorkersSection, P as resolveModelCapability, R as LOOPBACK_HOST, St as ledgerEscalate, Tt as withSummary, c as WorkersConfigError, ct as applyRouteOverrides, f as escalationCloud, h as isModelCapability, j as readWorkersCached, k as providerKeyPath, l as assertProviderRunnable, m as isLocalProvider, mt as parseEntry, p as getProviderOrNative, rt as workersYamlPath, t as ANTHROPIC_NATIVE, u as classModelCapability, v as nativeAnthropicModels, vt as certainContextWindow, wt as sessionNote } from "./config-CST2uq1v.mjs";
3
- import { _ as effectiveWorkersYamlRaw } from "./config-DYbyEe4-.mjs";
4
- import { i as ledgerPath, n as ensureNoMcpConfig, r as eventsPath, u as workersLogDir } from "./paths-DS5VQKoR.mjs";
5
- import { A as applyScratchEnv, C as worktreeWanted, S as worktreeSystemPrompt, _ as ownedTree, a as archiveEmptyResult, f as gcWorktreesThrottled, h as markResumed, i as adoptTree, j as scratchPromptLine, o as commitLines, p as inPlaceSystemPrompt, r as addWorktree, t as GATE_MARK, v as recordWorktree, w as worktreesDir, x as worktreeRefusesStart, y as salvageOnExit } from "./worktree-BY--Rgmy.mjs";
6
- import { C as nowStamp, D as pidAlive, E as parseSleepSecs, J as loadPreamble, Q as appendSystemPromptArgs, S as newWorkerId, X as preambleLine, Y as preambleBlock, Z as projectRoot, a as UNLABELED, d as describeTool, g as isLive, k as saveStatus, nt as shortText, rt as stripPromptValues, tt as parseRunnerArgs, v as loadStatus, x as markStartFailed, y as loadStatuses } from "./status-COtzewKV.mjs";
7
- import { D as readMcpServers, E as mcpServersFromToolGrants, O as writeMcpConfig, S as inputSideTokens, T as grantsChrome, d as poolIneligibleReason, g as postTaskToPool, h as poolSettings, n as SLOT_TOOLS, r as UNIT_MARKER, t as SHARED_MARKER, w as expandMcpNames, y as reloadInProgress } from "./pool-BZ94nFuq.mjs";
8
- import { i as itermUuid, o as resolveSession, s as resolveSpawnerSession } from "./scope-D8HK6vU7.mjs";
9
- import { An as httpModelsCheck, Cn as resolveLocalProvider, Ct as removeRunSettings, Dt as routerPort, E as budgetCache, En as PORT_TIMEOUT_MS, S as applySessionProviderEnv, Sn as providerHostPort, _ as resolveTarget, bt as routeLoopbackViaRouter, cn as detectSessionName, dn as getProfile, dt as claudeCommand, en as committedFallThrough, ft as claudeSettingsExtra, g as resolveCapabilityRun, gn as NoLocalServerError, h as recordBudgetCooldowns, hn as LOCAL_MECHANISM_LINE, i as capabilityForRun, k as budgetFull, l as isQuotaFailure, ln as BATCH_ENV, lt as addSchedulingHeaders, n as NoProviderError, o as cooldownRemaining, on as routeRun, pt as isLoopbackProvider, r as autoOrder, tn as fallThroughReason, u as nextAutoProvider, ut as buildRunEnv, v as setCooldown, vt as pinnedSettings, wn as resolveRunnerProvider, wt as writePrivateFile, x as SESSION_WORKER_PROVIDER_ENV, xn as probeLoopback } from "./routing-BlD_tKjW.mjs";
1
+ import { _ as paiHomePath, l as claudeHomeDir } from "./runtime-paths-twfV23YL.mjs";
2
+ import { Ct as planEscalation, Et as appendLedger, F as resolveProviderKey, M as readWorkersSection, P as resolveModelCapability, R as LOOPBACK_HOST, St as ledgerEscalate, Tt as withSummary, c as WorkersConfigError, ct as applyRouteOverrides, f as escalationCloud, h as isModelCapability, j as readWorkersCached, k as providerKeyPath, l as assertProviderRunnable, m as isLocalProvider, mt as parseEntry, p as getProviderOrNative, rt as workersYamlPath, t as ANTHROPIC_NATIVE, u as classModelCapability, v as nativeAnthropicModels, vt as certainContextWindow, wt as sessionNote } from "./config-DGV64YJa.mjs";
3
+ import { _ as effectiveWorkersYamlRaw } from "./config-SlZ-Z52i.mjs";
4
+ import { i as ledgerPath, n as ensureNoMcpConfig, r as eventsPath, u as workersLogDir } from "./paths-BwfwHOvN.mjs";
5
+ import { A as applyScratchEnv, C as worktreeWanted, S as worktreeSystemPrompt, _ as ownedTree, a as archiveEmptyResult, f as gcWorktreesThrottled, h as markResumed, i as adoptTree, j as scratchPromptLine, o as commitLines, p as inPlaceSystemPrompt, r as addWorktree, t as GATE_MARK, v as recordWorktree, w as worktreesDir, x as worktreeRefusesStart, y as salvageOnExit } from "./worktree-7ZS3RBf8.mjs";
6
+ import { $ as appendSystemPromptArgs, A as selfProcStart, C as nowStamp, D as pidAlive, E as parseSleepSecs, Q as projectRoot, S as newWorkerId, X as preambleBlock, Y as loadPreamble, Z as preambleLine, a as UNLABELED, d as describeTool, g as isLive, it as stripPromptValues, k as saveStatus, nt as parseRunnerArgs, rt as shortText, v as loadStatus, x as markStartFailed, y as loadStatuses } from "./status-DTMT5lyn.mjs";
7
+ import { D as readMcpServers, E as mcpServersFromToolGrants, O as writeMcpConfig, S as inputSideTokens, T as grantsChrome, d as poolIneligibleReason, g as postTaskToPool, h as poolSettings, n as SLOT_TOOLS, r as UNIT_MARKER, t as SHARED_MARKER, w as expandMcpNames, y as reloadInProgress } from "./pool-CFeHGX7q.mjs";
8
+ import { i as itermUuid, o as resolveSession, s as resolveSpawnerSession } from "./scope-BRcaPw5D.mjs";
9
+ import { An as httpModelsCheck, Cn as resolveLocalProvider, Ct as removeRunSettings, Dt as routerPort, E as budgetCache, En as PORT_TIMEOUT_MS, S as applySessionProviderEnv, Sn as providerHostPort, _ as resolveTarget, bt as routeLoopbackViaRouter, cn as detectSessionName, dn as getProfile, dt as claudeCommand, en as committedFallThrough, ft as claudeSettingsExtra, g as resolveCapabilityRun, gn as NoLocalServerError, h as recordBudgetCooldowns, hn as LOCAL_MECHANISM_LINE, i as capabilityForRun, k as budgetFull, l as isQuotaFailure, ln as BATCH_ENV, lt as addSchedulingHeaders, n as NoProviderError, o as cooldownRemaining, on as routeRun, pt as isLoopbackProvider, r as autoOrder, tn as fallThroughReason, u as nextAutoProvider, ut as buildRunEnv, v as setCooldown, vt as pinnedSettings, wn as resolveRunnerProvider, wt as writePrivateFile, x as SESSION_WORKER_PROVIDER_ENV, xn as probeLoopback } from "./routing-CF0wlR-_.mjs";
10
10
  import { t as maxOf } from "./min-max-DrSRUaWQ.mjs";
11
- import { b as readToolErrors, h as harnessToolErrorTexts, p as grantedToolNames, x as recordToolError } from "./tool-errors-DXJ70-sr.mjs";
12
- import { _ as workerContractPrompt, b as killProcessTree, c as checkProof, d as parseWorkerReport, f as promptTrailer, g as verifyReportChanges, h as verifyFailNote, l as newUntracked, m as untrackedPaths, o as AG2_REASK_TEXT, s as OPERATOR_MARK, u as noteTokenSentence, v as repairAndValidateAg2, x as processTree, y as validateAg2 } from "./wait-ChpHKJZV.mjs";
13
- import { a as buildsDir, d as releaseBuildsOf } from "./caller-identity-Bim8JT-D.mjs";
14
- import { c as queuedText, d as resolveCap, h as staggerGate, m as recordWarmup, n as capacityGate, p as sessionScopeKey, r as capacityOf, t as admitCap } from "./capacity-CsZMkVyg.mjs";
15
- import { n as tierProviderNames, t as isLocalCandidate } from "./local-candidate-Cp_bw4kK.mjs";
11
+ import { b as readToolErrors, h as harnessToolErrorTexts, p as grantedToolNames, x as recordToolError } from "./tool-errors-BOW2n882.mjs";
12
+ import { _ as workerContractPrompt, b as killProcessTree, c as checkProof, d as parseWorkerReport, f as promptTrailer, g as verifyReportChanges, h as verifyFailNote, l as newUntracked, m as untrackedPaths, o as AG2_REASK_TEXT, s as OPERATOR_MARK, u as noteTokenSentence, v as repairAndValidateAg2, x as processTree, y as validateAg2 } from "./wait-BindDA5w.mjs";
13
+ import { a as buildsDir, d as releaseBuildsOf } from "./caller-identity-DPDSrZE2.mjs";
14
+ import { _ as sessionScopeKey, b as staggerGate, h as resolveCap, n as capacityGate, r as capacityOf, t as admitCap, u as queuedText, y as recordWarmup } from "./capacity-CThSydrd.mjs";
15
+ import { n as tierProviderNames, t as isLocalCandidate } from "./local-candidate-C2FGhf54.mjs";
16
16
  import { t as LOCAL_PROBE_TIMEOUT_MS } from "./timeouts-1MLooEBB.mjs";
17
- import { i as getRegistryBackend } from "./factory-BV0MQA3T.mjs";
18
- import { c as ensureProxyRunning, i as detectCurrentModel, l as proxyPort } from "./launch-DpQPZGsT.mjs";
19
- import { A as tail, Et as openOwnedPane, Kt as isHandoffMessage, Q as NoTerminalError, Wt as deliverHandoff, Xt as localFailures, _ as troublePolicy, _t as paneTitle, at as headlessAllowed, d as aibrokerMessenger, f as detachRun, h as originFromEnv, ht as resolveHostSession, it as followCommand, m as markRunDone, mt as realPaneOps, nt as closePaneForWorker, o as ownerOf, p as eventLine, r as returnControlsIfHeld, ut as openVerifiedPane, v as appendRunLog, z as gatePhaseName } from "./controls-OiVVbe-f.mjs";
20
- import { i as endFields, o as parentInfo, r as decideEndReason, t as appendStopEvent } from "./endreason-BqyyU7BH.mjs";
21
- import { A as resolveLimit, E as armDeadline, F as checkOrphanedChildren, I as isWorkerId, L as launchParent, M as blockedMsOf, O as deadlinePromptLine, P as assertChildAllowed, T as recordDenial, k as extendLimit, w as parseDenialText } from "./render-Cz3BWIBO.mjs";
22
- import { t as createOperatorServer } from "./operator-DrwWItVt.mjs";
23
- import { i as killTree } from "./kill-tree-CcpsRLCZ.mjs";
24
- import { r as ensurePoolHost } from "./pool-cli-B1eKySeN.mjs";
17
+ import { i as getRegistryBackend } from "./factory-CYwa0jYj.mjs";
18
+ import { c as ensureProxyRunning, i as detectCurrentModel, l as proxyPort } from "./launch-CV6oPHI2.mjs";
19
+ import { A as tail, Ct as openOwnedPane, Q as NoTerminalError, Ut as isHandoffMessage, Vt as deliverHandoff, _ as troublePolicy, _t as paneTitle, at as headlessAllowed, d as aibrokerMessenger, f as detachRun, h as originFromEnv, ht as resolveHostSession, it as followCommand, m as markRunDone, mt as realPaneOps, nt as closePaneForWorker, o as ownerOf, p as eventLine, qt as localFailures, r as returnControlsIfHeld, ut as openVerifiedPane, v as appendRunLog, z as gatePhaseName } from "./controls-ByrcupcA.mjs";
20
+ import { i as endFields, o as parentInfo, r as decideEndReason, t as appendStopEvent } from "./endreason-BjPom527.mjs";
21
+ import { $ as isWorkerId, A as resolveLimit, E as armDeadline, I as scanWorkerRun, M as blockedMsOf, O as deadlinePromptLine, Q as checkOrphanedChildren, T as recordDenial, Z as assertChildAllowed, et as launchParent, k as extendLimit, w as parseDenialText } from "./render-CbifCwTb.mjs";
22
+ import { t as createOperatorServer } from "./operator-lRGvYr3D.mjs";
23
+ import { i as killTree } from "./kill-tree-DTmiEb3T.mjs";
24
+ import { r as ensurePoolHost } from "./pool-cli-DOLgPgOM.mjs";
25
25
  import { closeSync, existsSync, mkdirSync, mkdtempSync, openSync, readFileSync, readdirSync, realpathSync, statSync, unlinkSync, writeFileSync, writeSync } from "node:fs";
26
26
  import { createHash, randomBytes } from "node:crypto";
27
27
  import { dirname, join, resolve, sep } from "node:path";
@@ -1013,6 +1013,33 @@ function applyLoopStop(status, loopStop, report, fallbackText, worktree) {
1013
1013
  notes: [reason, report?.notes ?? fallbackText].filter(Boolean).join("\n")
1014
1014
  };
1015
1015
  }
1016
+ /** Race the end-of-run scan against its budget (workers.scanBudgetMs, default 5000): a slow scan is skipped, not waited for. */
1017
+ async function scanWithinBudget(logDir, status, ledger) {
1018
+ let budgetMs = 5e3;
1019
+ try {
1020
+ budgetMs = readWorkersCached().scanBudgetMs ?? budgetMs;
1021
+ } catch {}
1022
+ let timer;
1023
+ const over = new Promise((resolve) => {
1024
+ timer = setTimeout(() => resolve("over"), budgetMs);
1025
+ timer.unref();
1026
+ });
1027
+ try {
1028
+ if (await Promise.race([scanWorkerRun(logDir, status).catch(() => void 0), over]) === "over") {
1029
+ appendLedger(ledger, "WORKER-SCAN-SKIPPED", {
1030
+ id: status.id,
1031
+ reason: "scan skipped: over budget",
1032
+ budgetMs
1033
+ });
1034
+ if (!status.last) {
1035
+ status.last = "scan skipped: over budget";
1036
+ saveStatus(logDir, status);
1037
+ }
1038
+ }
1039
+ } finally {
1040
+ clearTimeout(timer);
1041
+ }
1042
+ }
1016
1043
  async function finaliseRun(f) {
1017
1044
  const { logDir, ledger, ok, rc } = f;
1018
1045
  let { status, report } = f;
@@ -1087,6 +1114,7 @@ async function finaliseRun(f) {
1087
1114
  ...endFields(end)
1088
1115
  });
1089
1116
  if (f.worktree) status = recordWorktree(logDir, status, f.worktree, ok);
1117
+ await scanWithinBudget(logDir, status, ledger);
1090
1118
  const reviewed = f.worktree ? committedFallThrough(f.fallThroughWhy?.(status, report) ?? null, commitLines(f.worktree.dir, f.worktree.base)) : null;
1091
1119
  if (reviewed) {
1092
1120
  process.stderr.write(`pai worker: ${wid} ended badly but committed — kept for review, no cloud re-run\n`);
@@ -1281,7 +1309,10 @@ async function tryEscalate(a, wid, st, report, resultText, commits, failureWhy,
1281
1309
  const p0 = parseRunnerArgs(a.opts.claudeArgs).prompt;
1282
1310
  let swapped = false;
1283
1311
  return (a.runner ?? runWorker$1)({
1284
- ...relaunchOptions(a.opts, {}),
1312
+ ...relaunchOptions(a.opts, {
1313
+ localFlag: void 0,
1314
+ localName: void 0
1315
+ }),
1285
1316
  providerFlag: o.providerFlag,
1286
1317
  modelFlag: o.modelFlag,
1287
1318
  label: o.label,
@@ -1299,7 +1330,7 @@ async function tryEscalate(a, wid, st, report, resultText, commits, failureWhy,
1299
1330
  notifySession: async (text) => {
1300
1331
  const target = st.session?.id || st.session?.name || st.sessionKey;
1301
1332
  if (!target) return;
1302
- const { sendToSession } = await import("./aibroker-client-BxzeEHPF.mjs");
1333
+ const { sendToSession } = await import("./aibroker-client-ChB7gSxV.mjs");
1303
1334
  await sendToSession(target, text, void 0, { noReply: true });
1304
1335
  }
1305
1336
  });
@@ -3426,10 +3457,10 @@ function resolveWorkers(args, ctx) {
3426
3457
  /** The live context: config, this session's profile, fresh budget readings (warmed best effort) and recorded cooldowns. */
3427
3458
  async function liveResolveCtx(env = process.env, warm = true) {
3428
3459
  const [{ readWorkersSection }, { budgetCache }, { readRoutingState }, { workersLogDir }] = await Promise.all([
3429
- import("./config-h5qK3fst.mjs"),
3430
- import("./budget-DX-VIWGf.mjs"),
3431
- import("./routing-D27jxj9x.mjs"),
3432
- import("./paths-DBd78I7Z.mjs")
3460
+ import("./config-C2dd2SXS.mjs"),
3461
+ import("./budget-BXmsSBLI.mjs"),
3462
+ import("./routing-CJ8ioPl2.mjs"),
3463
+ import("./paths-CKGYM0Lb.mjs")
3433
3464
  ]);
3434
3465
  const { workers } = readWorkersSection();
3435
3466
  const profile = getProfile(await detectSessionName(env));
@@ -3729,6 +3760,13 @@ async function tryPoolRun(a) {
3729
3760
  if (!a.quiet) printResult(a.parsed.outputFormat, resp.resultEvent ?? null, rc, a.logDir, wid, report);
3730
3761
  return rc;
3731
3762
  }
3763
+ /** The pane's queue file content from a gate poll: the run's place in line, its label last. */
3764
+ function queuedOf(q, label) {
3765
+ return label ? {
3766
+ ...q,
3767
+ label
3768
+ } : q;
3769
+ }
3732
3770
  /**
3733
3771
  * Capacity gate, then stagger gate, for one headless run — the single place
3734
3772
  * both the pooled and the fresh-spawn path pass through. `status` is the
@@ -3785,7 +3823,8 @@ async function runGates(a, wid, status) {
3785
3823
  status.last = saved;
3786
3824
  }
3787
3825
  saveStatus(logDir, status);
3788
- }
3826
+ },
3827
+ onQueued: (line) => paneHandles.get(wid)?.setQueued(line === null ? null : queuedOf(line, a.label))
3789
3828
  };
3790
3829
  const max = status.sessionKey ? getProfile(status.sessionKey)?.max_parallel : void 0;
3791
3830
  if (status.sessionKey && max) {
@@ -3846,6 +3885,7 @@ async function gateStart(a) {
3846
3885
  id: wid,
3847
3886
  pid: process.pid,
3848
3887
  runPid: process.pid,
3888
+ procStart: selfProcStart(),
3849
3889
  label: a.label,
3850
3890
  cwd: a.cwd ?? process.cwd(),
3851
3891
  term: "",
@@ -3914,6 +3954,7 @@ async function foldRun(a, p) {
3914
3954
  id: wid,
3915
3955
  pid: process.pid,
3916
3956
  runPid: process.pid,
3957
+ procStart: selfProcStart(),
3917
3958
  ...parentInfo(),
3918
3959
  label,
3919
3960
  cwd,
@@ -4459,6 +4500,7 @@ async function executeImageRun(a) {
4459
4500
  id: wid,
4460
4501
  pid: process.pid,
4461
4502
  runPid: process.pid,
4503
+ procStart: selfProcStart(),
4462
4504
  label,
4463
4505
  cwd,
4464
4506
  term,
@@ -4585,6 +4627,7 @@ async function executeCodexRun(a) {
4585
4627
  id: wid,
4586
4628
  pid: process.pid,
4587
4629
  runPid: process.pid,
4630
+ procStart: selfProcStart(),
4588
4631
  ...parentInfo(),
4589
4632
  label,
4590
4633
  cwd,
@@ -4904,7 +4947,7 @@ async function runWorker(opts) {
4904
4947
  if (gc?.length) process.stderr.write(`pai worker: archived ${gc.length} leftover worktree(s) (pai worker gc)\n`);
4905
4948
  } catch {}
4906
4949
  if (opts.className === "plan" && !opts._planner) {
4907
- const { runPlanner } = await import("./planner-K0mFrCpL.mjs");
4950
+ const { runPlanner } = await import("./planner-BDHVUkIM.mjs");
4908
4951
  return runPlanner(opts);
4909
4952
  }
4910
4953
  const parent = launchParent(opts.parent);
@@ -5128,4 +5171,4 @@ setRunWorker(runWorker);
5128
5171
 
5129
5172
  //#endregion
5130
5173
  export { routerPidFile as A, usageContextTokens as B, workerUsage as C, routerHandoverFile as D, probeRouter as E, startHandover as F, testProvider as H, paneWaiver as I, launchPane as L, routerSwapArgs as M, runRouterTick as N, routerIsStale as O, spawnRouter as P, noTerminalReasons as R, usageJson as S, projectLaunchConfig as T, endProcesses as U, printResult as V, findWorktreeOrphans as W, stopLaunchedWorkers as _, resolveWorkers as a, renderUsage as b, reportOriginWithHost as c, capture as d, dirtyPaths as f, realRunnerDeps as g, realCommitsAhead as h, liveResolveCtx as i, routerRunningPid as j, routerLogFile as k, runMessenger as l, mergeBranch as m, LocalProviderRefusedError as n, sessionWorkersLine as o, launchWorker as p, PoolRefusedError as r, finishDetached as s, runWorker as t, startDetached as u, parseWhen as v, pinNotices as w, transcriptUsage as x, priceTableText as y, recordSystemJobStart as z };
5131
- //# sourceMappingURL=run-AZVwceiU.mjs.map
5174
+ //# sourceMappingURL=run-CAjfKBQV.mjs.map
@@ -251,5 +251,5 @@ function paiCacheDir() {
251
251
  }
252
252
 
253
253
  //#endregion
254
- export { resolvePaiFile as _, paiCacheDir as a, PaiFileMigrationError as c, defaultPaiHomeDir as d, legacyConfigDir as f, paiHomePath as g, paiHomeDir as h, daemonPidPath as i, claudeHomeDir as l, migratePaiFile as m, aibrokerSocketPath as n, paiSocketPath as o, migratePaiDir as p, daemonLogPath as r, schedulerLogPath as s, aibrokerHomeDir as t, claudeProjectsDir as u };
255
- //# sourceMappingURL=runtime-paths-WsO9sJFc.mjs.map
254
+ export { paiHomePath as _, paiCacheDir as a, PaiFileMigrationError as c, defaultPaiHomeDir as d, legacyConfigDir as f, paiHomeDir as g, migratePaiFile as h, daemonPidPath as i, claudeHomeDir as l, migratePaiDir as m, aibrokerSocketPath as n, paiSocketPath as o, legacyPaiHomeDir as p, daemonLogPath as r, schedulerLogPath as s, aibrokerHomeDir as t, claudeProjectsDir as u, resolvePaiFile as v };
255
+ //# sourceMappingURL=runtime-paths-twfV23YL.mjs.map
@@ -1,10 +1,10 @@
1
1
  import { _ as warn, c as ok, i as err, n as dim, r as encodeDir, s as now, t as bold } from "./utils-J2b9y8PC.mjs";
2
- import { _ as resolvePaiFile, d as defaultPaiHomeDir, g as paiHomePath, m as migratePaiFile, u as claudeProjectsDir$1 } from "./runtime-paths-WsO9sJFc.mjs";
3
- import { a as slugify, i as parseSessionFilename, n as decodeEncodedDir, t as buildEncodedDirMap } from "./migrate-DrA_OwlZ.mjs";
4
- import { O as readJsonStrict, k as writeJsonAtomic, o as expandHome } from "./config-DYbyEe4-.mjs";
5
- import { a as unregistrableReason, o as workerWorktreesRoot, r as pruneWorktreeProjects } from "./registrable-CXBBpUcz.mjs";
6
- import { n as ensurePaiMarker, t as discoverPaiMarkers } from "./pai-marker-DLKJ9Yr5.mjs";
7
- import { i as getRegistryBackend } from "./factory-BV0MQA3T.mjs";
2
+ import { _ as paiHomePath, d as defaultPaiHomeDir, h as migratePaiFile, u as claudeProjectsDir$1, v as resolvePaiFile } from "./runtime-paths-twfV23YL.mjs";
3
+ import { a as slugify, i as parseSessionFilename, n as decodeEncodedDir, t as buildEncodedDirMap } from "./migrate-C2z1YmWC.mjs";
4
+ import { O as readJsonStrict, k as writeJsonAtomic, o as expandHome } from "./config-SlZ-Z52i.mjs";
5
+ import { a as unregistrableReason, o as workerWorktreesRoot, r as pruneWorktreeProjects } from "./registrable-D_4qXCnq.mjs";
6
+ import { n as ensurePaiMarker, t as discoverPaiMarkers } from "./pai-marker-kA0iM7rP.mjs";
7
+ import { i as getRegistryBackend } from "./factory-CYwa0jYj.mjs";
8
8
  import { existsSync, mkdirSync, readFileSync, readdirSync, realpathSync, renameSync, statSync, writeFileSync } from "node:fs";
9
9
  import { basename, join, resolve } from "node:path";
10
10
  import { homedir } from "node:os";
@@ -718,4 +718,4 @@ async function cmdScan(opts = {}) {
718
718
 
719
719
  //#endregion
720
720
  export { resolveHome as a, upsertSession as c, scanTranscriptFolders as d, transcriptFiles as f, performScan as i, claudeProjectsDir as l, loadScanConfig as n, saveScanConfig as o, migrateScanConfig as r, upsertProject as s, cmdScan as t, findMovedProjects as u };
721
- //# sourceMappingURL=scan-C3uotg_f.mjs.map
721
+ //# sourceMappingURL=scan-ew8M6tTH.mjs.map
@@ -1,6 +1,6 @@
1
- import { M as readWorkersSection } from "./config-CST2uq1v.mjs";
2
- import { c as slotCurrentPath, u as workersLogDir } from "./paths-DS5VQKoR.mjs";
3
- import { _ as isTerminal, v as loadStatus } from "./status-COtzewKV.mjs";
1
+ import { M as readWorkersSection } from "./config-DGV64YJa.mjs";
2
+ import { c as slotCurrentPath, u as workersLogDir } from "./paths-BwfwHOvN.mjs";
3
+ import { _ as isTerminal, v as loadStatus } from "./status-DTMT5lyn.mjs";
4
4
  import { existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
5
5
  import { dirname, join } from "node:path";
6
6
  import { homedir } from "node:os";
@@ -221,4 +221,4 @@ function terminalHasName(name, term, registryPath = AIBROKER_REGISTRY) {
221
221
 
222
222
  //#endregion
223
223
  export { ownerSessionName as a, scopeKey as c, terminalHasName as d, workerInScope as f, itermUuid as i, sessionMapPath as l, currentTabKey as n, resolveSession as o, currentWorkerId as p, itermForClaudeSession as r, resolveSpawnerSession as s, AIBROKER_REGISTRY as t, sessionTag as u };
224
- //# sourceMappingURL=scope-D8HK6vU7.mjs.map
224
+ //# sourceMappingURL=scope-BRcaPw5D.mjs.map
@@ -0,0 +1,35 @@
1
+ import "./utils-J2b9y8PC.mjs";
2
+ import "./migrate-C2z1YmWC.mjs";
3
+ import "./config-DGV64YJa.mjs";
4
+ import "./config-SlZ-Z52i.mjs";
5
+ import "./paths-BwfwHOvN.mjs";
6
+ import "./worktree-7ZS3RBf8.mjs";
7
+ import "./status-DTMT5lyn.mjs";
8
+ import "./pool-CFeHGX7q.mjs";
9
+ import "./registrable-D_4qXCnq.mjs";
10
+ import "./pai-marker-kA0iM7rP.mjs";
11
+ import "./helpers-CRuBUas3.mjs";
12
+ import "./scope-BRcaPw5D.mjs";
13
+ import "./routing-CF0wlR-_.mjs";
14
+ import "./tool-errors-BOW2n882.mjs";
15
+ import "./wait-BindDA5w.mjs";
16
+ import "./local-tiers-CqwGUcEn.mjs";
17
+ import "./caller-identity-DPDSrZE2.mjs";
18
+ import "./capacity-CThSydrd.mjs";
19
+ import "./local-instances-DhF4_sV2.mjs";
20
+ import "./local-candidate-C2FGhf54.mjs";
21
+ import "./factory-CYwa0jYj.mjs";
22
+ import "./postgres-BL5oBBgY.mjs";
23
+ import "./embedding-gate-iq0oQEkF.mjs";
24
+ import "./embeddings-BVq3esBF.mjs";
25
+ import "./router-D2476pOp.mjs";
26
+ import "./detect-DLjeYwnt.mjs";
27
+ import "./helpers-Dj2nY56t.mjs";
28
+ import "./scan-ew8M6tTH.mjs";
29
+ import { a as newTop, c as planOpen, d as runNewDefault, f as sessionCommand, i as lsCommand, l as renameTop, n as collectRows, o as oneLine, p as sessionDir, r as collectView, s as openTop, t as applyProfileChat, u as rowsTable } from "./session-C1JnDXvP.mjs";
30
+ import "./launch-CV6oPHI2.mjs";
31
+ import "./health-Bb2U4PNK.mjs";
32
+ import "./launch-Dy8qQnSD.mjs";
33
+ import "./session-scan-DihMibI-.mjs";
34
+
35
+ export { runNewDefault };