@fased/fased 0.1.31 → 0.1.33

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 (268) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/{agents-B7oe96FC.js → agents-C26vAXCr.js} +8 -8
  3. package/dist/{attachment-normalize-Ch3m3gW7.js → attachment-normalize-By5UjCbB.js} +1 -1
  4. package/dist/{attachment-normalize-B-UXOsKN.js → attachment-normalize-D2TMnOzD.js} +1 -1
  5. package/dist/{audio-preflight-DWAgAnFF.js → audio-preflight-C5EhdSyt.js} +1 -1
  6. package/dist/{audio-preflight-DWXq2U0B.js → audio-preflight-CjuDpb72.js} +2 -2
  7. package/dist/{audio-preflight-UFD3iTyT.js → audio-preflight-De078bO4.js} +2 -2
  8. package/dist/{audio-preflight-BLnXSrbe.js → audio-preflight-G33L73lX.js} +1 -1
  9. package/dist/{audio-preflight-JeAEvjmi.js → audio-preflight-Hx9xgvHF.js} +2 -2
  10. package/dist/{audit-uEYwrVh1.js → audit-CJqQRSrp.js} +1 -1
  11. package/dist/{audit-C11zzpna.js → audit-DX_sZJDx.js} +1 -1
  12. package/dist/{auth-miYdUxcO.js → auth-DtrM_3VS.js} +5 -5
  13. package/dist/{auth-choice-fxfJkTWE.js → auth-choice-CTm-DnCA.js} +1 -1
  14. package/dist/{auth-choice-CvM0GCEt.js → auth-choice-C_Y443QL.js} +1 -1
  15. package/dist/{auth-choice-prompt-DgZ_-DFR.js → auth-choice-prompt-C7ILc8y3.js} +1 -1
  16. package/dist/{auth-choice-prompt-CZWGTWFF.js → auth-choice-prompt-CoDikabd.js} +1 -1
  17. package/dist/build-info.json +3 -3
  18. package/dist/bundled/boot-md/handler.js +2 -2
  19. package/dist/bundled/session-memory/handler.js +2 -2
  20. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  21. package/dist/{channel-web-DRFSKnVi.js → channel-web-CP-yeouy.js} +1 -1
  22. package/dist/{channel-web-CEpBiX-Q.js → channel-web-CrUSULrL.js} +1 -1
  23. package/dist/{channels-Bzj2_yUj.js → channels-BbdDi8-o.js} +6 -6
  24. package/dist/{channels-CY1sX0bz.js → channels-ZqlbiKKI.js} +6 -6
  25. package/dist/{channels-cli-CRfpkLwo.js → channels-cli-BkKgGehR.js} +5 -5
  26. package/dist/{channels-cli-BruuPCkp.js → channels-cli-pOj5zWik.js} +5 -5
  27. package/dist/cli/daemon-cli.js +1 -1
  28. package/dist/{cli-BXBAZCT8.js → cli-C4rbNcYX.js} +2 -2
  29. package/dist/{cli-BgodEMPl.js → cli-DlPFBebA.js} +2 -2
  30. package/dist/{command-registry-CU64eZmw.js → command-registry-COCtcx4f.js} +9 -9
  31. package/dist/{completion-cli-CWke3Y2I.js → completion-cli-CNmWROha.js} +1 -1
  32. package/dist/{completion-cli-DNlt3cBf.js → completion-cli-SQDftiOu.js} +2 -2
  33. package/dist/{config-cli-DTLNqY4I.js → config-cli-D7O_nD9D.js} +1 -1
  34. package/dist/{config-cli-BugbkifH.js → config-cli-G2J84G5Y.js} +1 -1
  35. package/dist/{configure-XZxBL9XF.js → configure-CJPLFNGI.js} +14 -14
  36. package/dist/{configure-BYcI4db_.js → configure-CQKsOsv6.js} +14 -14
  37. package/dist/control-ui/assets/app-DXYMrRJ9.js.map +1 -1
  38. package/dist/{cron-cli-BzceMqJm.js → cron-cli-CFRT97Cr.js} +6 -6
  39. package/dist/{cron-cli-BAT3nsi8.js → cron-cli-D4Z3XhFI.js} +6 -6
  40. package/dist/{daemon-cli-JvoxFHRy.js → daemon-cli-DWYMC_o8.js} +18 -7
  41. package/dist/{daemon-cli-5_eqnI7H.js → daemon-cli-DbV85YX7.js} +18 -7
  42. package/dist/daemon-cli.js +18 -6
  43. package/dist/{daemon-install-helpers-BdhhuvlY.js → daemon-install-helpers-7JdVgy61.js} +1 -1
  44. package/dist/{daemon-install-helpers-BPdikKF-.js → daemon-install-helpers-CGHF2E1W.js} +1 -1
  45. package/dist/{deps-CkOczIqw.js → deps-Dhq6foJ1.js} +1 -1
  46. package/dist/{deps-BWahcXVa.js → deps-EzmaJmtm.js} +1 -1
  47. package/dist/entry.js +1 -1
  48. package/dist/extensionAPI.js +1 -1
  49. package/dist/{gateway-cli-DZwQlnd-.js → gateway-cli-DN5FKfju.js} +33 -33
  50. package/dist/{gateway-cli-D0rc9BQT.js → gateway-cli-DQRl5hiJ.js} +33 -33
  51. package/dist/{health-CtFbngOI.js → health-CJonrbmU.js} +2 -2
  52. package/dist/{health-Dx0abJui.js → health-D9tiH6sm.js} +2 -2
  53. package/dist/{heartbeat-runner-CnzA9MCj.js → heartbeat-runner-BiUX3q--.js} +1 -1
  54. package/dist/{heartbeat-runner-DBcCEPYX.js → heartbeat-runner-DE_qh7FJ.js} +1 -1
  55. package/dist/{hooks-cli-C4nrKQB8.js → hooks-cli-DRLQiP7l.js} +3 -3
  56. package/dist/{hooks-cli-ED4F4hgZ.js → hooks-cli-DpkDeuLy.js} +3 -3
  57. package/dist/index.js +7 -7
  58. package/dist/{ipv4-p6oBdL3i.js → ipv4-DqcGiQ3m.js} +2 -2
  59. package/dist/{ipv4-BiVsHcPZ.js → ipv4-mpcLKizW.js} +2 -2
  60. package/dist/{lifecycle-DXPbWOOF.js → lifecycle-BCItuH6X.js} +1 -1
  61. package/dist/{lifecycle-DN1VLZsk.js → lifecycle-SCYzj9Ot.js} +1 -1
  62. package/dist/{list.auth-overview-SGV043-s.js → list.auth-overview-CYoEHrlV.js} +1 -1
  63. package/dist/{list.auth-overview-qQ-PSQWI.js → list.auth-overview-Jb40EVTF.js} +1 -1
  64. package/dist/llm-slug-generator.js +2 -2
  65. package/dist/{managed-up-DhYefvn4.js → managed-up-BZVDtZ02.js} +3 -2
  66. package/dist/{managed-up-BykEd-7K.js → managed-up-DQse3yus.js} +3 -2
  67. package/dist/{model-catalog-DTeRSOlM.js → model-catalog-D8mC_U_P.js} +6 -6
  68. package/dist/{models-DNWCoAr6.js → models-BR6kVAzX.js} +4 -4
  69. package/dist/{models-cli-8Ogt1Nai.js → models-cli-I6tKGevJ.js} +5 -5
  70. package/dist/{models-cli-6JDQwXLP.js → models-cli-R8rMaUq1.js} +4 -4
  71. package/dist/{node-cli-BPQ4Bj27.js → node-cli-CuGPqa6I.js} +6 -6
  72. package/dist/{node-cli-B5XUZW_F.js → node-cli-xFe2MLTt.js} +6 -6
  73. package/dist/{onboard-CoIQYNfB.js → onboard-2AZsuk27.js} +7 -7
  74. package/dist/{onboard-Bkmx2_JM.js → onboard-Dhn6TFLQ.js} +7 -7
  75. package/dist/{onboard-channels-B-CHfy-_.js → onboard-channels-Bh2uagMR.js} +2 -2
  76. package/dist/{onboard-channels-6l52GEWY.js → onboard-channels-DHTaCOwe.js} +2 -2
  77. package/dist/{onboard-search-DitZYPTM.js → onboard-search-BxA4H6xM.js} +5 -5
  78. package/dist/{onboard-search-CXl_FBtA.js → onboard-search-Ddryzlz0.js} +5 -5
  79. package/dist/{onboarding-DnPBiIlf.js → onboarding-CT4rAmKr.js} +10 -10
  80. package/dist/{onboarding-BAdN-hFD.js → onboarding-DXgvnTKZ.js} +10 -10
  81. package/dist/{openresponses-http-C4uMHFQG.js → openresponses-http-B67FmBDL.js} +2 -2
  82. package/dist/{openresponses-http-CWOcu9i9.js → openresponses-http-BuDEe1FN.js} +2 -2
  83. package/dist/{openresponses-http-cj2oimfW.js → openresponses-http-CPVcZeU4.js} +2 -2
  84. package/dist/{openresponses-http-CdFdfFbo.js → openresponses-http-DNfvf1YC.js} +1 -1
  85. package/dist/{openresponses-http-CgJamjpH.js → openresponses-http-l8T9VF26.js} +1 -1
  86. package/dist/{parent-default-help-ecMFlg2S.js → parent-default-help-BsJo4uGA.js} +1 -1
  87. package/dist/{parent-default-help-BT7FBzs-.js → parent-default-help-IDOlneo4.js} +1 -1
  88. package/dist/{paths-BrYFwmxy.js → paths-zdeD1PNp.js} +9 -9
  89. package/dist/{pi-embedded-YWZsPSdf.js → pi-embedded-B93a8fAI.js} +5 -5
  90. package/dist/{pi-embedded-BMW4AO0b.js → pi-embedded-HL4ukmaG.js} +14 -14
  91. package/dist/{plugin-registry-CwfvRSs4.js → plugin-registry-B5kFsLQO.js} +1 -1
  92. package/dist/{plugin-registry-DA_1IBe0.js → plugin-registry-BkCUF5FG.js} +1 -1
  93. package/dist/plugin-sdk/{active-listener-BMdC_vyr.js → active-listener--vjYvMEK.js} +1 -1
  94. package/dist/plugin-sdk/{audio-preflight-DeP8VHC6.js → audio-preflight-BjW6LsdF.js} +29 -29
  95. package/dist/plugin-sdk/{audio-preflight-B-GNQeK0.js → audio-preflight-DiKTCxbw.js} +1 -1
  96. package/dist/plugin-sdk/{channel-activity-NWX3LiLh.js → channel-activity-DkLb5E2L.js} +1 -1
  97. package/dist/plugin-sdk/channel-plugin-common.js +1 -1
  98. package/dist/plugin-sdk/{channel-web-QaRgsb6f.js → channel-web-D6b005zO.js} +14 -14
  99. package/dist/plugin-sdk/{chunk-DnpNE3Xp.js → chunk-BDulh-FS.js} +1 -1
  100. package/dist/plugin-sdk/command-status.js +1 -1
  101. package/dist/plugin-sdk/{commands-registry-D-wBX44P.js → commands-registry-Cl80XXdf.js} +1 -1
  102. package/dist/plugin-sdk/{diagnostic-BjLGAdPW.js → diagnostic-BDrUrfZB.js} +1 -1
  103. package/dist/plugin-sdk/{fetch-CwQDqOty.js → fetch-dvtAysG4.js} +1 -1
  104. package/dist/plugin-sdk/{fetch-guard-C9OlAzZl.js → fetch-guard-BxBS-Ozv.js} +1 -1
  105. package/dist/plugin-sdk/{filesystem-manager-D2yRTu4v.js → filesystem-manager-6RcmLJuY.js} +3 -3
  106. package/dist/plugin-sdk/{fs-safe-Vt6xas26.js → fs-safe-CVSBTTvX.js} +2 -2
  107. package/dist/plugin-sdk/index.js +34 -34
  108. package/dist/plugin-sdk/{internal-BRBMoaD6.js → internal-s9L09jdh.js} +1 -1
  109. package/dist/plugin-sdk/{ir-BD_A53gm.js → ir-BmFS6Dzq.js} +4 -4
  110. package/dist/plugin-sdk/{login-Beyw9UA5.js → login-DNZBECsI.js} +2 -2
  111. package/dist/plugin-sdk/{login-qr-CvB90Ony.js → login-qr-B4GBAfDr.js} +2 -2
  112. package/dist/plugin-sdk/{manager-BQu1VKQ6.js → manager-BlHbK3u2.js} +5 -5
  113. package/dist/plugin-sdk/{markdown-tables-trVxBCrI.js → markdown-tables-CnJAOUZL.js} +1 -1
  114. package/dist/plugin-sdk/{memory-search-DjvKx_Hd.js → memory-search-nQXS-L20.js} +1 -1
  115. package/dist/plugin-sdk/{openresponses-http-DenlQldm.js → openresponses-http-41OXtBzN.js} +1 -1
  116. package/dist/plugin-sdk/{openresponses-http-BISP9-A6.js → openresponses-http-Cnf_8Tdo.js} +29 -29
  117. package/dist/plugin-sdk/{outbound-D_1hFaJ-.js → outbound-DNozCpaG.js} +6 -6
  118. package/dist/plugin-sdk/{outbound-attachment-DenNTymT.js → outbound-attachment-D22qcHys.js} +2 -2
  119. package/dist/plugin-sdk/{path-alias-guards-Wu92iGvE.js → path-alias-guards-DN9j8duf.js} +1 -1
  120. package/dist/plugin-sdk/{paths-CK25m2hW.js → paths-Cn8yCaSN.js} +2 -2
  121. package/dist/plugin-sdk/{pi-model-discovery-DMqhr7U_.js → pi-model-discovery-BeAR6-Xm.js} +1 -1
  122. package/dist/plugin-sdk/{pi-model-discovery-runtime-DScmspTB.js → pi-model-discovery-runtime-DRhhMGTg.js} +2 -2
  123. package/dist/plugin-sdk/{pi-model-discovery-runtime-CwXjrUIM.js → pi-model-discovery-runtime-DaiqegxK.js} +1 -1
  124. package/dist/plugin-sdk/{pw-ai-Cs75h-nL.js → pw-ai-CVhjKZsh.js} +4 -4
  125. package/dist/plugin-sdk/{qmd-manager-DEcJj-8k.js → qmd-manager-Hhb9s5Ex.js} +4 -4
  126. package/dist/plugin-sdk/{qmd-scope-BjxICI2O.js → qmd-scope-DOiYgpAa.js} +1 -1
  127. package/dist/plugin-sdk/{query-expansion-6wijZpq6.js → query-expansion-DlX2-yhE.js} +2 -2
  128. package/dist/plugin-sdk/{registry-C90cYLNB.js → registry-D1bAj51G.js} +8 -8
  129. package/dist/plugin-sdk/{replies-C28zWuLO.js → replies-DsTSTkkm.js} +2 -2
  130. package/dist/plugin-sdk/{reply-DQSn23Jt.js → reply-CRhpBncQ.js} +67 -67
  131. package/dist/plugin-sdk/{reply-prefix-CZBe0Ovo.js → reply-prefix-CM9vmzNS.js} +1 -1
  132. package/dist/plugin-sdk/{resolve-outbound-target-DyNIwkzd.js → resolve-outbound-target-BmAvZt5m.js} +2 -2
  133. package/dist/plugin-sdk/{resolve-route-aT1YT8Ih.js → resolve-route-DB2O8xap.js} +1 -1
  134. package/dist/plugin-sdk/{runtime-Dxpfvz83.js → runtime-B3BC00NW.js} +8 -8
  135. package/dist/plugin-sdk/{send-Bf5cNKV-.js → send-B2PuRxAo.js} +5 -5
  136. package/dist/plugin-sdk/{send-D4Figs17.js → send-CX4dzEhO.js} +5 -5
  137. package/dist/plugin-sdk/{send-Des0LL0Y.js → send-Co84r8KW.js} +7 -7
  138. package/dist/plugin-sdk/{send-5VxqNtsW.js → send-Dzl1P-r1.js} +7 -7
  139. package/dist/plugin-sdk/{send-Uasa6JPL.js → send-LjnXKHz9.js} +4 -4
  140. package/dist/plugin-sdk/{session-BYUOdzi1.js → session-KVX2v7T3.js} +1 -1
  141. package/dist/plugin-sdk/{skill-commands-FnaJNY1m.js → skill-commands-CZ5QzawX.js} +5 -5
  142. package/dist/plugin-sdk/src/brand.d.ts +2 -2
  143. package/dist/plugin-sdk/{status-CkAJPulJ.js → status-DTf0kwed.js} +5 -5
  144. package/dist/plugin-sdk/{tables-DjSNh4Qx.js → tables-B8koh_pB.js} +1 -1
  145. package/dist/plugin-sdk/{target-errors-DDRTJb87.js → target-errors-Bnnn54IW.js} +2 -2
  146. package/dist/plugin-sdk/{tool-loop-detection-B0pfI1b9.js → tool-loop-detection-ImTTGqAY.js} +1 -1
  147. package/dist/plugin-sdk/web-DIPkgINw.js +40 -0
  148. package/dist/plugin-sdk/{web-Cav7vEAd.js → web-DL9hUS1M.js} +1 -1
  149. package/dist/plugin-sdk/{whatsapp-actions-Bx1OtYYh.js → whatsapp-actions-DjtDOMIg.js} +12 -12
  150. package/dist/{plugins-cli-NtgUFN5F.js → plugins-cli-BYqCVDpS.js} +5 -5
  151. package/dist/{plugins-cli-CIumz1mA.js → plugins-cli-CwoVm1ki.js} +5 -5
  152. package/dist/{program-CSz1D1dG.js → program-BDY1jOvS.js} +7 -7
  153. package/dist/{program-context-DI-GvkMR.js → program-context-B-KPred8.js} +26 -26
  154. package/dist/{prompt-select-styled-vQMrGEwY.js → prompt-select-styled-CB6vN1dC.js} +6 -6
  155. package/dist/{prompt-select-styled-n_A35tSP.js → prompt-select-styled-ChtVQzWa.js} +6 -6
  156. package/dist/{pw-ai-AEM6NhZt.js → pw-ai-5b6U6vNE.js} +1 -1
  157. package/dist/{register.agent-DD-U7oGb.js → register.agent-B9WrmyHG.js} +9 -9
  158. package/dist/{register.agent-CpHR4A6v.js → register.agent-D5yyDpMF.js} +8 -8
  159. package/dist/{register.configure-CsmE4__F.js → register.configure-BgCoyXJ8.js} +14 -14
  160. package/dist/{register.configure-C3qRt8Z2.js → register.configure-ChOAj8lt.js} +14 -14
  161. package/dist/{register.maintenance-Dw9XWs6B.js → register.maintenance-B6bOJbSX.js} +12 -12
  162. package/dist/{register.maintenance-C1pTDCfr.js → register.maintenance-BQj9yDGC.js} +13 -13
  163. package/dist/{register.managed-CCNGGKgP.js → register.managed-NctY_k_c.js} +1 -1
  164. package/dist/{register.managed-Di5EtWnZ.js → register.managed-PbaMx9Nf.js} +1 -1
  165. package/dist/{register.message-D1vEgAqq.js → register.message-BEIjfvXb.js} +3 -3
  166. package/dist/{register.message-C5H4BaZR.js → register.message-od1Y869B.js} +3 -3
  167. package/dist/{register.onboard-C2ZqqRHb.js → register.onboard-DtI-LWfq.js} +17 -17
  168. package/dist/{register.onboard-Dd5wooum.js → register.onboard-XBrpifj7.js} +17 -17
  169. package/dist/{register.setup-S47GDXlI.js → register.setup-1ENQ8ouC.js} +17 -17
  170. package/dist/{register.setup-wdsoq3BF.js → register.setup-DyZsMxnl.js} +17 -17
  171. package/dist/{register.start-zfaQ2lDQ.js → register.start-CG1v57ia.js} +2 -2
  172. package/dist/{register.start-BObciIYA.js → register.start-D5KkA-jP.js} +2 -2
  173. package/dist/{register.status-health-sessions-BoN2hOA8.js → register.status-health-sessions-DtovxChn.js} +8 -8
  174. package/dist/{register.status-health-sessions-C876VSZh.js → register.status-health-sessions-h6qLSIBD.js} +8 -8
  175. package/dist/{register.subclis-BT84Bn-_.js → register.subclis-C3aiDH-K.js} +18 -18
  176. package/dist/{reply-jrONH9Y7.js → reply-DN243lz7.js} +6 -6
  177. package/dist/{run-main-C6XcZlLi.js → run-main-C_E4fCDA.js} +14 -14
  178. package/dist/{runtime-helper-grants-kih7jkmx.js → runtime-helper-grants-BVmq3XlA.js} +1 -1
  179. package/dist/{runtime-helper-grants-Jas30vI5.js → runtime-helper-grants-BXbsLaBa.js} +1 -1
  180. package/dist/{sandbox-cli-C9wECeaH.js → sandbox-cli-YjG_1gCm.js} +2 -2
  181. package/dist/{sandbox-cli-Bfj6NbE1.js → sandbox-cli-cTaAeW1K.js} +2 -2
  182. package/dist/{security-cli-B1c376KU.js → security-cli-DsLOJ1Rb.js} +3 -3
  183. package/dist/{security-cli-Dz7uvFDt.js → security-cli-Dv33wjMk.js} +3 -3
  184. package/dist/{server-B2nRkZJD.js → server-B1GYpqZt.js} +2 -2
  185. package/dist/{server-DYUU_xzp.js → server-BcqxOmHx.js} +2 -2
  186. package/dist/{server-cron-DiMWX26M.js → server-cron-BbQnDcFJ.js} +2 -2
  187. package/dist/{server-cron-BgVg0Xr0.js → server-cron-GJHJK89O.js} +2 -2
  188. package/dist/{server-node-events-BTIgBj-Y.js → server-node-events-Bpmwx_Y1.js} +3 -3
  189. package/dist/{server-node-events-CD7PjM02.js → server-node-events-BvjhTp8J.js} +3 -3
  190. package/dist/{service-audit-1anzCSV2.js → service-audit-B9K6xpDJ.js} +1 -1
  191. package/dist/{service-audit-Daqv2ulM.js → service-audit-Cue9l9-k.js} +1 -1
  192. package/dist/{shared-DnllDWpn.js → shared-Bb6UiMJm.js} +1 -1
  193. package/dist/{shared-BO4hP_yT.js → shared-CyPpY-jc.js} +1 -1
  194. package/dist/{status-CnhP8fx7.js → status-AhCJHphP.js} +6 -6
  195. package/dist/{status-C1h5Ta_q.js → status-BWXbLhoi.js} +6 -6
  196. package/dist/{status-DkMo6n1P.js → status-Bq8ompud.js} +1 -1
  197. package/dist/{status-aMuRqtjs.js → status-DGhYel9u.js} +1 -1
  198. package/dist/{status.update-C0YURTQB.js → status.update-C1sIShFF.js} +1 -1
  199. package/dist/{status.update-B7_3iIjY.js → status.update-DRHDFXgz.js} +1 -1
  200. package/dist/{tui-BuCSCKXc.js → tui-C9JB9Qv-.js} +1 -1
  201. package/dist/{tui-DM671Mke.js → tui-CoO9rayQ.js} +1 -1
  202. package/dist/{tui-cli-Cfw5R0S8.js → tui-cli-BJqzViao.js} +3 -3
  203. package/dist/{tui-cli-DjI4QOzV.js → tui-cli-CmTX6az5.js} +3 -3
  204. package/dist/{update-check-DxBZOPm_.js → update-check-CmmNrh5z.js} +182 -3
  205. package/dist/{update-check-vt58Ppts.js → update-check-JF3Ffq-u.js} +182 -3
  206. package/dist/{update-cli-BL1PUycr.js → update-cli-CGVt05GX.js} +20 -17
  207. package/dist/{update-cli-Bl5opT2O.js → update-cli-lL_TB4uw.js} +19 -16
  208. package/dist/{update-runner-BNiDZKyO.js → update-runner-BLA3dgWx.js} +3 -178
  209. package/dist/{update-runner-Col2sOeF.js → update-runner-CreSur6U.js} +3 -178
  210. package/dist/{web-D-gMdQkD.js → web-B0gWaIUs.js} +3 -3
  211. package/dist/{web-0I3YFoDZ.js → web-B2esBnZy.js} +1 -1
  212. package/dist/{web-Blq5sWxH.js → web-BRJbU71P.js} +2 -2
  213. package/dist/{web-C7I6HVNX.js → web-CjDnH4o4.js} +1 -1
  214. package/dist/{web-_igiL4AE.js → web-EV66-44c.js} +3 -3
  215. package/dist/{web-search-providers.runtime-CzUamtQl.js → web-search-providers.runtime-BBs-dk4K.js} +1 -1
  216. package/dist/{web-search-providers.runtime-pv7Jv2d6.js → web-search-providers.runtime-smygkWvg.js} +1 -1
  217. package/extensions/acpx/package.json +1 -1
  218. package/extensions/bluebubbles/package.json +1 -1
  219. package/extensions/copilot-proxy/package.json +1 -1
  220. package/extensions/diagnostics-otel/package.json +1 -1
  221. package/extensions/discord/package.json +1 -1
  222. package/extensions/fased-federation/package.json +1 -1
  223. package/extensions/feishu/package.json +1 -1
  224. package/extensions/google-gemini-cli-auth/package.json +1 -1
  225. package/extensions/googlechat/package.json +1 -1
  226. package/extensions/imessage/package.json +1 -1
  227. package/extensions/irc/package.json +1 -1
  228. package/extensions/line/package.json +1 -1
  229. package/extensions/llm-task/package.json +1 -1
  230. package/extensions/lobster/package.json +1 -1
  231. package/extensions/matrix/CHANGELOG.md +12 -0
  232. package/extensions/matrix/package.json +1 -1
  233. package/extensions/mattermost/package.json +1 -1
  234. package/extensions/memory-core/package.json +1 -1
  235. package/extensions/memory-lancedb/package.json +1 -1
  236. package/extensions/minimax-portal-auth/package.json +1 -1
  237. package/extensions/msteams/CHANGELOG.md +12 -0
  238. package/extensions/msteams/package.json +1 -1
  239. package/extensions/nextcloud-talk/package.json +1 -1
  240. package/extensions/nostr/CHANGELOG.md +12 -0
  241. package/extensions/nostr/package.json +1 -1
  242. package/extensions/open-prose/package.json +1 -1
  243. package/extensions/sat-mining/package.json +1 -1
  244. package/extensions/signal/package.json +1 -1
  245. package/extensions/slack/package.json +1 -1
  246. package/extensions/synology-chat/package.json +1 -1
  247. package/extensions/telegram/package.json +1 -1
  248. package/extensions/tlon/package.json +1 -1
  249. package/extensions/twitch/CHANGELOG.md +12 -0
  250. package/extensions/twitch/package.json +1 -1
  251. package/extensions/voice-call/CHANGELOG.md +12 -0
  252. package/extensions/voice-call/package.json +1 -1
  253. package/extensions/whatsapp/package.json +1 -1
  254. package/extensions/zalo/CHANGELOG.md +12 -0
  255. package/extensions/zalo/package.json +1 -1
  256. package/extensions/zalouser/CHANGELOG.md +12 -0
  257. package/extensions/zalouser/package.json +1 -1
  258. package/package.json +1 -1
  259. package/scripts/start-managed.sh +2 -2
  260. package/src/brand.ts +1 -1
  261. package/src/canvas-host/a2ui/.bundle.hash +1 -1
  262. package/src/cli/daemon-cli/probe.ts +2 -2
  263. package/src/cli/daemon-cli/status.print.ts +26 -0
  264. package/src/cli/update-cli/update-command.ts +1 -0
  265. package/src/commands/managed-up.ts +5 -2
  266. package/src/infra/update-check.ts +3 -1
  267. package/src/infra/update-global.ts +7 -1
  268. package/dist/plugin-sdk/web-0HkZCM7O.js +0 -40
