@symerian/symi 3.4.25 → 3.4.27

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 (221) hide show
  1. package/dist/{agent-N_J2cDO6.js → agent-CiqPWDUd.js} +18 -18
  2. package/dist/{agent-CQlyTNu-.js → agent-DOOj3Gzb.js} +1 -1
  3. package/dist/{agent-scope-DOrZjOnW.js → agent-scope-Bnsyyeci.js} +18 -18
  4. package/dist/{agents-1xmRO246.js → agents-BBQfFoen.js} +2 -2
  5. package/dist/{agents.config-BJ9RIQlb.js → agents.config-Dm3oLpYK.js} +1 -1
  6. package/dist/{audit-DCwHws4M.js → audit-BSX7fMfc.js} +20 -20
  7. package/dist/{auth-choice-Ryx7oj6G.js → auth-choice-BYbTjWcs.js} +1 -1
  8. package/dist/{auth-choice-DwXdS4c2.js → auth-choice-rhBmet5i.js} +11 -11
  9. package/dist/{auth-profiles-Ce7R_25e.js → auth-profiles-D5nYBj_Z.js} +2 -2
  10. package/dist/{auth-token-DgRRSbEX.js → auth-token-CAV1oLQG.js} +3 -3
  11. package/dist/{banner-CxMQaUgh.js → banner-C1qG5Rm9.js} +1 -1
  12. package/dist/{browser-cli-C3hfJNZy.js → browser-cli-De8jg4-F.js} +9 -9
  13. package/dist/build-info.json +3 -3
  14. package/dist/bundled/boot-md/handler.js +4 -4
  15. package/dist/bundled/session-memory/handler.js +4 -4
  16. package/dist/{call-BouPakqe.js → call-CW8U1BPq.js} +9 -9
  17. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  18. package/dist/{channel-options-n9C_ovb1.js → channel-options-BsXUgCMq.js} +1 -1
  19. package/dist/{channel-options-WR29vfWK.js → channel-options-CJD7jwYg.js} +1 -1
  20. package/dist/{channels-cli-DbFGI3vF.js → channels-cli-Bao4VNbH.js} +57 -57
  21. package/dist/{channels-cli-Cs-Uq67O.js → channels-cli-Dxn5n9e4.js} +7 -7
  22. package/dist/{chrome-B7-rO4i9.js → chrome-BKUACyeO.js} +7 -7
  23. package/dist/{chrome-C_I81hbq.js → chrome-DPjznJQ-.js} +7 -7
  24. package/dist/{chrome-rzK8edU7.js → chrome-pFBxO63W.js} +2 -2
  25. package/dist/{cli-D55pCJ8Q.js → cli-CrhLSz3t.js} +4 -4
  26. package/dist/{cli-7ceDvtPc.js → cli-WP38F9C5.js} +45 -45
  27. package/dist/{client-BzUAFrla.js → client-T5P9umyG.js} +1 -1
  28. package/dist/{command-registry-DAy62yhH.js → command-registry-DoXcG7FZ.js} +10 -10
  29. package/dist/{commands-registry-VfAQOVZO.js → commands-registry-BjcGLk4v.js} +1 -1
  30. package/dist/{completion-cli-Bc1jojml.js → completion-cli-C0SXi7ya.js} +12 -12
  31. package/dist/{completion-cli-Bh-Y2NVp.js → completion-cli-DaWi3_ux.js} +2 -2
  32. package/dist/{config-D7SS4vdk.js → config-D-PYSlE8.js} +2 -2
  33. package/dist/{config-cli-DupKETmw.js → config-cli-DS67KtKf.js} +4 -4
  34. package/dist/{config-cli-BxRcn2oD.js → config-cli-DXKm0pS5.js} +1 -1
  35. package/dist/{config-guard-BGAQzX2K.js → config-guard-xLTTFANi.js} +6 -6
  36. package/dist/{config-validation-COcIIMNe.js → config-validation-C4wGq3rz.js} +1 -1
  37. package/dist/{configure-0XYm59w7.js → configure-B99YJJb0.js} +14 -14
  38. package/dist/{configure-BilM_Fgn.js → configure-CzO4_jJJ.js} +2 -2
  39. package/dist/{consolidate-DI20-Wtn.js → consolidate-BB4BOQIN.js} +6 -6
  40. package/dist/{control-service-Ry7Le68N.js → control-service-y53w3Jzy.js} +4 -4
  41. package/dist/{control-ui-assets-DuDhl0co.js → control-ui-assets-Dryy7mCE.js} +1 -1
  42. package/dist/{cron-cli-DHFgjr_X.js → cron-cli-BMblAFRK.js} +7 -7
  43. package/dist/{daemon-cli-fC2R9YZd.js → daemon-cli-BJGNf5qV.js} +11 -11
  44. package/dist/{daemon-runtime-tZgIbDPz.js → daemon-runtime-u4p9jsEF.js} +10 -10
  45. package/dist/{deliver-DB4v0Tyl.js → deliver-C79-Umbk.js} +2 -2
  46. package/dist/{deliver-oWGJwzFf.js → deliver-Cjyb6h4g.js} +4 -4
  47. package/dist/{deliver-DyO3QD8O.js → deliver-DTRkeYm3.js} +4 -4
  48. package/dist/{deps-BlmO-MfQ.js → deps-UA1UBhl7.js} +1 -1
  49. package/dist/{devices-cli-DtkKN4l0.js → devices-cli-wsTs-nti.js} +6 -6
  50. package/dist/{diagnostics-tVJR9V0_.js → diagnostics-oW0LBW-t.js} +5 -5
  51. package/dist/{directory-cli-Bfy_ejW2.js → directory-cli-D8As6t8Z.js} +3 -3
  52. package/dist/{dm-policy-shared-CBlUyDSX.js → dm-policy-shared-DRJrFKqJ.js} +1 -1
  53. package/dist/{dns-cli-DzKaV6NZ.js → dns-cli-BKOTBn3n.js} +3 -3
  54. package/dist/{docs-cli-a90_8wuN.js → docs-cli-D5j7Nmz2.js} +1 -1
  55. package/dist/{doctor-completion-BZJWX3Dr.js → doctor-completion-B1YCzbvi.js} +1 -1
  56. package/dist/{doctor-completion-B6OPl_GZ.js → doctor-completion-mev5PRjN.js} +2 -2
  57. package/dist/{doctor-config-flow-30ZEvATb.js → doctor-config-flow-Uv41seME.js} +9 -9
  58. package/dist/entry.js +1 -1
  59. package/dist/{exec-approvals-cli-C3gZAwV8.js → exec-approvals-cli-B4ry9s5r.js} +13 -13
  60. package/dist/extensionAPI.js +4 -4
  61. package/dist/{file-lock-BVUYnlQv.js → file-lock-2AecMjCa.js} +8 -8
  62. package/dist/{fs-safe-BdejYjW8.js → fs-safe-B0Is-oLk.js} +6 -6
  63. package/dist/{gateway-cli-CyhLb-zS.js → gateway-cli-B3JVj_dv.js} +98 -98
  64. package/dist/{gateway-cli-DQhYa6AL.js → gateway-cli-Chnp6icp.js} +10 -10
  65. package/dist/{gateway-rpc-DNq7EMhm.js → gateway-rpc-CLzM6ugo.js} +1 -1
  66. package/dist/{glass-ui-ws-SJVljtUx.js → glass-ui-ws--GjxFRyX.js} +67 -67
  67. package/dist/{glass-ui-ws-CLDbMDPk.js → glass-ui-ws-5o8dvEZO.js} +8 -8
  68. package/dist/{health-DZ0aipDZ.js → health-D2th0Ip6.js} +4 -4
  69. package/dist/{hooks-cli-BMRj13QU.js → hooks-cli-B4Nvp9AV.js} +59 -59
  70. package/dist/{hooks-cli-BVtdP5x7.js → hooks-cli-B_sZth4r.js} +5 -5
  71. package/dist/{image-ops-L70xVnpG.js → image-ops-BzCBIakN.js} +10 -10
  72. package/dist/index.js +52 -52
  73. package/dist/{inspect-CXsOujVt.js → inspect-U3g9owQ8.js} +4 -4
  74. package/dist/{install-safe-path-D5gi-nfu.js → install-safe-path-BwMMOh9z.js} +11 -11
  75. package/dist/{installs-DF_LhGX6.js → installs-vdi1BESF.js} +10 -10
  76. package/dist/{internal-DVCddhhN.js → internal-csqU78gW.js} +9 -9
  77. package/dist/{lifecycle-core-Bvdl2ShM.js → lifecycle-core-BfmNlC-k.js} +5 -5
  78. package/dist/llm-slug-generator.js +4 -4
  79. package/dist/{local-roots-CgDCgCuM.js → local-roots-2Jb79HZ8.js} +1 -1
  80. package/dist/{logs-cli-mdSEYBKS.js → logs-cli-COZzdFu6.js} +7 -7
  81. package/dist/{manager-BhIaahpm.js → manager-BfbQb9qM.js} +1 -1
  82. package/dist/{manager-DhHNnMyK.js → manager-Bryhc0Ip.js} +1 -1
  83. package/dist/{manager-BIt2_nlu.js → manager-C5FGNRjL.js} +1 -1
  84. package/dist/{manager-BLg6zbeA.js → manager-DyYRwHZt.js} +15 -15
  85. package/dist/{memory-BENbCb4f.js → memory-Cypj1lBQ.js} +2 -2
  86. package/dist/{memory-B4DsKRSc.js → memory-DgDnTEcB.js} +5 -5
  87. package/dist/{memory-cli-DotHyA76.js → memory-cli-CfJkD7mO.js} +12 -12
  88. package/dist/{memory-cli-BIjwqjBx.js → memory-cli-DB7UIev4.js} +2 -2
  89. package/dist/{model-DsMHOvMn.js → model-DbILYCfo.js} +1 -1
  90. package/dist/{model-auth-1EAQvYRv.js → model-auth-_C07_3Yr.js} +2 -2
  91. package/dist/{model-catalog-DQTmHZK7.js → model-catalog-CeqDEWGz.js} +3 -3
  92. package/dist/{model-picker-D4TY_tPx.js → model-picker-C_f6MALt.js} +5 -5
  93. package/dist/{model-selection-7wdmO-Iw.js → model-selection-CCTzD29o.js} +1 -1
  94. package/dist/{models-CmToZKBp.js → models-Bpqeds64.js} +2 -2
  95. package/dist/{models-cli-CZgkOUZB.js → models-cli-BUWfj5iJ.js} +55 -55
  96. package/dist/{models-cli-Di7iKhD4.js → models-cli-Bc47WFhD.js} +6 -6
  97. package/dist/{models-config-CRnTzdFs.js → models-config-Dp5-tBqs.js} +8 -8
  98. package/dist/{node-cli-BXv9SEDG.js → node-cli-BdjmGI32.js} +27 -27
  99. package/dist/{node-service-CrDVFWQl.js → node-service-DphkTjBV.js} +1 -1
  100. package/dist/{nodes-cli-Cim3ANNU.js → nodes-cli-BChJzcKY.js} +10 -10
  101. package/dist/{nodes-screen-De9ma6e1.js → nodes-screen-Cp5QP3ET.js} +4 -4
  102. package/dist/{npm-registry-spec-YMWTMnm_.js → npm-registry-spec-CqVgiBCf.js} +9 -9
  103. package/dist/{onboard-BXI02b3e.js → onboard-BbfERyKU.js} +1 -1
  104. package/dist/{onboard-CuLvp4Ds.js → onboard-C0nMMiiS.js} +15 -15
  105. package/dist/{onboard-channels-A6_QP7MR.js → onboard-channels-CMp9YXHC.js} +1 -1
  106. package/dist/{onboard-channels-E5NIYGJz.js → onboard-channels-CmsfVut5.js} +4 -4
  107. package/dist/{onboard-custom-BrtjWDlX.js → onboard-custom-BfHczxx0.js} +3 -3
  108. package/dist/{onboard-helpers---sZ9pdZ.js → onboard-helpers-OB_xKQze.js} +8 -8
  109. package/dist/{onboard-hooks-CtIRdncr.js → onboard-hooks-BA22KYCG.js} +1 -1
  110. package/dist/{onboard-remote-BUB3VPBP.js → onboard-remote-Dv2Uz8Ru.js} +1 -1
  111. package/dist/{onboard-skills-Cs3BZ4VJ.js → onboard-skills-BzxofI4T.js} +3 -3
  112. package/dist/{onboarding-BeYl1Egj.js → onboarding-DoYMfCjS.js} +3 -3
  113. package/dist/{onboarding-BWMBA6cP.js → onboarding-vgZFhH5N.js} +12 -12
  114. package/dist/{onboarding.finalize-CH8dBgA2.js → onboarding.finalize-BYHDzz2i.js} +31 -31
  115. package/dist/{onboarding.finalize-Bk-XW8b3.js → onboarding.finalize-Dj0xG8pk.js} +4 -4
  116. package/dist/{onboarding.gateway-config-arRNxrI9.js → onboarding.gateway-config-CDRLfIZM.js} +8 -8
  117. package/dist/{openai-model-default-XudD4Xik.js → openai-model-default-Dl21Ivjc.js} +2 -2
  118. package/dist/{pairing-cli-NDavTm1_.js → pairing-cli-C2_Zobhz.js} +5 -5
  119. package/dist/{pairing-store-BNhJOnWn.js → pairing-store-Be-ZQK87.js} +1 -1
  120. package/dist/{pairing-token-Dcy37-4s.js → pairing-token-B703A1U3.js} +7 -7
  121. package/dist/{paths-DObzwe08.js → paths-BWqg8NZT.js} +1 -1
  122. package/dist/{pi-auth-json-Db8XJVGL.js → pi-auth-json-D-vdh-nY.js} +6 -6
  123. package/dist/{pi-embedded-0I7WdtRz.js → pi-embedded-C7mJzGIf.js} +59 -13
  124. package/dist/{pi-embedded-helpers-B5cWV7_y.js → pi-embedded-helpers-y3vJmW6T.js} +6 -6
  125. package/dist/{pi-tools.policy-BdGVEMZn.js → pi-tools.policy-ji-L-Mpv.js} +3 -3
  126. package/dist/{plugin-auto-enable-B_lNp6yM.js → plugin-auto-enable-Ctbn2w4Q.js} +1 -1
  127. package/dist/{plugin-registry-DovNSdK0.js → plugin-registry-D2ZbwBU_.js} +3 -3
  128. package/dist/{plugin-registry-CAdIrLmG.js → plugin-registry-pKaJ4ltN.js} +1 -1
  129. package/dist/plugin-sdk/agents/pi-tools.types.d.ts +1 -2
  130. package/dist/plugin-sdk/agents/tools/availability-filter.d.ts +10 -0
  131. package/dist/plugin-sdk/agents/tools/common.d.ts +30 -0
  132. package/dist/{plugins-cli-ZG4PxNTC.js → plugins-cli-CoHiV4BX.js} +54 -54
  133. package/dist/{plugins-cli-JzKO-vmR.js → plugins-cli-uo8lcB7v.js} +5 -5
  134. package/dist/{ports-gxLM5ahL.js → ports-CB_Iu83U.js} +2 -2
  135. package/dist/{ports-C3ZSkRGq.js → ports-ukrEAkOP.js} +1 -1
  136. package/dist/{program-context-ByiEP1Lk.js → program-context-B1ZbQmLL.js} +38 -38
  137. package/dist/{program-BbfU4idg.js → program-rzYjZKRz.js} +10 -10
  138. package/dist/{prompt-select-styled-DvrG_zWV.js → prompt-select-styled-CX0v66wx.js} +38 -38
  139. package/dist/{prompt-select-styled-CWH2Mcrb.js → prompt-select-styled-F6P-rvFI.js} +4 -4
  140. package/dist/{provider-auth-helpers-CMQexdSl.js → provider-auth-helpers-Ck98bkHV.js} +1 -1
  141. package/dist/{provider-auth-helpers-2x7YxT5F.js → provider-auth-helpers-_jn9PngO.js} +6 -6
  142. package/dist/{push-apns-CtWwPxRj.js → push-apns-BtMtpzEm.js} +1 -1
  143. package/dist/{push-apns-eGdGU3r7.js → push-apns-CmeoBcIQ.js} +4 -4
  144. package/dist/{pw-ai-BOOB8qoi.js → pw-ai-BFS9ezWe.js} +1 -1
  145. package/dist/{pw-ai-tgngV3iZ.js → pw-ai-CQJsGI1b.js} +7 -7
  146. package/dist/{pw-ai-Cx-Ko_FL.js → pw-ai-D2pEVS5n.js} +1 -1
  147. package/dist/{qmd-manager-qV_04VKG.js → qmd-manager-DawTY2mB.js} +19 -19
  148. package/dist/{qr-cli-Vo1XL6B2.js → qr-cli-DKowtQcM.js} +3 -3
  149. package/dist/{register.agent-Dwkya1rv.js → register.agent-0hWBZXD7.js} +67 -67
  150. package/dist/{register.agent-DZE9NBNx.js → register.agent-_UqSBmt5.js} +9 -9
  151. package/dist/{register.configure-DCpbCHR0.js → register.configure-CgQ6sqtQ.js} +70 -70
  152. package/dist/{register.configure-CD8WkXo8.js → register.configure-KrTtvKSp.js} +8 -8
  153. package/dist/{register.maintenance-CxVeo_7j.js → register.maintenance-DDSfzFoo.js} +9 -9
  154. package/dist/{register.maintenance-Bqjj77CZ.js → register.maintenance-DjZeknO6.js} +67 -67
  155. package/dist/{register.message-tcJN7-E3.js → register.message-DSwwDcGi.js} +5 -5
  156. package/dist/{register.message-uhAmNxoO.js → register.message-DTZJ5OiL.js} +47 -47
  157. package/dist/{register.onboard-F6d_Wrv1.js → register.onboard-B8k5phG7.js} +25 -25
  158. package/dist/{register.onboard-Rm5t0yxX.js → register.onboard-BToIZTIS.js} +2 -2
  159. package/dist/{register.setup-CcHxpsUT.js → register.setup-1fexz2oW.js} +28 -28
  160. package/dist/{register.setup-C2datfZK.js → register.setup-BdUewOo1.js} +2 -2
  161. package/dist/{register.status-health-sessions-DIUDRMqm.js → register.status-health-sessions-0RyA2cXf.js} +41 -41
  162. package/dist/{register.status-health-sessions-DFVjS9Hy.js → register.status-health-sessions-eBaeXIvo.js} +3 -3
  163. package/dist/{register.subclis-D9uGnVGm.js → register.subclis-tX3BslaT.js} +9 -9
  164. package/dist/{replies-DzsYQ8Md.js → replies-D3cffD5N.js} +1 -1
  165. package/dist/{reply-prefix-BFNeXT65.js → reply-prefix-CtZtkTJK.js} +1 -1
  166. package/dist/{resolve-route-Zww0Y-HJ.js → resolve-route-B0i_o4Fo.js} +1 -1
  167. package/dist/{routes-C-rIjd8Z.js → routes-zpAUwtCG.js} +10 -10
  168. package/dist/{rpc-BkFkeuJ6.js → rpc-DhsDKVo-.js} +1 -1
  169. package/dist/{run-main-HkbyvIDy.js → run-main-DIl_Kl0B.js} +17 -17
  170. package/dist/{sandbox-Dx8IMw-E.js → sandbox-DQCaejcD.js} +18 -18
  171. package/dist/{sandbox-cli-BFkLKdlk.js → sandbox-cli-CbvyZs1z.js} +13 -13
  172. package/dist/{security-cli-BEpQ_rO1.js → security-cli-CbJxNYZx.js} +29 -29
  173. package/dist/{send-Cxu1tl56.js → send-QscYkkNh.js} +7 -7
  174. package/dist/{server-context--mmXXEkE.js → server-context-CXVq7gZ7.js} +5 -5
  175. package/dist/{server-methods-DJ8eiTu1.js → server-methods-CpFBGxWI.js} +6 -6
  176. package/dist/{server-methods-RtjWUhkv.js → server-methods-DPxjPGr0.js} +58 -58
  177. package/dist/{server-node-events-CT8fFtBQ.js → server-node-events-2SUW10k3.js} +6 -6
  178. package/dist/{server-node-events-DQ1iCUgY.js → server-node-events-B_BPbi7z.js} +48 -48
  179. package/dist/{service-CyEDtYLq.js → service-Cm4-5AH9.js} +15 -15
  180. package/dist/{session-dirs-CXErIzZq.js → session-dirs-BypCYFN3.js} +2 -2
  181. package/dist/{session-utils-BZnPW904.js → session-utils-lXjJoBxe.js} +14 -14
  182. package/dist/{sessions-optZRB57.js → sessions-aSo5jsmg.js} +10 -10
  183. package/dist/{shared-DJFwvlUi.js → shared-BI-gOZsD.js} +3 -3
  184. package/dist/{shared-Ctok0Bcs.js → shared-DDX_4ypC.js} +1 -1
  185. package/dist/{skill-commands-yPirQFOb.js → skill-commands-C9WuAfb2.js} +4 -4
  186. package/dist/{skill-scanner-BBwesm0w.js → skill-scanner-CFqMkfZW.js} +5 -5
  187. package/dist/{skills-BwDmcZdt.js → skills-CYcBtLGH.js} +4 -4
  188. package/dist/{skills-cli-gC5ETdly.js → skills-cli-BgyaAQoj.js} +7 -7
  189. package/dist/{skills-install-CLN_Ks5r.js → skills-install-MGsx6q5Z.js} +3 -3
  190. package/dist/{skills-remote-bz71Bstn.js → skills-remote-BcRQTDsZ.js} +3 -3
  191. package/dist/{skills-status-iltfI_bO.js → skills-status-CbSdFlvm.js} +1 -1
  192. package/dist/{sqlite-Cod7C5ba.js → sqlite-BpogPlQW.js} +5 -5
  193. package/dist/{status-Cpz64Vy_.js → status-BVYDUlnp.js} +1 -1
  194. package/dist/{status-CuMBp54T.js → status-C-r9JpJf.js} +23 -23
  195. package/dist/{status-EAjzyREy.js → status-DIJvpgEm.js} +3 -3
  196. package/dist/{status-CoqGtHXq.js → status-DbNNmkNB.js} +1 -1
  197. package/dist/{status.update-F4CbQCxF.js → status.update-EyslEZkn.js} +3 -3
  198. package/dist/{subagent-registry-Dkif1XYO.js → subagent-registry-DWemyjbN.js} +52 -6
  199. package/dist/{symi-root-BQ0IpoW2.js → symi-root-DeCVdZB4.js} +2 -2
  200. package/dist/{synthesis-D3fpp3Vu.js → synthesis-BdTiornP.js} +4 -4
  201. package/dist/{synthesis-CpsURf9J.js → synthesis-BxYzOZUA.js} +4 -4
  202. package/dist/{synthesis-CKKZrrYd.js → synthesis-C7RlvHEs.js} +45 -45
  203. package/dist/{synthesis-B0PXRiiM.js → synthesis-DQ7Y6OE0.js} +4 -4
  204. package/dist/{system-cli-DMKzffe3.js → system-cli-DgOvK_kU.js} +7 -7
  205. package/dist/{systemd-DRpQb_L1.js → systemd-B2nTr3Y2.js} +5 -5
  206. package/dist/{systemd-hints-DR4u43WA.js → systemd-hints-DtOWJT_2.js} +6 -6
  207. package/dist/{systemd-linger-BQQl5RXN.js → systemd-linger-CWi5l8Nt.js} +1 -1
  208. package/dist/{tui-CqrM_Fj2.js → tui-D7ms_iQ4.js} +7 -7
  209. package/dist/{tui-cli-BsqRmqTX.js → tui-cli-DNvAqIYN.js} +19 -19
  210. package/dist/{unified-runner-DZAjU6aB.js → unified-runner-BIUJm_Iv.js} +150 -104
  211. package/dist/{unified-runner-DkPztkL8.js → unified-runner-DPWNhQQA.js} +59 -13
  212. package/dist/{update-check-CxBGAP1E.js → update-check-CduiCxPo.js} +5 -5
  213. package/dist/{update-cli-Bgk30eoA.js → update-cli-BM-A3cIZ.js} +9 -9
  214. package/dist/{update-cli-t7W6vcQY.js → update-cli-GKXF83cS.js} +77 -77
  215. package/dist/{update-CWEjB8uS.js → update-pddgyV7i.js} +3 -3
  216. package/dist/{update-runner-C4Uy75eP.js → update-runner-BMYqz1dl.js} +15 -15
  217. package/dist/{webhooks-cli-Dp-pp0Sf.js → webhooks-cli-BPPmnDCj.js} +4 -4
  218. package/dist/{with-timeout-B5zAsivw.js → with-timeout-D1qzvPE0.js} +1 -1
  219. package/dist/{workspace-dirs-jKFQf7of.js → workspace-dirs-DCICLTHx.js} +1 -1
  220. package/dist/{wsl-DMA0sTvh.js → wsl-Sed675xh.js} +2 -2
  221. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,102 +1,102 @@
