@tekmidian/pai 1.0.4 → 1.0.6

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 (248) 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-Bc8xP6TQ.mjs +11 -0
  5. package/dist/{auto-route-21GdHL70.mjs → auto-route-YaEGVrFl.mjs} +2 -2
  6. package/dist/budget-DEiebT2A.mjs +15 -0
  7. package/dist/{caller-identity-yLFb7CKq.mjs → caller-identity-C6Nc96iM.mjs} +4 -4
  8. package/dist/{capacity-DEveQdFV.mjs → capacity-B2PgKAg4.mjs} +69 -6
  9. package/dist/{chain-D7PFur8Y.mjs → chain-CtK49-Ma.mjs} +5 -5
  10. package/dist/cli/index.mjs +2126 -290
  11. package/dist/{cockpit-actions-BfRMr2sm.mjs → cockpit-actions-C73mJAJ8.mjs} +18 -18
  12. package/dist/{cockpit-actions-OodH_vx_.mjs → cockpit-actions-D1OPP6Es.mjs} +30 -26
  13. package/dist/cockpit-memory-CLHZD64W.mjs +20 -0
  14. package/dist/config/defaults/config.yaml +21 -1
  15. package/dist/{config-XpZWOYOG.mjs → config-Bz8pAU5Q.mjs} +30 -5
  16. package/dist/{config-DtENJ6cL.mjs → config-DHgPx3ER.mjs} +1 -1
  17. package/dist/config-DLmyEK2q.mjs +4 -0
  18. package/dist/{config-Bu1_vbY8.mjs → config-SlZ-Z52i.mjs} +4 -3
  19. package/dist/{controls-JLm6g0yP.mjs → controls-rIItFeIJ.mjs} +59 -66
  20. package/dist/daemon/index.mjs +40 -39
  21. package/dist/daemon-176qA79N.mjs +46 -0
  22. package/dist/{daemon-nXanenDM.mjs → daemon-SoUvPUOf.mjs} +80 -30
  23. package/dist/daemon-mcp/index.mjs +49 -38
  24. package/dist/detect-C8nFP-kR.mjs +10 -0
  25. package/dist/{detect-BLKsUOgG.mjs → detect-DLjeYwnt.mjs} +2 -2
  26. package/dist/{embed-pass-e64AwDCa.mjs → embed-pass-CN1D8MXl.mjs} +5 -5
  27. package/dist/{embedding-gate-Cnk4YCyX.mjs → embedding-gate-BVQvUmox.mjs} +2 -2
  28. package/dist/{embedding-gate-6rZrWRXa.mjs → embedding-gate-iq0oQEkF.mjs} +3 -3
  29. package/dist/{endreason-BC-v05H_.mjs → endreason-C2-hYK0_.mjs} +4 -4
  30. package/dist/{factory-B7nv75rC.mjs → factory-CYwa0jYj.mjs} +6 -6
  31. package/dist/factory-DFwez99M.mjs +9 -0
  32. package/dist/{fallback-CBWpp2F2.mjs → fallback-CwPSCrX8.mjs} +9 -231
  33. package/dist/{health-C4FQmkJn.mjs → health-D0mUAVdw.mjs} +5 -5
  34. package/dist/{helpers-DSNK_1KP.mjs → helpers-Dj2nY56t.mjs} +2 -2
  35. package/dist/{helpers-Dz7mjTSw.mjs → helpers-DyHKAwrW.mjs} +6 -6
  36. package/dist/hooks/block-sleep-poll.mjs +1 -1
  37. package/dist/hooks/capture-all-events.mjs +68 -3
  38. package/dist/hooks/capture-tool-output.mjs +68 -3
  39. package/dist/hooks/handoff-link.mjs +128 -0
  40. package/dist/hooks/load-project-context.mjs +8 -8
  41. package/dist/hooks/local-model-hint.mjs +1 -1
  42. package/dist/hooks/route-agents-to-worker.mjs +1 -1
  43. package/dist/hooks/security-validator.mjs +842 -90
  44. package/dist/hooks/supervision-banner.mjs +186 -48
  45. package/dist/hooks/worker-edit-repair.mjs +2 -2
  46. package/dist/hooks/worker-guard.mjs +65 -9
  47. package/dist/hooks/worker-note.mjs +70 -5
  48. package/dist/hooks/worker-pool-host.mjs +1518 -265
  49. package/dist/hooks/worker-proxy.mjs +1 -1
  50. package/dist/hooks/worker-status-line.mjs +225 -86
  51. package/dist/hooks/worker-supervision.mjs +1 -1
  52. package/dist/hooks/worker-tool-name-repair.mjs +2 -2
  53. package/dist/index.mjs +9 -9
  54. package/dist/{ipc-client-CnYEF31R.mjs → ipc-client-CmagIFLh.mjs} +2 -2
  55. package/dist/{ipc-client-DN7EvoVo.mjs → ipc-client-DmbSIBUK.mjs} +1 -1
  56. package/dist/{kill-tree-DleMNZX3.mjs → kill-tree-DPiMscaY.mjs} +8 -8
  57. package/dist/kill-tree-Dxei6qlR.mjs +10 -0
  58. package/dist/{launch-DlZTKE3u.mjs → launch-BZT3JDoZ.mjs} +3 -3
  59. package/dist/{launch-Di7N-J5X.mjs → launch-Bn2Zf90h.mjs} +3 -3
  60. package/dist/{indexer-backend-BdjeL4P8.mjs → lessons-CFVU0cwA.mjs} +262 -43
  61. package/dist/{local-candidate-DLdwQt0s.mjs → local-candidate-DFd4pp-w.mjs} +3 -3
  62. package/dist/{local-instances-DOxSgT_L.mjs → local-instances-DhF4_sV2.mjs} +2 -2
  63. package/dist/{local-instances-ZeRkkuS5.mjs → local-instances-KTh8IeOT.mjs} +4 -4
  64. package/dist/{local-tiers-BE4jGaMa.mjs → local-tiers-CqwGUcEn.mjs} +3 -3
  65. package/dist/{local-tiers-DNMI5W86.mjs → local-tiers-DSlIYvvm.mjs} +3 -3
  66. package/dist/{main-config-ops-kTXR8Pyv.mjs → main-config-ops-rda08BCD.mjs} +3 -3
  67. package/dist/{main-resolver-yp_puSSb.mjs → main-resolver-BKwI0I6H.mjs} +18 -18
  68. package/dist/{migrate-DrA_OwlZ.mjs → migrate-C2z1YmWC.mjs} +2 -2
  69. package/dist/{model-inventory-h6Z9fN_o.mjs → model-inventory-BXv15B0d.mjs} +13 -13
  70. package/dist/{models-add-TVni3A7V.mjs → models-add-5yXTyz3g.mjs} +38 -37
  71. package/dist/operator-Bmv5tiHQ.mjs +7 -0
  72. package/dist/{operator-CyuB3aVw.mjs → operator-Br6GeswF.mjs} +2 -2
  73. package/dist/{pai-marker-BcZyJguM.mjs → pai-marker-D6OoVbM_.mjs} +2 -2
  74. package/dist/{pane-audit-Lqy9N_Ki.mjs → pane-audit-DLYy9-4g.mjs} +13 -23
  75. package/dist/{paths-CHifubDh.mjs → paths-CypxFTfn.mjs} +4 -4
  76. package/dist/{paths-CFHTloSe.mjs → paths-DIOwNcj-.mjs} +3 -3
  77. package/dist/{planner-j77ndkBf.mjs → planner-BzZ_2lc-.mjs} +29 -29
  78. package/dist/{pool-Dh-q3iJi.mjs → pool-9EsbKD-U.mjs} +2 -2
  79. package/dist/{pool-cli-DQ6OzRy2.mjs → pool-cli-Cy5mlycP.mjs} +6 -6
  80. package/dist/{pool-cli-BggU8GRp.mjs → pool-cli-Db0uDwB9.mjs} +5 -5
  81. package/dist/{postgres-BK4FP9Zg.mjs → postgres-B1B80bcj.mjs} +3 -3
  82. package/dist/{postgres-DNIOQijl.mjs → postgres-BL5oBBgY.mjs} +3 -3
  83. package/dist/{project-setup-CBRtFFh0.mjs → project-setup-DHxdJjEc.mjs} +24 -25
  84. package/dist/providers-BH6hQYbU.mjs +16 -0
  85. package/dist/{providers-C9QC0TtO.mjs → providers-BNV7CzC-.mjs} +6 -6
  86. package/dist/{query-feedback-DN52N9C5.mjs → query-feedback-BWl2HRwN.mjs} +2 -2
  87. package/dist/registrable-BwFiqazy.mjs +9 -0
  88. package/dist/{registrable-DpyTtajg.mjs → registrable-Dxs4oKIj.mjs} +4 -4
  89. package/dist/render-DVGXpfaT.mjs +13 -0
  90. package/dist/render-jPpMrudf.mjs +2240 -0
  91. package/dist/root-C8cxhdn9.mjs +36 -0
  92. package/dist/{root-C4oXlXS_.mjs → root-DmOzMeSv.mjs} +10 -10
  93. package/dist/route-table-COAmc1nB.mjs +15 -0
  94. package/dist/{router-CQSc3lk3.mjs → router-D2476pOp.mjs} +2 -2
  95. package/dist/{router-DwHJRgG9.mjs → router-ghujlEFb.mjs} +1 -1
  96. package/dist/{routing-f2zulGwD.mjs → routing-B_cg1_Xx.mjs} +13 -13
  97. package/dist/{routing-DmkheCRH.mjs → routing-aJKMIagQ.mjs} +16 -16
  98. package/dist/{run-BwZKBJZZ.mjs → run-DE9Q0ldN.mjs} +55 -31
  99. package/dist/{runtime-paths-WsO9sJFc.mjs → runtime-paths-twfV23YL.mjs} +2 -2
  100. package/dist/{scan-BBGvU5EB.mjs → scan-CNMcltOX.mjs} +7 -7
  101. package/dist/{scope-D-h6F6DN.mjs → scope-BTWstJ1B.mjs} +4 -4
  102. package/dist/session-DgZifjLx.mjs +35 -0
  103. package/dist/{session-Dn5OJXlg.mjs → session-HBYOABWU.mjs} +28 -28
  104. package/dist/session-scan-BZxnYN1v.mjs +9 -0
  105. package/dist/{session-scan-DUn10MBd.mjs → session-scan-CX3MKCNg.mjs} +6 -6
  106. package/dist/{session-usage-CPvXvSkw.mjs → session-usage-CCmPFFa6.mjs} +117 -2
  107. package/dist/{status-ggJ7lgVg.mjs → status-Cecau8Ps.mjs} +9 -5
  108. package/dist/status-D52xC_i0.mjs +6 -0
  109. package/dist/{tool-errors-7E13StWd.mjs → tool-errors-BFw1gv-z.mjs} +2 -2
  110. package/dist/{tool-errors-CJWODvlo.mjs → tool-errors-COM2JGEr.mjs} +6 -6
  111. package/dist/viewer-Ce-Xa9L3.mjs +22 -0
  112. package/dist/{viewer-wfKnvnrI.mjs → viewer-DvBg6N22.mjs} +16 -14
  113. package/dist/{wait-ByV0OyMZ.mjs → wait-C5iWILj_.mjs} +3 -3
  114. package/dist/worker-config-BmcJ9R0U.mjs +42 -0
  115. package/dist/{worker-config-eY5Qy4vl.mjs → worker-config-DkONNk_H.mjs} +164 -107
  116. package/dist/workers-config-DwzrtdYu.mjs +4 -0
  117. package/dist/{worktree-CRs2gyg0.mjs → worktree-O_kU6Q3y.mjs} +164 -8
  118. package/dist/{zettelkasten-tpCRBYvH.mjs → zettelkasten-BH8AdNh8.mjs} +4 -4
  119. package/dist/{zettelkasten-_h_tUm2T.mjs → zettelkasten-FFhQFESJ.mjs} +2 -2
  120. package/docs/commands/README.md +33 -2
  121. package/docs/commands/audit.md +34 -3
  122. package/docs/commands/backup.md +1 -1
  123. package/docs/commands/build.md +4 -4
  124. package/docs/commands/cd.md +1 -1
  125. package/docs/commands/clear-names.md +1 -1
  126. package/docs/commands/cockpit.md +1 -1
  127. package/docs/commands/config.md +21 -1
  128. package/docs/commands/daemon.md +1 -1
  129. package/docs/commands/db.md +1 -1
  130. package/docs/commands/doc.md +1 -1
  131. package/docs/commands/end.md +1 -1
  132. package/docs/commands/find.md +1 -1
  133. package/docs/commands/git.md +110 -0
  134. package/docs/commands/handoff.md +70 -0
  135. package/docs/commands/harness.md +74 -0
  136. package/docs/commands/help.md +1 -1
  137. package/docs/commands/home.md +1 -1
  138. package/docs/commands/hooks-db.md +1 -1
  139. package/docs/commands/identity.md +1 -1
  140. package/docs/commands/install.md +1 -1
  141. package/docs/commands/issue.md +1 -1
  142. package/docs/commands/kg.md +1 -1
  143. package/docs/commands/launch.md +1 -1
  144. package/docs/commands/lessons.md +201 -0
  145. package/docs/commands/list.md +1 -1
  146. package/docs/commands/ls.md +1 -1
  147. package/docs/commands/mcp.md +1 -1
  148. package/docs/commands/memory.md +1 -1
  149. package/docs/commands/models.md +1 -1
  150. package/docs/commands/more.md +1 -1
  151. package/docs/commands/new.md +1 -1
  152. package/docs/commands/notes.md +1 -1
  153. package/docs/commands/notify.md +1 -1
  154. package/docs/commands/observation.md +1 -1
  155. package/docs/commands/obsidian.md +1 -1
  156. package/docs/commands/open.md +1 -1
  157. package/docs/commands/pane.md +1 -1
  158. package/docs/commands/pause.md +1 -1
  159. package/docs/commands/plan.md +1 -1
  160. package/docs/commands/project.md +1 -1
  161. package/docs/commands/projects.md +1 -1
  162. package/docs/commands/providers.md +1 -1
  163. package/docs/commands/queue.md +1 -1
  164. package/docs/commands/registry.md +1 -1
  165. package/docs/commands/reload.md +1 -1
  166. package/docs/commands/rename.md +1 -1
  167. package/docs/commands/restore.md +1 -1
  168. package/docs/commands/resume.md +1 -1
  169. package/docs/commands/router.md +1 -1
  170. package/docs/commands/rules.md +70 -0
  171. package/docs/commands/session.md +1 -1
  172. package/docs/commands/sessions.md +1 -1
  173. package/docs/commands/setup.md +1 -1
  174. package/docs/commands/setups.md +1 -1
  175. package/docs/commands/shell-init.md +1 -1
  176. package/docs/commands/skill.md +1 -1
  177. package/docs/commands/task.md +1 -1
  178. package/docs/commands/tasks.md +1 -1
  179. package/docs/commands/topic.md +1 -1
  180. package/docs/commands/update.md +1 -1
  181. package/docs/commands/worker.md +1 -1
  182. package/docs/commands/zettel.md +1 -1
  183. package/docs/concepts/panes.md +3 -2
  184. package/gemini-extension.json +1 -1
  185. package/package.json +2 -2
  186. package/pai-plugin.json +1 -1
  187. package/plugins/context-preservation/plugin.json +1 -1
  188. package/plugins/core/plugin.json +1 -1
  189. package/plugins/creative/plugin.json +1 -1
  190. package/plugins/observability/plugin.json +1 -1
  191. package/plugins/productivity/plugin.json +1 -1
  192. package/plugins/semantic-search/plugin.json +1 -1
  193. package/plugins/ui/plugin.json +1 -1
  194. package/plugins/zettelkasten/plugin.json +1 -1
  195. package/src/hooks/ts/lib/loop-guard.ts +3 -5
  196. package/src/hooks/ts/lib/rules/builtin/base64-decode-to-shell.rule.yaml +13 -0
  197. package/src/hooks/ts/lib/rules/builtin/chmod-world-writable.rule.yaml +13 -0
  198. package/src/hooks/ts/lib/rules/builtin/chmod-zero.rule.yaml +11 -0
  199. package/src/hooks/ts/lib/rules/builtin/credential-file-read.rule.yaml +13 -0
  200. package/src/hooks/ts/lib/rules/builtin/credential-read-then-network.rule.yaml +29 -0
  201. package/src/hooks/ts/lib/rules/builtin/crontab-persistence.rule.yaml +10 -0
  202. package/src/hooks/ts/lib/rules/builtin/curl-piped-to-shell.rule.yaml +15 -0
  203. package/src/hooks/ts/lib/rules/builtin/download-then-execute.rule.yaml +30 -0
  204. package/src/hooks/ts/lib/rules/builtin/find-root-delete.rule.yaml +11 -0
  205. package/src/hooks/ts/lib/rules/builtin/git-push-force.rule.yaml +24 -0
  206. package/src/hooks/ts/lib/rules/builtin/git-push-plus-refspec.rule.yaml +12 -0
  207. package/src/hooks/ts/lib/rules/builtin/git-reset-hard.rule.yaml +12 -0
  208. package/src/hooks/ts/lib/rules/builtin/injection-then-tool.rule.yaml +30 -0
  209. package/src/hooks/ts/lib/rules/builtin/instruction-override-disregard.rule.yaml +12 -0
  210. package/src/hooks/ts/lib/rules/builtin/instruction-override-ignore.rule.yaml +13 -0
  211. package/src/hooks/ts/lib/rules/builtin/launchagents-write-persistence.rule.yaml +12 -0
  212. package/src/hooks/ts/lib/rules/builtin/launchctl-load-persistence.rule.yaml +10 -0
  213. package/src/hooks/ts/lib/rules/builtin/reverse-shell-dev-tcp.rule.yaml +11 -0
  214. package/src/hooks/ts/lib/rules/builtin/reverse-shell-interactive-bash.rule.yaml +11 -0
  215. package/src/hooks/ts/lib/rules/builtin/rm-recursive-parent.rule.yaml +11 -0
  216. package/src/hooks/ts/lib/rules/builtin/rm-recursive-relative.rule.yaml +11 -0
  217. package/src/hooks/ts/lib/rules/builtin/rm-recursive-root.rule.yaml +24 -0
  218. package/src/hooks/ts/lib/rules/builtin/rm-trailing-tilde.rule.yaml +11 -0
  219. package/src/hooks/ts/lib/rules/builtin/sudoers-nopasswd.rule.yaml +15 -0
  220. package/src/hooks/ts/lib/rules/builtin.generated.ts +530 -0
  221. package/src/hooks/ts/lib/rules/eval.ts +74 -0
  222. package/src/hooks/ts/lib/rules/lint.ts +102 -0
  223. package/src/hooks/ts/lib/rules/load.ts +229 -0
  224. package/src/hooks/ts/lib/rules/types.ts +56 -0
  225. package/src/hooks/ts/pre-tool-use/security-validator.ts +27 -96
  226. package/src/hooks/ts/user-prompt/handoff-link.ts +34 -0
  227. package/dist/aibroker-client-BxzeEHPF.mjs +0 -3
  228. package/dist/auto-route-C3S2W3Bc.mjs +0 -11
  229. package/dist/budget-BrloTOZW.mjs +0 -15
  230. package/dist/cockpit-memory-teG9M8bG.mjs +0 -20
  231. package/dist/config-Cxi-aBf4.mjs +0 -4
  232. package/dist/daemon-DeYImF1F.mjs +0 -45
  233. package/dist/detect-Rrimh0xc.mjs +0 -10
  234. package/dist/factory-Bs9imVMq.mjs +0 -9
  235. package/dist/kill-tree-SV6hrIa3.mjs +0 -10
  236. package/dist/operator-BTqvTIc8.mjs +0 -7
  237. package/dist/providers-FvCLzFge.mjs +0 -16
  238. package/dist/registrable-BzH4TObg.mjs +0 -9
  239. package/dist/render-B35bQTE-.mjs +0 -13
  240. package/dist/render-C84BqQRC.mjs +0 -903
  241. package/dist/root-DD1xx_Vu.mjs +0 -36
  242. package/dist/route-table-FEfDuhIV.mjs +0 -15
  243. package/dist/session-BAhtXdxj.mjs +0 -35
  244. package/dist/session-scan-B57dNuA4.mjs +0 -9
  245. package/dist/status-Dm4dYciN.mjs +0 -6
  246. package/dist/viewer-DEySE4c_.mjs +0 -22
  247. package/dist/worker-config-CO5FXLAT.mjs +0 -41
  248. package/dist/workers-config-f8KrkY4L.mjs +0 -4