@@ -1,5 +1,7 @@
1
+ import { v as pathExists } from "./agent-paths-DmOVZE7g.js";
1
2
  import { $l as runCommandWithTimeout } from "./agent-scope-CrCe9L5D.js";
2
3
  import { n as fetchWithTimeout } from "./fetch-timeout-DwuL9y6C.js";
4
+ import os from "node:os";
3
5
  import path from "node:path";
4
6
  import fs from "node:fs/promises";
5
7
 
@@ -91,6 +93,182 @@ async function detectPackageManager$1(root) {
91
93
  return null;
92
94
  }
93
95
 
96
+ //#endregion
97
+ //#region src/infra/update-global.ts
98
+ const PRIMARY_PACKAGE_NAME = "@fased/fased";
99
+ const ALL_PACKAGE_NAMES = [PRIMARY_PACKAGE_NAME, "fased"];
100
+ const GLOBAL_RENAME_PREFIX = ".";
101
+ const NPM_GLOBAL_INSTALL_QUIET_FLAGS = [
102
+ "--no-fund",
103
+ "--no-audit",
104
+ "--loglevel=error",
105
+ "--prefer-offline",
106
+ "--no-progress"
107
+ ];
108
+ const NPM_GLOBAL_INSTALL_OMIT_OPTIONAL_FLAGS = ["--omit=optional", ...NPM_GLOBAL_INSTALL_QUIET_FLAGS];
109
+ async function tryRealpath(targetPath) {
110
+ try {
111
+ return await fs.realpath(targetPath);
112
+ } catch {
113
+ return path.resolve(targetPath);
114
+ }
115
+ }
116
+ function resolveBunGlobalRoot() {
117
+ const bunInstall = process.env.BUN_INSTALL?.trim() || path.join(os.homedir(), ".bun");
118
+ return path.join(bunInstall, "install", "global", "node_modules");
119
+ }
120
+ function resolveNodeModulesRootForPackageRoot(pkgRoot) {
121
+ const parent = path.dirname(pkgRoot);
122
+ if (path.basename(parent).startsWith("@")) return path.dirname(parent);
123
+ return parent;
124
+ }
125
+ function resolveHostedNpmInstallTarget(pkgRoot) {
126
+ const resolved = path.resolve(pkgRoot);
127
+ const prefixMarker = `${path.sep}.fased${path.sep}install-cache${path.sep}npm-global`;
128
+ const globalRootMarker = `${prefixMarker}${`${path.sep}lib${path.sep}node_modules`}`;
129
+ const markerIndex = resolved.indexOf(`${globalRootMarker}${path.sep}`);
130
+ if (markerIndex < 0) return null;
131
+ const prefix = resolved.slice(0, markerIndex + prefixMarker.length);
132
+ const globalRoot = path.join(prefix, "lib", "node_modules");
133
+ const cache = path.join(path.dirname(prefix), "npm-cache");
134
+ const expectedRoot = resolveNodeModulesRootForPackageRoot(resolved);
135
+ if (path.resolve(expectedRoot) !== path.resolve(globalRoot)) return null;
136
+ return {
137
+ manager: "npm",
138
+ globalRoot,
139
+ env: {
140
+ npm_config_prefix: prefix,
141
+ npm_config_cache: cache
142
+ }
143
+ };
144
+ }
145
+ async function resolveGlobalRoot(manager, runCommand, timeoutMs) {
146
+ if (manager === "bun") return resolveBunGlobalRoot();
147
+ const res = await runCommand(manager === "pnpm" ? [
148
+ "pnpm",
149
+ "root",
150
+ "-g"
151
+ ] : [
152
+ "npm",
153
+ "root",
154
+ "-g"
155
+ ], { timeoutMs }).catch(() => null);
156
+ if (!res || res.code !== 0) return null;
157
+ return res.stdout.trim() || null;
158
+ }
159
+ async function resolveGlobalPackageRoot(manager, runCommand, timeoutMs) {
160
+ const root = await resolveGlobalRoot(manager, runCommand, timeoutMs);
161
+ if (!root) return null;
162
+ for (const name of ALL_PACKAGE_NAMES) {
163
+ const candidate = path.join(root, name);
164
+ if (await pathExists(candidate)) return candidate;
165
+ }
166
+ return path.join(root, PRIMARY_PACKAGE_NAME);
167
+ }
168
+ async function detectGlobalInstallManagerForRoot(runCommand, pkgRoot, timeoutMs) {
169
+ const hostedTarget = resolveHostedNpmInstallTarget(pkgRoot);
170
+ if (hostedTarget) return hostedTarget.manager;
171
+ const pkgReal = await tryRealpath(pkgRoot);
172
+ for (const { manager, argv } of [{
173
+ manager: "npm",
174
+ argv: [
175
+ "npm",
176
+ "root",
177
+ "-g"
178
+ ]
179
+ }, {
180
+ manager: "pnpm",
181
+ argv: [
182
+ "pnpm",
183
+ "root",
184
+ "-g"
185
+ ]
186
+ }]) {
187
+ const res = await runCommand(argv, { timeoutMs }).catch(() => null);
188
+ if (!res || res.code !== 0) continue;
189
+ const globalRoot = res.stdout.trim();
190
+ if (!globalRoot) continue;
191
+ const globalReal = await tryRealpath(globalRoot);
192
+ for (const name of ALL_PACKAGE_NAMES) {
193
+ const expectedReal = await tryRealpath(path.join(globalReal, name));
194
+ if (path.resolve(expectedReal) === path.resolve(pkgReal)) return manager;
195
+ }
196
+ }
197
+ const bunGlobalReal = await tryRealpath(resolveBunGlobalRoot());
198
+ for (const name of ALL_PACKAGE_NAMES) {
199
+ const bunExpectedReal = await tryRealpath(path.join(bunGlobalReal, name));
200
+ if (path.resolve(bunExpectedReal) === path.resolve(pkgReal)) return "bun";
201
+ }
202
+ return null;
203
+ }
204
+ async function detectGlobalInstallManagerByPresence(runCommand, timeoutMs) {
205
+ for (const manager of ["npm", "pnpm"]) {
206
+ const root = await resolveGlobalRoot(manager, runCommand, timeoutMs);
207
+ if (!root) continue;
208
+ for (const name of ALL_PACKAGE_NAMES) if (await pathExists(path.join(root, name))) return manager;
209
+ }
210
+ const bunRoot = resolveBunGlobalRoot();
211
+ for (const name of ALL_PACKAGE_NAMES) if (await pathExists(path.join(bunRoot, name))) return "bun";
212
+ return null;
213
+ }
214
+ function globalInstallArgs(manager, spec) {
215
+ if (manager === "pnpm") return [
216
+ "pnpm",
217
+ "add",
218
+ "-g",
219
+ spec
220
+ ];
221
+ if (manager === "bun") return [
222
+ "bun",
223
+ "add",
224
+ "-g",
225
+ spec
226
+ ];
227
+ return [
228
+ "npm",
229
+ "i",
230
+ "-g",
231
+ spec,
232
+ ...NPM_GLOBAL_INSTALL_QUIET_FLAGS
233
+ ];
234
+ }
235
+ function globalInstallFallbackArgs(manager, spec) {
236
+ if (manager !== "npm") return null;
237
+ return [
238
+ "npm",
239
+ "i",
240
+ "-g",
241
+ spec,
242
+ ...NPM_GLOBAL_INSTALL_OMIT_OPTIONAL_FLAGS
243
+ ];
244
+ }
245
+ async function cleanupGlobalRenameDirs(params) {
246
+ const removed = [];
247
+ const root = params.globalRoot.trim();
248
+ const name = params.packageName.trim();
249
+ if (!root || !name) return { removed };
250
+ const safeNames = Array.from(new Set([name, path.basename(name)].filter(Boolean)));
251
+ let entries = [];
252
+ try {
253
+ entries = await fs.readdir(root);
254
+ } catch {
255
+ return { removed };
256
+ }
257
+ for (const entry of entries) {
258
+ if (!safeNames.some((safeName) => entry.startsWith(`${GLOBAL_RENAME_PREFIX}${safeName}-`))) continue;
259
+ const target = path.join(root, entry);
260
+ try {
261
+ if (!(await fs.lstat(target)).isDirectory()) continue;
262
+ await fs.rm(target, {
263
+ recursive: true,
264
+ force: true
265
+ });
266
+ removed.push(entry);
267
+ } catch {}
268
+ }
269
+ return { removed };
270
+ }
271
+
94
272
  //#endregion