1
1
  #!/usr/bin/env node
2
- import { Mt as prepareAgentRun, Tn as composeTurnMiddleware, _ as withContextUsageWarning, b as buildAgentTurnParams, jt as applyTemplate, on as installUnhandledRejectionHandler, t as runAgentTurn, ut as resolveCommitHash, v as withContextOverflowRecovery, x as prepareReplyTurn } from "./unified-runner-DZAjU6aB.js";
2
+ import { Mt as prepareAgentRun, Tn as composeTurnMiddleware, _ as withContextUsageWarning, b as buildAgentTurnParams, jt as applyTemplate, on as installUnhandledRejectionHandler, t as runAgentTurn, ut as resolveCommitHash, v as withContextOverflowRecovery, x as prepareReplyTurn } from "./unified-runner-BIUJm_Iv.js";
3
3
  import { A as isRich, E as setVerbose, j as theme } from "./registry-Sbac4a4z.js";
4
4
  import "./paths-By0XjHBk.js";
5
5
  import { c as escapeRegExp, d as normalizeE164 } from "./utils-CTPsqyE_.js";
6
6
  import { f as defaultRuntime, r as enableConsoleCapture, u as visibleWidth } from "./subsystem-CHbO_DkH.js";
7
- import "./auth-profiles-Ce7R_25e.js";
7
+ import "./auth-profiles-D5nYBj_Z.js";
8
8
  import { n as resolveCliName, t as replaceCliName } from "./cli-name-CzMV-gJF.js";