@@ -1,20 +1,20 @@
1
1
  import { _ as warn, c as ok, i as err, l as renderTable, n as dim, o as header } from "./utils-J2b9y8PC.mjs";
2
- import "./config-XpZWOYOG.mjs";
3
- import "./config-Bu1_vbY8.mjs";
4
- import "./paths-CHifubDh.mjs";
5
- import "./status-ggJ7lgVg.mjs";
6
- import { d as terminalHasName } from "./scope-D-h6F6DN.mjs";
7
- import "./routing-DmkheCRH.mjs";
8
- import "./tool-errors-7E13StWd.mjs";
9
- import "./wait-ByV0OyMZ.mjs";
10
- import "./local-tiers-BE4jGaMa.mjs";
11
- import "./caller-identity-yLFb7CKq.mjs";
12
- import "./capacity-DEveQdFV.mjs";
13
- import "./local-instances-DOxSgT_L.mjs";
14
- import "./local-candidate-DLdwQt0s.mjs";
15
- import { c as resumeOfferBlock, l as resumeRouteFor, n as launchInDir } from "./launch-DlZTKE3u.mjs";
16
- import { i as switchToSession, n as fetchLiveSessions } from "./aibroker-client-CQPGqLxL.mjs";
17
- import { s as scanSessions, t as fmtAge } from "./session-scan-DUn10MBd.mjs";
2
+ import "./config-Bz8pAU5Q.mjs";
3
+ import "./config-SlZ-Z52i.mjs";
4
+ import "./paths-CypxFTfn.mjs";
5
+ import "./status-Cecau8Ps.mjs";
6
+ import { d as terminalHasName } from "./scope-BTWstJ1B.mjs";
7
+ import "./routing-aJKMIagQ.mjs";
8
+ import "./tool-errors-BFw1gv-z.mjs";
9
+ import "./wait-C5iWILj_.mjs";
10
+ import "./local-tiers-CqwGUcEn.mjs";
11
+ import "./caller-identity-C6Nc96iM.mjs";
12
+ import "./capacity-B2PgKAg4.mjs";
13
+ import "./local-instances-DhF4_sV2.mjs";
14
+ import "./local-candidate-DFd4pp-w.mjs";
15
+ import { c as resumeOfferBlock, l as resumeRouteFor, n as launchInDir } from "./launch-BZT3JDoZ.mjs";
16
+ import { i as switchToSession, n as fetchLiveSessions } from "./aibroker-client-CXsyC7A8.mjs";
17
+ import { s as scanSessions, t as fmtAge } from "./session-scan-CX3MKCNg.mjs";
18
18
  import { createReadStream, existsSync, realpathSync } from "node:fs";