95
273
  //#region src/infra/update-check.ts
96
274
  const NPM_PACKAGE_NAME = "@fased/fased";
@@ -434,12 +612,13 @@ async function checkUpdateStatus(params) {
434
612
  packageManager: "unknown",
435
613
  registry: params.includeRegistry ? await fetchNpmLatestVersion({ timeoutMs }) : void 0
436
614
  };
437
- const pm = await detectPackageManager(root);
438
615
  const gitRoot = await detectGitRoot(root);
439
616
  const isGit = gitRoot && path.resolve(gitRoot) === root;
617
+ const installKind = isGit ? "git" : "package";
618
+ const pm = (!isGit ? resolveHostedNpmInstallTarget(root) : null) ? "npm" : await detectPackageManager(root);
440
619
  return {
441
620
  root,
442
- installKind: isGit ? "git" : "package",
621
+ installKind,
443
622
  packageManager: pm,
444
623
  git: isGit ? await checkGitUpdateStatus({
445
624
  root,
@@ -455,4 +634,4 @@ async function checkUpdateStatus(params) {
455
634
  }
456
635
 
457
636
  //#endregion
458
- export { resolveNpmChannelTag as a, DEFAULT_PACKAGE_CHANNEL as c, formatUpdateChannelLabel as d, isBetaTag as f, resolveUpdateChannelDisplay as g, resolveEffectiveUpdateChannel as h, formatGitInstallLabel as i, DEV_BRANCH as l, normalizeUpdateChannel as m, compareSemverStrings as n, detectPackageManager$1 as o, isStableTag as p, fetchNpmTagVersion as r, DEFAULT_GIT_CHANNEL as s, checkUpdateStatus as t, channelToNpmTag as u };
637
+ export { resolveEffectiveUpdateChannel as C, normalizeUpdateChannel as S, DEV_BRANCH as _, resolveNpmChannelTag as a, isBetaTag as b, detectGlobalInstallManagerForRoot as c, resolveGlobalPackageRoot as d, resolveHostedNpmInstallTarget as f, DEFAULT_PACKAGE_CHANNEL as g, DEFAULT_GIT_CHANNEL as h, formatGitInstallLabel as i, globalInstallArgs as l, detectPackageManager$1 as m, compareSemverStrings as n, cleanupGlobalRenameDirs as o, resolveNodeModulesRootForPackageRoot as p, fetchNpmTagVersion as r, detectGlobalInstallManagerByPresence as s, checkUpdateStatus as t, globalInstallFallbackArgs as u, channelToNpmTag as v, resolveUpdateChannelDisplay as w, isStableTag as x, formatUpdateChannelLabel as y };
@@ -1,5 +1,7 @@
1
1
  import { md as runCommandWithTimeout } from "./env-BegRUDBP.js";
2
+ import { _ as pathExists } from "./agent-paths-BI1hx-tF.js";
2
3
  import { n as fetchWithTimeout } from "./fetch-timeout-Bs45GM7s.js";
4
+ import os from "node:os";
3
5
  import path from "node:path";
4
6
  import fs from "node:fs/promises";
5
7
 
@@ -91,6 +93,182 @@ async function detectPackageManager$1(root) {
91
93
  return null;
92
94
  }
93
95
 
96
+ //#endregion
97
+ //#region src/infra/update-global.ts
98
+ const PRIMARY_PACKAGE_NAME = "@fased/fased";
99
+ const ALL_PACKAGE_NAMES = [PRIMARY_PACKAGE_NAME, "fased"];
100
+ const GLOBAL_RENAME_PREFIX = ".";
101
+ const NPM_GLOBAL_INSTALL_QUIET_FLAGS = [
102
+ "--no-fund",
103
+ "--no-audit",
104
+ "--loglevel=error",
105
+ "--prefer-offline",
106
+ "--no-progress"
107
+ ];
108
+ const NPM_GLOBAL_INSTALL_OMIT_OPTIONAL_FLAGS = ["--omit=optional", ...NPM_GLOBAL_INSTALL_QUIET_FLAGS];
109
+ async function tryRealpath(targetPath) {
110
+ try {
111
+ return await fs.realpath(targetPath);
112
+ } catch {
113
+ return path.resolve(targetPath);
114
+ }
115
+ }
116
+ function resolveBunGlobalRoot() {
117
+ const bunInstall = process.env.BUN_INSTALL?.trim() || path.join(os.homedir(), ".bun");
118
+ return path.join(bunInstall, "install", "global", "node_modules");
119
+ }
120
+ function resolveNodeModulesRootForPackageRoot(pkgRoot) {
121
+ const parent = path.dirname(pkgRoot);
122
+ if (path.basename(parent).startsWith("@")) return path.dirname(parent);
123
+ return parent;
124
+ }
125
+ function resolveHostedNpmInstallTarget(pkgRoot) {
126
+ const resolved = path.resolve(pkgRoot);
127
+ const prefixMarker = `${path.sep}.fased${path.sep}install-cache${path.sep}npm-global`;
128
+ const globalRootMarker = `${prefixMarker}${`${path.sep}lib${path.sep}node_modules`}`;
129
+ const markerIndex = resolved.indexOf(`${globalRootMarker}${path.sep}`);
130
+ if (markerIndex < 0) return null;
131
+ const prefix = resolved.slice(0, markerIndex + prefixMarker.length);
132
+ const globalRoot = path.join(prefix, "lib", "node_modules");
133
+ const cache = path.join(path.dirname(prefix), "npm-cache");
134
+ const expectedRoot = resolveNodeModulesRootForPackageRoot(resolved);
135
+ if (path.resolve(expectedRoot) !== path.resolve(globalRoot)) return null;
136
+ return {
137
+ manager: "npm",
138
+ globalRoot,
139
+ env: {
140
+ npm_config_prefix: prefix,
141
+ npm_config_cache: cache
142
+ }
143
+ };
144
+ }
145
+ async function resolveGlobalRoot(manager, runCommand, timeoutMs) {
146
+ if (manager === "bun") return resolveBunGlobalRoot();
147
+ const res = await runCommand(manager === "pnpm" ? [
148
+ "pnpm",
149
+ "root",
150
+ "-g"
151
+ ] : [
152
+ "npm",
153
+ "root",
154
+ "-g"
155
+ ], { timeoutMs }).catch(() => null);
156
+ if (!res || res.code !== 0) return null;
157
+ return res.stdout.trim() || null;
158
+ }
159
+ async function resolveGlobalPackageRoot(manager, runCommand, timeoutMs) {
160
+ const root = await resolveGlobalRoot(manager, runCommand, timeoutMs);
161
+ if (!root) return null;
162
+ for (const name of ALL_PACKAGE_NAMES) {
163
+ const candidate = path.join(root, name);
164
+ if (await pathExists(candidate)) return candidate;
165
+ }
166
+ return path.join(root, PRIMARY_PACKAGE_NAME);
167
+ }
168
+ async function detectGlobalInstallManagerForRoot(runCommand, pkgRoot, timeoutMs) {
169
+ const hostedTarget = resolveHostedNpmInstallTarget(pkgRoot);
170
+ if (hostedTarget) return hostedTarget.manager;
171
+ const pkgReal = await tryRealpath(pkgRoot);
172
+ for (const { manager, argv } of [{
173
+ manager: "npm",
174
+ argv: [
175
+ "npm",
176
+ "root",
177
+ "-g"
178
+ ]
179
+ }, {
180
+ manager: "pnpm",
181
+ argv: [
182
+ "pnpm",
183
+ "root",
184
+ "-g"
185
+ ]
186
+ }]) {
187
+ const res = await runCommand(argv, { timeoutMs }).catch(() => null);
188
+ if (!res || res.code !== 0) continue;
189
+ const globalRoot = res.stdout.trim();
190
+ if (!globalRoot) continue;
191
+ const globalReal = await tryRealpath(globalRoot);
192
+ for (const name of ALL_PACKAGE_NAMES) {
193
+ const expectedReal = await tryRealpath(path.join(globalReal, name));
194
+ if (path.resolve(expectedReal) === path.resolve(pkgReal)) return manager;
195
+ }
196
+ }
197
+ const bunGlobalReal = await tryRealpath(resolveBunGlobalRoot());
198
+ for (const name of ALL_PACKAGE_NAMES) {
199
+ const bunExpectedReal = await tryRealpath(path.join(bunGlobalReal, name));
200
+ if (path.resolve(bunExpectedReal) === path.resolve(pkgReal)) return "bun";
201
+ }
202
+ return null;
203
+ }
204
+ async function detectGlobalInstallManagerByPresence(runCommand, timeoutMs) {
205
+ for (const manager of ["npm", "pnpm"]) {
206
+ const root = await resolveGlobalRoot(manager, runCommand, timeoutMs);
207
+ if (!root) continue;
208
+ for (const name of ALL_PACKAGE_NAMES) if (await pathExists(path.join(root, name))) return manager;
209
+ }
210
+ const bunRoot = resolveBunGlobalRoot();
211
+ for (const name of ALL_PACKAGE_NAMES) if (await pathExists(path.join(bunRoot, name))) return "bun";
212
+ return null;
213
+ }
214
+ function globalInstallArgs(manager, spec) {
215
+ if (manager === "pnpm") return [
216
+ "pnpm",
217
+ "add",
218
+ "-g",
219
+ spec
220
+ ];
221
+ if (manager === "bun") return [
222
+ "bun",
223
+ "add",
224
+ "-g",
225
+ spec
226
+ ];
227
+ return [
228
+ "npm",
229
+ "i",
230
+ "-g",
231
+ spec,
232
+ ...NPM_GLOBAL_INSTALL_QUIET_FLAGS
233
+ ];
234
+ }
235
+ function globalInstallFallbackArgs(manager, spec) {
236
+ if (manager !== "npm") return null;
237
+ return [
238
+ "npm",
239
+ "i",
240
+ "-g",
241
+ spec,
242
+ ...NPM_GLOBAL_INSTALL_OMIT_OPTIONAL_FLAGS
243
+ ];
244
+ }
245
+ async function cleanupGlobalRenameDirs(params) {
246
+ const removed = [];
247
+ const root = params.globalRoot.trim();
248
+ const name = params.packageName.trim();
249
+ if (!root || !name) return { removed };
250
+ const safeNames = Array.from(new Set([name, path.basename(name)].filter(Boolean)));
251
+ let entries = [];
252
+ try {
253
+ entries = await fs.readdir(root);
254
+ } catch {
255
+ return { removed };
256
+ }
257
+ for (const entry of entries) {
258
+ if (!safeNames.some((safeName) => entry.startsWith(`${GLOBAL_RENAME_PREFIX}${safeName}-`))) continue;
259
+ const target = path.join(root, entry);
260
+ try {
261
+ if (!(await fs.lstat(target)).isDirectory()) continue;
262
+ await fs.rm(target, {
263
+ recursive: true,
264
+ force: true
265
+ });
266
+ removed.push(entry);
267
+ } catch {}
268
+ }
269
+ return { removed };
270
+ }
271
+
94
272
  //#endregion
95
273
  //#region src/infra/update-check.ts
96
274
  const NPM_PACKAGE_NAME = "@fased/fased";
@@ -434,12 +612,13 @@ async function checkUpdateStatus(params) {
434
612
  packageManager: "unknown",
435
613
  registry: params.includeRegistry ? await fetchNpmLatestVersion({ timeoutMs }) : void 0
436
614
  };
437
- const pm = await detectPackageManager(root);
438
615
  const gitRoot = await detectGitRoot(root);
439
616
  const isGit = gitRoot && path.resolve(gitRoot) === root;
617
+ const installKind = isGit ? "git" : "package";
618
+ const pm = (!isGit ? resolveHostedNpmInstallTarget(root) : null) ? "npm" : await detectPackageManager(root);
440
619
  return {
441
620
  root,
442
- installKind: isGit ? "git" : "package",
621
+ installKind,
443
622
  packageManager: pm,
444
623
  git: isGit ? await checkGitUpdateStatus({
445
624
  root,
@@ -455,4 +634,4 @@ async function checkUpdateStatus(params) {
455
634
  }
456
635
 
457
636
  //#endregion
458
- export { resolveNpmChannelTag as a, DEFAULT_PACKAGE_CHANNEL as c, formatUpdateChannelLabel as d, isBetaTag as f, resolveUpdateChannelDisplay as g, resolveEffectiveUpdateChannel as h, formatGitInstallLabel as i, DEV_BRANCH as l, normalizeUpdateChannel as m, compareSemverStrings as n, detectPackageManager$1 as o, isStableTag as p, fetchNpmTagVersion as r, DEFAULT_GIT_CHANNEL as s, checkUpdateStatus as t, channelToNpmTag as u };
637
+ export { resolveEffectiveUpdateChannel as C, normalizeUpdateChannel as S, DEV_BRANCH as _, resolveNpmChannelTag as a, isBetaTag as b, detectGlobalInstallManagerForRoot as c, resolveGlobalPackageRoot as d, resolveHostedNpmInstallTarget as f, DEFAULT_PACKAGE_CHANNEL as g, DEFAULT_GIT_CHANNEL as h, formatGitInstallLabel as i, globalInstallArgs as l, detectPackageManager$1 as m, compareSemverStrings as n, cleanupGlobalRenameDirs as o, resolveNodeModulesRootForPackageRoot as p, fetchNpmTagVersion as r, detectGlobalInstallManagerByPresence as s, checkUpdateStatus as t, globalInstallFallbackArgs as u, channelToNpmTag as v, resolveUpdateChannelDisplay as w, isStableTag as x, formatUpdateChannelLabel as y };
@@ -2,7 +2,7 @@ import { Cu as formatCliCommand, Qt as readConfigFileSnapshot, Tu as resolveCliN
2
2
  import { H as theme, _ as pathExists } from "./agent-paths-BI1hx-tF.js";
3
3
  import "./send-DiY-R7xq.js";
4
4
  import "./send-D52Cqe9Z.js";
5
- import { Kr as trimLogTail } from "./model-catalog-DTeRSOlM.js";
5
+ import { Kr as trimLogTail } from "./model-catalog-D8mC_U_P.js";
6
6
  import "./github-copilot-token-A9DiaCB0.js";
7
7
  import { A as defaultRuntime, Ct as resolveStateDir, gt as resolveGatewayPort } from "./entry.js";
8
8
  import "./reply-prefix-CKOTLAs6.js";
@@ -45,7 +45,7 @@ import "./send-tByitNFq.js";
45
45
  import "./outbound-attachment-DjAMOo70.js";
46
46
  import "./fetch-C1-cYcji.js";
47
47
  import "./delivery-queue-D7zHbNm4.js";
48
- import "./deps-CkOczIqw.js";
48
+ import "./deps-Dhq6foJ1.js";
49
49
  import "./frontmatter-BPHGMwFk.js";
50
50
  import "./skills-2eSRzTmM.js";
51
51
  import "./skills-remote-CQrWVunR.js";
@@ -77,33 +77,33 @@ import { i as stylePromptMessage } from "./prompt-style-Rmj3c-Ir.js";
77
77
  import "./pairing-labels-u5J0k1yz.js";
78
78
  import "./skills-status-peBM5vvA.js";
79
79
  import { n as inheritOptionFromParent } from "./command-options-j8s8APBQ.js";
80
- import { r as installCompletion } from "./completion-cli-DNlt3cBf.js";
81
- import "./register.subclis-BT84Bn-_.js";
82
- import "./command-registry-CU64eZmw.js";
80
+ import { r as installCompletion } from "./completion-cli-SQDftiOu.js";
81
+ import "./register.subclis-C3aiDH-K.js";
82
+ import "./command-registry-COCtcx4f.js";
83
83
  import "./program-context-CDFrVtWb.js";
84
- import "./managed-up-DhYefvn4.js";
85
- import "./daemon-install-helpers-BPdikKF-.js";
84
+ import "./managed-up-BZVDtZ02.js";
85
+ import "./daemon-install-helpers-CGHF2E1W.js";
86
86
  import "./systemd-CWa7eQgH.js";
87
87
  import { t as resolveGatewayService } from "./service-CPGs_iPU.js";
88
- import "./service-audit-Daqv2ulM.js";
89
- import "./shared-BO4hP_yT.js";
90
- import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-5_eqnI7H.js";
88
+ import "./service-audit-Cue9l9-k.js";
89
+ import "./shared-CyPpY-jc.js";
90
+ import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-DbV85YX7.js";
91
91
  import "./diagnostics-J_ooWcgT.js";
92
92
  import { t as renderTable } from "./table-DiHPQeoC.js";
93
- import "./health-CtFbngOI.js";
94
- import "./heartbeat-runner-DBcCEPYX.js";
95
- import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, d as formatUpdateChannelLabel, g as resolveUpdateChannelDisplay, h as resolveEffectiveUpdateChannel, m as normalizeUpdateChannel, n as compareSemverStrings, r as fetchNpmTagVersion, s as DEFAULT_GIT_CHANNEL, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-vt58Ppts.js";
93
+ import "./health-CJonrbmU.js";
94
+ import "./heartbeat-runner-DE_qh7FJ.js";
95
+ import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, a as resolveNpmChannelTag, c as detectGlobalInstallManagerForRoot, d as resolveGlobalPackageRoot, g as DEFAULT_PACKAGE_CHANNEL, h as DEFAULT_GIT_CHANNEL, l as globalInstallArgs, n as compareSemverStrings, o as cleanupGlobalRenameDirs, p as resolveNodeModulesRootForPackageRoot, r as fetchNpmTagVersion, s as detectGlobalInstallManagerByPresence, t as checkUpdateStatus, v as channelToNpmTag, w as resolveUpdateChannelDisplay, y as formatUpdateChannelLabel } from "./update-check-JF3Ffq-u.js";
96
96
  import "./logging-DZ32I_SP.js";
97
97
  import "./installs-C05yaQSr.js";
98
98
  import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-CfW8YMNn.js";
99
99
  import "./channels-status-issues-DzJA9WTM.js";
100
- import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-B7_3iIjY.js";
101
- import { a as globalInstallArgs, c as readPackageName, i as detectGlobalInstallManagerForRoot, l as readPackageVersion, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as resolveNodeModulesRootForPackageRoot, t as runGatewayUpdate } from "./update-runner-Col2sOeF.js";
100
+ import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-DRHDFXgz.js";
101
+ import { n as readPackageName, r as readPackageVersion, t as runGatewayUpdate } from "./update-runner-CreSur6U.js";
102
102
  import "./note-CNqZk-m3.js";
103
103
  import "./doctor-config-flow-BHTw4J71.js";
104
104
  import "./systemd-linger-BMCefXv6.js";
105
105
  import "./health-format-DEsFwYbP.js";
106
- import { a as ensureCompletionCacheExists, i as checkShellCompletionStatus, n as doctorCommand, r as runPostUpdateDoctorRepair, t as selectStyled } from "./prompt-select-styled-vQMrGEwY.js";
106
+ import { a as ensureCompletionCacheExists, i as checkShellCompletionStatus, n as doctorCommand, r as runPostUpdateDoctorRepair, t as selectStyled } from "./prompt-select-styled-CB6vN1dC.js";
107
107
  import { spawn, spawnSync } from "node:child_process";
108
108
  import os from "node:os";
109
109
  import path from "node:path";
@@ -739,7 +739,10 @@ async function refreshGatewayServiceEnv(params) {
739
739
  resolveNodeRunner(),
740
740
  candidate,
741
741
  ...args
742
- ], { timeoutMs: SERVICE_REFRESH_TIMEOUT_MS });
742
+ ], {
743
+ cwd: params.result.root,
744
+ timeoutMs: SERVICE_REFRESH_TIMEOUT_MS
745
+ });
743
746
  if (res.code === 0) return;
744
747
  throw new Error(`updated install refresh failed (${candidate}): ${formatCommandFailure(res.stdout, res.stderr)}`);
745
748
  }
@@ -2,7 +2,7 @@ import { _ as resolveStateDir, u as resolveGatewayPort } from "./paths-C9FmTW1x.
2
2
  import { U as theme, v as pathExists } from "./agent-paths-DmOVZE7g.js";
3
3
  import { $l as runCommandWithTimeout, Mn as writeConfigFile, co as parseSemver, dd as formatCliCommand, fd as replaceCliName, kn as readConfigFileSnapshot, pd as resolveCliName, po as resolveFasedAgentPackageRoot } from "./agent-scope-CrCe9L5D.js";
4
4
  import "./commands-registry-yEHQnayd.js";
5
- import { gi as trimLogTail } from "./reply-jrONH9Y7.js";
5
+ import { gi as trimLogTail } from "./reply-DN243lz7.js";
6
6
  import { d as defaultRuntime } from "./errors-Dx3S3Nrp.js";
7
7
  import "./send-Dbz4ciHO.js";
8
8
  import "./send-BdbzQtpU.js";
@@ -37,7 +37,7 @@ import "./ssrf-Blf4NrHS.js";
37
37
  import "./outbound-attachment-CWs_0-GB.js";
38
38
  import "./fetch-C7U6zkCW.js";
39
39
  import "./delivery-queue-D3PC9MW-.js";
40
- import "./deps-BWahcXVa.js";
40
+ import "./deps-EzmaJmtm.js";
41
41
  import "./memory-_djkFopW.js";
42
42
  import "./memory-search-DooAj6Eu.js";
43
43
  import "./manager-bJh9XOLh.js";
@@ -77,33 +77,33 @@ import "./skills-remote-DrJ8xN_q.js";
77
77
  import "./skill-commands-Cvv0vOCD.js";
78
78
  import { i as stylePromptMessage } from "./prompt-style-CWAacuMq.js";
79
79
  import "./pairing-labels-v1JixmOK.js";
80
- import "./program-context-DI-GvkMR.js";
80
+ import "./program-context-B-KPred8.js";
81
81
  import "./skills-status-B-wsfIlG.js";
82
82
  import { n as inheritOptionFromParent } from "./command-options-DEPpN8NK.js";
83
- import { r as installCompletion } from "./completion-cli-CWke3Y2I.js";
84
- import "./managed-up-BykEd-7K.js";
85
- import "./daemon-install-helpers-BdhhuvlY.js";
83
+ import { r as installCompletion } from "./completion-cli-CNmWROha.js";
84
+ import "./managed-up-DQse3yus.js";
85
+ import "./daemon-install-helpers-7JdVgy61.js";
86
86
  import "./systemd-6vRLjUEu.js";
87
87
  import { t as resolveGatewayService } from "./service-DRKrlJSw.js";
88
- import "./service-audit-1anzCSV2.js";
89
- import "./shared-DnllDWpn.js";
90
- import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-JvoxFHRy.js";
88
+ import "./service-audit-B9K6xpDJ.js";
89
+ import "./shared-Bb6UiMJm.js";
90
+ import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-DWYMC_o8.js";
91
91
  import "./diagnostics-BHiuBYC1.js";
92
92
  import { t as renderTable } from "./table-BMmOL0ek.js";
93
- import "./health-Dx0abJui.js";
94
- import "./heartbeat-runner-CnzA9MCj.js";
95
- import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, d as formatUpdateChannelLabel, g as resolveUpdateChannelDisplay, h as resolveEffectiveUpdateChannel, m as normalizeUpdateChannel, n as compareSemverStrings, r as fetchNpmTagVersion, s as DEFAULT_GIT_CHANNEL, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-DxBZOPm_.js";
93
+ import "./health-D9tiH6sm.js";
94
+ import "./heartbeat-runner-BiUX3q--.js";
95
+ import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, a as resolveNpmChannelTag, c as detectGlobalInstallManagerForRoot, d as resolveGlobalPackageRoot, g as DEFAULT_PACKAGE_CHANNEL, h as DEFAULT_GIT_CHANNEL, l as globalInstallArgs, n as compareSemverStrings, o as cleanupGlobalRenameDirs, p as resolveNodeModulesRootForPackageRoot, r as fetchNpmTagVersion, s as detectGlobalInstallManagerByPresence, t as checkUpdateStatus, v as channelToNpmTag, w as resolveUpdateChannelDisplay, y as formatUpdateChannelLabel } from "./update-check-CmmNrh5z.js";
96
96
  import "./logging-Dv2wthF_.js";
97
97
  import "./installs-8bxu3Tg4.js";
98
98
  import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-DSvuG3PT.js";
99
99
  import "./channels-status-issues-BfghfzFs.js";
100
- import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-C0YURTQB.js";
101
- import { a as globalInstallArgs, c as readPackageName, i as detectGlobalInstallManagerForRoot, l as readPackageVersion, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as resolveNodeModulesRootForPackageRoot, t as runGatewayUpdate } from "./update-runner-BNiDZKyO.js";
100
+ import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-C1sIShFF.js";
101
+ import { n as readPackageName, r as readPackageVersion, t as runGatewayUpdate } from "./update-runner-BLA3dgWx.js";
102
102
  import "./note-CxT47nBY.js";
103
103
  import "./doctor-config-flow-Dm0RO_rE.js";
104
104
  import "./systemd-linger-dUwTq3fl.js";
105
105
  import "./health-format-BGbDYfmf.js";
106
- import { a as ensureCompletionCacheExists, i as checkShellCompletionStatus, n as doctorCommand, r as runPostUpdateDoctorRepair, t as selectStyled } from "./prompt-select-styled-n_A35tSP.js";
106
+ import { a as ensureCompletionCacheExists, i as checkShellCompletionStatus, n as doctorCommand, r as runPostUpdateDoctorRepair, t as selectStyled } from "./prompt-select-styled-ChtVQzWa.js";
107
107
  import os from "node:os";
108
108
  import path from "node:path";
109
109
  import fs from "node:fs/promises";
@@ -739,7 +739,10 @@ async function refreshGatewayServiceEnv(params) {
739
739
  resolveNodeRunner(),
740
740
  candidate,
741
741
  ...args
742
- ], { timeoutMs: SERVICE_REFRESH_TIMEOUT_MS });
742
+ ], {
743
+ cwd: params.result.root,
744
+ timeoutMs: SERVICE_REFRESH_TIMEOUT_MS
745
+ });
743
746
  if (res.code === 0) return;
744
747
  throw new Error(`updated install refresh failed (${candidate}): ${formatCommandFailure(res.stdout, res.stderr)}`);
745
748
  }