9
9
  import { n as runExec, t as runCommandWithTimeout } from "./exec-DuYbft0z.js";
10
- import "./agent-scope-DOrZjOnW.js";
11
- import "./model-selection-7wdmO-Iw.js";
12
- import "./file-lock-BVUYnlQv.js";
10
+ import "./agent-scope-Bnsyyeci.js";
11
+ import "./model-selection-CCTzD29o.js";
12
+ import "./file-lock-2AecMjCa.js";
13
13
  import "./agent-paths-BbZSGrUA.js";
14
- import "./pi-embedded-helpers-B5cWV7_y.js";
15
- import { F as loadDotEnv, N as VERSION, i as loadConfig } from "./config-D7SS4vdk.js";
14
+ import "./pi-embedded-helpers-y3vJmW6T.js";
15
+ import { F as loadDotEnv, N as VERSION, i as loadConfig } from "./config-D-PYSlE8.js";
16
16
  import "./boolean-CbZoNRMn.js";
17
17
  import { r as normalizeEnv, t as isTruthyEnvValue } from "./env-BRnPI9sO.js";
18
18
  import "./shell-env-Dc3iU7HK.js";
19
19
  import "./manifest-registry-D1MLZEjS.js";
20
- import "./sandbox-Dx8IMw-E.js";
21
- import "./chrome-rzK8edU7.js";
20
+ import "./sandbox-DQCaejcD.js";
21
+ import "./chrome-pFBxO63W.js";
22
22
  import { l as ensureBinary, u as promptYesNo } from "./tailscale-DpKBMIvx.js";