19
19
  import { basename, join } from "node:path";
20
20
  import chalk from "chalk";
@@ -600,7 +600,7 @@ async function openMatch(entry, allSessions, dryRun, resume, auto) {
600
600
  }
601
601
  async function getRegisteredProjects(all = false) {
602
602
  try {
603
- const { getRegistryBackend } = await import("./factory-Bs9imVMq.mjs");
603
+ const { getRegistryBackend } = await import("./factory-DFwez99M.mjs");
604
604
  return await (await getRegistryBackend()).listProjectsWithSessionStats(all ? {} : { status: "active" });
605
605
  } catch {
606
606
  return [];
@@ -784,4 +784,4 @@ async function cmdMain(query, pickN, opts) {
784
784
 
785
785
  //#endregion
786
786
  export { cmdMain };
787
- //# sourceMappingURL=main-resolver-yp_puSSb.mjs.map
787
+ //# sourceMappingURL=main-resolver-BKwI0I6H.mjs.map
@@ -1,5 +1,5 @@
1
1
  import { h as smartDecodeDir } from "./utils-J2b9y8PC.mjs";
2
- import { l as claudeHomeDir } from "./runtime-paths-WsO9sJFc.mjs";
2
+ import { l as claudeHomeDir } from "./runtime-paths-twfV23YL.mjs";
3
3
  import { existsSync, readFileSync, readdirSync } from "node:fs";
4
4
  import { createHash } from "node:crypto";
5
5
  import { join } from "node:path";
@@ -243,4 +243,4 @@ async function migrateFromJson(backend, registryPath = join(claudeHomeDir(), "se
243
243
 
244
244
  //#endregion
245
245
  export { slugify as a, parseSessionFilename as i, decodeEncodedDir as n, migrateFromJson as r, buildEncodedDirMap as t };
246
- //# sourceMappingURL=migrate-DrA_OwlZ.mjs.map
246
+ //# sourceMappingURL=migrate-C2z1YmWC.mjs.map
@@ -1,15 +1,15 @@
1
- import "./config-XpZWOYOG.mjs";
2
- import "./config-Bu1_vbY8.mjs";
3
- import "./paths-CHifubDh.mjs";
4
- import "./status-ggJ7lgVg.mjs";
5
- import "./scope-D-h6F6DN.mjs";
6
- import { $ as parseFootprint, B as MODEL_INVENTORY_MAX_AGE_MS, G as fmtMem, H as ProbeHold, J as inventoryRows, K as fmtMemMapped, Q as modelLabel, R as DOWN_AFTER_MISSES, U as computeInventory, V as MODEL_INVENTORY_REFRESH_MS, W as currentInventory, X as liveDeps, Y as inventoryText, Z as modelKind, at as readInventoryInput, ct as writeInventory, et as parseSizeMb, it as readInventory, nt as processTreeMemory, ot as readModelLabels, q as inventoryPath, rt as processTreeRssMb, st as startInventoryRefresh, tt as parseTable, z as INVENTORY_HEADERS } from "./routing-DmkheCRH.mjs";
7
- import "./tool-errors-7E13StWd.mjs";
8
- import "./wait-ByV0OyMZ.mjs";
9
- import "./local-tiers-BE4jGaMa.mjs";
10
- import "./caller-identity-yLFb7CKq.mjs";
11
- import "./capacity-DEveQdFV.mjs";
12
- import "./local-instances-DOxSgT_L.mjs";
13
- import "./local-candidate-DLdwQt0s.mjs";
1
+ import "./config-Bz8pAU5Q.mjs";
2
+ import "./config-SlZ-Z52i.mjs";
3
+ import "./paths-CypxFTfn.mjs";
4
+ import "./status-Cecau8Ps.mjs";
5
+ import "./scope-BTWstJ1B.mjs";
6
+ import { $ as parseFootprint, B as MODEL_INVENTORY_MAX_AGE_MS, G as fmtMem, H as ProbeHold, J as inventoryRows, K as fmtMemMapped, Q as modelLabel, R as DOWN_AFTER_MISSES, U as computeInventory, V as MODEL_INVENTORY_REFRESH_MS, W as currentInventory, X as liveDeps, Y as inventoryText, Z as modelKind, at as readInventoryInput, ct as writeInventory, et as parseSizeMb, it as readInventory, nt as processTreeMemory, ot as readModelLabels, q as inventoryPath, rt as processTreeRssMb, st as startInventoryRefresh, tt as parseTable, z as INVENTORY_HEADERS } from "./routing-aJKMIagQ.mjs";
7
+ import "./tool-errors-BFw1gv-z.mjs";
8
+ import "./wait-C5iWILj_.mjs";
9
+ import "./local-tiers-CqwGUcEn.mjs";
10
+ import "./caller-identity-C6Nc96iM.mjs";
11
+ import "./capacity-B2PgKAg4.mjs";
12
+ import "./local-instances-DhF4_sV2.mjs";
13
+ import "./local-candidate-DFd4pp-w.mjs";
14
14
 
15
15
  export { computeInventory, currentInventory, processTreeRssMb, readInventoryInput, writeInventory };
@@ -1,42 +1,43 @@
1
1
  import "./utils-J2b9y8PC.mjs";
2
- import { tt as workersYamlPath } from "./config-XpZWOYOG.mjs";
3
- import "./config-Bu1_vbY8.mjs";
4
- import "./paths-CHifubDh.mjs";
5
- import "./worktree-CRs2gyg0.mjs";
6
- import "./status-ggJ7lgVg.mjs";
7
- import "./pool-Dh-q3iJi.mjs";
2
+ import { rt as workersYamlPath } from "./config-Bz8pAU5Q.mjs";
3
+ import "./config-SlZ-Z52i.mjs";
4
+ import "./paths-CypxFTfn.mjs";
5
+ import "./worktree-O_kU6Q3y.mjs";
6
+ import "./status-Cecau8Ps.mjs";
7
+ import "./pool-9EsbKD-U.mjs";
8
8
  import "./helpers-CRuBUas3.mjs";
9
- import "./scope-D-h6F6DN.mjs";
10
- import "./routing-DmkheCRH.mjs";
11
- import "./tool-errors-7E13StWd.mjs";
12
- import "./wait-ByV0OyMZ.mjs";
13
- import { g as planStart, m as parseLocalConfig, o as defaultLauncher, y as shellQuote } from "./local-tiers-BE4jGaMa.mjs";
14
- import "./caller-identity-yLFb7CKq.mjs";
15
- import "./capacity-DEveQdFV.mjs";
16
- import "./local-instances-DOxSgT_L.mjs";
17
- import "./local-candidate-DLdwQt0s.mjs";
18
- import "./factory-B7nv75rC.mjs";
19
- import "./postgres-DNIOQijl.mjs";
20
- import "./embedding-gate-6rZrWRXa.mjs";
9
+ import "./scope-BTWstJ1B.mjs";
10
+ import "./routing-aJKMIagQ.mjs";
11
+ import "./tool-errors-BFw1gv-z.mjs";
12
+ import "./wait-C5iWILj_.mjs";
13
+ import { g as planStart, m as parseLocalConfig, o as defaultLauncher, y as shellQuote } from "./local-tiers-CqwGUcEn.mjs";
14
+ import "./caller-identity-C6Nc96iM.mjs";
15
+ import "./capacity-B2PgKAg4.mjs";
16
+ import "./local-instances-DhF4_sV2.mjs";
17
+ import "./local-candidate-DFd4pp-w.mjs";
18
+ import "./factory-CYwa0jYj.mjs";
19
+ import "./postgres-BL5oBBgY.mjs";
20
+ import "./embedding-gate-iq0oQEkF.mjs";
21
21
  import "./embeddings-BVq3esBF.mjs";
22
- import "./router-CQSc3lk3.mjs";
23
- import "./launch-Di7N-J5X.mjs";
24
- import "./health-C4FQmkJn.mjs";
25
- import "./run-BwZKBJZZ.mjs";
26
- import "./controls-JLm6g0yP.mjs";
27
- import "./endreason-BC-v05H_.mjs";
28
- import "./render-C84BqQRC.mjs";
29
- import "./operator-CyuB3aVw.mjs";
30
- import "./kill-tree-DleMNZX3.mjs";
31
- import "./pool-cli-BggU8GRp.mjs";
32
- import "./pane-audit-Lqy9N_Ki.mjs";
33
- import "./fallback-CBWpp2F2.mjs";
34
- import "./providers-C9QC0TtO.mjs";
35
- import { H as canBind, U as sizeOnDiskGb, V as allocatePort, ct as saveRegistry, f as killInstance, g as portListeners, ot as defaultRegistryCtx, p as launchDetached, st as hashText, u as healthOk } from "./worker-config-eY5Qy4vl.mjs";
36
- import "./main-config-ops-kTXR8Pyv.mjs";
37
- import "./cockpit-actions-OodH_vx_.mjs";
38
- import "./ipc-client-CnYEF31R.mjs";
39
- import "./embed-pass-e64AwDCa.mjs";
22
+ import "./router-D2476pOp.mjs";
23
+ import "./launch-Bn2Zf90h.mjs";
24
+ import "./health-D0mUAVdw.mjs";
25
+ import "./run-DE9Q0ldN.mjs";
26
+ import "./controls-rIItFeIJ.mjs";
27
+ import "./endreason-C2-hYK0_.mjs";
28
+ import "./render-jPpMrudf.mjs";
29
+ import "./operator-Br6GeswF.mjs";
30
+ import "./kill-tree-DPiMscaY.mjs";
31
+ import "./pool-cli-Db0uDwB9.mjs";
32
+ import "./pane-audit-DLYy9-4g.mjs";
33
+ import "./providers-BNV7CzC-.mjs";
34
+ import { H as canBind, U as sizeOnDiskGb, V as allocatePort, at as defaultRegistryCtx, f as killInstance, g as portListeners, ot as hashText, p as launchDetached, st as saveRegistry, u as healthOk } from "./worker-config-DkONNk_H.mjs";
35
+ import "./main-config-ops-rda08BCD.mjs";
36
+ import "./cockpit-actions-D1OPP6Es.mjs";
37
+ import "./ipc-client-CmagIFLh.mjs";
38
+ import "./embed-pass-CN1D8MXl.mjs";
39
+ import "./session-usage-CCmPFFa6.mjs";
40
+ import "./fallback-CwPSCrX8.mjs";
40
41
  import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
41
42
  import { basename, join } from "node:path";
42
43
  import { homedir } from "node:os";
@@ -332,4 +333,4 @@ async function smokeTest(cfg, name, d = {}) {
332
333
 
333
334
  //#endregion
334
335
  export { addModel };
335
- //# sourceMappingURL=models-add-TVni3A7V.mjs.map
336
+ //# sourceMappingURL=models-add-5yXTyz3g.mjs.map
@@ -0,0 +1,7 @@
1
+ import "./config-Bz8pAU5Q.mjs";
2
+ import "./config-SlZ-Z52i.mjs";
3
+ import "./paths-CypxFTfn.mjs";
4
+ import "./status-Cecau8Ps.mjs";
5
+ import { n as operatorSocketPath, r as sayToWorker, t as createOperatorServer } from "./operator-Br6GeswF.mjs";
6
+
7
+ export { sayToWorker };
@@ -1,4 +1,4 @@
1
- import { g as isLive, v as loadStatus } from "./status-ggJ7lgVg.mjs";
1
+ import { g as isLive, v as loadStatus } from "./status-Cecau8Ps.mjs";
2
2
  import { existsSync, unlinkSync } from "node:fs";
3
3
  import { createHash } from "node:crypto";
4
4
  import { join } from "node:path";
@@ -95,4 +95,4 @@ function sayToWorker(logDir, id, text, timeoutMs = 4e3) {
95
95
 
96
96
  //#endregion
97
97
  export { operatorSocketPath as n, sayToWorker as r, createOperatorServer as t };
98
- //# sourceMappingURL=operator-CyuB3aVw.mjs.map
98
+ //# sourceMappingURL=operator-Br6GeswF.mjs.map
@@ -1,5 +1,5 @@
1
1
  import { t as writeFileAtomic } from "./atomic-file-BorMa4T3.mjs";
2
- import { s as worktreeReason } from "./registrable-DpyTtajg.mjs";
2
+ import { s as worktreeReason } from "./registrable-Dxs4oKIj.mjs";
3
3
  import { existsSync, mkdirSync, readFileSync, readdirSync, statSync } from "node:fs";
4
4
  import { join, resolve } from "node:path";
5
5
  import { homedir } from "node:os";
@@ -228,4 +228,4 @@ function discoverPaiMarkers(searchDirs) {
228
228
 
229
229
  //#endregion
230
230
  export { ensurePaiMarker as n, readPaiMarker as r, discoverPaiMarkers as t };
231
- //# sourceMappingURL=pai-marker-BcZyJguM.mjs.map
231
+ //# sourceMappingURL=pai-marker-D6OoVbM_.mjs.map
@@ -1,11 +1,11 @@
1
- import { g as paiHomePath } from "./runtime-paths-WsO9sJFc.mjs";
2
- import { wt as appendLedger } from "./config-XpZWOYOG.mjs";
3
- import { i as ledgerPath } from "./paths-CHifubDh.mjs";
4
- import { C as nowStamp, M as spawnTimeOf, T as ownsPidCached, b as loadStatusesCached, g as isLive, h as isChatPane, v as loadStatus, w as ownsPid } from "./status-ggJ7lgVg.mjs";
5
- import { i as itermUuid } from "./scope-D-h6F6DN.mjs";
6
- import { At as recordPath, Ct as PANE_EXEC_PID_ENV, Dt as pidAlive, L as fmtElapsed, Mt as panePolicy, Ot as readExit, St as PANE_EXEC_ENV, Tt as listRecords, V as loadPlanStatuses, _t as paneTitle, dt as osascript, kt as readRecord, mt as realPaneOps, nt as closePaneForWorker, st as loadRegistry, tt as closeOwnPane, vt as writePaneTitle, wt as exitFilePath } from "./controls-JLm6g0yP.mjs";
7
- import { s as requestKill, t as appendStopEvent } from "./endreason-BC-v05H_.mjs";
8
- import { i as killTree } from "./kill-tree-DleMNZX3.mjs";
1
+ import { _ as paiHomePath } from "./runtime-paths-twfV23YL.mjs";
2
+ import { Et as appendLedger } from "./config-Bz8pAU5Q.mjs";
3
+ import { i as ledgerPath } from "./paths-CypxFTfn.mjs";
4
+ import { C as nowStamp, N as spawnTimeOf, T as ownsPidCached, b as loadStatusesCached, g as isLive, h as isChatPane, v as loadStatus, w as ownsPid } from "./status-Cecau8Ps.mjs";
5
+ import { i as itermUuid } from "./scope-BTWstJ1B.mjs";
6
+ import { Dt as recordPath, Et as readRecord, L as fmtElapsed, St as listRecords, Tt as readExit, V as loadPlanStatuses, _t as paneTitle, bt as PANE_EXEC_PID_ENV, dt as osascript, kt as panePolicy, mt as realPaneOps, nt as closePaneForWorker, st as loadRegistry, tt as closeOwnPane, vt as writePaneTitle, wt as pidAlive, xt as exitFilePath, yt as PANE_EXEC_ENV } from "./controls-rIItFeIJ.mjs";
7
+ import { s as requestKill, t as appendStopEvent } from "./endreason-C2-hYK0_.mjs";
8
+ import { i as killTree } from "./kill-tree-DPiMscaY.mjs";
9
9
  import { appendFileSync, existsSync, mkdirSync, readFileSync, readdirSync, renameSync, unlinkSync, writeFileSync } from "node:fs";
10
10
  import { join } from "node:path";
11
11
  import { execFileSync, spawn } from "node:child_process";
@@ -278,15 +278,11 @@ async function runInPane(o) {
278
278
  * (auditLaunches: a pane-exec whose child is gone while the pane lives, or the reverse, has its orphan side
279
279
  * killed / closed; a running worker that bypassed the launcher is noted) and the pane marks (judged from the
280
280
  * pane registry and the iTerm listing: ok, NO PANE, WRONG TAB, HOST UNKNOWN, STILL OPEN, plus the shown-only
281
- * SMALL / NOT SELECTED / MINIMISED). The daemon runs it every 30 s and writes <logDir>/pane-audit.json for
281
+ * NOT SELECTED / MINIMISED). The daemon runs it every 30 s and writes <logDir>/pane-audit.json for
282
282
  * `ps` and the cockpit.
283
283
  */
284
284
  /** Marks that are shown, never alarmed: the pane runs, only its visibility falls short. */
285
- const SHOWN_ONLY = [
286
- "SMALL",
287
- "NOT SELECTED",
288
- "MINIMISED"
289
- ];
285
+ const SHOWN_ONLY = ["NOT SELECTED", "MINIMISED"];
290
286
  const norm = (id) => itermUuid(id) || id;
291
287
  const stampMs = (t, utc) => t ? Date.parse(t.replace(" ", "T") + (utc ? "Z" : "")) : NaN;
292
288
  function auditPanes(procs, registry, tabs, nowMs, sizes) {
@@ -351,13 +347,6 @@ function auditPanes(procs, registry, tabs, nowMs, sizes) {
351
347
  why: `pane ${e.session} sits in ${tab}, the starting session in ${hostTab}`
352
348
  };
353
349
  const size = sizes?.get(norm(e.session));
354
- if (size && (size.cols < panePolicy().minCols || size.rows < panePolicy().minRows)) return {
355
- ...v,
356
- mark: "SMALL",
357
- tab,
358
- hostTab,
359
- why: `pane ${e.session} is ${size.cols}x${size.rows}, under ${panePolicy().minCols}x${panePolicy().minRows}`
360
- };
361
350
  if (size?.mark) return {
362
351
  ...v,
363
352
  mark: size.mark,
@@ -456,7 +445,8 @@ const readTold = (logDir) => readJson(toldFile(logDir));
456
445
  /**
457
446
  * One audit round: judge, persist, and record each new violation once, in the ledger only (PANE-VIOLATION).
458
447
  * Since the pane owns the process (pane-exec.ts) a missing pane cannot happen by construction; what is left
459
- * is a bug detector: the launcher audit (auditLaunches) and the visibility marks. Nothing is sent to a session
448
+ * is a bug detector: the launcher audit (auditLaunches) and the visibility marks. A small pane is never a
449
+ * violation: the operator does not care about pane size. Nothing is sent to a session
460
450
  * or to PAILot, nothing is reopened.
461
451
  */
462
452
  async function auditTick(logDir, _msg, deps = {}) {
@@ -761,4 +751,4 @@ function renderPaneAudit(verdicts) {
761
751
 
762
752
  //#endregion
763
753
  export { readAudit as a, followPaneRun as c, loadPaneRunStatuses as d, paneRunRows as f, listItermTabs as i, isPaneRunId as l, runInPane as m, auditTick as n, renderPaneAudit as o, renderPaneRunLines as p, closeFinishedPanes as r, runningProcs as s, auditPanes as t, loadPaneRunStatus as u };
764
- //# sourceMappingURL=pane-audit-Lqy9N_Ki.mjs.map
754
+ //# sourceMappingURL=pane-audit-DLYy9-4g.mjs.map
@@ -1,6 +1,6 @@
1
- import { _ as resolvePaiFile, g as paiHomePath } from "./runtime-paths-WsO9sJFc.mjs";
2
- import { d as defaultWorkersConfig } from "./config-XpZWOYOG.mjs";
3
- import { o as expandHome } from "./config-Bu1_vbY8.mjs";
1
+ import { _ as paiHomePath, v as resolvePaiFile } from "./runtime-paths-twfV23YL.mjs";
2
+ import { d as defaultWorkersConfig } from "./config-Bz8pAU5Q.mjs";
3
+ import { o as expandHome } from "./config-SlZ-Z52i.mjs";
4
4
  import { existsSync, mkdirSync, writeFileSync } from "node:fs";
5
5
  import { join } from "node:path";
6
6
 
@@ -65,4 +65,4 @@ function slotCurrentPath(logDir, slot) {
65
65
 
66
66
  //#endregion
67
67
  export { noMcpConfigPath as a, slotCurrentPath as c, ledgerPath as i, statusPath as l, ensureNoMcpConfig as n, panesDir as o, eventsPath as r, routingStatePath as s, WORKER_ID_RE as t, workersLogDir as u };
68
- //# sourceMappingURL=paths-CHifubDh.mjs.map
68
+ //# sourceMappingURL=paths-CypxFTfn.mjs.map
@@ -1,5 +1,5 @@
1
- import "./config-XpZWOYOG.mjs";
2
- import "./config-Bu1_vbY8.mjs";
3
- import { a as noMcpConfigPath, c as slotCurrentPath, i as ledgerPath, l as statusPath, n as ensureNoMcpConfig, o as panesDir, r as eventsPath, s as routingStatePath, t as WORKER_ID_RE, u as workersLogDir } from "./paths-CHifubDh.mjs";
1
+ import "./config-Bz8pAU5Q.mjs";
2
+ import "./config-SlZ-Z52i.mjs";
3
+ import { a as noMcpConfigPath, c as slotCurrentPath, i as ledgerPath, l as statusPath, n as ensureNoMcpConfig, o as panesDir, r as eventsPath, s as routingStatePath, t as WORKER_ID_RE, u as workersLogDir } from "./paths-CypxFTfn.mjs";
4
4
 
5
5
  export { WORKER_ID_RE, ensureNoMcpConfig, eventsPath, ledgerPath, noMcpConfigPath, panesDir, routingStatePath, slotCurrentPath, statusPath, workersLogDir };
@@ -1,33 +1,33 @@
1
- import { j as readWorkersSection, wt as appendLedger } from "./config-XpZWOYOG.mjs";
2
- import "./config-Bu1_vbY8.mjs";
3
- import { i as ledgerPath, u as workersLogDir } from "./paths-CHifubDh.mjs";
4
- import { g as mergeWorker, n as MergeConflictError } from "./worktree-CRs2gyg0.mjs";
5
- import { S as newWorkerId, nt as shortText, tt as parseRunnerArgs, v as loadStatus } from "./status-ggJ7lgVg.mjs";
6
- import "./pool-Dh-q3iJi.mjs";
1
+ import { Et as appendLedger, M as readWorkersSection } from "./config-Bz8pAU5Q.mjs";
2
+ import "./config-SlZ-Z52i.mjs";
3
+ import { i as ledgerPath, u as workersLogDir } from "./paths-CypxFTfn.mjs";
4
+ import { g as mergeWorker, n as MergeConflictError } from "./worktree-O_kU6Q3y.mjs";
5
+ import { S as newWorkerId, nt as parseRunnerArgs, rt as shortText, v as loadStatus } from "./status-Cecau8Ps.mjs";
6
+ import "./pool-9EsbKD-U.mjs";
7
7
  import "./helpers-CRuBUas3.mjs";
8
- import "./scope-D-h6F6DN.mjs";
9
- import "./routing-DmkheCRH.mjs";
10
- import "./tool-errors-7E13StWd.mjs";
11
- import "./wait-ByV0OyMZ.mjs";
12
- import "./local-tiers-BE4jGaMa.mjs";
13
- import "./caller-identity-yLFb7CKq.mjs";
14
- import "./capacity-DEveQdFV.mjs";
15
- import "./local-instances-DOxSgT_L.mjs";
16
- import "./local-candidate-DLdwQt0s.mjs";
17
- import "./factory-B7nv75rC.mjs";
18
- import "./postgres-DNIOQijl.mjs";
19
- import "./embedding-gate-6rZrWRXa.mjs";
8
+ import "./scope-BTWstJ1B.mjs";
9
+ import "./routing-aJKMIagQ.mjs";
10
+ import "./tool-errors-BFw1gv-z.mjs";
11
+ import "./wait-C5iWILj_.mjs";
12
+ import "./local-tiers-CqwGUcEn.mjs";
13
+ import "./caller-identity-C6Nc96iM.mjs";
14
+ import "./capacity-B2PgKAg4.mjs";
15
+ import "./local-instances-DhF4_sV2.mjs";
16
+ import "./local-candidate-DFd4pp-w.mjs";
17
+ import "./factory-CYwa0jYj.mjs";
18
+ import "./postgres-BL5oBBgY.mjs";
19
+ import "./embedding-gate-iq0oQEkF.mjs";
20
20
  import "./embeddings-BVq3esBF.mjs";
21
- import "./router-CQSc3lk3.mjs";
22
- import "./launch-Di7N-J5X.mjs";
23
- import { V as printResult, t as runWorker } from "./run-BwZKBJZZ.mjs";
24
- import "./controls-JLm6g0yP.mjs";
25
- import "./endreason-BC-v05H_.mjs";
26
- import "./render-C84BqQRC.mjs";
27
- import "./operator-CyuB3aVw.mjs";
28
- import "./kill-tree-DleMNZX3.mjs";
29
- import "./pool-cli-BggU8GRp.mjs";
30
- import { n as swapPromptArg } from "./chain-D7PFur8Y.mjs";
21
+ import "./router-D2476pOp.mjs";
22
+ import "./launch-Bn2Zf90h.mjs";
23
+ import { V as printResult, t as runWorker } from "./run-DE9Q0ldN.mjs";
24
+ import "./controls-rIItFeIJ.mjs";
25
+ import "./endreason-C2-hYK0_.mjs";
26
+ import "./render-jPpMrudf.mjs";
27
+ import "./operator-Br6GeswF.mjs";
28
+ import "./kill-tree-DPiMscaY.mjs";
29
+ import "./pool-cli-Db0uDwB9.mjs";
30
+ import { n as swapPromptArg } from "./chain-CtK49-Ma.mjs";
31
31
  import { existsSync, mkdirSync, readFileSync } from "node:fs";
32
32
  import { join } from "node:path";
33
33
 
@@ -307,4 +307,4 @@ function printPlannerSummary(logDir, plannerId, results, merged, conflicted, fmt
307
307
 
308
308
  //#endregion
309
309
  export { runPlanner };
310
- //# sourceMappingURL=planner-j77ndkBf.mjs.map
310
+ //# sourceMappingURL=planner-BzZ_2lc-.mjs.map
@@ -1,4 +1,4 @@
1
- import { Et as parseLedger, I as LOOPBACK_HOST, c as WorkersConfigError, d as defaultWorkersConfig, i as DEFAULT_POOL_PORT, t as ANTHROPIC_NATIVE } from "./config-XpZWOYOG.mjs";
1
+ import { Ot as parseLedger, R as LOOPBACK_HOST, c as WorkersConfigError, d as defaultWorkersConfig, i as DEFAULT_POOL_PORT, t as ANTHROPIC_NATIVE } from "./config-Bz8pAU5Q.mjs";
2
2
  import { t as assertTestWriteAllowed } from "./test-isolation-lqSmYxr0.mjs";
3
3
  import { appendFileSync, copyFileSync, existsSync, mkdirSync, readFileSync, realpathSync, renameSync, statSync, unlinkSync, writeFileSync } from "node:fs";
4
4
  import { dirname, join, resolve } from "node:path";
@@ -629,4 +629,4 @@ function spareStats(ledgerText) {
629
629
 
630
630
  //#endregion
631
631
  export { readClaudeJson as A, describeMcp as C, readMcpServers as D, mcpServersFromToolGrants as E, trustProjectPath as M, writeClaudeJson as N, writeMcpConfig as O, inputSideTokens as S, grantsChrome as T, readPoolMetrics as _, formatCarryByProvider as a, spareStats as b, poolHostAlive as c, poolIneligibleReason as d, poolMetricsPath as f, postTaskToPool as g, poolSettings as h, bundleBuildStamp as i, registerMcpScript as j, mcpEntryRunsScript as k, poolHostProbe as l, poolPort as m, SLOT_TOOLS as n, poolCarry as o, poolPidPath as p, UNIT_MARKER as r, poolDir as s, SHARED_MARKER as t, poolHostStale as u, readPoolState as v, expandMcpNames as w, warmOrCold as x, reloadInProgress as y };
632
- //# sourceMappingURL=pool-Dh-q3iJi.mjs.map
632
+ //# sourceMappingURL=pool-9EsbKD-U.mjs.map
@@ -1,8 +1,8 @@
1
- import "./config-XpZWOYOG.mjs";
2
- import "./config-Bu1_vbY8.mjs";
3
- import "./paths-CHifubDh.mjs";
4
- import "./status-ggJ7lgVg.mjs";
5
- import "./pool-Dh-q3iJi.mjs";
6
- import { a as poolOff, c as poolStatusText, d as spareStatusLines, f as standalonePoolHostPath, i as hostBuildText, l as reloadPoolHost, n as diskBundleMtime, o as poolOn, r as ensurePoolHost, s as poolReloadLive, t as POOL_HEAL_GAP_MS, u as skipReasonLine } from "./pool-cli-BggU8GRp.mjs";
1
+ import "./config-Bz8pAU5Q.mjs";
2
+ import "./config-SlZ-Z52i.mjs";
3
+ import "./paths-CypxFTfn.mjs";
4
+ import "./status-Cecau8Ps.mjs";
5
+ import "./pool-9EsbKD-U.mjs";
6
+ import { a as poolOff, c as poolStatusText, d as spareStatusLines, f as standalonePoolHostPath, i as hostBuildText, l as reloadPoolHost, n as diskBundleMtime, o as poolOn, r as ensurePoolHost, s as poolReloadLive, t as POOL_HEAL_GAP_MS, u as skipReasonLine } from "./pool-cli-Db0uDwB9.mjs";
7
7
 
8
8
  export { poolOff, poolOn, poolStatusText };
@@ -1,7 +1,7 @@
1
- import { Et as parseLedger, F as writeWorkersSection, I as LOOPBACK_HOST, j as readWorkersSection, wt as appendLedger } from "./config-XpZWOYOG.mjs";
2
- import { i as ledgerPath } from "./paths-CHifubDh.mjs";
3
- import { m as fmtTokens } from "./status-ggJ7lgVg.mjs";
4
- import { _ as readPoolMetrics, a as formatCarryByProvider, b as spareStats, c as poolHostAlive, f as poolMetricsPath, h as poolSettings, i as bundleBuildStamp, l as poolHostProbe, m as poolPort, o as poolCarry, p as poolPidPath, s as poolDir, u as poolHostStale, v as readPoolState, y as reloadInProgress } from "./pool-Dh-q3iJi.mjs";
1
+ import { Et as appendLedger, L as writeWorkersSection, M as readWorkersSection, Ot as parseLedger, R as LOOPBACK_HOST } from "./config-Bz8pAU5Q.mjs";
2
+ import { i as ledgerPath } from "./paths-CypxFTfn.mjs";
3
+ import { m as fmtTokens } from "./status-Cecau8Ps.mjs";
4
+ import { _ as readPoolMetrics, a as formatCarryByProvider, b as spareStats, c as poolHostAlive, f as poolMetricsPath, h as poolSettings, i as bundleBuildStamp, l as poolHostProbe, m as poolPort, o as poolCarry, p as poolPidPath, s as poolDir, u as poolHostStale, v as readPoolState, y as reloadInProgress } from "./pool-9EsbKD-U.mjs";
5
5
  import { closeSync, existsSync, mkdirSync, openSync, readFileSync, renameSync, statSync, unlinkSync, writeFileSync } from "node:fs";
6
6
  import { dirname, join } from "node:path";
7
7
  import { spawn } from "node:child_process";
@@ -313,4 +313,4 @@ function spareStatusLines(state, logDir) {
313
313
 
314
314
  //#endregion
315
315
  export { poolOff as a, poolStatusText as c, spareStatusLines as d, standalonePoolHostPath as f, hostBuildText as i, reloadPoolHost as l, diskBundleMtime as n, poolOn as o, ensurePoolHost as r, poolReloadLive as s, POOL_HEAL_GAP_MS as t, skipReasonLine as u };
316
- //# sourceMappingURL=pool-cli-BggU8GRp.mjs.map
316
+ //# sourceMappingURL=pool-cli-Db0uDwB9.mjs.map
@@ -1,7 +1,7 @@
1
- import "./config-Bu1_vbY8.mjs";
1
+ import "./config-SlZ-Z52i.mjs";
2
2
  import "./helpers-CRuBUas3.mjs";
3
- import { o as buildPgTsQuery, t as PostgresBackend } from "./postgres-DNIOQijl.mjs";
4
- import "./embedding-gate-6rZrWRXa.mjs";
3
+ import { o as buildPgTsQuery, t as PostgresBackend } from "./postgres-BL5oBBgY.mjs";
4
+ import "./embedding-gate-iq0oQEkF.mjs";
5
5
  import "./embeddings-BVq3esBF.mjs";
6
6
 
7
7
  export { PostgresBackend };
@@ -1,7 +1,7 @@
1
- import { M as postgresConnectionString, k as DEFAULT_PG_CONNECTION_TIMEOUT_MS } from "./config-Bu1_vbY8.mjs";
1
+ import { A as DEFAULT_PG_CONNECTION_TIMEOUT_MS, N as postgresConnectionString } from "./config-SlZ-Z52i.mjs";
2
2
  import { a as parseSessionTitleChunk, c as yieldToEventLoop, f as fileContentHash, h as sha256File, i as isPathTooBroadForContentScan, m as sha256, n as chunkId, o as walkContentFiles, r as detectTier, s as walkMdFiles, t as INDEX_YIELD_EVERY, u as chunkMarkdown } from "./helpers-CRuBUas3.mjs";
3
3
  import { t as STOP_WORDS } from "./stop-words-DSEYQdNe.mjs";
4
- import { p as LEGACY_EMBEDDING_BINDING, r as gateBackend } from "./embedding-gate-6rZrWRXa.mjs";
4
+ import { p as LEGACY_EMBEDDING_BINDING, r as gateBackend } from "./embedding-gate-iq0oQEkF.mjs";
5
5
  import { s as serializeEmbedding } from "./embeddings-BVq3esBF.mjs";
6
6
  import { existsSync, readFileSync, statSync } from "node:fs";
7
7
  import { createHash } from "node:crypto";
@@ -2319,4 +2319,4 @@ function rowToKgEntity(row) {
2319
2319
 
2320
2320
  //#endregion
2321
2321
  export { entityContentId as a, resolveFromModule as c, retryTransient as i, embedChunksWithBackend as n, buildPgTsQuery as o, indexProjectWithBackend as r, packageRoot as s, PostgresBackend as t };
2322
- //# sourceMappingURL=postgres-DNIOQijl.mjs.map
2322
+ //# sourceMappingURL=postgres-BL5oBBgY.mjs.map
@@ -1,27 +1,26 @@
1
1
  import { c as ok, i as err, n as dim } from "./utils-J2b9y8PC.mjs";
2
- import { g as paiHomePath, l as claudeHomeDir } from "./runtime-paths-WsO9sJFc.mjs";
3
- import { X as readMergeVerify, c as WorkersConfigError, f as escalationCloud, h as isModelCapability, j as readWorkersSection, m as isLocalProvider, p as getProviderOrNative, t as ANTHROPIC_NATIVE } from "./config-XpZWOYOG.mjs";
4
- import { i as ledgerPath, r as eventsPath, u as workersLogDir } from "./paths-CHifubDh.mjs";
5
- import { D as formatPending, O as pendingGate, b as verifyWorker, c as formatKnowledge, d as gcWorktrees, g as mergeWorker, k as pendingResults, m as leftoverWorktrees, s as discardWorker, u as gcPoolWorktrees } from "./worktree-CRs2gyg0.mjs";
6
- import { B as loadStatusConfig, C as nowStamp, F as ForgeError, H as setClaim, I as PROJECT_CONFIG_REL, K as PREAMBLE_MAX_BYTES, R as listClaims, V as parseStatusConfig, W as writeContinueToForge, Z as projectRoot, a as UNLABELED, et as longInlinePromptHint, g as isLive, j as setWorkerNote, k as saveStatus, o as ageOf, q as PREAMBLE_REL, s as alive, tt as parseRunnerArgs, v as loadStatus, w as ownsPid, y as loadStatuses, z as listStale } from "./status-ggJ7lgVg.mjs";
7
- import { p as currentWorkerId } from "./scope-D-h6F6DN.mjs";
8
- import { C as detectSessionProvider, Sn as probeLoopback, St as gcSettingsFiles, Tn as resolveRunnerProvider, gn as LOCAL_MECHANISM_LINE, ln as detectSessionName, pt as isLoopbackProvider, un as BATCH_ENV, wn as resolveLocalProvider } from "./routing-DmkheCRH.mjs";
9
- import { C as statusMarker, S as realDeps, T as waitOn, a as runWait, w as statusQueue } from "./wait-ByV0OyMZ.mjs";
10
- import { n as breakStaleMutex } from "./caller-identity-yLFb7CKq.mjs";
11
- import { a as liveQueue, f as sessionOf, l as reorderQueue, o as providerCap, s as queueRows, t as admitCap } from "./capacity-DEveQdFV.mjs";
12
- import { n as tierProviderNames, t as isLocalCandidate } from "./local-candidate-DLdwQt0s.mjs";
2
+ import { _ as paiHomePath, l as claudeHomeDir } from "./runtime-paths-twfV23YL.mjs";
3
+ import { M as readWorkersSection, Q as readMergeVerify, c as WorkersConfigError, f as escalationCloud, h as isModelCapability, m as isLocalProvider, p as getProviderOrNative, t as ANTHROPIC_NATIVE } from "./config-Bz8pAU5Q.mjs";
4
+ import { i as ledgerPath, r as eventsPath, u as workersLogDir } from "./paths-CypxFTfn.mjs";
5
+ import { D as formatPending, O as pendingGate, b as verifyWorker, c as formatKnowledge, d as gcWorktrees, g as mergeWorker, k as pendingResults, m as leftoverWorktrees, s as discardWorker, u as gcPoolWorktrees } from "./worktree-O_kU6Q3y.mjs";
6
+ import { B as listStale, C as nowStamp, G as writeContinueToForge, H as parseStatusConfig, I as ForgeError, J as PREAMBLE_REL, L as PROJECT_CONFIG_REL, M as setWorkerNote, Q as projectRoot, U as setClaim, V as loadStatusConfig, a as UNLABELED, g as isLive, k as saveStatus, nt as parseRunnerArgs, o as ageOf, q as PREAMBLE_MAX_BYTES, s as alive, tt as longInlinePromptHint, v as loadStatus, w as ownsPid, y as loadStatuses, z as listClaims } from "./status-Cecau8Ps.mjs";
7
+ import { p as currentWorkerId } from "./scope-BTWstJ1B.mjs";
8
+ import { C as detectSessionProvider, Cn as resolveLocalProvider, St as gcSettingsFiles, cn as detectSessionName, hn as LOCAL_MECHANISM_LINE, ln as BATCH_ENV, pt as isLoopbackProvider, wn as resolveRunnerProvider, xn as probeLoopback } from "./routing-aJKMIagQ.mjs";
9
+ import { C as statusMarker, S as realDeps, T as waitOn, a as runWait, w as statusQueue } from "./wait-C5iWILj_.mjs";
10
+ import { n as breakStaleMutex } from "./caller-identity-C6Nc96iM.mjs";
11
+ import { a as liveQueue, g as sessionOf, o as providerCap, p as reorderQueue, s as queueRows, t as admitCap } from "./capacity-B2PgKAg4.mjs";
12
+ import { n as tierProviderNames, t as isLocalCandidate } from "./local-candidate-DFd4pp-w.mjs";
13
13
  import { n as OPT, t as CliError } from "./define-CjJsmq-6.mjs";
14
- import { c as resolveFromModule } from "./postgres-DNIOQijl.mjs";
15
- import { C as workerUsage, S as usageJson, U as endProcesses, W as findWorktreeOrphans, _ as stopLaunchedWorkers, a as resolveWorkers, b as renderUsage, d as capture, h as realCommitsAhead, i as liveResolveCtx, m as mergeBranch, n as LocalProviderRefusedError, p as launchWorker, r as PoolRefusedError, t as runWorker, v as parseWhen } from "./run-BwZKBJZZ.mjs";
16
- import { $ as checkPaneForWorker, A as tail, Gt as handoffFromInside, H as planLogTail, J as queueLockPath, Jt as LOCAL_FAILURE_LIMIT, N as filesOverlap, R as followPlanLog, W as planRunEnded, Xt as localFailures, Yt as classifyRoute, Z as withRunLock, Zt as routeLine, c as setMuted, ct as openFollowPane, et as closeEndedPanes, ft as paneBackend, gt as workerEnded, ht as resolveHostSession, lt as openPaneForWorker, pt as paneMayClose, st as loadRegistry } from "./controls-JLm6g0yP.mjs";
17
- import { R as parentFromEnv } from "./render-C84BqQRC.mjs";
18
- import { r as sayToWorker } from "./operator-CyuB3aVw.mjs";
19
- import { i as killTree } from "./kill-tree-DleMNZX3.mjs";
20
- import { t as runChain } from "./chain-D7PFur8Y.mjs";
21
- import { c as followPaneRun, i as listItermTabs, l as isPaneRunId, o as renderPaneAudit, s as runningProcs, t as auditPanes, u as loadPaneRunStatus } from "./pane-audit-Lqy9N_Ki.mjs";
22
- import { a as followTailOutput, d as psOutput, f as replayOutput, m as statusLineOutput, o as followWorkers } from "./viewer-wfKnvnrI.mjs";
23
- import { a as DEFAULT_IDLE_SECS, o as commandToRun, s as runProbed } from "./fallback-CBWpp2F2.mjs";
24
- import { _ as unsetCapabilityPreference, a as describeCapabilities, c as modelPrefsText, d as setCapabilityPreference, h as setProviderModel, o as describeModels, u as resolveProviderName } from "./providers-C9QC0TtO.mjs";
14
+ import { c as resolveFromModule } from "./postgres-BL5oBBgY.mjs";
15
+ import { C as workerUsage, S as usageJson, U as endProcesses, W as findWorktreeOrphans, _ as stopLaunchedWorkers, a as resolveWorkers, b as renderUsage, d as capture, h as realCommitsAhead, i as liveResolveCtx, m as mergeBranch, n as LocalProviderRefusedError, p as launchWorker, r as PoolRefusedError, t as runWorker, v as parseWhen } from "./run-DE9Q0ldN.mjs";
16
+ import { $ as checkPaneForWorker, A as tail, Gt as LOCAL_FAILURE_LIMIT, H as planLogTail, Ht as handoffFromInside, J as queueLockPath, Jt as routeLine, Kt as classifyRoute, N as filesOverlap, R as followPlanLog, W as planRunEnded, Z as withRunLock, c as setMuted, ct as openFollowPane, et as closeEndedPanes, ft as paneBackend, gt as workerEnded, ht as resolveHostSession, lt as openPaneForWorker, pt as paneMayClose, qt as localFailures, st as loadRegistry } from "./controls-rIItFeIJ.mjs";
17
+ import { G as commandToRun, K as runProbed, W as DEFAULT_IDLE_SECS, et as parentFromEnv } from "./render-jPpMrudf.mjs";
18
+ import { r as sayToWorker } from "./operator-Br6GeswF.mjs";
19
+ import { i as killTree } from "./kill-tree-DPiMscaY.mjs";
20
+ import { t as runChain } from "./chain-CtK49-Ma.mjs";
21
+ import { c as followPaneRun, i as listItermTabs, l as isPaneRunId, o as renderPaneAudit, s as runningProcs, t as auditPanes, u as loadPaneRunStatus } from "./pane-audit-DLYy9-4g.mjs";
22
+ import { a as followTailOutput, d as psOutput, f as replayOutput, m as statusLineOutput, o as followWorkers } from "./viewer-DvBg6N22.mjs";
23
+ import { _ as unsetCapabilityPreference, a as describeCapabilities, c as modelPrefsText, d as setCapabilityPreference, h as setProviderModel, o as describeModels, u as resolveProviderName } from "./providers-BNV7CzC-.mjs";
25
24
  import { appendFileSync, copyFileSync, existsSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, renameSync, rmSync, rmdirSync, statSync, writeFileSync } from "node:fs";
26
25
  import { createHash, randomBytes } from "node:crypto";
27
26
  import { basename, dirname, join, resolve } from "node:path";
@@ -1466,7 +1465,7 @@ const errorsCommand = {
1466
1465
  examples: ["pai worker errors", "pai worker errors --since 2h"],
1467
1466
  seeAlso: ["pai worker log"],
1468
1467
  run: (ctx) => guard("pai worker errors --since 24h", async () => {
1469
- const { errorsTable, groupToolErrors, parseSince, readToolErrors } = await import("./tool-errors-CJWODvlo.mjs");
1468
+ const { errorsTable, groupToolErrors, parseSince, readToolErrors } = await import("./tool-errors-COM2JGEr.mjs");
1470
1469
  const since = str(ctx.opts.since) ?? "24h";
1471
1470
  const ms = parseSince(since);
1472
1471
  if (ms === null) throw new Error(`bad --since "${since}" (use 30m, 2h, 1d)`);
@@ -3012,7 +3011,7 @@ async function projectChecks(cwd, d = {}) {
3012
3011
  }
3013
3012
  async function realDaemonStart() {
3014
3013
  try {
3015
- const [{ PaiClient }, { loadConfig }] = await Promise.all([import("./ipc-client-DN7EvoVo.mjs"), import("./config-DtENJ6cL.mjs")]);
3014
+ const [{ PaiClient }, { loadConfig }] = await Promise.all([import("./ipc-client-DmbSIBUK.mjs"), import("./config-DHgPx3ER.mjs")]);
3016
3015
  const s = await new PaiClient(loadConfig().socketPath).status();
3017
3016
  return Date.now() - Number(s.uptime) * 1e3;
3018
3017
  } catch {
@@ -3029,4 +3028,4 @@ function realBuildTime() {
3029
3028
 
3030
3029
  //#endregion
3031
3030
  export { schedulerLines as C, resolveSpecPath as E, withTarget as S, readSpecPrompt as T, issueClaims as _, branchDiff as a, workerCommand as b, runQueue as c, loadSettings as d, move as f, issueClaim as g, renderReview as h, projectChecks as i, QueueStore as l, renderList as m, initProject as n, realQueueDeps as o, queueStatePath as p, isGitProject as r, acceptItems as s, formatCheck as t, again as u, issueStale as v, schedulerView as w, resolveTarget as x, providerCaps as y };
3032
- //# sourceMappingURL=project-setup-CBRtFFh0.mjs.map
3031
+ //# sourceMappingURL=project-setup-DHxdJjEc.mjs.map
@@ -0,0 +1,16 @@
1
+ import "./config-Bz8pAU5Q.mjs";
2
+ import "./config-SlZ-Z52i.mjs";
3
+ import "./paths-CypxFTfn.mjs";
4
+ import "./status-Cecau8Ps.mjs";
5
+ import "./scope-BTWstJ1B.mjs";
6
+ import "./routing-aJKMIagQ.mjs";
7
+ import "./tool-errors-BFw1gv-z.mjs";
8
+ import "./wait-C5iWILj_.mjs";
9
+ import "./local-tiers-CqwGUcEn.mjs";
10
+ import "./caller-identity-C6Nc96iM.mjs";
11
+ import "./capacity-B2PgKAg4.mjs";
12
+ import "./local-instances-DhF4_sV2.mjs";
13
+ import "./local-candidate-DFd4pp-w.mjs";
14
+ import { _ as unsetCapabilityPreference, a as describeCapabilities, b as useProvider, c as modelPrefsText, d as setCapabilityPreference, f as setClass, g as setWorkersEnabled, h as setProviderModel, i as describeCap, l as removeProvider, m as setProviderEnabled, n as capText, o as describeModels, p as setProviderCap, r as classTargetText, s as describeProviders, t as addProvider, u as resolveProviderName, v as unsetClass, y as updateProvider } from "./providers-BNV7CzC-.mjs";
15
+
16
+ export { setProviderEnabled, useProvider };
@@ -1,8 +1,8 @@
1
- import { F as writeWorkersSection, M as resolveCapability, O as providerCostTier, _ as maskKey, a as MODEL_CAPABILITIES, c as WorkersConfigError, d as defaultWorkersConfig, g as keysDir, h as isModelCapability, j as readWorkersSection, o as PROVIDER_TAGS, p as getProviderOrNative, t as ANTHROPIC_NATIVE, tt as workersYamlPath, y as nativeAnthropicProvider } from "./config-XpZWOYOG.mjs";
2
- import { n as CONFIG_FILE, o as expandHome, s as homeRel } from "./config-Bu1_vbY8.mjs";
3
- import { u as workersLogDir } from "./paths-CHifubDh.mjs";
4
- import { a as clearCooldown, d as probeQuota, gn as LOCAL_MECHANISM_LINE, p as quotaSkipThreshold, pt as isLoopbackProvider } from "./routing-DmkheCRH.mjs";
5
- import { d as resolveCap, t as admitCap } from "./capacity-DEveQdFV.mjs";
1
+ import { L as writeWorkersSection, M as readWorkersSection, N as resolveCapability, O as providerCostTier, _ as maskKey, a as MODEL_CAPABILITIES, c as WorkersConfigError, d as defaultWorkersConfig, g as keysDir, h as isModelCapability, o as PROVIDER_TAGS, p as getProviderOrNative, rt as workersYamlPath, t as ANTHROPIC_NATIVE, y as nativeAnthropicProvider } from "./config-Bz8pAU5Q.mjs";
2
+ import { n as CONFIG_FILE, o as expandHome, s as homeRel } from "./config-SlZ-Z52i.mjs";
3
+ import { u as workersLogDir } from "./paths-CypxFTfn.mjs";
4
+ import { a as clearCooldown, d as probeQuota, hn as LOCAL_MECHANISM_LINE, p as quotaSkipThreshold, pt as isLoopbackProvider } from "./routing-aJKMIagQ.mjs";
5
+ import { h as resolveCap, t as admitCap } from "./capacity-B2PgKAg4.mjs";
6
6
  import { chmodSync, existsSync, mkdirSync, writeFileSync } from "node:fs";
7
7
 
8
8
  //#region src/workers/providers.ts
@@ -387,4 +387,4 @@ function describeCapabilities(workers) {
387
387
 
388
388
  //#endregion
389
389
  export { unsetCapabilityPreference as _, describeCapabilities as a, useProvider as b, modelPrefsText as c, setCapabilityPreference as d, setClass as f, setWorkersEnabled as g, setProviderModel as h, describeCap as i, removeProvider as l, setProviderEnabled as m, capText as n, describeModels as o, setProviderCap as p, classTargetText as r, describeProviders as s, addProvider as t, resolveProviderName as u, unsetClass as v, updateProvider as y };
390
- //# sourceMappingURL=providers-C9QC0TtO.mjs.map
390
+ //# sourceMappingURL=providers-BNV7CzC-.mjs.map
@@ -1,4 +1,4 @@
1
- import { _ as resolvePaiFile, g as paiHomePath, p as migratePaiDir } from "./runtime-paths-WsO9sJFc.mjs";
1
+ import { _ as paiHomePath, m as migratePaiDir, v as resolvePaiFile } from "./runtime-paths-twfV23YL.mjs";
2
2
  import { existsSync, mkdirSync, writeFileSync } from "node:fs";
3
3
  import { join } from "node:path";
4
4
  import { homedir } from "node:os";
@@ -85,4 +85,4 @@ function saveQueryResult(record) {
85
85
 
86
86
  //#endregion
87
87
  export { queriesDirPath as n, saveQueryResult as r, migrateQueriesDir as t };
88
- //# sourceMappingURL=query-feedback-DN52N9C5.mjs.map
88
+ //# sourceMappingURL=query-feedback-BWl2HRwN.mjs.map