@fased/fased 0.1.28 → 0.1.30
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.
- package/dist/{active-listener-Dmc7Xtuo.js → active-listener-Bw8DT1EX.js} +1 -1
- package/dist/{agent-scope-BYecP9O5.js → agent-scope-Bx0XQq3s.js} +124 -124
- package/dist/{agents-iYhhEhBa.js → agents-BU4NqZkn.js} +8 -8
- package/dist/{attachment-normalize-BhAxfpDx.js → attachment-normalize-3_V1yb6a.js} +1 -1
- package/dist/{attachment-normalize-CKtDb7Dr.js → attachment-normalize-D3LvGnxE.js} +1 -1
- package/dist/{audio-preflight-C8g4U208.js → audio-preflight-B4hZi0X5.js} +1 -1
- package/dist/{audio-preflight-W0jytQTE.js → audio-preflight-DcQrkXYr.js} +2 -2
- package/dist/{audio-preflight-Ck89DLHq.js → audio-preflight-MUfVeIPT.js} +31 -31
- package/dist/{audio-preflight-ktHzRxN9.js → audio-preflight-YPQKo93v.js} +1 -1
- package/dist/{audio-preflight-Cay8mZwp.js → audio-preflight-r8PHFHTe.js} +2 -2
- package/dist/{audit-DAgPJ6XG.js → audit-BNmzld5I.js} +1 -1
- package/dist/{audit-nu4TuGmi.js → audit-ChF16w3M.js} +1 -1
- package/dist/{auth-BXZyivvK.js → auth-DGXGqcN7.js} +5 -5
- package/dist/{auth-choice-T0k3b6-S.js → auth-choice-BJGGTOYU.js} +1 -1
- package/dist/{auth-choice--uTO5KF9.js → auth-choice-UvbBnRhr.js} +1 -1
- package/dist/{auth-choice-prompt-CpPAxYWh.js → auth-choice-prompt-9uH2hSjM.js} +1 -1
- package/dist/{auth-choice-prompt-DT4lamSy.js → auth-choice-prompt-CPoTg_-G.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +31 -31
- package/dist/bundled/bootstrap-extra-files/handler.js +3 -3
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +31 -31
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-D69hLBEQ.js → channel-activity-BvC4RbBO.js} +1 -1
- package/dist/{channel-web-C5m2F4jn.js → channel-web-0wKGD4yD.js} +1 -1
- package/dist/{channel-web-DCEtUdZl.js → channel-web-DLD1undh.js} +1 -1
- package/dist/{channels-BKcpSzps.js → channels-B9bvlD7y.js} +6 -6
- package/dist/{channels-DmfjfmuY.js → channels-CBT56Ap7.js} +6 -6
- package/dist/{channels-cli-Cz7A96xt.js → channels-cli-CK1qojpR.js} +5 -5
- package/dist/{channels-cli-CQoyRjEk.js → channels-cli-D6ioLe8o.js} +5 -5
- package/dist/{chunk-KatG8h1H.js → chunk-CiQeXMLG.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CTiidr2w.js → cli-ByaZFcQl.js} +2 -2
- package/dist/{cli-D6qlo3sU.js → cli-DgHb9Vld.js} +2 -2
- package/dist/{command-registry-DjcstblD.js → command-registry-mptWJW8S.js} +9 -9
- package/dist/{commands-registry-CG-_VuYC.js → commands-registry-t0hu8c_Z.js} +1 -1
- package/dist/{completion-cli-DId41h2e.js → completion-cli-BRvgVQzN.js} +2 -2
- package/dist/{completion-cli-B_uil7u0.js → completion-cli-DyJbXhbh.js} +1 -1
- package/dist/{config-cli-B6Eyt9Xm.js → config-cli-BrzPOli4.js} +1 -1
- package/dist/{config-cli-atr2j6q9.js → config-cli-R0TQZDi7.js} +1 -1
- package/dist/{config-eval-DxNYxraZ.js → config-eval-CLXDBlCw.js} +3 -3
- package/dist/{configure-CrAz2sq9.js → configure-Bt3nH-_I.js} +13 -13
- package/dist/{configure-C5toPgaS.js → configure-pREf12zB.js} +13 -13
- package/dist/control-ui/assets/app-DXYMrRJ9.js.map +1 -1
- package/dist/{cron-cli-CJ90NUZf.js → cron-cli-BIYfBpRP.js} +5 -5
- package/dist/{cron-cli-B9LYsXv6.js → cron-cli-zdoRLQ0m.js} +5 -5
- package/dist/{daemon-cli-D2K0A2cj.js → daemon-cli-Cj4_RgEM.js} +4 -4
- package/dist/{daemon-cli-BS1JARm_.js → daemon-cli-LLGP6g2r.js} +4 -4
- package/dist/daemon-cli.js +3 -10
- package/dist/{daemon-install-helpers-BKLej54T.js → daemon-install-helpers-BPdikKF-.js} +2 -9
- package/dist/{daemon-install-helpers-DTxcfITS.js → daemon-install-helpers-BdhhuvlY.js} +2 -9
- package/dist/{deps-BX9qxzg9.js → deps-QnUngXA3.js} +1 -1
- package/dist/{deps-BtUx0oOa.js → deps-sd-SQKYn.js} +1 -1
- package/dist/{diagnostic-BYQE13k1.js → diagnostic-C6MSQFZF.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{fetch-CYWabNXm.js → fetch-BwkjkjT6.js} +1 -1
- package/dist/{fetch-guard-CNlKZ01R.js → fetch-guard-DdMratk8.js} +1 -1
- package/dist/{filesystem-manager-CWbYjhcQ.js → filesystem-manager-B8V6mEya.js} +4 -4
- package/dist/{fs-safe-T802CTm-.js → fs-safe-CrX7hR24.js} +2 -2
- package/dist/{gateway-cli-DQUDvD-P.js → gateway-cli-Cn3STpYX.js} +30 -30
- package/dist/{gateway-cli-C8uThQly.js → gateway-cli-yfNsUzH6.js} +30 -30
- package/dist/{github-copilot-token-eyrRGmGp.js → github-copilot-token-DYrFvncE.js} +8 -8
- package/dist/{health-ylUwlg54.js → health-BfGnSyOV.js} +2 -2
- package/dist/{health-BH3E5Lbb.js → health-DcurJYny.js} +2 -2
- package/dist/{heartbeat-runner-CrsGVWl5.js → heartbeat-runner-CJZStXhx.js} +1 -1
- package/dist/{heartbeat-runner-7_Hl_o9c.js → heartbeat-runner-CY41VFZE.js} +1 -1
- package/dist/{hooks-cli-tKMQrFUs.js → hooks-cli-DpkFISKR.js} +3 -3
- package/dist/{hooks-cli-CeznlOC9.js → hooks-cli-WtC65axA.js} +3 -3
- package/dist/index.js +7 -7
- package/dist/{internal-CGfrGFGR.js → internal-QlbJb-4V.js} +3 -3
- package/dist/{ipv4-xPPu8uhS.js → ipv4-BkY__Z0A.js} +2 -2
- package/dist/{ipv4-BdcUd7th.js → ipv4-CdRPraPM.js} +2 -2
- package/dist/{lifecycle-Dgvcj0y7.js → lifecycle-DUPuKIvd.js} +1 -1
- package/dist/{lifecycle-BiI4r6Yk.js → lifecycle-Dd-6tFQk.js} +1 -1
- package/dist/{list.auth-overview-DBtoDv3I.js → list.auth-overview-CE2_GQ-8.js} +1 -1
- package/dist/{list.auth-overview-CEuyMCA_.js → list.auth-overview-DcdJySBi.js} +1 -1
- package/dist/llm-slug-generator.js +31 -31
- package/dist/{login-H3-M4-wp.js → login-BGt2KP5c.js} +2 -2
- package/dist/{login-qr-DIly-pBD.js → login-qr-CDDF5Ark.js} +3 -3
- package/dist/{manager-ZRPdFyMZ.js → manager-BfodMNDG.js} +8 -8
- package/dist/{markdown-tables-KcZiNfqg.js → markdown-tables-C-HEtwaC.js} +1 -1
- package/dist/{media-93Hw7QIY.js → media-CInvDVc0.js} +5 -5
- package/dist/{memory-search-CueDEO0U.js → memory-search-BZt8FFLW.js} +2 -2
- package/dist/{model-catalog-CZu0lceX.js → model-catalog-DOuyqwFa.js} +6 -6
- package/dist/{models-CH88-l57.js → models-ItVo4_FF.js} +4 -4
- package/dist/{models-cli-DaSPxlwv.js → models-cli-DKEzhF9X.js} +4 -4
- package/dist/{models-cli-BidzQ2ub.js → models-cli-YznPWFUE.js} +5 -5
- package/dist/{node-cli-DHodXSn8.js → node-cli-CZaJUGYu.js} +5 -5
- package/dist/{node-cli-DtpX07Iy.js → node-cli-qkHTKDmW.js} +5 -5
- package/dist/{onboard-C6FZXU0s.js → onboard--COJdfXc.js} +7 -7
- package/dist/{onboard-DxuuLAd-.js → onboard-Cpw2fP2S.js} +7 -7
- package/dist/{onboard-channels-md6qnWB2.js → onboard-channels-BH6atgy1.js} +2 -2
- package/dist/{onboard-channels-CD98bI5k.js → onboard-channels-CbQgdo3k.js} +2 -2
- package/dist/{onboard-search-VCCwZ9cO.js → onboard-search-Bg8qvHBV.js} +5 -5
- package/dist/{onboard-search-DxM2zPhD.js → onboard-search-BxaAdq5U.js} +5 -5
- package/dist/{onboarding-CIOt4f3q.js → onboarding-B-_4gKpN.js} +9 -9
- package/dist/{onboarding-CUFTjmEm.js → onboarding-DiuUZg9l.js} +9 -9
- package/dist/{openresponses-http-B6U9EAH8.js → openresponses-http-BNIAyGrH.js} +1 -1
- package/dist/{openresponses-http-C-s0pFs7.js → openresponses-http-BVdja8Nj.js} +2 -2
- package/dist/{openresponses-http-CP2yl2hZ.js → openresponses-http-DGAqU5K9.js} +1 -1
- package/dist/{openresponses-http-BQnFLiT5.js → openresponses-http-DhBER2sI.js} +2 -2
- package/dist/{openresponses-http-D4z9eTJH.js → openresponses-http-svQwMBaq.js} +31 -31
- package/dist/{outbound-C7mwBvhN.js → outbound-CfdOHhpP.js} +6 -6
- package/dist/{outbound-attachment-DILp822M.js → outbound-attachment-BL6wK70V.js} +2 -2
- package/dist/{parent-default-help-ChpJAsU-.js → parent-default-help-B2mCEhav.js} +1 -1
- package/dist/{parent-default-help-DbZXyZlW.js → parent-default-help-DUqMyqko.js} +1 -1
- package/dist/{path-alias-guards-DyTCSx8q.js → path-alias-guards-Dalcwl5X.js} +1 -1
- package/dist/{paths-DBTQPSY5.js → paths-zdeD1PNp.js} +13 -13
- package/dist/{pi-embedded-B8HZySK8.js → pi-embedded-CrKlYvWM.js} +234 -234
- package/dist/{pi-embedded-CulwZKSH.js → pi-embedded-DPl5Aqw4.js} +5 -5
- package/dist/{pi-model-discovery--TE7j7VE.js → pi-model-discovery-C1CAe7eM.js} +7 -7
- package/dist/pi-model-discovery-runtime-C34IWfDn.js +5 -0
- package/dist/{plugin-registry-BnvUlYjK.js → plugin-registry-BBzitaxQ.js} +1 -1
- package/dist/{plugin-registry-DxU6FpxL.js → plugin-registry-CIiRwpQv.js} +1 -1
- package/dist/plugin-sdk/{active-listener--vjYvMEK.js → active-listener-BMdC_vyr.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-IwS9Ev0P.js → audio-preflight-B-__-RfZ.js} +29 -29
- package/dist/plugin-sdk/{audio-preflight-DVUWB0LK.js → audio-preflight-DcJUk03P.js} +1 -1
- package/dist/plugin-sdk/{channel-activity-DkLb5E2L.js → channel-activity-NWX3LiLh.js} +1 -1
- package/dist/plugin-sdk/channel-plugin-common.js +1 -1
- package/dist/plugin-sdk/{channel-web-B2i4wI9t.js → channel-web-DoGtD0PQ.js} +14 -14
- package/dist/plugin-sdk/{chunk-BDulh-FS.js → chunk-DnpNE3Xp.js} +1 -1
- package/dist/plugin-sdk/command-status.js +1 -1
- package/dist/plugin-sdk/{commands-registry-Cl80XXdf.js → commands-registry-D-wBX44P.js} +1 -1
- package/dist/plugin-sdk/{diagnostic-BDrUrfZB.js → diagnostic-BjLGAdPW.js} +1 -1
- package/dist/plugin-sdk/{fetch-dvtAysG4.js → fetch-CwQDqOty.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-BxBS-Ozv.js → fetch-guard-C9OlAzZl.js} +1 -1
- package/dist/plugin-sdk/{filesystem-manager-6RcmLJuY.js → filesystem-manager-D2yRTu4v.js} +3 -3
- package/dist/plugin-sdk/{fs-safe-CVSBTTvX.js → fs-safe-Vt6xas26.js} +2 -2
- package/dist/plugin-sdk/index.js +34 -34
- package/dist/plugin-sdk/{internal-s9L09jdh.js → internal-BRBMoaD6.js} +1 -1
- package/dist/plugin-sdk/{ir-BmFS6Dzq.js → ir-BD_A53gm.js} +4 -4
- package/dist/plugin-sdk/{login-DNZBECsI.js → login-Beyw9UA5.js} +2 -2
- package/dist/plugin-sdk/{login-qr-B4GBAfDr.js → login-qr-CvB90Ony.js} +2 -2
- package/dist/plugin-sdk/{manager-BlHbK3u2.js → manager-BQu1VKQ6.js} +5 -5
- package/dist/plugin-sdk/{markdown-tables-CnJAOUZL.js → markdown-tables-trVxBCrI.js} +1 -1
- package/dist/plugin-sdk/{memory-search-nQXS-L20.js → memory-search-DjvKx_Hd.js} +1 -1
- package/dist/plugin-sdk/{openresponses-http-CCgnaxp6.js → openresponses-http-DQWJE95u.js} +1 -1
- package/dist/plugin-sdk/{openresponses-http-CFXgOYZ8.js → openresponses-http-VFgg_bR4.js} +29 -29
- package/dist/plugin-sdk/{outbound-DNozCpaG.js → outbound-D_1hFaJ-.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-D22qcHys.js → outbound-attachment-DenNTymT.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-DN9j8duf.js → path-alias-guards-Wu92iGvE.js} +1 -1
- package/dist/plugin-sdk/{paths-Cn8yCaSN.js → paths-CK25m2hW.js} +2 -2
- package/dist/plugin-sdk/{pi-model-discovery-BeAR6-Xm.js → pi-model-discovery-DMqhr7U_.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-DaiqegxK.js → pi-model-discovery-runtime-CwXjrUIM.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-DRhhMGTg.js → pi-model-discovery-runtime-DScmspTB.js} +2 -2
- package/dist/plugin-sdk/{pw-ai-CVhjKZsh.js → pw-ai-Cs75h-nL.js} +4 -4
- package/dist/plugin-sdk/{qmd-manager-Hhb9s5Ex.js → qmd-manager-DEcJj-8k.js} +4 -4
- package/dist/plugin-sdk/{qmd-scope-DOiYgpAa.js → qmd-scope-BjxICI2O.js} +1 -1
- package/dist/plugin-sdk/{query-expansion-DlX2-yhE.js → query-expansion-6wijZpq6.js} +2 -2
- package/dist/plugin-sdk/{registry-D1bAj51G.js → registry-C90cYLNB.js} +8 -8
- package/dist/plugin-sdk/{replies-DsTSTkkm.js → replies-C28zWuLO.js} +2 -2
- package/dist/plugin-sdk/{reply-BzHXWKR0.js → reply-D4WNXysa.js} +67 -67
- package/dist/plugin-sdk/{reply-prefix-CM9vmzNS.js → reply-prefix-CZBe0Ovo.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BmAvZt5m.js → resolve-outbound-target-DyNIwkzd.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-DB2O8xap.js → resolve-route-aT1YT8Ih.js} +1 -1
- package/dist/plugin-sdk/{runtime-B3BC00NW.js → runtime-Dxpfvz83.js} +8 -8
- package/dist/plugin-sdk/{send-Dzl1P-r1.js → send-5VxqNtsW.js} +7 -7
- package/dist/plugin-sdk/{send-B2PuRxAo.js → send-Bf5cNKV-.js} +5 -5
- package/dist/plugin-sdk/{send-CX4dzEhO.js → send-D4Figs17.js} +5 -5
- package/dist/plugin-sdk/{send-Co84r8KW.js → send-Des0LL0Y.js} +7 -7
- package/dist/plugin-sdk/{send-LjnXKHz9.js → send-Uasa6JPL.js} +4 -4
- package/dist/plugin-sdk/{session-KVX2v7T3.js → session-BYUOdzi1.js} +1 -1
- package/dist/plugin-sdk/{skill-commands-CZ5QzawX.js → skill-commands-FnaJNY1m.js} +5 -5
- package/dist/plugin-sdk/src/brand.d.ts +2 -2
- package/dist/plugin-sdk/{status-B0XnEiYk.js → status-BlX9jStp.js} +5 -5
- package/dist/plugin-sdk/{tables-B8koh_pB.js → tables-DjSNh4Qx.js} +1 -1
- package/dist/plugin-sdk/{target-errors-Bnnn54IW.js → target-errors-DDRTJb87.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-ImTTGqAY.js → tool-loop-detection-B0pfI1b9.js} +1 -1
- package/dist/plugin-sdk/{web-C9P8KPay.js → web-CEucw6Dl.js} +1 -1
- package/dist/plugin-sdk/web-Cr8AJx43.js +40 -0
- package/dist/plugin-sdk/{whatsapp-actions-DjtDOMIg.js → whatsapp-actions-Bx1OtYYh.js} +12 -12
- package/dist/{plugins-cli-ipO2s_1B.js → plugins-cli-B9w9SKYa.js} +5 -5
- package/dist/{plugins-cli-1E09EVlV.js → plugins-cli-CdRa6xYi.js} +5 -5
- package/dist/{program-CDxLwJ0z.js → program-C9wZbb_-.js} +7 -7
- package/dist/{program-context-BD93RW74.js → program-context-Dc8hoANx.js} +25 -25
- package/dist/{prompt-select-styled-CAKroAbM.js → prompt-select-styled-9E7HlPjk.js} +6 -6
- package/dist/{prompt-select-styled-C-zi15KS.js → prompt-select-styled-oUCALY2N.js} +6 -6
- package/dist/{pw-ai-4dv28kg0.js → pw-ai-5b6U6vNE.js} +5 -5
- package/dist/{qmd-manager-DA3v0Y-t.js → qmd-manager-CVbI17-v.js} +5 -5
- package/dist/{qmd-scope-Byk5KlGv.js → qmd-scope-CL7VCB5M.js} +1 -1
- package/dist/{query-expansion-CGVFZR8O.js → query-expansion-DrMLz38Q.js} +2 -2
- package/dist/{register.agent-BGaZQH1X.js → register.agent-BhoMAqJe.js} +8 -8
- package/dist/{register.agent-eKraQHJw.js → register.agent-Dty2GQos.js} +9 -9
- package/dist/{register.configure-BA-xnssd.js → register.configure-CjQhBudl.js} +13 -13
- package/dist/{register.configure-GwR5so5q.js → register.configure-DZl7w5Se.js} +13 -13
- package/dist/{register.maintenance-C8OesoUh.js → register.maintenance-C9_UzTyI.js} +10 -10
- package/dist/{register.maintenance-BXgIzrdf.js → register.maintenance-CGFQEESj.js} +11 -11
- package/dist/{register.message-DhqGREy0.js → register.message-C3BTjmhg.js} +3 -3
- package/dist/{register.message-Cu7PekBP.js → register.message-DnrC31ZC.js} +3 -3
- package/dist/{register.onboard-CQU1AliO.js → register.onboard-DIxJ1bFs.js} +16 -16
- package/dist/{register.onboard-DkIAVugY.js → register.onboard-DzO2dNpB.js} +16 -16
- package/dist/{register.setup-BusNqDdc.js → register.setup-B5Ji_Smo.js} +16 -16
- package/dist/{register.setup-DQaKZMeV.js → register.setup-Cd8rXata.js} +16 -16
- package/dist/{register.start-Bsm3VLUW.js → register.start-BObciIYA.js} +1 -1
- package/dist/{register.start-CmIaQmz8.js → register.start-zfaQ2lDQ.js} +1 -1
- package/dist/{register.status-health-sessions-ChOZwDRw.js → register.status-health-sessions-CUw6awJ6.js} +6 -6
- package/dist/{register.status-health-sessions-D6VCFOIo.js → register.status-health-sessions-CYpKmq3y.js} +6 -6
- package/dist/{register.subclis-Drc4P-Nq.js → register.subclis-DEnba1hq.js} +17 -17
- package/dist/{replies-oXYe4wxf.js → replies-DEtI8EHM.js} +2 -2
- package/dist/{reply-BiTQJbqI.js → reply-DVGmtLPq.js} +6 -6
- package/dist/{reply-prefix-DZjj9KHV.js → reply-prefix-DVyUjzCQ.js} +1 -1
- package/dist/{resolve-route-D3-NnOVE.js → resolve-route-Dc1L-NXd.js} +1 -1
- package/dist/{run-main-BY0Rwey1.js → run-main-BqiU1shU.js} +14 -14
- package/dist/{runtime-helper-grants-DfJj0yBK.js → runtime-helper-grants-BQl2Y_KJ.js} +1 -1
- package/dist/{runtime-helper-grants-KLyyfrTt.js → runtime-helper-grants-CHz5azhO.js} +1 -1
- package/dist/{sandbox-cli-DA7q2-Ck.js → sandbox-cli-BLWfhZh2.js} +2 -2
- package/dist/{sandbox-cli-DaBgqYew.js → sandbox-cli-C7tRjHGl.js} +2 -2
- package/dist/{security-cli-CjylWZ8O.js → security-cli-0-5Vgk1A.js} +3 -3
- package/dist/{security-cli-BzwvvYlN.js → security-cli-DGCfCHzM.js} +3 -3
- package/dist/{send-BqgaWpoE.js → send-BohOQw4n.js} +4 -4
- package/dist/{send-B-sa1Rzn.js → send-CqQ88clX.js} +18 -18
- package/dist/{send-DQ3s5E33.js → send-D2IXnEJl.js} +7 -7
- package/dist/{send-C1YtjPQb.js → send-D8eFKkkd.js} +5 -5
- package/dist/{send-Bhj3bXKi.js → send-Ps08x526.js} +5 -5
- package/dist/{server-B-QKsL4x.js → server-BMZYE37o.js} +2 -2
- package/dist/{server-Bz-J2_5y.js → server-DamsmTjm.js} +2 -2
- package/dist/{server-cron-CyHe5fDq.js → server-cron-BUWyjpTV.js} +2 -2
- package/dist/{server-cron-B5wrfwxM.js → server-cron-DC9t05LU.js} +2 -2
- package/dist/{server-node-events-Baqsf2NX.js → server-node-events-C3IOxSF_.js} +3 -3
- package/dist/{server-node-events-0EBnfqMC.js → server-node-events-cusaGrcY.js} +3 -3
- package/dist/{service-audit-CKhQ-gE8.js → service-audit-1anzCSV2.js} +1 -1
- package/dist/{service-audit-vZURAwy5.js → service-audit-Daqv2ulM.js} +1 -1
- package/dist/{session-CYgXtJQQ.js → session-Cz9lOeBe.js} +5 -5
- package/dist/{shared-NfkGRhDK.js → shared-BO4hP_yT.js} +1 -1
- package/dist/{shared-BiAB2K_s.js → shared-DnllDWpn.js} +1 -1
- package/dist/{skill-commands-HOHDwVYx.js → skill-commands-LW0SeGsB.js} +24 -24
- package/dist/{status-Bn_17wli.js → status-B39ZJFhD.js} +1 -1
- package/dist/{status-CedgExBn.js → status-CrL7Hp3R.js} +4 -4
- package/dist/{status-B2XDD6O1.js → status-Dlt3xwcf.js} +4 -4
- package/dist/{status-DkO_XJ89.js → status-Doqt5wXN.js} +1 -1
- package/dist/{tables-BQMYTcw_.js → tables-CjmIs23-.js} +1 -1
- package/dist/{target-errors-iZTI1Fwr.js → target-errors-C3MQ1_UT.js} +2 -2
- package/dist/{tool-loop-detection-CqQip5ev.js → tool-loop-detection-CSfX9pJE.js} +2 -2
- package/dist/{tui-DNfrxf46.js → tui-DdPEVWjR.js} +1 -1
- package/dist/{tui-CM1AENKh.js → tui-R-P_OV8J.js} +1 -1
- package/dist/{tui-cli-CCBB8SMS.js → tui-cli-BgihXvs7.js} +3 -3
- package/dist/{tui-cli-DIW91DD7.js → tui-cli-ChpP9FsL.js} +3 -3
- package/dist/{update-cli-BjzhdsTf.js → update-cli-DPdSuHZT.js} +17 -17
- package/dist/{update-cli-BmVv97nm.js → update-cli-DVCjSLYw.js} +18 -18
- package/dist/{update-runner-Bqlzlgnj.js → update-runner-COs-YDhT.js} +38 -4
- package/dist/{update-runner-CweCoZFE.js → update-runner-DNPfs265.js} +38 -4
- package/dist/{web-Cx5CZwIi.js → web-B2SWpLdC.js} +3 -3
- package/dist/{web-D9Laamj2.js → web-BHp_2XHP.js} +1 -1
- package/dist/{web-By4q48rt.js → web-D8bq1XRX.js} +3 -3
- package/dist/{web-D2vp8fmO.js → web-DQuQBwMr.js} +35 -35
- package/dist/{web-search-providers.runtime-CuW6jS_G.js → web-search-providers.runtime-BD9Vp8eD.js} +1 -1
- package/dist/{web-search-providers.runtime-C_62DK_P.js → web-search-providers.runtime-CiOoq6G3.js} +1 -1
- package/dist/{web-BpZesxOB.js → web-vGE7qeF-.js} +1 -1
- package/dist/{whatsapp-actions-CrVrn3wF.js → whatsapp-actions-oa93ddRw.js} +12 -12
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/fased-federation/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +12 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/sat-mining/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/src/brand.ts +1 -1
- package/src/canvas-host/a2ui/.bundle.hash +1 -1
- package/src/cli/update-cli/progress.ts +2 -2
- package/src/cli/update-cli/update-command.ts +4 -3
- package/src/commands/daemon-install-helpers.ts +0 -12
- package/src/infra/update-global.ts +47 -0
- package/src/infra/update-runner.ts +10 -2
- package/dist/pi-model-discovery-runtime-DD55ZBCk.js +0 -5
- package/dist/plugin-sdk/web-qxwuv8Ap.js +0 -40
|
@@ -2,7 +2,7 @@ import "./paths-C9FmTW1x.js";
|
|
|
2
2
|
import "./agent-paths-DmOVZE7g.js";
|
|
3
3
|
import { Dn as loadConfig, Nt as updateSessionStore, Pu as normalizeChannelId, it as resolveGatewaySessionStoreTarget, nt as loadSessionEntry, rt as pruneLegacyStoreKeys } from "./agent-scope-CrCe9L5D.js";
|
|
4
4
|
import "./commands-registry-yEHQnayd.js";
|
|
5
|
-
import { Qi as buildOutboundSessionContext, Xi as resolveOutboundTarget, bt as createOutboundSendDeps, ea as enqueueSystemEvent, ht as agentCommand, ia as requestHeartbeatNow, to as deliverOutboundPayloads } from "./reply-
|
|
5
|
+
import { Qi as buildOutboundSessionContext, Xi as resolveOutboundTarget, bt as createOutboundSendDeps, ea as enqueueSystemEvent, ht as agentCommand, ia as requestHeartbeatNow, to as deliverOutboundPayloads } from "./reply-DVGmtLPq.js";
|
|
6
6
|
import { c as normalizeMainKey } from "./session-key-LmCHAJTQ.js";
|
|
7
7
|
import { d as defaultRuntime } from "./errors-Dx3S3Nrp.js";
|
|
8
8
|
import "./send-Dbz4ciHO.js";
|
|
@@ -39,7 +39,7 @@ import "./ssrf-Blf4NrHS.js";
|
|
|
39
39
|
import "./outbound-attachment-CWs_0-GB.js";
|
|
40
40
|
import "./fetch-C7U6zkCW.js";
|
|
41
41
|
import "./delivery-queue-D3PC9MW-.js";
|
|
42
|
-
import "./deps-
|
|
42
|
+
import "./deps-sd-SQKYn.js";
|
|
43
43
|
import "./memory-_djkFopW.js";
|
|
44
44
|
import "./memory-search-DooAj6Eu.js";
|
|
45
45
|
import "./manager-bJh9XOLh.js";
|
|
@@ -78,7 +78,7 @@ import "./skills-remote-DrJ8xN_q.js";
|
|
|
78
78
|
import "./skill-commands-Cvv0vOCD.js";
|
|
79
79
|
import "./prompt-style-CWAacuMq.js";
|
|
80
80
|
import "./pairing-labels-v1JixmOK.js";
|
|
81
|
-
import { a as registerApnsToken, l as formatForLog, n as parseMessageWithAttachments, t as normalizeRpcAttachmentsToChatAttachments } from "./attachment-normalize-
|
|
81
|
+
import { a as registerApnsToken, l as formatForLog, n as parseMessageWithAttachments, t as normalizeRpcAttachmentsToChatAttachments } from "./attachment-normalize-3_V1yb6a.js";
|
|
82
82
|
import { randomUUID } from "node:crypto";
|
|
83
83
|
|
|
84
84
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as isNodeRuntime, t as isBunRuntime } from "./runtime-binary-bthNLnIR.js";
|
|
2
|
-
import { d as isSystemNodePath, f as isVersionManagedNodePath, g as resolveSystemNodePath, l as getMinimalServicePathPartsFromEnv } from "./daemon-install-helpers-
|
|
2
|
+
import { d as isSystemNodePath, f as isVersionManagedNodePath, g as resolveSystemNodePath, l as getMinimalServicePathPartsFromEnv } from "./daemon-install-helpers-BdhhuvlY.js";
|
|
3
3
|
import { o as resolveSystemdUserUnitPath } from "./systemd-6vRLjUEu.js";
|
|
4
4
|
import { c as resolveLaunchAgentPlistPath } from "./service-DRKrlJSw.js";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ft as isBunRuntime, It as isNodeRuntime } from "./entry.js";
|
|
2
|
-
import { d as isSystemNodePath, f as isVersionManagedNodePath, g as resolveSystemNodePath, l as getMinimalServicePathPartsFromEnv } from "./daemon-install-helpers-
|
|
2
|
+
import { d as isSystemNodePath, f as isVersionManagedNodePath, g as resolveSystemNodePath, l as getMinimalServicePathPartsFromEnv } from "./daemon-install-helpers-BPdikKF-.js";
|
|
3
3
|
import { o as resolveSystemdUserUnitPath } from "./systemd-CWa7eQgH.js";
|
|
4
4
|
import { c as resolveLaunchAgentPlistPath } from "./service-CPGs_iPU.js";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ds as success, Ms as getChildLogger, Ns as toPinoLikeLogger, Oa as formatCliCommand, Pi as redactSensitiveText, Ss as danger, _a as readCredsJsonRaw, ba as resolveWebCredsBackupPath, ha as maybeRestoreCredsFromBackup, is as ensureDir, ps as resolveUserPath, xa as resolveWebCredsPath, xi as VERSION, ya as resolveDefaultWebAuthDir } from "./agent-scope-
|
|
1
|
+
import { Ds as success, Ms as getChildLogger, Ns as toPinoLikeLogger, Oa as formatCliCommand, Pi as redactSensitiveText, Ss as danger, _a as readCredsJsonRaw, ba as resolveWebCredsBackupPath, ha as maybeRestoreCredsFromBackup, is as ensureDir, ps as resolveUserPath, xa as resolveWebCredsPath, xi as VERSION, ya as resolveDefaultWebAuthDir } from "./agent-scope-Bx0XQq3s.js";
|
|
2
2
|
import { n as redactSensitiveUrlLikeString } from "./redact-sensitive-url-Dp_gOi-q.js";
|
|
3
|
-
import
|
|
3
|
+
import fs from "node:fs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
6
6
|
import qrcode from "qrcode-terminal";
|
|
@@ -19,16 +19,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
|
19
19
|
const raw = readCredsJsonRaw(credsPath);
|
|
20
20
|
if (raw) try {
|
|
21
21
|
JSON.parse(raw);
|
|
22
|
-
|
|
22
|
+
fs.copyFileSync(credsPath, backupPath);
|
|
23
23
|
try {
|
|
24
|
-
|
|
24
|
+
fs.chmodSync(backupPath, 384);
|
|
25
25
|
} catch {}
|
|
26
26
|
} catch {}
|
|
27
27
|
} catch {}
|
|
28
28
|
try {
|
|
29
29
|
await Promise.resolve(saveCreds());
|
|
30
30
|
try {
|
|
31
|
-
|
|
31
|
+
fs.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
32
32
|
} catch {}
|
|
33
33
|
} catch (err) {
|
|
34
34
|
logger.warn({ error: formatError(err) }, "failed saving WhatsApp creds");
|
|
@@ -6,7 +6,7 @@ import { _ as resolveGatewayWindowsTaskName, g as resolveGatewaySystemdServiceNa
|
|
|
6
6
|
import { t as isWSL } from "./wsl-CZrHoi91.js";
|
|
7
7
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CWa7eQgH.js";
|
|
8
8
|
import { s as resolveGatewayLogPaths } from "./service-CPGs_iPU.js";
|
|
9
|
-
import { r as checkTokenDrift } from "./service-audit-
|
|
9
|
+
import { r as checkTokenDrift } from "./service-audit-Daqv2ulM.js";
|
|
10
10
|
import { r as renderSystemdUnavailableHints } from "./runtime-format-B61agLe9.js";
|
|
11
11
|
import { t as parsePort } from "./parse-port-DcD14yHo.js";
|
|
12
12
|
import { Writable } from "node:stream";
|
|
@@ -7,7 +7,7 @@ import { _ as resolveGatewayWindowsTaskName, g as resolveGatewaySystemdServiceNa
|
|
|
7
7
|
import { t as isWSL } from "./wsl-Dk6WfABt.js";
|
|
8
8
|
import { r as isSystemdUserServiceAvailable } from "./systemd-6vRLjUEu.js";
|
|
9
9
|
import { s as resolveGatewayLogPaths } from "./service-DRKrlJSw.js";
|
|
10
|
-
import { r as checkTokenDrift } from "./service-audit-
|
|
10
|
+
import { r as checkTokenDrift } from "./service-audit-1anzCSV2.js";
|
|
11
11
|
import { r as renderSystemdUnavailableHints } from "./runtime-format-DyarNV-t.js";
|
|
12
12
|
import { t as parsePort } from "./parse-port-DdAxyRwV.js";
|
|
13
13
|
import { Writable } from "node:stream";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Bo as resolveEffectiveEnableState, D as resolveEffectiveAgentSkillFilter, Fs as resolvePreferredFasedAgentTmpDir, Gi as isPathInside, Io as normalizeStringEntries, O as normalizeSkillFilter, Qr as loadPluginManifestRegistry, Vo as resolveMemorySlotDecision, Xi as isDangerousHostEnvVarName, es as CONFIG_DIR, k as createSubsystemLogger, l as resolveAgentWorkspaceDir, ps as resolveUserPath, r as listAgentIds, ri as resolveFasedAgentPackageRootSync, zo as normalizePluginsConfig } from "./agent-scope-
|
|
3
|
-
import { f as resolveStateDir } from "./github-copilot-token-
|
|
4
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
5
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
6
|
-
import { a as normalizeStringList, c as resolveFasedAgentManifestBlock, d as resolveFasedAgentManifestRequires, f as parseFrontmatterBlock, i as getFrontmatterString, l as resolveFasedAgentManifestInstall, n as hasBinary, o as parseFasedAgentManifestInstallBase, r as isConfigPathTruthyWithDefaults, s as parseFrontmatterBool, t as evaluateRuntimeEligibility, u as resolveFasedAgentManifestOs } from "./config-eval-
|
|
2
|
+
import { Bo as resolveEffectiveEnableState, D as resolveEffectiveAgentSkillFilter, Fs as resolvePreferredFasedAgentTmpDir, Gi as isPathInside, Io as normalizeStringEntries, O as normalizeSkillFilter, Qr as loadPluginManifestRegistry, Vo as resolveMemorySlotDecision, Xi as isDangerousHostEnvVarName, es as CONFIG_DIR, k as createSubsystemLogger, l as resolveAgentWorkspaceDir, ps as resolveUserPath, r as listAgentIds, ri as resolveFasedAgentPackageRootSync, zo as normalizePluginsConfig } from "./agent-scope-Bx0XQq3s.js";
|
|
3
|
+
import { f as resolveStateDir } from "./github-copilot-token-DYrFvncE.js";
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-Dalcwl5X.js";
|
|
5
|
+
import { a as listChatCommands } from "./commands-registry-t0hu8c_Z.js";
|
|
6
|
+
import { a as normalizeStringList, c as resolveFasedAgentManifestBlock, d as resolveFasedAgentManifestRequires, f as parseFrontmatterBlock, i as getFrontmatterString, l as resolveFasedAgentManifestInstall, n as hasBinary, o as parseFasedAgentManifestInstallBase, r as isConfigPathTruthyWithDefaults, s as parseFrontmatterBool, t as evaluateRuntimeEligibility, u as resolveFasedAgentManifestOs } from "./config-eval-CLXDBlCw.js";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
|
-
import
|
|
10
|
+
import fs$1 from "node:fs";
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
12
|
import { URL, fileURLToPath } from "node:url";
|
|
13
13
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
@@ -578,13 +578,13 @@ function applySkillEnvOverridesFromSnapshot(params) {
|
|
|
578
578
|
//#region src/agents/skills/bundled-dir.ts
|
|
579
579
|
function looksLikeSkillsDir(dir) {
|
|
580
580
|
try {
|
|
581
|
-
const entries =
|
|
581
|
+
const entries = fs$1.readdirSync(dir, { withFileTypes: true });
|
|
582
582
|
for (const entry of entries) {
|
|
583
583
|
if (entry.name.startsWith(".")) continue;
|
|
584
584
|
const fullPath = path.join(dir, entry.name);
|
|
585
585
|
if (entry.isFile() && entry.name.endsWith(".md")) return true;
|
|
586
586
|
if (entry.isDirectory()) {
|
|
587
|
-
if (
|
|
587
|
+
if (fs$1.existsSync(path.join(fullPath, "SKILL.md"))) return true;
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
} catch {
|
|
@@ -599,7 +599,7 @@ function resolveBundledSkillsDir(opts = {}) {
|
|
|
599
599
|
const execPath = opts.execPath ?? process.execPath;
|
|
600
600
|
const execDir = path.dirname(execPath);
|
|
601
601
|
const sibling = path.join(execDir, "skills");
|
|
602
|
-
if (
|
|
602
|
+
if (fs$1.existsSync(sibling)) return sibling;
|
|
603
603
|
} catch {}
|
|
604
604
|
try {
|
|
605
605
|
const moduleUrl = opts.moduleUrl ?? import.meta.url;
|
|
@@ -662,7 +662,7 @@ function resolvePluginSkillDirs(params) {
|
|
|
662
662
|
const trimmed = raw.trim();
|
|
663
663
|
if (!trimmed) continue;
|
|
664
664
|
const candidate = path.resolve(record.rootDir, trimmed);
|
|
665
|
-
if (!
|
|
665
|
+
if (!fs$1.existsSync(candidate)) {
|
|
666
666
|
log$2.warn(`plugin skill path not found (${record.id}): ${candidate}`);
|
|
667
667
|
continue;
|
|
668
668
|
}
|
|
@@ -689,7 +689,7 @@ async function serializeByKey(key, task) {
|
|
|
689
689
|
|
|
690
690
|
//#endregion
|
|
691
691
|
//#region src/agents/skills/workspace.ts
|
|
692
|
-
const fsp =
|
|
692
|
+
const fsp = fs$1.promises;
|
|
693
693
|
const skillsLogger = createSubsystemLogger("skills");
|
|
694
694
|
const skillCommandDebugOnce = /* @__PURE__ */ new Set();
|
|
695
695
|
/**
|
|
@@ -735,10 +735,10 @@ function isPathWithinRoot(candidatePath, rootPath) {
|
|
|
735
735
|
let candidate = path.resolve(candidatePath);
|
|
736
736
|
let root = path.resolve(rootPath);
|
|
737
737
|
try {
|
|
738
|
-
candidate =
|
|
738
|
+
candidate = fs$1.realpathSync.native(candidate);
|
|
739
739
|
} catch {}
|
|
740
740
|
try {
|
|
741
|
-
root =
|
|
741
|
+
root = fs$1.realpathSync.native(root);
|
|
742
742
|
} catch {}
|
|
743
743
|
const relative = path.relative(root, candidate);
|
|
744
744
|
return relative === "" || !relative.startsWith("..") && !path.isAbsolute(relative);
|
|
@@ -778,7 +778,7 @@ function resolveSkillsLimits(config) {
|
|
|
778
778
|
}
|
|
779
779
|
function listChildDirectories(dir) {
|
|
780
780
|
try {
|
|
781
|
-
const entries =
|
|
781
|
+
const entries = fs$1.readdirSync(dir, { withFileTypes: true });
|
|
782
782
|
const dirs = [];
|
|
783
783
|
for (const entry of entries) {
|
|
784
784
|
if (entry.name.startsWith(".")) continue;
|
|
@@ -789,7 +789,7 @@ function listChildDirectories(dir) {
|
|
|
789
789
|
continue;
|
|
790
790
|
}
|
|
791
791
|
if (entry.isSymbolicLink()) try {
|
|
792
|
-
if (
|
|
792
|
+
if (fs$1.statSync(fullPath).isDirectory()) dirs.push(entry.name);
|
|
793
793
|
} catch {}
|
|
794
794
|
}
|
|
795
795
|
return dirs;
|
|
@@ -800,7 +800,7 @@ function listChildDirectories(dir) {
|
|
|
800
800
|
function resolveNestedSkillsRoot(dir, opts) {
|
|
801
801
|
const nested = path.join(dir, "skills");
|
|
802
802
|
try {
|
|
803
|
-
if (!
|
|
803
|
+
if (!fs$1.existsSync(nested) || !fs$1.statSync(nested).isDirectory()) return { baseDir: dir };
|
|
804
804
|
} catch {
|
|
805
805
|
return { baseDir: dir };
|
|
806
806
|
}
|
|
@@ -809,7 +809,7 @@ function resolveNestedSkillsRoot(dir, opts) {
|
|
|
809
809
|
const toScan = scanLimit === 0 ? [] : nestedDirs.slice(0, Math.min(nestedDirs.length, scanLimit));
|
|
810
810
|
for (const name of toScan) {
|
|
811
811
|
const skillMd = path.join(nested, name, "SKILL.md");
|
|
812
|
-
if (
|
|
812
|
+
if (fs$1.existsSync(skillMd)) return {
|
|
813
813
|
baseDir: nested,
|
|
814
814
|
note: `Detected nested skills root at ${nested}`
|
|
815
815
|
};
|
|
@@ -829,9 +829,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
829
829
|
const loadSkills = (params) => {
|
|
830
830
|
const baseDir = resolveNestedSkillsRoot(params.dir, { maxEntriesToScan: limits.maxCandidatesPerRoot }).baseDir;
|
|
831
831
|
const rootSkillMd = path.join(baseDir, "SKILL.md");
|
|
832
|
-
if (
|
|
832
|
+
if (fs$1.existsSync(rootSkillMd)) {
|
|
833
833
|
try {
|
|
834
|
-
const size =
|
|
834
|
+
const size = fs$1.statSync(rootSkillMd).size;
|
|
835
835
|
if (size > limits.maxSkillFileBytes) {
|
|
836
836
|
skillsLogger.warn("Skipping skills root due to oversized SKILL.md.", {
|
|
837
837
|
dir: baseDir,
|
|
@@ -870,9 +870,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
870
870
|
for (const name of limitedChildren) {
|
|
871
871
|
const skillDir = path.join(baseDir, name);
|
|
872
872
|
const skillMd = path.join(skillDir, "SKILL.md");
|
|
873
|
-
if (!
|
|
873
|
+
if (!fs$1.existsSync(skillMd)) continue;
|
|
874
874
|
try {
|
|
875
|
-
const size =
|
|
875
|
+
const size = fs$1.statSync(skillMd).size;
|
|
876
876
|
if (size > limits.maxSkillFileBytes) {
|
|
877
877
|
skillsLogger.warn("Skipping skill due to oversized SKILL.md.", {
|
|
878
878
|
skill: name,
|
|
@@ -940,7 +940,7 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
940
940
|
return Array.from(merged.values()).map((skill) => {
|
|
941
941
|
let frontmatter = {};
|
|
942
942
|
try {
|
|
943
|
-
frontmatter = parseFrontmatter(
|
|
943
|
+
frontmatter = parseFrontmatter(fs$1.readFileSync(skill.filePath, "utf-8"));
|
|
944
944
|
} catch {}
|
|
945
945
|
return {
|
|
946
946
|
skill,
|
|
@@ -1395,8 +1395,8 @@ function listSkillCommandsForAgents(params) {
|
|
|
1395
1395
|
const visitedDirs = /* @__PURE__ */ new Set();
|
|
1396
1396
|
for (const agentId of agentIds) {
|
|
1397
1397
|
const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
|
|
1398
|
-
if (!
|
|
1399
|
-
const canonicalDir =
|
|
1398
|
+
if (!fs$1.existsSync(workspaceDir)) continue;
|
|
1399
|
+
const canonicalDir = fs$1.realpathSync(workspaceDir);
|
|
1400
1400
|
if (visitedDirs.has(canonicalDir)) continue;
|
|
1401
1401
|
visitedDirs.add(canonicalDir);
|
|
1402
1402
|
const commands = buildWorkspaceSkillCommandSpecs(workspaceDir, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as resolveDefaultAgentWorkspaceDir, Dn as loadConfig, F as createSubsystemLogger, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CrCe9L5D.js";
|
|
2
|
-
import { Nt as loadFasedAgentPlugins, la as createPluginLoaderLogger } from "./reply-
|
|
2
|
+
import { Nt as loadFasedAgentPlugins, la as createPluginLoaderLogger } from "./reply-DVGmtLPq.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/status.ts
|
|
5
5
|
const log = createSubsystemLogger("plugins");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { A as resolveSessionModelRef, Bt as resolveFreshSessionTotalTokens, C as listAgentsForGateway, Cu as formatCliCommand, Gl as listChannelPlugins, Gt as resolveMainSessionKey, L as resolveContextTokensForModel, Qt as readConfigFileSnapshot, Rr as resolveConfiguredModelRef, Wu as resolveAgentWorkspaceDir, X as loadSessionStore, Xt as loadConfig, Yc as VERSION, fd as resolveFasedAgentPackageRoot, hd as runExec, x as classifySessionKey } from "./env-BegRUDBP.js";
|
|
3
3
|
import { H as theme, V as isRich, j as info } from "./agent-paths-BI1hx-tF.js";
|
|
4
|
-
import { E as resolveControlUiLinks, Gr as summarizeRestartSentinel, Jt as buildChannelSummary, Ri as resolveStrictAgenticRuntimeMode, So as getTailnetHostname, Wa as normalizeControlUiBasePath, Wr as readRestartSentinel, Xt as formatChannelAllowFrom, Yt as buildChannelAccountSnapshot, _r as loadProviderUsageSummary, rr as peekSystemEvents, vr as formatUsageReportLines, wo as readTailscaleStatusJson } from "./model-catalog-
|
|
4
|
+
import { E as resolveControlUiLinks, Gr as summarizeRestartSentinel, Jt as buildChannelSummary, Ri as resolveStrictAgenticRuntimeMode, So as getTailnetHostname, Wa as normalizeControlUiBasePath, Wr as readRestartSentinel, Xt as formatChannelAllowFrom, Yt as buildChannelAccountSnapshot, _r as loadProviderUsageSummary, rr as peekSystemEvents, vr as formatUsageReportLines, wo as readTailscaleStatusJson } from "./model-catalog-DOuyqwFa.js";
|
|
5
5
|
import { n as DEFAULT_MODEL, r as DEFAULT_PROVIDER, t as DEFAULT_CONTEXT_TOKENS } from "./defaults-BDW-7D7s.js";
|
|
6
6
|
import { gt as resolveGatewayPort, it as parseAgentSessionKey, v as resolveStorePath } from "./entry.js";
|
|
7
7
|
import { t as getMemorySearchManager } from "./memory-DwzB7ik7.js";
|
|
@@ -18,9 +18,9 @@ import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./servi
|
|
|
18
18
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-Ol8emLbF.js";
|
|
19
19
|
import { t as readLastGatewayErrorLine } from "./diagnostics-J_ooWcgT.js";
|
|
20
20
|
import { t as renderTable } from "./table-DiHPQeoC.js";
|
|
21
|
-
import { o as probeGateway, r as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-
|
|
22
|
-
import { t as formatHealthChannelLines, u as getLastGatewayStartupTraceSnapshot } from "./health-
|
|
23
|
-
import { t as resolveHeartbeatSummaryForAgent } from "./heartbeat-runner-
|
|
21
|
+
import { o as probeGateway, r as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-ChF16w3M.js";
|
|
22
|
+
import { t as formatHealthChannelLines, u as getLastGatewayStartupTraceSnapshot } from "./health-BfGnSyOV.js";
|
|
23
|
+
import { t as resolveHeartbeatSummaryForAgent } from "./heartbeat-runner-CJZStXhx.js";
|
|
24
24
|
import { d as formatUpdateChannelLabel, h as resolveEffectiveUpdateChannel, i as formatGitInstallLabel, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-vt58Ppts.js";
|
|
25
25
|
import { t as resolveNodeService } from "./node-service-Df8qw7i5.js";
|
|
26
26
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-DzJA9WTM.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-C9FmTW1x.js";
|
|
2
2
|
import { H as isRich, M as info, U as theme } from "./agent-paths-DmOVZE7g.js";
|
|
3
3
|
import { $ as listAgentsForGateway, Dn as loadConfig, Et as loadSessionStore, Nu as listChannelPlugins, Sn as resolveMainSessionKey, Z as classifySessionKey, _n as resolveFreshSessionTotalTokens, bl as VERSION, dd as formatCliCommand, eu as runExec, hi as resolveConfiguredModelRef, kn as readConfigFileSnapshot, ot as resolveSessionModelRef, po as resolveFasedAgentPackageRoot, pt as resolveContextTokensForModel, u as resolveAgentWorkspaceDir } from "./agent-scope-CrCe9L5D.js";
|
|
4
|
-
import { $o as getTailnetHostname, B as buildChannelAccountSnapshot, Br as loadProviderUsageSummary, Qt as resolveControlUiLinks, V as formatChannelAllowFrom, Vr as formatUsageReportLines, gt as resolveStrictAgenticRuntimeMode, hi as summarizeRestartSentinel, mi as readRestartSentinel, ra as peekSystemEvents, ts as readTailscaleStatusJson, xo as normalizeControlUiBasePath, z as buildChannelSummary } from "./reply-
|
|
4
|
+
import { $o as getTailnetHostname, B as buildChannelAccountSnapshot, Br as loadProviderUsageSummary, Qt as resolveControlUiLinks, V as formatChannelAllowFrom, Vr as formatUsageReportLines, gt as resolveStrictAgenticRuntimeMode, hi as summarizeRestartSentinel, mi as readRestartSentinel, ra as peekSystemEvents, ts as readTailscaleStatusJson, xo as normalizeControlUiBasePath, z as buildChannelSummary } from "./reply-DVGmtLPq.js";
|
|
5
5
|
import { w as parseAgentSessionKey } from "./session-key-LmCHAJTQ.js";
|
|
6
6
|
import { n as DEFAULT_MODEL, r as DEFAULT_PROVIDER, t as DEFAULT_CONTEXT_TOKENS } from "./defaults-CzImVi0V.js";
|
|
7
7
|
import { g as resolveStorePath } from "./chat-envelope-D_wSv26N.js";
|
|
@@ -19,9 +19,9 @@ import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./servi
|
|
|
19
19
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-S9nJA1dv.js";
|
|
20
20
|
import { t as readLastGatewayErrorLine } from "./diagnostics-BHiuBYC1.js";
|
|
21
21
|
import { t as renderTable } from "./table-BMmOL0ek.js";
|
|
22
|
-
import { o as probeGateway, r as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-
|
|
23
|
-
import { l as getLastGatewayStartupTraceSnapshot, t as formatHealthChannelLines } from "./health-
|
|
24
|
-
import { t as resolveHeartbeatSummaryForAgent } from "./heartbeat-runner-
|
|
22
|
+
import { o as probeGateway, r as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-BNmzld5I.js";
|
|
23
|
+
import { l as getLastGatewayStartupTraceSnapshot, t as formatHealthChannelLines } from "./health-DcurJYny.js";
|
|
24
|
+
import { t as resolveHeartbeatSummaryForAgent } from "./heartbeat-runner-CY41VFZE.js";
|
|
25
25
|
import { d as formatUpdateChannelLabel, h as resolveEffectiveUpdateChannel, i as formatGitInstallLabel, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-DxBZOPm_.js";
|
|
26
26
|
import { t as resolveNodeService } from "./node-service-CDCLR3s1.js";
|
|
27
27
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-BfghfzFs.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Gu as resolveDefaultAgentId, Wu as resolveAgentWorkspaceDir, Xt as loadConfig, a as createSubsystemLogger, ud as resolveDefaultAgentWorkspaceDir } from "./env-BegRUDBP.js";
|
|
2
|
-
import { Oi as createPluginLoaderLogger, c as loadFasedAgentPlugins } from "./model-catalog-
|
|
2
|
+
import { Oi as createPluginLoaderLogger, c as loadFasedAgentPlugins } from "./model-catalog-DOuyqwFa.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/status.ts
|
|
5
5
|
const log = createSubsystemLogger("plugins");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as createSubsystemLogger } from "./agent-scope-
|
|
2
|
-
import { a as buildImageResizeSideGrid, g as detectMime, i as IMAGE_REDUCE_QUALITY_STEPS, o as getImageMetadata, s as resizeToJpeg } from "./media-
|
|
1
|
+
import { k as createSubsystemLogger } from "./agent-scope-Bx0XQq3s.js";
|
|
2
|
+
import { a as buildImageResizeSideGrid, g as detectMime, i as IMAGE_REDUCE_QUALITY_STEPS, o as getImageMetadata, s as resizeToJpeg } from "./media-CInvDVc0.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/media/base64.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as createSubsystemLogger, xs as isPlainObject } from "./agent-scope-
|
|
2
|
-
import "./github-copilot-token-
|
|
1
|
+
import { k as createSubsystemLogger, xs as isPlainObject } from "./agent-scope-Bx0XQq3s.js";
|
|
2
|
+
import "./github-copilot-token-DYrFvncE.js";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/tool-loop-detection.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dn as loadConfig, bl as VERSION, d as resolveDefaultAgentId, df as GATEWAY_CLIENT_CAPS, ld as stripAnsi$1, lp as listThinkingLevelLabels, mf as GATEWAY_CLIENT_NAMES, pf as GATEWAY_CLIENT_MODES, sp as formatThinkingLevels, ud as visibleWidth } from "./agent-scope-CrCe9L5D.js";
|
|
2
2
|
import { E as resolveResponseUsageMode, a as listChatCommands, o as listChatCommandsForConfig, w as normalizeUsageDisplay } from "./commands-registry-yEHQnayd.js";
|
|
3
|
-
import { Z as formatRawAssistantErrorForUi, cr as resolveToolDisplay, sr as formatToolDetail } from "./reply-
|
|
3
|
+
import { Z as formatRawAssistantErrorForUi, cr as resolveToolDisplay, sr as formatToolDetail } from "./reply-DVGmtLPq.js";
|
|
4
4
|
import { c as normalizeMainKey, r as buildAgentMainSessionKey, s as normalizeAgentId, w as parseAgentSessionKey } from "./session-key-LmCHAJTQ.js";
|
|
5
5
|
import { i as stripLeadingInboundMetadata } from "./chat-envelope-D_wSv26N.js";
|
|
6
6
|
import { t as redactSensitiveUrl } from "./redact-sensitive-url-B0RJQqO7.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Cf as GATEWAY_CLIENT_MODES, Gu as resolveDefaultAgentId, Hc as formatThinkingLevels, Su as visibleWidth, Wc as listThinkingLevelLabels, Xt as loadConfig, Yc as VERSION, wf as GATEWAY_CLIENT_NAMES, xf as GATEWAY_CLIENT_CAPS, xu as stripAnsi$1 } from "./env-BegRUDBP.js";
|
|
2
|
-
import { Ti as resolveToolDisplay, kn as formatRawAssistantErrorForUi, wi as formatToolDetail } from "./model-catalog-
|
|
2
|
+
import { Ti as resolveToolDisplay, kn as formatRawAssistantErrorForUi, wi as formatToolDetail } from "./model-catalog-DOuyqwFa.js";
|
|
3
3
|
import { H as normalizeMainKey, L as buildAgentMainSessionKey, V as normalizeAgentId, it as parseAgentSessionKey, o as stripLeadingInboundMetadata } from "./entry.js";
|
|
4
4
|
import { t as redactSensitiveUrl } from "./redact-sensitive-url-BW03TVj8.js";
|
|
5
5
|
import { a as listChatCommands, o as listChatCommandsForConfig, x as resolveResponseUsageMode, y as normalizeUsageDisplay } from "./commands-registry-lZm1rbcm.js";
|
|
@@ -2,7 +2,7 @@ import "./env-BegRUDBP.js";
|
|
|
2
2
|
import { H as theme } from "./agent-paths-BI1hx-tF.js";
|
|
3
3
|
import "./send-DiY-R7xq.js";
|
|
4
4
|
import "./send-D52Cqe9Z.js";
|
|
5
|
-
import "./model-catalog-
|
|
5
|
+
import "./model-catalog-DOuyqwFa.js";
|
|
6
6
|
import "./github-copilot-token-A9DiaCB0.js";
|
|
7
7
|
import { A as defaultRuntime } 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-
|
|
48
|
+
import "./deps-QnUngXA3.js";
|
|
49
49
|
import "./frontmatter-BPHGMwFk.js";
|
|
50
50
|
import "./skills-2eSRzTmM.js";
|
|
51
51
|
import "./skills-remote-CQrWVunR.js";
|
|
@@ -74,7 +74,7 @@ import "./progress-DkVYFLij.js";
|
|
|
74
74
|
import "./replies-B5LeYSuO.js";
|
|
75
75
|
import "./prompt-style-Rmj3c-Ir.js";
|
|
76
76
|
import "./pairing-labels-u5J0k1yz.js";
|
|
77
|
-
import { t as runTui } from "./tui-
|
|
77
|
+
import { t as runTui } from "./tui-R-P_OV8J.js";
|
|
78
78
|
|
|
79
79
|
//#region src/cli/tui-cli.ts
|
|
80
80
|
function registerTuiCli(program) {
|
|
@@ -2,7 +2,7 @@ import "./paths-C9FmTW1x.js";
|
|
|
2
2
|
import { U as theme } from "./agent-paths-DmOVZE7g.js";
|
|
3
3
|
import "./agent-scope-CrCe9L5D.js";
|
|
4
4
|
import "./commands-registry-yEHQnayd.js";
|
|
5
|
-
import "./reply-
|
|
5
|
+
import "./reply-DVGmtLPq.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-
|
|
40
|
+
import "./deps-sd-SQKYn.js";
|
|
41
41
|
import "./memory-_djkFopW.js";
|
|
42
42
|
import "./memory-search-DooAj6Eu.js";
|
|
43
43
|
import "./manager-bJh9XOLh.js";
|
|
@@ -76,7 +76,7 @@ import "./skills-remote-DrJ8xN_q.js";
|
|
|
76
76
|
import "./skill-commands-Cvv0vOCD.js";
|
|
77
77
|
import "./prompt-style-CWAacuMq.js";
|
|
78
78
|
import "./pairing-labels-v1JixmOK.js";
|
|
79
|
-
import { t as runTui } from "./tui-
|
|
79
|
+
import { t as runTui } from "./tui-DdPEVWjR.js";
|
|
80
80
|
|
|
81
81
|
//#region src/cli/tui-cli.ts
|
|
82
82
|
function registerTuiCli(program) {
|
|
@@ -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-
|
|
5
|
+
import { gi as trimLogTail } from "./reply-DVGmtLPq.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-
|
|
40
|
+
import "./deps-sd-SQKYn.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-
|
|
80
|
+
import "./program-context-Dc8hoANx.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-
|
|
83
|
+
import { r as installCompletion } from "./completion-cli-DyJbXhbh.js";
|
|
84
84
|
import "./managed-up-BykEd-7K.js";
|
|
85
|
-
import "./daemon-install-helpers-
|
|
85
|
+
import "./daemon-install-helpers-BdhhuvlY.js";
|
|
86
86
|
import "./systemd-6vRLjUEu.js";
|
|
87
87
|
import { t as resolveGatewayService } from "./service-DRKrlJSw.js";
|
|
88
|
-
import "./service-audit-
|
|
89
|
-
import "./shared-
|
|
90
|
-
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-
|
|
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-Cj4_RgEM.js";
|
|
91
91
|
import "./diagnostics-BHiuBYC1.js";
|
|
92
92
|
import { t as renderTable } from "./table-BMmOL0ek.js";
|
|
93
|
-
import "./health-
|
|
94
|
-
import "./heartbeat-runner-
|
|
93
|
+
import "./health-DcurJYny.js";
|
|
94
|
+
import "./heartbeat-runner-CY41VFZE.js";
|
|
95
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";
|
|
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
100
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-C0YURTQB.js";
|
|
101
|
-
import { a as globalInstallArgs, c as
|
|
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-DNPfs265.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-
|
|
106
|
+
import { a as ensureCompletionCacheExists, i as checkShellCompletionStatus, n as doctorCommand, r as runPostUpdateDoctorRepair, t as selectStyled } from "./prompt-select-styled-oUCALY2N.js";
|
|
107
107
|
import os from "node:os";
|
|
108
108
|
import path from "node:path";
|
|
109
109
|
import fs from "node:fs/promises";
|
|
@@ -426,11 +426,11 @@ function inferUpdateFailureHints(result) {
|
|
|
426
426
|
const hints = [];
|
|
427
427
|
if (failedStep.name.startsWith("global update") && stderr.includes("eacces")) {
|
|
428
428
|
hints.push("Detected permission failure (EACCES). Re-run with a writable global prefix or sudo (for system-managed Node installs).");
|
|
429
|
-
hints.push("Example: npm config set prefix ~/.local && npm i -g fased@latest");
|
|
429
|
+
hints.push("Example: npm config set prefix ~/.local && npm i -g @fased/fased@latest");
|
|
430
430
|
}
|
|
431
431
|
if (failedStep.name.startsWith("global update") && (stderr.includes("node-gyp") || stderr.includes("@discordjs/opus") || stderr.includes("prebuild"))) {
|
|
432
432
|
hints.push("Detected native optional dependency build failure (e.g. opus). The updater retries with --omit=optional automatically.");
|
|
433
|
-
hints.push("If it still fails: npm i -g fased@latest --omit=optional");
|
|
433
|
+
hints.push("If it still fails: npm i -g @fased/fased@latest --omit=optional");
|
|
434
434
|
}
|
|
435
435
|
return hints;
|
|
436
436
|
}
|
|
@@ -789,7 +789,7 @@ async function runPackageInstallUpdate(params) {
|
|
|
789
789
|
const packageName = (pkgRoot ? await readPackageName(pkgRoot) : await readPackageName(params.root)) ?? DEFAULT_PACKAGE_NAME;
|
|
790
790
|
const beforeVersion = pkgRoot ? await readPackageVersion(pkgRoot) : null;
|
|
791
791
|
if (pkgRoot) await cleanupGlobalRenameDirs({
|
|
792
|
-
globalRoot:
|
|
792
|
+
globalRoot: resolveNodeModulesRootForPackageRoot(pkgRoot),
|
|
793
793
|
packageName
|
|
794
794
|
});
|
|
795
795
|
const steps = [await runUpdateStep({
|
|
@@ -1085,7 +1085,7 @@ async function updateCommand(opts) {
|
|
|
1085
1085
|
else if (updateInstallKind === "git") {
|
|
1086
1086
|
actions.push(`Run git update flow on channel ${channel}`);
|
|
1087
1087
|
if (channel === "dev") actions.push(opts.safeFallback ? "Dev repair mode: try older main commits if the latest commit fails preflight" : "Dev mode: preflight only latest origin/main");
|
|
1088
|
-
} else actions.push(`Run global package manager update with spec
|
|
1088
|
+
} else actions.push(`Run global package manager update with spec ${DEFAULT_PACKAGE_NAME}@${tag}`);
|
|
1089
1089
|
actions.push("Run plugin update sync after core update");
|
|
1090
1090
|
actions.push("Refresh shell completion cache (if needed)");
|
|
1091
1091
|
actions.push(shouldRestart ? "Restart gateway service and run doctor checks" : "Skip restart (because --no-restart is set)");
|
|
@@ -1189,7 +1189,7 @@ async function updateCommand(opts) {
|
|
|
1189
1189
|
if (result.reason === "dirty") defaultRuntime.log(theme.warn("Skipped: working directory has uncommitted changes. Commit or stash them first."));
|
|
1190
1190
|
if (result.reason === "not-git-install") {
|
|
1191
1191
|
defaultRuntime.log(theme.warn(`Skipped: this FasedAgent install isn't a git checkout, and the package manager couldn't be detected. Update via your package manager, then run \`${replaceCliName(formatCliCommand("fased doctor"), CLI_NAME)}\` and \`${replaceCliName(formatCliCommand("fased gateway restart"), CLI_NAME)}\`.`));
|
|
1192
|
-
defaultRuntime.log(theme.muted(`Examples: \`${replaceCliName("npm i -g fased@latest", CLI_NAME)}\` or \`${replaceCliName("pnpm add -g fased@latest", CLI_NAME)}\``));
|
|
1192
|
+
defaultRuntime.log(theme.muted(`Examples: \`${replaceCliName("npm i -g @fased/fased@latest", CLI_NAME)}\` or \`${replaceCliName("pnpm add -g @fased/fased@latest", CLI_NAME)}\``));
|
|
1193
1193
|
}
|
|
1194
1194
|
defaultRuntime.exit(0);
|
|
1195
1195
|
return;
|