23
23
  import "./auth-Bkx-QuRN.js";
24
- import "./server-context--mmXXEkE.js";
24
+ import "./server-context-CXVq7gZ7.js";
25
25
  import "./frontmatter-B_jqcova.js";
26
- import "./skills-BwDmcZdt.js";
27
- import "./routes-C-rIjd8Z.js";
26
+ import "./skills-CYcBtLGH.js";
27
+ import "./routes-zpAUwtCG.js";
28
28
  import "./redact-B3O-RBO1.js";
29
29
  import { r as formatUncaughtError } from "./errors-bI7Tdx75.js";
30
- import "./fs-safe-BdejYjW8.js";
31
- import "./paths-DObzwe08.js";
30
+ import "./fs-safe-B0Is-oLk.js";
31
+ import "./paths-BWqg8NZT.js";
32
32
  import "./ssrf-DOZRI5XH.js";
33
- import "./image-ops-L70xVnpG.js";
34
- import { i as handlePortError, n as describePortOwner, r as ensurePortAvailable, t as PortInUseError } from "./ports-gxLM5ahL.js";
33
+ import "./image-ops-BzCBIakN.js";
34
+ import { i as handlePortError, n as describePortOwner, r as ensurePortAvailable, t as PortInUseError } from "./ports-CB_Iu83U.js";
35
35
  import "./trash-_YhavPQI.js";
36
- import { A as deriveSessionKey, j as resolveSessionKey, l as saveSessionStore, o as loadSessionStore } from "./sessions-optZRB57.js";
36
+ import { A as deriveSessionKey, j as resolveSessionKey, l as saveSessionStore, o as loadSessionStore } from "./sessions-aSo5jsmg.js";
37
37
  import "./dock-hF45sewN.js";
38
38
  import "./message-channel-DgjXWzf-.js";
39
39
  import "./plugins-CF5skkHh.js";
40
- import "./send-Cxu1tl56.js";
40
+ import "./send-QscYkkNh.js";
41
41
  import { c as resolveStorePath } from "./paths-BtvQ7JvU.js";
42
42
  import "./thinking-COroyVA5.js";
43
43
  import "./tokens-0yh2UnJq.js";
44
- import "./deliver-DB4v0Tyl.js";
44
+ import "./deliver-C79-Umbk.js";
45
45
  import "./diagnostic-DbT9t0Sh.js";
46
46
  import "./diagnostic-session-state-DnkpMfCl.js";
47
- import "./model-auth-1EAQvYRv.js";
47
+ import "./model-auth-_C07_3Yr.js";
48
48
  import "./github-copilot-token-D-FdDfee.js";
49
- import "./models-config-CRnTzdFs.js";
50
- import "./pi-auth-json-Db8XJVGL.js";
49
+ import "./models-config-Dp5-tBqs.js";
50
+ import "./pi-auth-json-D-vdh-nY.js";
51
51
  import "./session-cost-usage-D6Ocwmq1.js";
52
- import "./session-utils-BZnPW904.js";
53
- import "./with-timeout-B5zAsivw.js";
54
- import "./reply-prefix-BFNeXT65.js";
55
- import "./memory-B4DsKRSc.js";
56
- import "./manager-BLg6zbeA.js";
57
- import "./sqlite-Cod7C5ba.js";
52
+ import "./session-utils-lXjJoBxe.js";
53
+ import "./with-timeout-D1qzvPE0.js";
54
+ import "./reply-prefix-CtZtkTJK.js";
55
+ import "./memory-DgDnTEcB.js";
56
+ import "./manager-DyYRwHZt.js";
57
+ import "./sqlite-BpogPlQW.js";
58
58
  import "./chunk-BxfKjCUx.js";
59
59
  import "./markdown-tables-CS1Tvb3z.js";
60
60
  import "./fetch-guard-JHxT9355.js";
61
- import "./local-roots-CgDCgCuM.js";
61
+ import "./local-roots-2Jb79HZ8.js";
62
62
  import "./commands-DUzLGgEZ.js";
63
- import "./commands-registry-VfAQOVZO.js";
64
- import "./client-BzUAFrla.js";
65
- import "./call-BouPakqe.js";
66
- import "./pairing-token-Dcy37-4s.js";
63
+ import "./commands-registry-BjcGLk4v.js";
64
+ import "./client-T5P9umyG.js";
65
+ import "./call-CW8U1BPq.js";
66
+ import "./pairing-token-B703A1U3.js";
67
67
  import "./tool-display-DFOL6UQ9.js";
68
- import "./skills-remote-bz71Bstn.js";
69
- import "./workspace-dirs-jKFQf7of.js";
68
+ import "./skills-remote-BcRQTDsZ.js";
69
+ import "./workspace-dirs-DCICLTHx.js";
70
70
  import "./pi-model-discovery-ClQLvlCW.js";
71
- import "./model-catalog-DQTmHZK7.js";
72
- import "./skill-commands-yPirQFOb.js";
73
- import "./pairing-store-BNhJOnWn.js";
71
+ import "./model-catalog-CeqDEWGz.js";
72
+ import "./skill-commands-C9WuAfb2.js";
73
+ import "./pairing-store-Be-ZQK87.js";
74
74
  import "./exec-approvals-DioSaIeH.js";
75
- import "./nodes-screen-De9ma6e1.js";
76
- import "./control-service-Ry7Le68N.js";
75
+ import "./nodes-screen-Cp5QP3ET.js";
76
+ import "./control-service-y53w3Jzy.js";
77
77
  import "./stagger-DUVGiPYV.js";
78
78
  import "./channel-selection-DF4bza2Q.js";
79
79
  import "./delivery-queue-RUd4NhRw.js";
80
80
  import "./bindings-CLS_owm_.js";
81
- import "./resolve-route-Zww0Y-HJ.js";
81
+ import "./resolve-route-B0i_o4Fo.js";
82
82
  import { t as formatDocsLink } from "./links-TQwptN6q.js";
83
83
  import "./cli-utils-tNdOjVQI.js";
84
84
  import "./help-format-CPT6NY3h.js";
85
85
  import "./progress-HNhsbm0E.js";
86
- import "./memory-cli-DotHyA76.js";
86
+ import "./memory-cli-CfJkD7mO.js";
87
87
  import "./logging-Czh4x_NQ.js";
88
- import "./replies-DzsYQ8Md.js";
89
- import "./pi-tools.policy-BdGVEMZn.js";
90
- import "./model-DsMHOvMn.js";
91
- import { t as createDefaultDeps } from "./deps-BlmO-MfQ.js";
88
+ import "./replies-D3cffD5N.js";
89
+ import "./pi-tools.policy-ji-L-Mpv.js";
90
+ import "./model-DbILYCfo.js";
91
+ import { t as createDefaultDeps } from "./deps-UA1UBhl7.js";
92
92
  import { t as ensureSymiCliOnPath } from "./path-env-DV7jtyFi.js";
93
93
  import { t as assertSupportedRuntime } from "./runtime-guard-DfRLODeV.js";
94
- import "./ports-C3ZSkRGq.js";
94
+ import "./ports-ukrEAkOP.js";
95
95
  import { a as hasFlag, i as getVerboseFlag, n as getCommandPath, o as hasHelpOrVersion, s as hasRootVersionAlias } from "./argv-BH07Qj4L.js";
96
- import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-ByiEP1Lk.js";
96
+ import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-B1ZbQmLL.js";
97
97
  import "./catalog-DsC3JTw1.js";
98
- import "./plugin-registry-DovNSdK0.js";
99
- import { n as resolveCliChannelOptions } from "./channel-options-n9C_ovb1.js";
98
+ import "./plugin-registry-D2ZbwBU_.js";
99
+ import { n as resolveCliChannelOptions } from "./channel-options-BsXUgCMq.js";
100
100
  import process$1 from "node:process";
101
101
  import { fileURLToPath } from "node:url";
102
102
  import path from "node:path";
@@ -556,13 +556,13 @@ function registerPreActionHooks(program, programVersion) {
556
556
  setVerbose(verbose);
557
557
  if (!verbose) process.env.NODE_NO_WARNINGS ??= "1";
558
558
  if (commandPath[0] === "doctor" || commandPath[0] === "completion") return;
559
- const { ensureConfigReady } = await import("./config-guard-BGAQzX2K.js");
559
+ const { ensureConfigReady } = await import("./config-guard-xLTTFANi.js");
560
560
  await ensureConfigReady({
561
561
  runtime: defaultRuntime,
562
562
  commandPath
563
563
  });
564
564
  if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
565
- const { ensurePluginRegistryLoaded } = await import("./plugin-registry-DovNSdK0.js").then((n) => n.n);
565
+ const { ensurePluginRegistryLoaded } = await import("./plugin-registry-D2ZbwBU_.js").then((n) => n.n);
566
566
  ensurePluginRegistryLoaded();
567
567
  }
568
568
  });
@@ -1,7 +1,7 @@
1
1
  import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, n as GATEWAY_SERVICE_KIND, r as GATEWAY_SERVICE_MARKER } from "./constants-ChnKXZKi.js";
2
- import { n as execSchtasks } from "./service-CyEDtYLq.js";
2
+ import { n as execSchtasks } from "./service-Cm4-5AH9.js";
3
3
  import path from "node:path";
4
- import fs from "node:fs/promises";
4
+ import fsPromises from "node:fs/promises";
5
5
 
6
6
  //#region src/daemon/inspect.ts
7
7
  const EXTRA_MARKERS = [
@@ -76,14 +76,14 @@ function isLegacyLabel(label) {
76
76
  }
77
77
  async function readDirEntries(dir) {
78
78
  try {
79
- return await fs.readdir(dir);
79
+ return await fsPromises.readdir(dir);
80
80
  } catch {
81
81
  return [];
82
82
  }
83
83
  }
84
84
  async function readUtf8File(filePath) {
85
85
  try {
86
- return await fs.readFile(filePath, "utf8");
86
+ return await fsPromises.readFile(filePath, "utf8");
87
87
  } catch {
88
88
  return null;
89
89
  }
@@ -2,7 +2,7 @@ import { n as resolveSafeBaseDir } from "./path-safety-C0C4YlKw.js";
2
2
  import { createHash } from "node:crypto";
3
3
  import path from "node:path";
4
4
  import { createWriteStream } from "node:fs";
5
- import fs$1 from "node:fs/promises";
5
+ import fsPromises from "node:fs/promises";
6
6
  import { pipeline } from "node:stream/promises";
7
7
  import { Readable, Transform } from "node:stream";
8
8
  import JSZip from "jszip";
@@ -69,9 +69,9 @@ function resolveArchiveKind(filePath) {
69
69
  async function resolvePackedRootDir(extractDir) {
70
70
  const direct = path.join(extractDir, "package");
71
71
  try {
72
- if ((await fs$1.stat(direct)).isDirectory()) return direct;
72
+ if ((await fsPromises.stat(direct)).isDirectory()) return direct;
73
73
  } catch {}
74
- const dirs = (await fs$1.readdir(extractDir, { withFileTypes: true })).filter((entry) => entry.isDirectory()).map((entry) => entry.name);
74
+ const dirs = (await fsPromises.readdir(extractDir, { withFileTypes: true })).filter((entry) => entry.isDirectory()).map((entry) => entry.name);
75
75
  if (dirs.length !== 1) throw new Error(`unexpected archive layout (dirs: ${dirs.join(", ")})`);
76
76
  const onlyDir = dirs[0];
77
77
  if (!onlyDir) throw new Error("unexpected archive layout (no package dir found)");
@@ -144,8 +144,8 @@ async function readZipEntryStream(entry) {
144
144
  }
145
145
  async function extractZip(params) {
146
146
  const limits = resolveExtractLimits(params.limits);
147
- if ((await fs$1.stat(params.archivePath)).size > limits.maxArchiveBytes) throw new Error(ERROR_ARCHIVE_SIZE_EXCEEDS_LIMIT);
148
- const buffer = await fs$1.readFile(params.archivePath);
147
+ if ((await fsPromises.stat(params.archivePath)).size > limits.maxArchiveBytes) throw new Error(ERROR_ARCHIVE_SIZE_EXCEEDS_LIMIT);
148
+ const buffer = await fsPromises.readFile(params.archivePath);
149
149
  const zip = await JSZip.loadAsync(buffer);
150
150
  const entries = Object.values(zip.files);
151
151
  const strip = Math.max(0, Math.floor(params.stripComponents ?? 0));
@@ -162,21 +162,21 @@ async function extractZip(params) {
162
162
  originalPath: entry.name
163
163
  });
164
164
  if (entry.dir) {
165
- await fs$1.mkdir(outPath, { recursive: true });
165
+ await fsPromises.mkdir(outPath, { recursive: true });
166
166
  continue;
167
167
  }
168
- await fs$1.mkdir(path.dirname(outPath), { recursive: true });
168
+ await fsPromises.mkdir(path.dirname(outPath), { recursive: true });
169
169
  budget.startEntry();
170
170
  const readable = await readZipEntryStream(entry);
171
171
  try {
172
172
  await pipeline(readable, createExtractBudgetTransform({ onChunkBytes: budget.addBytes }), createWriteStream(outPath));
173
173
  } catch (err) {
174
- await fs$1.unlink(outPath).catch(() => void 0);
174
+ await fsPromises.unlink(outPath).catch(() => void 0);
175
175
  throw err;
176
176
  }
177
177
  if (typeof entry.unixPermissions === "number") {
178
178
  const mode = entry.unixPermissions & 511;
179
- if (mode !== 0) await fs$1.chmod(outPath, mode).catch(() => void 0);
179
+ if (mode !== 0) await fsPromises.chmod(outPath, mode).catch(() => void 0);
180
180
  }
181
181
  }
182
182
  }
@@ -236,14 +236,14 @@ async function extractArchive(params) {
236
236
  }
237
237
  async function fileExists(filePath) {
238
238
  try {
239
- await fs$1.stat(filePath);
239
+ await fsPromises.stat(filePath);
240
240
  return true;
241
241
  } catch {
242
242
  return false;
243
243
  }
244
244
  }
245
245
  async function readJsonFile(filePath) {
246
- const raw = await fs$1.readFile(filePath, "utf-8");
246
+ const raw = await fsPromises.readFile(filePath, "utf-8");
247
247
  return JSON.parse(raw);
248
248
  }
249
249
 
@@ -1,10 +1,10 @@
1
1
  import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-CTPsqyE_.js";
2
2
  import { i as isPathInside, n as MANIFEST_KEY, r as extensionUsesSkippedScannerPath } from "./legacy-names-BQ9vKISY.js";
3
- import { a as extractArchive, c as resolveArchiveKind, i as unscopedPackageName, l as resolvePackedRootDir, n as safeDirName, o as fileExists, s as readJsonFile, t as resolveSafeInstallDir } from "./install-safe-path-D5gi-nfu.js";
4
- import { a as installPackageDir, i as withTempDir, n as installFromNpmSpecArchive, r as resolveArchiveSourcePath, t as validateRegistryNpmSpec } from "./npm-registry-spec-YMWTMnm_.js";
5
- import { t as scanDirectoryWithSummary } from "./skill-scanner-BBwesm0w.js";
3
+ import { a as extractArchive, c as resolveArchiveKind, i as unscopedPackageName, l as resolvePackedRootDir, n as safeDirName, o as fileExists, s as readJsonFile, t as resolveSafeInstallDir } from "./install-safe-path-BwMMOh9z.js";
4
+ import { a as installPackageDir, i as withTempDir, n as installFromNpmSpecArchive, r as resolveArchiveSourcePath, t as validateRegistryNpmSpec } from "./npm-registry-spec-CqVgiBCf.js";
5
+ import { t as scanDirectoryWithSummary } from "./skill-scanner-CFqMkfZW.js";
6
6
  import path from "node:path";
7
- import fs from "node:fs/promises";
7
+ import fsPromises from "node:fs/promises";
8
8
 
9
9
  //#region src/plugins/install.ts
10
10
  const defaultLogger = {};
@@ -116,7 +116,7 @@ async function installPluginFromPackageDir(params) {
116
116
  logger.warn?.(`Plugin "${pluginId}" code safety scan failed (${String(err)}). Installation continues; run "symi security audit --deep" after install.`);
117
117
  }
118
118
  const extensionsDir = params.extensionsDir ? resolveUserPath(params.extensionsDir) : path.join(CONFIG_DIR, "extensions");
119
- await fs.mkdir(extensionsDir, { recursive: true });
119
+ await fsPromises.mkdir(extensionsDir, { recursive: true });
120
120
  const targetDirResult = resolveSafeInstallDir({
121
121
  baseDir: extensionsDir,
122
122
  id: pluginId,
@@ -180,7 +180,7 @@ async function installPluginFromArchive(params) {
180
180
  const archivePath = archivePathResult.path;
181
181
  return await withTempDir("symi-plugin-", async (tmpDir) => {
182
182
  const extractDir = path.join(tmpDir, "extract");
183
- await fs.mkdir(extractDir, { recursive: true });
183
+ await fsPromises.mkdir(extractDir, { recursive: true });
184
184
  logger.info?.(`Extracting ${archivePath}…`);
185
185
  try {
186
186
  await extractArchive({
@@ -221,7 +221,7 @@ async function installPluginFromDir(params) {
221
221
  ok: false,
222
222
  error: `directory not found: ${dirPath}`
223
223
  };
224
- if (!(await fs.stat(dirPath)).isDirectory()) return {
224
+ if (!(await fsPromises.stat(dirPath)).isDirectory()) return {
225
225
  ok: false,
226
226
  error: `not a directory: ${dirPath}`
227
227
  };
@@ -243,7 +243,7 @@ async function installPluginFromFile(params) {
243
243
  error: `file not found: ${filePath}`
244
244
  };
245
245
  const extensionsDir = params.extensionsDir ? resolveUserPath(params.extensionsDir) : path.join(CONFIG_DIR, "extensions");
246
- await fs.mkdir(extensionsDir, { recursive: true });
246
+ await fsPromises.mkdir(extensionsDir, { recursive: true });
247
247
  const pluginId = path.basename(filePath, path.extname(filePath)) || "plugin";
248
248
  const pluginIdError = validatePluginId(pluginId);
249
249
  if (pluginIdError) return {
@@ -257,7 +257,7 @@ async function installPluginFromFile(params) {
257
257
  };
258
258
  if (dryRun) return buildFileInstallResult(pluginId, targetFile);
259
259
  logger.info?.(`Installing to ${targetFile}…`);
260
- await fs.copyFile(filePath, targetFile);
260
+ await fsPromises.copyFile(filePath, targetFile);
261
261
  return buildFileInstallResult(pluginId, targetFile);
262
262
  }
263
263
  async function installPluginFromNpmSpec(params) {
@@ -303,7 +303,7 @@ async function installPluginFromPath(params) {
303
303
  ok: false,
304
304
  error: `path not found: ${resolved}`
305
305
  };
306
- if ((await fs.stat(resolved)).isDirectory()) return await installPluginFromDir({
306
+ if ((await fsPromises.stat(resolved)).isDirectory()) return await installPluginFromDir({
307
307
  dirPath: resolved,
308
308
  extensionsDir: params.extensionsDir,
309
309
  timeoutMs: params.timeoutMs,
@@ -1,7 +1,7 @@
1
1
  import crypto from "node:crypto";
2
2
  import path from "node:path";
3
3
  import fs from "node:fs";
4
- import fs$1 from "node:fs/promises";
4
+ import fsPromises from "node:fs/promises";
5
5
 
6
6
  //#region src/memory/fs-utils.ts
7
7
  function isFileMissingError(err) {
@@ -10,7 +10,7 @@ function isFileMissingError(err) {
10
10
  async function statRegularFile(absPath) {
11
11
  let stat;
12
12
  try {
13
- stat = await fs$1.lstat(absPath);
13
+ stat = await fsPromises.lstat(absPath);
14
14
  } catch (err) {
15
15
  if (isFileMissingError(err)) return { missing: true };
16
16
  throw err;
@@ -86,7 +86,7 @@ function isMemoryPath(relPath) {
86
86
  return normalized.startsWith("memory/");
87
87
  }
88
88
  async function walkDir(dir, files) {
89
- const entries = await fs$1.readdir(dir, { withFileTypes: true });
89
+ const entries = await fsPromises.readdir(dir, { withFileTypes: true });
90
90
  for (const entry of entries) {
91
91
  const full = path.join(dir, entry.name);
92
92
  if (entry.isSymbolicLink()) continue;
@@ -106,7 +106,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
106
106
  const memoryDir = path.join(workspaceDir, "memory");
107
107
  const addMarkdownFile = async (absPath) => {
108
108
  try {
109
- const stat = await fs$1.lstat(absPath);
109
+ const stat = await fsPromises.lstat(absPath);
110
110
  if (stat.isSymbolicLink() || !stat.isFile()) return;
111
111
  if (!absPath.endsWith(".md")) return;
112
112
  result.push(absPath);
@@ -115,12 +115,12 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
115
115
  await addMarkdownFile(memoryFile);
116
116
  await addMarkdownFile(altMemoryFile);
117
117
  try {
118
- const dirStat = await fs$1.lstat(memoryDir);
118
+ const dirStat = await fsPromises.lstat(memoryDir);
119
119
  if (!dirStat.isSymbolicLink() && dirStat.isDirectory()) await walkDir(memoryDir, result);
120
120
  } catch {}
121
121
  const normalizedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
122
122
  if (normalizedExtraPaths.length > 0) for (const inputPath of normalizedExtraPaths) try {
123
- const stat = await fs$1.lstat(inputPath);
123
+ const stat = await fsPromises.lstat(inputPath);
124
124
  if (stat.isSymbolicLink()) continue;
125
125
  if (stat.isDirectory()) {
126
126
  await walkDir(inputPath, result);
@@ -134,7 +134,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
134
134
  for (const entry of result) {
135
135
  let key = entry;
136
136
  try {
137
- key = await fs$1.realpath(entry);
137
+ key = await fsPromises.realpath(entry);
138
138
  } catch {}
139
139
  if (seen.has(key)) continue;
140
140
  seen.add(key);
@@ -148,14 +148,14 @@ function hashText(value) {
148
148
  async function buildFileEntry(absPath, workspaceDir) {
149
149
  let stat;
150
150
  try {
151
- stat = await fs$1.stat(absPath);
151
+ stat = await fsPromises.stat(absPath);
152
152
  } catch (err) {
153
153
  if (isFileMissingError(err)) return null;
154
154
  throw err;
155
155
  }
156
156
  let content;
157
157
  try {
158
- content = await fs$1.readFile(absPath, "utf-8");
158
+ content = await fsPromises.readFile(absPath, "utf-8");
159
159
  } catch (err) {
160
160
  if (isFileMissingError(err)) return null;
161
161
  throw err;
@@ -2,13 +2,13 @@ import { A as isRich, P as getResolvedLoggerSettings, j as theme, k as colorize
2
2
  import { d as resolveIsNixMode } from "./paths-By0XjHBk.js";
3
3
  import { f as defaultRuntime } from "./subsystem-CHbO_DkH.js";
4
4
  import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
5
- import { i as loadConfig } from "./config-D7SS4vdk.js";
5
+ import { i as loadConfig } from "./config-D-PYSlE8.js";
6
6
  import { c as pickPrimaryLanIPv4 } from "./ws-C7Ktmt-R.js";
7
7
  import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName } from "./constants-ChnKXZKi.js";
8
- import { t as isWSL } from "./wsl-DMA0sTvh.js";
9
- import { r as isSystemdUserServiceAvailable } from "./systemd-DRpQb_L1.js";
10
- import { s as resolveGatewayLogPaths } from "./service-CyEDtYLq.js";
11
- import { a as checkTokenDrift, n as renderSystemdUnavailableHints } from "./systemd-hints-DR4u43WA.js";
8
+ import { t as isWSL } from "./wsl-Sed675xh.js";
9
+ import { r as isSystemdUserServiceAvailable } from "./systemd-B2nTr3Y2.js";
10
+ import { s as resolveGatewayLogPaths } from "./service-Cm4-5AH9.js";
11
+ import { a as checkTokenDrift, n as renderSystemdUnavailableHints } from "./systemd-hints-DtOWJT_2.js";
12
12
  import { t as parsePort } from "./parse-port-Bi7Gqqv0.js";
13
13
  import { Writable } from "node:stream";
14
14
 
@@ -3,15 +3,15 @@ import "./registry-C-JddWwo.js";
3
3
  import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-B1Ina6jV.js";
4
4
  import "./subsystem-DzRUKS9f.js";
5
5
  import "./workspace-CsaDUuDn.js";
6
- import { t as runAgentTurn } from "./unified-runner-DkPztkL8.js";
6
+ import { t as runAgentTurn } from "./unified-runner-DPWNhQQA.js";
7
7
  import "./auth-profiles-BSw0aQND.js";
8
8
  import "./model-selection-BqshlIZc.js";
9
- import "./deliver-DyO3QD8O.js";
9
+ import "./deliver-DTRkeYm3.js";
10
10
  import "./ssrf-oI58TMOb.js";
11
11
  import "./boolean-BsqeuxE6.js";
12
12
  import "./shell-env-B1lDWz4t.js";
13
13
  import "./manifest-registry-BGJu2aC-.js";
14
- import "./chrome-C_I81hbq.js";
14
+ import "./chrome-DPjznJQ-.js";
15
15
  import "./frontmatter-CJEX1BrH.js";
16
16
  import "./skills-Dm4gX4Tl.js";
17
17
  import "./redact-CSGZUFxa.js";
@@ -25,7 +25,7 @@ import "./paths-BsT3BvfH.js";
25
25
  import "./tokens-D_vCJSzF.js";
26
26
  import "./diagnostic-BALvP9wI.js";
27
27
  import "./diagnostic-session-state-BDfanaOY.js";
28
- import "./manager-BIt2_nlu.js";
28
+ import "./manager-C5FGNRjL.js";
29
29
  import "./github-copilot-token-uhEBNQfj.js";
30
30
  import "./pi-auth-json-DCGR3yfh.js";
31
31
  import "./reply-prefix-D0NzzC4I.js";
@@ -1,6 +1,6 @@
1
1
  import { B as resolvePreferredSymiTmpDir } from "./registry-Sbac4a4z.js";
2
2
  import { _ as resolveStateDir } from "./paths-By0XjHBk.js";
3
- import { c as resolveAgentWorkspaceDir } from "./agent-scope-DOrZjOnW.js";
3
+ import { c as resolveAgentWorkspaceDir } from "./agent-scope-Bnsyyeci.js";
4
4
  import path from "node:path";
5
5
 
6
6
  //#region src/media/local-roots.ts
@@ -4,20 +4,20 @@ import "./utils-CTPsqyE_.js";
4
4
  import { c as formatLocalIsoWithOffset, m as clearActiveProgressLine } from "./subsystem-CHbO_DkH.js";
5
5
  import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
6
6
  import "./exec-DuYbft0z.js";
7
- import "./agent-scope-DOrZjOnW.js";
8
- import "./model-selection-7wdmO-Iw.js";
9
- import "./config-D7SS4vdk.js";
7
+ import "./agent-scope-Bnsyyeci.js";
8
+ import "./model-selection-CCTzD29o.js";
9
+ import "./config-D-PYSlE8.js";
10
10
  import "./boolean-CbZoNRMn.js";
11
11
  import "./env-BRnPI9sO.js";
12
12
  import "./shell-env-Dc3iU7HK.js";
13
13
  import "./manifest-registry-D1MLZEjS.js";
14
14
  import "./message-channel-DgjXWzf-.js";
15
- import "./client-BzUAFrla.js";
16
- import { t as buildGatewayConnectionDetails } from "./call-BouPakqe.js";
17
- import "./pairing-token-Dcy37-4s.js";
15
+ import "./client-T5P9umyG.js";
16
+ import { t as buildGatewayConnectionDetails } from "./call-CW8U1BPq.js";
17
+ import "./pairing-token-B703A1U3.js";
18
18
  import { t as formatDocsLink } from "./links-TQwptN6q.js";
19
19
  import "./progress-HNhsbm0E.js";
20
- import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DNq7EMhm.js";
20
+ import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-CLzM6ugo.js";
21
21
  import { t as parseLogLine } from "./parse-log-line-BX_3CQNJ.js";
22
22
  import { setTimeout } from "node:timers/promises";
23
23
 
@@ -4219,7 +4219,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
4219
4219
  * to bypass the min-interval guard (CLI use).
4220
4220
  */
4221
4221
  async runL3CycleIfDue(params) {
4222
- const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-ONc01jKh.js"), import("./synthesis-CpsURf9J.js")]);
4222
+ const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-ONc01jKh.js"), import("./synthesis-BxYzOZUA.js")]);
4223
4223
  const synthesize = createSynthesizer({
4224
4224
  cfg: this.cfg,
4225
4225
  agentId: this.agentId,
@@ -4449,7 +4449,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
4449
4449
  * to bypass the min-interval guard (CLI use).
4450
4450
  */
4451
4451
  async runL3CycleIfDue(params) {
4452
- const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-CwJCvaOH.js"), import("./synthesis-D3fpp3Vu.js")]);
4452
+ const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-CwJCvaOH.js"), import("./synthesis-BdTiornP.js")]);
4453
4453
  const synthesize = createSynthesizer({
4454
4454
  cfg: this.cfg,
4455
4455
  agentId: this.agentId,
@@ -4449,7 +4449,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
4449
4449
  * to bypass the min-interval guard (CLI use).
4450
4450
  */
4451
4451
  async runL3CycleIfDue(params) {
4452
- const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-Dyh_aESo.js"), import("./synthesis-B0PXRiiM.js")]);
4452
+ const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-Dyh_aESo.js"), import("./synthesis-DQ7Y6OE0.js")]);
4453
4453
  const synthesize = createSynthesizer({
4454
4454
  cfg: this.cfg,
4455
4455
  agentId: this.agentId,
@@ -2,20 +2,20 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { _ as resolveStateDir } from "./paths-By0XjHBk.js";
3
3
  import { h as resolveUserPath, i as clampNumber$1, r as clampInt, x as truncateUtf16Safe, y as sleep } from "./utils-CTPsqyE_.js";
4
4
  import { t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
5
- import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, r as resolveAgentConfig } from "./agent-scope-DOrZjOnW.js";
6
- import { u as normalizeProviderId } from "./model-selection-7wdmO-Iw.js";
5
+ import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, r as resolveAgentConfig } from "./agent-scope-Bnsyyeci.js";
6
+ import { u as normalizeProviderId } from "./model-selection-CCTzD29o.js";
7
7
  import { t as isTruthyEnvValue } from "./env-BRnPI9sO.js";
8
8
  import { n as formatErrorMessage } from "./errors-bI7Tdx75.js";
9
9
  import { s as resolveSessionTranscriptsDirForAgent } from "./paths-BtvQ7JvU.js";
10
10
  import { n as onSessionTranscriptUpdate } from "./transcript-events-x1D4Vniz.js";
11
- import { i as resolveApiKeyForProvider, r as requireApiKey } from "./model-auth-1EAQvYRv.js";
12
- import { a as hashText, c as normalizeExtraMemoryPaths, d as runWithConcurrency, i as ensureDir, l as parseEmbedding, m as statRegularFile, n as chunkMarkdown, o as isMemoryPath, p as isFileMissingError, r as cosineSimilarity, s as listMemoryFiles, t as buildFileEntry, u as remapChunkLines } from "./internal-DVCddhhN.js";
13
- import { i as sessionPathForFile, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-Cod7C5ba.js";
11
+ import { i as resolveApiKeyForProvider, r as requireApiKey } from "./model-auth-_C07_3Yr.js";
12
+ import { a as hashText, c as normalizeExtraMemoryPaths, d as runWithConcurrency, i as ensureDir, l as parseEmbedding, m as statRegularFile, n as chunkMarkdown, o as isMemoryPath, p as isFileMissingError, r as cosineSimilarity, s as listMemoryFiles, t as buildFileEntry, u as remapChunkLines } from "./internal-csqU78gW.js";
13
+ import { i as sessionPathForFile, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-BpogPlQW.js";
14
14
  import { randomUUID } from "node:crypto";
15
15
  import path from "node:path";
16
16
  import fs from "node:fs";
17
17
  import os from "node:os";
18
- import fs$1 from "node:fs/promises";
18
+ import fsPromises from "node:fs/promises";
19
19
  import { createInterface } from "node:readline";
20
20
  import { Readable } from "node:stream";
21
21
  import chokidar from "chokidar";
@@ -1115,7 +1115,7 @@ async function extractTimestamp(params) {
1115
1115
  if (!params.workspaceDir) return null;
1116
1116
  const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
1117
1117
  try {
1118
- const stat = await fs$1.stat(absolutePath);
1118
+ const stat = await fsPromises.stat(absolutePath);
1119
1119
  if (!Number.isFinite(stat.mtimeMs)) return null;
1120
1120
  return new Date(stat.mtimeMs);
1121
1121
  } catch {
@@ -2300,7 +2300,7 @@ var MemoryManagerSyncOps = class {
2300
2300
  const source = `${sourceBase}${suffix}`;
2301
2301
  const target = `${targetBase}${suffix}`;
2302
2302
  try {
2303
- await fs$1.rename(source, target);
2303
+ await fsPromises.rename(source, target);
2304
2304
  } catch (err) {
2305
2305
  if (err.code !== "ENOENT") throw err;
2306
2306
  }
@@ -2311,7 +2311,7 @@ var MemoryManagerSyncOps = class {
2311
2311
  "",
2312
2312
  "-wal",
2313
2313
  "-shm"
2314
- ].map((suffix) => fs$1.rm(`${basePath}${suffix}`, { force: true })));
2314
+ ].map((suffix) => fsPromises.rm(`${basePath}${suffix}`, { force: true })));
2315
2315
  }
2316
2316
  ensureSchema() {
2317
2317
  const result = ensureMemoryIndexSchema({
@@ -2406,7 +2406,7 @@ var MemoryManagerSyncOps = class {
2406
2406
  if (!thresholds) return null;
2407
2407
  let stat;
2408
2408
  try {
2409
- stat = await fs$1.stat(sessionFile);
2409
+ stat = await fsPromises.stat(sessionFile);
2410
2410
  } catch {
2411
2411
  return null;
2412
2412
  }
@@ -2448,7 +2448,7 @@ var MemoryManagerSyncOps = class {
2448
2448
  if (end <= start) return 0;
2449
2449
  let handle;
2450
2450
  try {
2451
- handle = await fs$1.open(absPath, "r");
2451
+ handle = await fsPromises.open(absPath, "r");
2452
2452
  } catch (err) {
2453
2453
  if (isFileMissingError(err)) return 0;
2454
2454
  throw err;
@@ -3380,7 +3380,7 @@ var MemoryManagerEmbeddingOps = class extends MemoryManagerSyncOps {
3380
3380
  });
3381
3381
  return;
3382
3382
  }
3383
- const content = options.content ?? await fs$1.readFile(entry.absPath, "utf-8");
3383
+ const content = options.content ?? await fsPromises.readFile(entry.absPath, "utf-8");
3384
3384
  const chunks = enforceEmbeddingMaxInputTokens(this.provider, chunkMarkdown(content, this.settings.chunking).filter((chunk) => chunk.text.trim().length > 0));
3385
3385
  if (options.source === "sessions" && "lineMap" in entry) remapChunkLines(chunks, entry.lineMap);
3386
3386
  const embeddings = this.batch.enabled ? await this.embedChunksWithBatch(chunks, entry, options.source) : await this.embedChunksInBatches(chunks);
@@ -3998,7 +3998,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
3998
3998
  if (!allowedWorkspace && this.settings.extraPaths.length > 0) {
3999
3999
  const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
4000
4000
  for (const additionalPath of additionalPaths) try {
4001
- const stat = await fs$1.lstat(additionalPath);
4001
+ const stat = await fsPromises.lstat(additionalPath);
4002
4002
  if (stat.isSymbolicLink()) continue;
4003
4003
  if (stat.isDirectory()) {
4004
4004
  if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
@@ -4023,7 +4023,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
4023
4023
  };
4024
4024
  let content;
4025
4025
  try {
4026
- content = await fs$1.readFile(absPath, "utf-8");
4026
+ content = await fsPromises.readFile(absPath, "utf-8");
4027
4027
  } catch (err) {
4028
4028
  if (isFileMissingError(err)) return {
4029
4029
  text: "",
@@ -4222,7 +4222,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
4222
4222
  * to bypass the min-interval guard (CLI use).
4223
4223
  */
4224
4224
  async runL3CycleIfDue(params) {
4225
- const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-DI20-Wtn.js"), import("./synthesis-CKKZrrYd.js")]);
4225
+ const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-BB4BOQIN.js"), import("./synthesis-C7RlvHEs.js")]);
4226
4226
  const synthesize = createSynthesizer({
4227
4227
  cfg: this.cfg,
4228
4228
  agentId: this.agentId,