@symerian/symi 2.6.36 → 2.6.38
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/{acp-cli-Cu4icbJT.js → acp-cli-ByYHYK_E.js} +6 -6
- package/dist/{acp-cli-NJzARaHq.js → acp-cli-EqE2uipx.js} +2 -2
- package/dist/{agents-BIAaMNSb.js → agents-BaNrmXzu.js} +5 -5
- package/dist/{agents.config-BDtgUDFp.js → agents.config-BOxmN33d.js} +1 -1
- package/dist/{agents.config-BKjYekzK.js → agents.config-C78DHdxT.js} +1 -1
- package/dist/{audio-preflight-xSDULLAj.js → audio-preflight-BuT_gIRW.js} +2 -2
- package/dist/{audio-preflight-DHTaS5U1.js → audio-preflight-Cz1htqcz.js} +9 -9
- package/dist/{audio-preflight-CWnxkaac.js → audio-preflight-CzQUZSUK.js} +7 -7
- package/dist/{audio-preflight-CPBOQV4I.js → audio-preflight-DBMz5TQp.js} +7 -7
- package/dist/{audit-CrITRV6w.js → audit-BxqTVyZo.js} +11 -11
- package/dist/{audit-Byo5jCLN.js → audit-Cgd5-Y7W.js} +2 -2
- package/dist/{auth-choice-Cw2rldnf.js → auth-choice-BnJzLsv5.js} +7 -7
- package/dist/{auth-choice-C7BrC95t.js → auth-choice-CnpKK0cS.js} +4 -4
- package/dist/{auth-choice-options-DOqFUoBo.js → auth-choice-options-DmQgUlhC.js} +1 -1
- package/dist/{auth-choice-prompt-BLzEBA1v.js → auth-choice-prompt-Cn6U3t8O.js} +1 -1
- package/dist/{auth-profiles-DdK1Hxaa.js → auth-profiles-q3HjbboY.js} +1 -1
- package/dist/{banner-DCF8IifK.js → banner-DdpNhjX6.js} +1 -1
- package/dist/{bonjour-discovery-BHTF5p0X.js → bonjour-discovery-DUQ6tE92.js} +1 -1
- package/dist/{browser-cli-BG4qPxpM.js → browser-cli-BrzYV9w9.js} +5 -5
- package/dist/{browser-cli-CPcnnsJJ.js → browser-cli-Dun4KSp2.js} +3 -3
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +37 -36
- package/dist/bundled/bootstrap-extra-files/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +38 -37
- package/dist/{call-CJaS1iRF.js → call-CFhGTNtt.js} +1 -1
- package/dist/{call-BcE47FtD.js → call-DIDhYlsx.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-B6G1jnQT.js → channel-activity-D-kw83R0.js} +1 -1
- package/dist/{channel-options-BaC3G5sc.js → channel-options-47wHx-rM.js} +2 -2
- package/dist/{channel-options-DHSRuD2s.js → channel-options-CJE7N_QV.js} +1 -1
- package/dist/{channel-web-YXrZZHRE.js → channel-web-CVf8YV4M.js} +5 -5
- package/dist/{channels-cli-CfMJGgBp.js → channels-cli-CMLy_xVT.js} +10 -9
- package/dist/{channels-cli-DODlfOu4.js → channels-cli-Iya7tcnY.js} +46 -45
- package/dist/{chrome-DYZwl5Gv.js → chrome-34eOyt_6.js} +8 -8
- package/dist/{chrome-D2SKJnR7.js → chrome-CovpMGdO.js} +1 -1
- package/dist/{clack-prompter-B7pN13HV.js → clack-prompter-DMuVyYP2.js} +3 -3
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CVqXnzze.js → cli-DmGUr8aj.js} +7 -6
- package/dist/{cli-CSlDsUKl.js → cli-dC-CEeDc.js} +29 -28
- package/dist/{client-DMBZpU6X.js → client-T3qcxXru.js} +6 -1
- package/dist/{client-CQSyCS4M.js → client-jI1oE0_k.js} +6 -1
- package/dist/{command-registry-CrYpGtIt.js → command-registry-Dk55OGO6.js} +10 -10
- package/dist/{commands-registry-Bfc7Uz0o.js → commands-registry-BSvi46KZ.js} +1 -1
- package/dist/{commands-registry-C_aYUwpl.js → commands-registry-DYoNKo_h.js} +1 -1
- package/dist/{completion-cli-GqPGf3Kq.js → completion-cli-1HmgP7tY.js} +2 -2
- package/dist/{completion-cli-BmYBAxqM.js → completion-cli-DrDwlbAX.js} +1 -1
- package/dist/{config-5SdHIcHU.js → config-4Iu6iHCA.js} +1 -1
- package/dist/{config-BmV60pPT.js → config-DBqxAhpU.js} +1 -1
- package/dist/{config-cli-BjXnB1c7.js → config-cli-Cm4KwczC.js} +1 -1
- package/dist/{config-cli-BxSBpwuL.js → config-cli-DLFKoU1U.js} +1 -1
- package/dist/{config-guard-BflmO0t7.js → config-guard--WfHrCVe.js} +6 -6
- package/dist/{configure-De-0b4bB.js → configure-BbFd3c68.js} +8 -8
- package/dist/{configure-CIFt3G-c.js → configure-DNRNOqKI.js} +20 -20
- package/dist/{control-service-Bz7rxLWq.js → control-service-Dtn-qw2s.js} +2 -2
- package/dist/control-ui/css/style.css +23 -0
- package/dist/control-ui/js/app.js +45 -0
- package/dist/control-ui/js/history.js +38 -0
- package/dist/{cron-cli-DBIlCvp3.js → cron-cli-Bml4UNHa.js} +5 -5
- package/dist/{cron-cli-BP24xl6n.js → cron-cli-C-gg6wfO.js} +3 -3
- package/dist/{daemon-cli-wWnBIQtk.js → daemon-cli-0RLS-CwL.js} +2 -2
- package/dist/{daemon-cli-DscwlsKW.js → daemon-cli-BPHe9wOW.js} +12 -12
- package/dist/daemon-cli.js +5 -0
- package/dist/{daemon-runtime-2mwX-jqj.js → daemon-runtime-COZ4usfy.js} +2 -2
- package/dist/{deliver-C-37cZUe.js → deliver-BCYGr-CD.js} +2 -2
- package/dist/{deliver-CWR_98sK.js → deliver-DrFtaFZt.js} +3 -3
- package/dist/{deliver-dODxSv3b.js → deliver-DtM4u1u_.js} +6 -6
- package/dist/{devices-cli-BHiPx2c2.js → devices-cli-CI2TOoP1.js} +2 -2
- package/dist/{devices-cli-Dds-25Ve.js → devices-cli-texa_iUV.js} +3 -3
- package/dist/{diagnostic-DjBRPfu9.js → diagnostic-CH0skkp6.js} +1 -1
- package/dist/{diagnostic-rPhsBoZz.js → diagnostic-CQiU0O8b.js} +1 -1
- package/dist/{diagnostics-BAMlsVVX.js → diagnostics-BRwihzJG.js} +1 -1
- package/dist/{directory-cli-CpUByQew.js → directory-cli-BRMi7Alb.js} +3 -3
- package/dist/{dns-cli-Beyzdh3S.js → dns-cli-BsRMpavf.js} +2 -2
- package/dist/{doctor-completion-4SDl6ZEA.js → doctor-completion-B8IZFxo9.js} +2 -2
- package/dist/{doctor-completion-CL0NHlCA.js → doctor-completion-D6tzA47C.js} +1 -1
- package/dist/{doctor-config-flow-QnaBd8kL.js → doctor-config-flow-BTQvpBys.js} +4 -4
- package/dist/{enable-HSYin9n7.js → enable-vgRSCfxI.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BliRl8VB.js → exec-approvals-cli-DxKAWA8Y.js} +9 -9
- package/dist/{exec-approvals-cli--zyXYrNY.js → exec-approvals-cli-wesKZNXl.js} +4 -4
- package/dist/extensionAPI.js +20 -19
- package/dist/{fetch-Bso4i15F.js → fetch-Dnti0cFs.js} +1 -1
- package/dist/{gateway-cli-D98LL9Yi.js → gateway-cli-DCTt5acx.js} +77 -75
- package/dist/{gateway-cli-CqHk7Nfm.js → gateway-cli-DdjXGMTo.js} +18 -16
- package/dist/{gateway-rpc-DfZSz5JF.js → gateway-rpc-BkB6xEaM.js} +1 -1
- package/dist/{gateway-rpc-BxkKeCZ0.js → gateway-rpc-DiTk_nOl.js} +1 -1
- package/dist/{gemini-auth-Dy12ZAH3.js → gemini-auth-BkLFtndu.js} +1 -1
- package/dist/{gemini-auth-CSlZZ1Pw.js → gemini-auth-ClVyOv9p.js} +1 -1
- package/dist/{glass-ui-ws-z-ryIbt7.js → glass-ui-ws-C_DzMNsd.js} +53 -52
- package/dist/{glass-ui-ws-vx0iMfPn.js → glass-ui-ws-DBlQ-hk7.js} +14 -13
- package/dist/{health-pFcca1cU.js → health-9z0Hpkuc.js} +5 -5
- package/dist/{health-BNxdveY8.js → health-NTpZ8ssG.js} +2 -2
- package/dist/{hooks-cli-DefzmbZl.js → hooks-cli-C86OGnVu.js} +35 -34
- package/dist/{hooks-cli-Dqe7WVzD.js → hooks-cli-wq_uFJly.js} +8 -7
- package/dist/{hooks-status-BqLZtMLa.js → hooks-status-oUebZVnL.js} +2 -2
- package/dist/{image-D9uvDTrc.js → image-BwXkayiM.js} +1 -1
- package/dist/{image-DcpMiprB.js → image-DKudhySz.js} +3 -3
- package/dist/{image-CXu8W39c.js → image-mx18hbyY.js} +4 -4
- package/dist/index.js +44 -43
- package/dist/{inspect-CllGjsWo.js → inspect-CvbbCuoa.js} +2 -2
- package/dist/{install-safe-path-tCLiMpmO.js → install-safe-path-D3Uz77u7.js} +1 -1
- package/dist/{installs-C1Cebk97.js → installs-DQcRVF1U.js} +3 -3
- package/dist/{ir-CTiz95Vb.js → ir-JAy_3A3B.js} +2 -2
- package/dist/{lifecycle-core-D6LYXpFj.js → lifecycle-core-D0n_6gjJ.js} +6 -6
- package/dist/llm-slug-generator.js +37 -36
- package/dist/{local-roots-DhZz0Ybs.js → local-roots-Se92wAN5.js} +1 -1
- package/dist/{login-XprgoYoQ.js → login-CeXFO0OG.js} +2 -2
- package/dist/{login-ul8zaw_S.js → login-IpOTJtyn.js} +2 -2
- package/dist/{login-qr-CUErSLXH.js → login-qr-BMIn_eOf.js} +3 -3
- package/dist/{login-qr-pbXdFORv.js → login-qr-CC0TE3ax.js} +1 -1
- package/dist/{login-qr-AP9agO-i.js → login-qr-DRepVMvu.js} +3 -3
- package/dist/{login-dIlDkG4X.js → login-y9uojrfG.js} +1 -1
- package/dist/{logs-cli-xOzIPrHm.js → logs-cli-Dld6m2xN.js} +4 -4
- package/dist/{logs-cli-Du8FCgKK.js → logs-cli-Dvs8e7u9.js} +3 -3
- package/dist/{manager-PprhCvO_.js → manager-CJ3M1Uxq.js} +4 -4
- package/dist/{manager-jpn5vRTY.js → manager-CgLdpXXM.js} +2 -2
- package/dist/{memory-cli-Ca5r9AUb.js → memory-cli-CPONmMrJ.js} +1 -1
- package/dist/{model-catalog-CqCsARJX.js → model-catalog-Bn0ffe1O.js} +3 -2
- package/dist/{model-catalog-DvBJ8pMD.js → model-catalog-r6v4orfa.js} +3 -2
- package/dist/{model-picker-D5nCutGW.js → model-picker-D1J9kB3d.js} +1 -1
- package/dist/{model-picker-Ddo3jHe-.js → model-picker-TnkH7DsN.js} +2 -2
- package/dist/{model-selection-BQCG9ah0.js → model-selection-B8QKPmTL.js} +1 -1
- package/dist/{models-c9cOxxrP.js → models-DfuMRKvu.js} +6 -6
- package/dist/{models-cli-Cosjljgg.js → models-cli-BJv-aMkH.js} +39 -39
- package/dist/{models-cli-BhOA86hd.js → models-cli-FnD3ZD7s.js} +9 -9
- package/dist/{node-cli-DSEhcjUV.js → node-cli-C4b1vFcY.js} +1 -1
- package/dist/{node-cli-C_G-Q3h-.js → node-cli-C8xs7jkn.js} +17 -17
- package/dist/{node-service-Cxz4e-Qd.js → node-service-CD47Qpf1.js} +2 -2
- package/dist/{nodes-cli-BcnuJajV.js → nodes-cli-_wKGGKvG.js} +8 -8
- package/dist/{nodes-cli-BIPA9B8G.js → nodes-cli-alQ9Bv_-.js} +3 -3
- package/dist/{note-DeHoW7xO.js → note-DQ9BvHF2.js} +1 -1
- package/dist/{npm-registry-spec-C2JDdSZS.js → npm-registry-spec-C0CPT3vr.js} +1 -1
- package/dist/{onboard-DzfTelta.js → onboard-CEE38rOh.js} +17 -17
- package/dist/{onboard-Cy_CK0Ng.js → onboard-Dxf43Kz5.js} +5 -5
- package/dist/{onboard-channels-BAEFSSqU.js → onboard-channels-CEZpwlsw.js} +6 -6
- package/dist/{onboard-channels-BjUx6cZ7.js → onboard-channels-DjqHX51z.js} +1 -1
- package/dist/{onboard-custom-C7O-zfQ1.js → onboard-custom-BNyCb71p.js} +2 -2
- package/dist/{onboard-custom-DdWPfzJO.js → onboard-custom-yNOjvlgR.js} +1 -1
- package/dist/{onboard-helpers-ZmZYzlq3.js → onboard-helpers-CAjcAisT.js} +3 -3
- package/dist/{onboard-helpers-_pit1NZW.js → onboard-helpers-DASpwgat.js} +1 -1
- package/dist/{onboard-hooks-BAA8CoVv.js → onboard-hooks-C3ok8kqB.js} +2 -2
- package/dist/{onboard-remote-zUjD7UtM.js → onboard-remote-D-8pd-tx.js} +3 -3
- package/dist/{onboard-remote-R1g6st9i.js → onboard-remote-xXi061GI.js} +1 -1
- package/dist/{onboard-skills-ByO_wSN5.js → onboard-skills-Bn2T6lze.js} +1 -1
- package/dist/{onboard-skills-BB0YhUmF.js → onboard-skills-c4Rw-CGf.js} +3 -3
- package/dist/{onboarding-B9RTmYiC.js → onboarding-B1VwuUX5.js} +15 -15
- package/dist/{onboarding-CerjrLp1.js → onboarding-BxHFNg2y.js} +9 -9
- package/dist/{onboarding.finalize-CLQL7PKW.js → onboarding.finalize-DQm4Tey0.js} +42 -41
- package/dist/{onboarding.finalize-CGGB37q-.js → onboarding.finalize-dP5Igu4h.js} +13 -12
- package/dist/{onboarding.gateway-config-BQFO9a_h.js → onboarding.gateway-config-D6SN3HBb.js} +3 -3
- package/dist/{onboarding.gateway-config-CJUgDC6Y.js → onboarding.gateway-config-DOna9Sr4.js} +5 -5
- package/dist/{openai-model-default-DMjQRsb1.js → openai-model-default-WqcGxyFM.js} +1 -1
- package/dist/{outbound-3MZ12YrQ.js → outbound-BihTVvMr.js} +2 -2
- package/dist/{outbound-DB5Zus0-.js → outbound-DyBiNY4z.js} +1 -1
- package/dist/{outbound-CtMCmwxR.js → outbound-UwQEXYXv.js} +6 -6
- package/dist/{outbound-attachment-DJldbweZ.js → outbound-attachment-BzwVH4Pn.js} +1 -1
- package/dist/{pairing-cli-CBLfGvqW.js → pairing-cli-CpKm3M-X.js} +2 -2
- package/dist/{path-env-MnzRq6nD.js → path-env-BaQ2E7uD.js} +1 -1
- package/dist/{pi-auth-json-D6YbgrAe.js → pi-auth-json-BloyLEwh.js} +24 -9
- package/dist/{pi-auth-json-CaX_1WHk.js → pi-auth-json-CCaxCywz.js} +21 -2
- package/dist/{pi-auth-json-Bk8ERadJ.js → pi-auth-json-LXkL5WS_.js} +24 -11
- package/dist/pi-auth-json-zHckislA.js +133 -0
- package/dist/{pi-embedded-liyRigX2.js → pi-embedded-DKaDXfFG.js} +52 -45
- package/dist/{pi-embedded-helpers-CNPyv_ax.js → pi-embedded-helpers-BuVSLhG_.js} +1 -1
- package/dist/{pi-embedded-helpers-B8kqLWns.js → pi-embedded-helpers-CepVOR4e.js} +6 -6
- package/dist/{pi-embedded-helpers-pubKo8HQ.js → pi-embedded-helpers-DASLSiel.js} +6 -6
- package/dist/{pi-tools.policy-CIDBbw6x.js → pi-tools.policy-C6MWZ59E.js} +1 -1
- package/dist/{plugin-auto-enable-BzX1uAKy.js → plugin-auto-enable-CP0nONRL.js} +2 -2
- package/dist/{plugin-registry-Ls_YGsWz.js → plugin-registry-DMUt9X9t.js} +1 -1
- package/dist/{plugin-registry-BkFixq63.js → plugin-registry-DeT0nOee.js} +1 -1
- package/dist/plugin-sdk/agents/pi-auth-json.d.ts +12 -1
- package/dist/plugin-sdk/{api-key-rotation-CVBMpnPc.js → api-key-rotation-LTEeykrm.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-DoQQKlxa.js → audio-preflight-JLsqSVmS.js} +7 -7
- package/dist/plugin-sdk/{channel-web-CP1OgJFj.js → channel-web-BtuQPMkd.js} +8 -8
- package/dist/plugin-sdk/{chrome-C7c_0I5M.js → chrome-cPabhZZ4.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-CQFbmUMs.js → commands-registry-C9W8UWBh.js} +1 -1
- package/dist/plugin-sdk/{config-DDkdiUOR.js → config-XjK1L039.js} +1 -1
- package/dist/plugin-sdk/{deliver-BZ6iNLl7.js → deliver-Clj5uUID.js} +2 -2
- package/dist/plugin-sdk/{diagnostic-mFf4i4G9.js → diagnostic-EyuCSUXO.js} +1 -1
- package/dist/plugin-sdk/gateway/protocol/index.d.ts +6 -2
- package/dist/plugin-sdk/gateway/protocol/schema/sessions.d.ts +4 -0
- package/dist/plugin-sdk/gateway/protocol/schema/types.d.ts +2 -1
- package/dist/plugin-sdk/{image-BOYy0Ump.js → image-CAA-0T17.js} +3 -3
- package/dist/plugin-sdk/index.js +25 -24
- package/dist/plugin-sdk/{login-Bh3DZPam.js → login-Btqnuww9.js} +2 -2
- package/dist/plugin-sdk/{login-qr-DbR7odSr.js → login-qr-Bxhch9R1.js} +3 -3
- package/dist/plugin-sdk/{manager-DckktAQ3.js → manager-CJXUXj6F.js} +2 -2
- package/dist/plugin-sdk/{model-selection-OpU8HN50.js → model-selection-DduIg_Yt.js} +1 -1
- package/dist/plugin-sdk/{outbound-rF6G8Xpr.js → outbound-D_7ktHfW.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-CJk8t14T.js → pi-auth-json-CcR0OJ6f.js} +24 -9
- package/dist/plugin-sdk/{pi-embedded-helpers-BveUP4hk.js → pi-embedded-helpers-CDrcAlGW.js} +6 -6
- package/dist/plugin-sdk/{pw-ai-DjGUsee-.js → pw-ai-CJjlxWj7.js} +3 -3
- package/dist/plugin-sdk/{replies-fI39rPGa.js → replies-DC9NI2KS.js} +1 -1
- package/dist/plugin-sdk/{reply-CBkEQFTX.js → reply-CnTdwks6.js} +53 -46
- package/dist/plugin-sdk/{runner-BVqnEfNe.js → runner-CBq0_f-j.js} +7 -6
- package/dist/plugin-sdk/{send-BMfJIhCk.js → send-BditKDxK.js} +2 -2
- package/dist/plugin-sdk/{send-BHbXh8Ly.js → send-BeO7M3pz.js} +2 -2
- package/dist/plugin-sdk/{send-Bxdu6ZZy.js → send-CdJoYllr.js} +1 -1
- package/dist/plugin-sdk/{send-D6LMZJ_h.js → send-u7SJPkmf.js} +2 -2
- package/dist/plugin-sdk/{send-BtANzsAo.js → send-vTA7ntTD.js} +1 -1
- package/dist/plugin-sdk/{session-kI0tzViQ.js → session-t6hhaLPe.js} +1 -1
- package/dist/plugin-sdk/{skill-commands-DCNXVERE.js → skill-commands-D-rpF3bM.js} +1 -1
- package/dist/plugin-sdk/{web-CId35Am_.js → web-BkK8fGjJ.js} +25 -24
- package/dist/plugin-sdk/{whatsapp-actions-CcBzDuL-.js → whatsapp-actions-DifisvHY.js} +3 -3
- package/dist/{plugins-cli-CJLJsr_L.js → plugins-cli-BCYM8B89.js} +8 -7
- package/dist/{plugins-cli-DXiakDnC.js → plugins-cli-D85G3qZp.js} +36 -35
- package/dist/{program-B6KpKryX.js → program-DGLuU2_H.js} +13 -12
- package/dist/{program-context-Dm-BSkOd.js → program-context-B2BcluHm.js} +40 -40
- package/dist/{prompt-select-styled-DszNP9MV.js → prompt-select-styled-C9RTEKcx.js} +7 -7
- package/dist/{prompt-select-styled-Dk8_YofB.js → prompt-select-styled-CAKiYm_X.js} +29 -29
- package/dist/{provider-auth-helpers-Bi5oeREh.js → provider-auth-helpers-B8RGFZit.js} +1 -1
- package/dist/{provider-auth-helpers-B_Rtgt-w.js → provider-auth-helpers-CfkQBpo7.js} +6 -6
- package/dist/{push-apns-Bmd6SdxC.js → push-apns-DM6nj062.js} +1 -1
- package/dist/{push-apns-BzIW-JHE.js → push-apns-DmpUv3y4.js} +1 -1
- package/dist/{pw-ai-B5asscAD.js → pw-ai-CPelTpWz.js} +3 -3
- package/dist/{pw-ai-1htA-NnS.js → pw-ai-Cfeeyp0u.js} +3 -3
- package/dist/{qmd-manager-iDLSiI4Z.js → qmd-manager-lBS9mT9w.js} +1 -1
- package/dist/{register.agent-kKtKgmcO.js → register.agent-DX-OyYzL.js} +13 -12
- package/dist/{register.agent-Vc2Bu3J4.js → register.agent-DcvwdQXs.js} +52 -51
- package/dist/{register.configure-BnNPTLBI.js → register.configure-Bldjj3LP.js} +61 -60
- package/dist/{register.configure-D-o-geWg.js → register.configure-DBaELzEM.js} +16 -15
- package/dist/{register.maintenance-jMmXJ1NK.js → register.maintenance-BKB_D_Py.js} +14 -13
- package/dist/{register.maintenance-0L5VAVCA.js → register.maintenance-BgWyvLo5.js} +54 -53
- package/dist/{register.message-C9zVQOWl.js → register.message-ClKGIfK4.js} +32 -31
- package/dist/{register.message-CdCHhVND.js → register.message-DUeR-Dz2.js} +8 -7
- package/dist/{register.onboard-pKq2v5Fh.js → register.onboard-CSmfgDU5.js} +46 -45
- package/dist/{register.onboard-BN7J8vyx.js → register.onboard-DT1We9u2.js} +12 -11
- package/dist/{register.setup-BKYxHrcB.js → register.setup-CEW5ApHJ.js} +12 -11
- package/dist/{register.setup-J_GQSh-T.js → register.setup-mJzihfMO.js} +46 -45
- package/dist/{register.status-health-sessions-BLA4yUC4.js → register.status-health-sessions-BJYemCHi.js} +10 -9
- package/dist/{register.status-health-sessions-BtGRpngz.js → register.status-health-sessions-CMQS8zwA.js} +46 -45
- package/dist/{register.subclis-DcBHO9E8.js → register.subclis-Bi4jmYW6.js} +20 -20
- package/dist/{replies-ZYtI9jr0.js → replies-CM5QgPHM.js} +1 -1
- package/dist/{replies-LSmuwOhA.js → replies-DA4YTv9G.js} +3 -3
- package/dist/{reply-C68F3IMq.js → reply-YphHjxHp.js} +48 -46
- package/dist/{routes-Ba9CUQ8M.js → routes-B1-BfEDm.js} +1 -1
- package/dist/{rpc-BjLadgzu.js → rpc--E7i90bk.js} +1 -1
- package/dist/{rpc-BfhojW8g.js → rpc-gJOYujMj.js} +2 -2
- package/dist/{run-main-DkcjdsAo.js → run-main-Ugk40lFF.js} +20 -19
- package/dist/{runner-BORIO-D3.js → runner-CW9KEL7W.js} +1 -1
- package/dist/{runner-WAG0M5s9.js → runner-DKq2NJqT.js} +10 -9
- package/dist/{runner-CUglpiFP.js → runner-DmM2HhB-.js} +2 -2
- package/dist/{runner-BcQ0sF9T.js → runner-qeYibveF.js} +7 -6
- package/dist/{sandbox-C-T6hOMv.js → sandbox-DAOxwUQm.js} +2 -2
- package/dist/{sandbox-cli-BllVdQzR.js → sandbox-cli-BV6FS0bK.js} +3 -3
- package/dist/{security-cli-BFLtWWHy.js → security-cli-BA4AGkeh.js} +10 -10
- package/dist/{security-cli-Dmb1k47A.js → security-cli-KxA9AZ3q.js} +3 -3
- package/dist/{send-C1IYd3g7.js → send-BJTX03Bn.js} +1 -1
- package/dist/{send-DAN9hA5h.js → send-C4Bqsa_r.js} +6 -6
- package/dist/{send-DXW6mdgR.js → send-CB3dCCmE.js} +1 -1
- package/dist/{send-D-hWrHoH.js → send-CFzf_ab4.js} +1 -1
- package/dist/{send-DkfYiRx5.js → send-Cgcbuw8U.js} +1 -1
- package/dist/{send-CvhXrdgS.js → send-Cq1L-2Ik.js} +9 -9
- package/dist/{send-C4Ucr8ep.js → send-DHWMRnPk.js} +3 -3
- package/dist/{send-DYj_o4_F.js → send-DVt9RLDh.js} +9 -9
- package/dist/{send-CVMyYPQw.js → send-DX0p0ym_.js} +5 -5
- package/dist/{send-DWYkPSUs.js → send-ZI2bG_Jc.js} +1 -1
- package/dist/{send-BArQpbtx.js → send-iVPD3yf2.js} +1 -1
- package/dist/{send-CQAKg_12.js → send-vtz9ZwUj.js} +4 -4
- package/dist/{server-context-CEpFjqSk.js → server-context-CHYWo_TC.js} +3 -3
- package/dist/{server-methods-B4IR7jcD.js → server-methods-C3xXynlm.js} +102 -11
- package/dist/{server-methods-n5oCz2e0.js → server-methods-DJ3Bi-Xg.js} +118 -27
- package/dist/{server-node-events-C3hHerD3.js → server-node-events-Cgdwex4k.js} +8 -7
- package/dist/{server-node-events---jWWBKN.js → server-node-events-DS50d7AK.js} +30 -29
- package/dist/{service-Cl74hx8J.js → service-osK70kTZ.js} +2 -2
- package/dist/{session-DtMfLMdP.js → session-BF9s_N2s.js} +1 -1
- package/dist/{session-DSU1vxxi.js → session-BQWef058.js} +1 -1
- package/dist/{session-cost-usage-UxUgrslM.js → session-cost-usage-BXAI7CNH.js} +1 -1
- package/dist/session-dirs-Dgz7kkUM.js +18 -0
- package/dist/{shared-BJvwnR5z.js → shared-DnmJ0ABB.js} +2 -2
- package/dist/{skill-commands-DcVwOafC.js → skill-commands-BiPrghRt.js} +1 -1
- package/dist/{skill-commands-DklY7Cj7.js → skill-commands-D8RiKDh0.js} +1 -1
- package/dist/{skills-cli-BZTBLQTt.js → skills-cli-C-URp1av.js} +5 -5
- package/dist/{skills-install-D67isO1L.js → skills-install-CWVdJkLn.js} +4 -4
- package/dist/{skills-status-CURJKnyY.js → skills-status-C3ptXwnh.js} +1 -1
- package/dist/{status-ITRlj7e_.js → status-0aNBSe72.js} +17 -17
- package/dist/{status-ClvXAaHZ.js → status-2KD2q2sn.js} +1 -1
- package/dist/{status-8CbQSAEF.js → status-BBnhTX-n.js} +1 -1
- package/dist/{status-CwhHbhUv.js → status-D9uWA9pU.js} +5 -5
- package/dist/{status.update-DtwCUTf-.js → status.update-DP0OFqyb.js} +1 -1
- package/dist/{subagent-registry-BXI3DyAX.js → subagent-registry-aZczbtLM.js} +11 -9
- package/dist/{system-cli-UMsMEurS.js → system-cli-BXewgTZR.js} +5 -114
- package/dist/{system-cli-D_EIZpBm.js → system-cli-CECNjZdB.js} +3 -3
- package/dist/system-run-command-B_qw8CXP.js +93 -0
- package/dist/{systemd-riq8uNJQ.js → systemd-DT6SbCim.js} +1 -1
- package/dist/{systemd-hints-BR6gChwm.js → systemd-hints-DZH9qY5W.js} +4 -4
- package/dist/{systemd-linger-aQ75ZlXY.js → systemd-linger-DCskIKcx.js} +2 -2
- package/dist/{tables-qMwbq29u.js → tables-BuM4FKR3.js} +2 -2
- package/dist/{tui-BJB80muc.js → tui-2nWOvxxE.js} +2 -2
- package/dist/{tui-CriznorL.js → tui-DLaU7tTx.js} +4 -4
- package/dist/{tui-cli-C7Q9lK8Q.js → tui-cli-B-Nl_8uj.js} +3 -3
- package/dist/{tui-cli-CSIdfCTR.js → tui-cli-D-PVUsS5.js} +8 -8
- package/dist/{unified-runner-Dy2eq7ZO.js → unified-runner-CMgTwCmG.js} +83 -76
- package/dist/{update-rw7wJwHd.js → update-Ya0e-JnM.js} +1 -1
- package/dist/{update-check-CtckACbb.js → update-check-7EzEjSzb.js} +1 -1
- package/dist/{update-cli-JS-KTMc8.js → update-cli-DiH9ccFa.js} +15 -14
- package/dist/{update-cli-B0H4ITiR.js → update-cli-Dup4Xi6b.js} +64 -63
- package/dist/{update-runner-e_ChofHM.js → update-runner-BkdQhkKR.js} +1 -1
- package/dist/{update-runner-C17bqGvO.js → update-runner-dT5l0kuK.js} +3 -3
- package/dist/{web-CP9nUIj0.js → web-BIo1QcLd.js} +42 -41
- package/dist/{web-8YLJpHFc.js → web-BrGvZQ21.js} +24 -23
- package/dist/{web-Cih6rPbV.js → web-CJSRBiDm.js} +33 -32
- package/dist/{web-Dr9gUjHz.js → web-DPki9fDa.js} +7 -6
- package/dist/{webhooks-cli-cD58DWAE.js → webhooks-cli-iOLEyFdx.js} +1 -1
- package/dist/{whatsapp-actions-DvhI5-DC.js → whatsapp-actions-BW8P8Izy.js} +3 -3
- package/dist/{whatsapp-actions-DbcsdOH3.js → whatsapp-actions-BmcMtU_J.js} +1 -1
- package/dist/{whatsapp-actions-BIeSWsCF.js → whatsapp-actions-DZfLLQ0Y.js} +10 -10
- package/dist/{with-timeout-gmK6RciS.js → with-timeout-D2z7OkiK.js} +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/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/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/learning-loop/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/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/outlook/package.json +1 -1
- package/extensions/pipeline/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/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/dist/pi-auth-json-DayrlDg_.js +0 -13
- /package/dist/{active-listener-CfHHV2SU.js → active-listener-Br2FcRv7.js} +0 -0
- /package/dist/{active-listener-1krIj9TM.js → active-listener-Dx_Y1ouV.js} +0 -0
- /package/dist/{active-listener-kvXhlgwu.js → active-listener-SKkHHqlN.js} +0 -0
- /package/dist/{allow-from-BZCKLkjL.js → allow-from-BIJVrwCW.js} +0 -0
- /package/dist/{argv-C6ovOie2.js → argv-B20UI_hB.js} +0 -0
- /package/dist/{auth-choice-legacy-Ch38-Kbr.js → auth-choice-legacy-aJ8D6F_s.js} +0 -0
- /package/dist/{auth-token-BnOynwk4.js → auth-token-Cay2jwzn.js} +0 -0
- /package/dist/{brew-DjNEjKAo.js → brew-DZPKCJr0.js} +0 -0
- /package/dist/{catalog-RiADx7MA.js → catalog-NQ4pj9RI.js} +0 -0
- /package/dist/{channel-selection-DuWs0Aak.js → channel-selection-V2xDgw16.js} +0 -0
- /package/dist/{channels-status-issues-B_kBkl_u.js → channels-status-issues-CJ0Vb_9z.js} +0 -0
- /package/dist/{chunk-09egQapi.js → chunk-BHW8Yu5A.js} +0 -0
- /package/dist/{clipboard-Cg3cin13.js → clipboard-BIyDbnnI.js} +0 -0
- /package/dist/{command-options-BtDai3oC.js → command-options-BkTXKWlb.js} +0 -0
- /package/dist/{command-poll-backoff-BiwOFDEK.js → command-poll-backoff-BGS2SHjF.js} +0 -0
- /package/dist/{command-poll-backoff-Bup9wS1y.js → command-poll-backoff-CaTOIqVn.js} +0 -0
- /package/dist/{config-ClSsetRi.js → config-DmMe1tf9.js} +0 -0
- /package/dist/{config-validation-CmimHAES.js → config-validation-BckiR0w9.js} +0 -0
- /package/dist/{constants-C8_BLnaW.js → constants-CafH8-8D.js} +0 -0
- /package/dist/{control-ui-assets-Z947tKLt.js → control-ui-assets-B7moDVHX.js} +0 -0
- /package/dist/{dangerous-tools-BL-M3lPt.js → dangerous-tools-BvU3-DRl.js} +0 -0
- /package/dist/{delivery-queue-CxuV9EeG.js → delivery-queue-CAxX6nGq.js} +0 -0
- /package/dist/{dm-policy-shared-Bh3TbexU.js → dm-policy-shared-DlDAGtZL.js} +0 -0
- /package/dist/{docs-cli-BpnEOtJi.js → docs-cli-qE-blOLC.js} +0 -0
- /package/dist/{entry-status-CAs6m3_l.js → entry-status-BOOmFr_b.js} +0 -0
- /package/dist/{exec-approvals-Kn31mBcW.js → exec-approvals-DXM2pQYL.js} +0 -0
- /package/dist/{fetch-timeout-DL3f_O53.js → fetch-timeout-Cj6kcyGt.js} +0 -0
- /package/dist/{format-yQZNwAF2.js → format-B0yJsjEo.js} +0 -0
- /package/dist/{gmail-setup-utils-Bv0M7ka7.js → gmail-setup-utils-Dq6vwkWW.js} +0 -0
- /package/dist/{health-format-DSwnXZPU.js → health-format-DRCaak6L.js} +0 -0
- /package/dist/{heartbeat-visibility-U4BL57eQ.js → heartbeat-visibility-ChEo5Zvk.js} +0 -0
- /package/dist/{helpers-By2rxBQ5.js → helpers-BtH6pa6c.js} +0 -0
- /package/dist/{helpers-BcGbMZD1.js → helpers-DnjQ73f_.js} +0 -0
- /package/dist/{inbound-context-DSDTl6Kj.js → inbound-context-Dvqh1Tgb.js} +0 -0
- /package/dist/{ipv4-CxY-xbsH.js → ipv4-CjlyK5jc.js} +0 -0
- /package/dist/{is-main-DrpmTCqv.js → is-main-CmNWsNFB.js} +0 -0
- /package/dist/{logging-BzzwiKjv.js → logging-KpicI3yD.js} +0 -0
- /package/dist/{markdown-tables-C-BmIap8.js → markdown-tables-Dnj2LQUc.js} +0 -0
- /package/dist/{model-param-b-BCRDjJEJ.js → model-param-b-Cp9d4e-0.js} +0 -0
- /package/dist/{node-match-CN8o4Vi3.js → node-match-CdUiymRU.js} +0 -0
- /package/dist/{nodes-screen-VBGXKdLk.js → nodes-screen-8Bq7DiSa.js} +0 -0
- /package/dist/{onboard-config-DPPsiC8t.js → onboard-config-B9jTl83d.js} +0 -0
- /package/dist/{outbound-attachment-mQQiYZ3C.js → outbound-attachment-Bw-c5Cdp.js} +0 -0
- /package/dist/{pairing-labels-2S6x2UoV.js → pairing-labels-DyXoD1DS.js} +0 -0
- /package/dist/{parse-log-line-BHCUQaF3.js → parse-log-line-DvYyTYq4.js} +0 -0
- /package/dist/{parse-port-Vm8F7Kus.js → parse-port-DnJYkByg.js} +0 -0
- /package/dist/{parse-timeout-C385GCpE.js → parse-timeout-2S5vp0-9.js} +0 -0
- /package/dist/{path-safety-BqPJ8DDQ.js → path-safety-D55Cxg8r.js} +0 -0
- /package/dist/{pi-model-discovery-Bv5YDJc8.js → pi-model-discovery-CuZX_Q4t.js} +0 -0
- /package/dist/plugin-sdk/{active-listener-bEk__wbB.js → active-listener-BRYwA2Ic.js} +0 -0
- /package/dist/plugin-sdk/{command-poll-backoff-CBq0jVRw.js → command-poll-backoff-Bug27PHS.js} +0 -0
- /package/dist/plugin-sdk/{outbound-attachment-DnVQfTG2.js → outbound-attachment-DJ3CI92h.js} +0 -0
- /package/dist/plugin-sdk/{qmd-manager-mjKcdwVr.js → qmd-manager-C6GM0Qik.js} +0 -0
- /package/dist/plugin-sdk/{tool-loop-detection-DU5sTIKg.js → tool-loop-detection-BAUvBvAO.js} +0 -0
- /package/dist/{plugins-allowlist-sArtGE-d.js → plugins-allowlist-BjKJrQ0e.js} +0 -0
- /package/dist/{polls-CCuCaqgv.js → polls-BKbIUHj7.js} +0 -0
- /package/dist/{ports-BX0kKI0g.js → ports-DtW62rqS.js} +0 -0
- /package/dist/{prompt-style-8JqOYj0q.js → prompt-style-CnkMpSXt.js} +0 -0
- /package/dist/{prompts-Xu2Sveka.js → prompts-CfOu9uZi.js} +0 -0
- /package/dist/{proxy-BaSHbVlA.js → proxy-CLEew2L6.js} +0 -0
- /package/dist/{proxy-CBJ1upuz.js → proxy-DVy9foH0.js} +0 -0
- /package/dist/{pw-ai-DqL87js3.js → pw-ai-C_1hRlOM.js} +0 -0
- /package/dist/{qmd-manager-D85GJrir.js → qmd-manager-CCUK1xoc.js} +0 -0
- /package/dist/{qmd-manager-Bx06p6nk.js → qmd-manager-qpFs_a6u.js} +0 -0
- /package/dist/{qr-cli-jd9LdZpq.js → qr-cli-9L-HExyH.js} +0 -0
- /package/dist/{render-CDCvpfhh.js → render-DwEu-aCr.js} +0 -0
- /package/dist/{reply-prefix-DpqZu44Z.js → reply-prefix-CvEIl6_d.js} +0 -0
- /package/dist/{resolve-route-C4_I4GFI.js → resolve-route-DX7xcMsD.js} +0 -0
- /package/dist/{retry-BBVXkKBV.js → retry-B-y5suGA.js} +0 -0
- /package/dist/{runtime-guard-B37eizu-.js → runtime-guard-Dik20CVM.js} +0 -0
- /package/dist/{runtime-status-CR9445g5.js → runtime-status-D6c3G7my.js} +0 -0
- /package/dist/{session-DIBTkyvE.js → session-CINKYYDi.js} +0 -0
- /package/dist/{shared-Knv1hy6h.js → shared-CvNixzwn.js} +0 -0
- /package/dist/{skill-scanner-CLs8u6vQ.js → skill-scanner-hMtQbWPV.js} +0 -0
- /package/dist/{sqlite-D_mz1_-y.js → sqlite-BHWvOATS.js} +0 -0
- /package/dist/{stagger-BUClb97_.js → stagger-CvFURHzt.js} +0 -0
- /package/dist/{status-BrV-afZE.js → status-klsFDD3M.js} +0 -0
- /package/dist/{table-BTgkRafz.js → table-BKlH0YlA.js} +0 -0
- /package/dist/{target-errors-Bbr9rlzN.js → target-errors-BEugWC4F.js} +0 -0
- /package/dist/{tokens-Bux9Y_xD.js → tokens-W0JzCJJM.js} +0 -0
- /package/dist/{tool-loop-detection-DR_rrIA1.js → tool-loop-detection-D5mBY7AC.js} +0 -0
- /package/dist/{tool-loop-detection-DPVtQOfM.js → tool-loop-detection-DZQMPDma.js} +0 -0
- /package/dist/{tool-loop-detection-C7TCF2V2.js → tool-loop-detection-Dd4SFWb1.js} +0 -0
- /package/dist/{usage-format-BzKEDn0q.js → usage-format-BgUx3Bm4.js} +0 -0
- /package/dist/{widearea-dns-DzLerlJb.js → widearea-dns-CyVOLgNE.js} +0 -0
- /package/dist/{workspace-CYxdoAlY.js → workspace-B4H-2N8y.js} +0 -0
- /package/dist/{wsl-C4424szg.js → wsl-q8spwrME.js} +0 -0
|
@@ -8,8 +8,8 @@ import { n as runExec } from "./exec-CBKBIMpA.js";
|
|
|
8
8
|
import { c as resolveAgentWorkspaceDir } from "./agent-scope-D-jRCY0d.js";
|
|
9
9
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-DKXJ-tbi.js";
|
|
10
10
|
import { H as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-DHBLS1Hl.js";
|
|
11
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
12
|
-
import { En as peekSystemEvents, St as summarizeRestartSentinel, cn as buildChannelAccountSnapshot, in as formatUsageReportLines, ln as formatChannelAllowFrom, nt as sha256HexPrefix, rn as loadProviderUsageSummary, sn as buildChannelSummary, xt as readRestartSentinel } from "./subagent-registry-
|
|
11
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-DIDhYlsx.js";
|
|
12
|
+
import { En as peekSystemEvents, St as summarizeRestartSentinel, cn as buildChannelAccountSnapshot, in as formatUsageReportLines, ln as formatChannelAllowFrom, nt as sha256HexPrefix, rn as loadProviderUsageSummary, sn as buildChannelSummary, xt as readRestartSentinel } from "./subagent-registry-aZczbtLM.js";
|
|
13
13
|
import { F as resolveMainSessionKey, j as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-CJXnZVjR.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-CwSlLxM8.js";
|
|
15
15
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-CbbvYNVw.js";
|
|
@@ -21,15 +21,15 @@ import { l as resolveSessionModelRef, n as classifySessionKey, r as listAgentsFo
|
|
|
21
21
|
import { o as getRemoteSkillEligibility } from "./skill-commands-C8BcwE33.js";
|
|
22
22
|
import { r as formatDurationPrecise } from "./format-duration-BOC0O2XQ.js";
|
|
23
23
|
import { n as withProgress } from "./progress-BAHiAaDW.js";
|
|
24
|
-
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-
|
|
24
|
+
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-DASpwgat.js";
|
|
25
25
|
import { t as resolveChannelDefaultAccountId } from "./helpers-cLP5YLeQ.js";
|
|
26
26
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-c7qZbYG5.js";
|
|
27
27
|
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-Cm9j9WzQ.js";
|
|
28
28
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-hFVEC3wO.js";
|
|
29
29
|
import { t as readLastGatewayErrorLine } from "./diagnostics-CS1ov_hH.js";
|
|
30
30
|
import { t as renderTable } from "./table-D01d2GuY.js";
|
|
31
|
-
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-
|
|
32
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
31
|
+
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-Cgd5-Y7W.js";
|
|
32
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-NTpZ8ssG.js";
|
|
33
33
|
import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-ZdimP1aU.js";
|
|
34
34
|
import { t as resolveNodeService } from "./node-service-fcZExd22.js";
|
|
35
35
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-DVLB9DNB.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
3
3
|
import { H as VERSION } from "./config-CHwyw6l5.js";
|
|
4
|
-
import { n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-
|
|
4
|
+
import { n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-7EzEjSzb.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/status.update.ts
|
|
7
7
|
async function getUpdateCheckResult(params) {
|
|
@@ -8,14 +8,15 @@ import { a as logError, i as logDebug, n as runExec, o as logInfo, r as spawnWit
|
|
|
8
8
|
import { C as ensureAgentWorkspace, E as loadWorkspaceBootstrapFiles, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, f as resolveSessionAgentIds, g as DEFAULT_IDENTITY_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, o as resolveAgentModelPrimary, r as resolveAgentConfig, s as resolveAgentSkillsFilter, u as resolveEffectiveModelFallbacks, w as filterBootstrapFilesForSession } from "./agent-scope-D-jRCY0d.js";
|
|
9
9
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-DuFIqfeC.js";
|
|
10
10
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-anX686I1.js";
|
|
11
|
+
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-LXkL5WS_.js";
|
|
11
12
|
import { a as buildModelAliasLines, n as resolveModel } from "./model-DiCH8rkE.js";
|
|
12
13
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Do3xMEtM.js";
|
|
13
14
|
import { r as isPathInsideWithRealpath } from "./scan-paths-ppKrtZ9U.js";
|
|
14
15
|
import { a as resolveSkillsPromptForRun, d as resolveSandboxInputPath, h as applySkillEnvOverridesFromSnapshot, i as loadWorkspaceSkillEntries, l as assertMediaNotDataUrl, m as applySkillEnvOverrides, p as resolveSandboxedMediaSource, r as buildWorkspaceSkillSnapshot, u as assertSandboxPath } from "./skills-hAdgFdrv.js";
|
|
15
16
|
import { a as safeStatSync, c as applyTestPluginDefaults, d as resolveEnableState, f as resolveMemorySlotDecision, h as isDangerousHostEnvVarName, i as isPathInside, n as loadPluginManifestRegistry, r as discoverSymiPlugins, u as normalizePluginsConfig } from "./manifest-registry-Czr39pxG.js";
|
|
16
17
|
import { A as parseConfigPath, B as resolveAgentMaxConcurrent, C as parseDurationMs, D as setConfigOverride, E as resetConfigOverrides, H as VERSION, M as unsetConfigValueAtPath, O as unsetConfigOverride, T as getConfigOverrides, _ as isInboundPathAllowed, b as resolveIMessageRemoteAttachmentRoots, c as resolveConfigSnapshotHash, h as resolveTelegramCustomCommands, i as loadConfig, j as setConfigValueAtPath, k as getConfigValueAtPath, l as writeConfigFile, m as normalizeTelegramCommandName, o as readConfigFileSnapshot, p as TELEGRAM_COMMAND_NAME_PATTERN, u as validateConfigObjectWithPlugins, w as validateJsonSchemaValue, x as normalizeScpRemoteHost, y as resolveIMessageAttachmentRoots, z as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-DHBLS1Hl.js";
|
|
17
|
-
import {
|
|
18
|
-
import { a as randomIdempotencyKey, d as resolveLeastPrivilegeOperatorScopesForMethod, n as callGateway, r as callGatewayLeastPrivilege, t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
+
import { Nt as SESSION_LABEL_MAX_LENGTH, t as GatewayClient } from "./client-T3qcxXru.js";
|
|
19
|
+
import { a as randomIdempotencyKey, d as resolveLeastPrivilegeOperatorScopesForMethod, n as callGateway, r as callGatewayLeastPrivilege, t as buildGatewayConnectionDetails } from "./call-DIDhYlsx.js";
|
|
19
20
|
import { a as isInternalMessageChannel, c as listDeliverableMessageChannels, d as resolveMessageChannel, h as GATEWAY_CLIENT_NAMES, i as isGatewayMessageChannel, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, o as isMarkdownCapableMessageChannel, p as GATEWAY_CLIENT_IDS, t as INTERNAL_MESSAGE_CHANNEL, u as resolveGatewayMessageChannel } from "./message-channel-C9dERklz.js";
|
|
20
21
|
import { i as normalizeInputProvenance, n as applyInputProvenanceToUserMessage, r as hasInterSessionUserProvenance } from "./input-provenance-D0lNkCf6.js";
|
|
21
22
|
import { A as DEFAULT_RESET_TRIGGERS, B as resolveGroupSessionKey, D as resolveSessionResetPolicy, E as resolveChannelResetConfig, F as resolveMainSessionKey, G as deliveryContextKey, J as normalizeSessionDeliveryFields, K as mergeDeliveryContext, L as deriveSessionMetaPatch, O as resolveSessionResetType, P as resolveExplicitAgentSessionKey, T as evaluateSessionFreshness, U as resolveSessionLockMaxHoldFromTimeout, V as acquireSessionWriteLock, W as deliveryContextFromSession, Y as normalizeAccountId$3, _ as capArrayByJsonBytes, a as resolveAndPersistSessionFile, c as recordSessionMetaFromInbound, d as updateSessionStore, f as updateSessionStoreEntry, g as archiveSessionTranscripts, j as resolveFreshSessionTotalTokens, k as resolveThreadFlag, m as resolveCacheTtlMs$1, n as parseSessionThreadInfo, o as loadSessionStore, p as isCacheEnabled, q as normalizeDeliveryContext, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateLastRoute, w as resolveSessionKey } from "./sessions-CJXnZVjR.js";
|
|
@@ -66,8 +67,8 @@ import { _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as extractTextFromC
|
|
|
66
67
|
import { n as resolveToolDisplay } from "./tool-display-CXwOC-qw.js";
|
|
67
68
|
import { n as formatTimeAgo } from "./format-relative-DX-rh76l.js";
|
|
68
69
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-72dOKfLG.js";
|
|
69
|
-
import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as resolveAttachmentKind, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as buildRandomTempFilePath, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-
|
|
70
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
70
|
+
import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as resolveAttachmentKind, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as buildRandomTempFilePath, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-CW9KEL7W.js";
|
|
71
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-Bn0ffe1O.js";
|
|
71
72
|
import { a as loadCombinedSessionStoreForGateway, u as lookupContextTokens } from "./session-utils-Bka9dR4m.js";
|
|
72
73
|
import { b as ensureSkillsWatcher, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, t as listReservedChatSlashCommandNames, x as getSkillsSnapshotVersion } from "./skill-commands-C8BcwE33.js";
|
|
73
74
|
import { i as readChannelAllowFromStore, l as listPairingChannels, o as removeChannelAllowFromStoreEntry, s as upsertChannelPairingRequest, t as addChannelAllowFromStoreEntry } from "./pairing-store-vpO8vXVN.js";
|
|
@@ -91,7 +92,7 @@ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-rou
|
|
|
91
92
|
import { t as parseTimeoutMs } from "./parse-timeout-zNJBr1fY.js";
|
|
92
93
|
import { t as makeProxyFetch } from "./proxy-DL3MD6-P.js";
|
|
93
94
|
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-DO80zq73.js";
|
|
94
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
95
|
+
import { r as detectBinary } from "./onboard-helpers-DASpwgat.js";
|
|
95
96
|
import { t as resolvePairingIdLabel } from "./pairing-labels-D1HDboV2.js";
|
|
96
97
|
import { t as getActiveWebListener } from "./active-listener-De1JhR4W.js";
|
|
97
98
|
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, n as isToolAllowedByPolicies, r as resolveEffectiveToolPolicy, t as filterToolsByPolicy } from "./pi-tools.policy-De00gPXt.js";
|
|
@@ -40565,6 +40566,7 @@ async function runEmbeddedPiAgent(params) {
|
|
|
40565
40566
|
const agentDir = params.agentDir ?? resolveSymiAgentDir();
|
|
40566
40567
|
const fallbackConfigured = (params.config?.agents?.defaults?.model?.fallbacks?.length ?? 0) > 0;
|
|
40567
40568
|
await ensureSymiModelsJson(params.config, agentDir);
|
|
40569
|
+
await ensurePiAuthJsonFromAuthProfiles(agentDir, { config: params.config });
|
|
40568
40570
|
let modelResolveOverride;
|
|
40569
40571
|
const hookRunner = getGlobalHookRunner();
|
|
40570
40572
|
const hookCtx = {
|
|
@@ -49331,7 +49333,7 @@ async function preflightDiscordMessage(params) {
|
|
|
49331
49333
|
let preflightTranscript;
|
|
49332
49334
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
49333
49335
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
49334
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
49336
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BuT_gIRW.js");
|
|
49335
49337
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
49336
49338
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
49337
49339
|
ctx: {
|
|
@@ -53114,7 +53116,7 @@ function isVoiceChannelType(type) {
|
|
|
53114
53116
|
function createDefaultDeps() {
|
|
53115
53117
|
return {
|
|
53116
53118
|
sendMessageWhatsApp: async (...args) => {
|
|
53117
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
53119
|
+
const { sendMessageWhatsApp } = await import("./web-DPki9fDa.js");
|
|
53118
53120
|
return await sendMessageWhatsApp(...args);
|
|
53119
53121
|
},
|
|
53120
53122
|
sendMessageTelegram: async (...args) => {
|
|
@@ -66262,7 +66264,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
66262
66264
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
66263
66265
|
let preflightTranscript;
|
|
66264
66266
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
66265
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
66267
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BuT_gIRW.js");
|
|
66266
66268
|
preflightTranscript = await transcribeFirstAudio({
|
|
66267
66269
|
ctx: {
|
|
66268
66270
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -68428,7 +68430,7 @@ function loadWebLoginQr() {
|
|
|
68428
68430
|
return webLoginQrPromise;
|
|
68429
68431
|
}
|
|
68430
68432
|
function loadWebChannel() {
|
|
68431
|
-
webChannelPromise ??= import("./web-
|
|
68433
|
+
webChannelPromise ??= import("./web-DPki9fDa.js");
|
|
68432
68434
|
return webChannelPromise;
|
|
68433
68435
|
}
|
|
68434
68436
|
function loadWhatsAppActions() {
|
|
@@ -4,129 +4,20 @@ import "./registry-Cja8eT7G.js";
|
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
5
5
|
import "./exec-CWkblSrI.js";
|
|
6
6
|
import "./agent-scope-CgUHAtCo.js";
|
|
7
|
-
import
|
|
7
|
+
import "./model-selection-CyFvYcRt.js";
|
|
8
8
|
import "./github-copilot-token-DAu1a6BX.js";
|
|
9
9
|
import "./boolean-BsqeuxE6.js";
|
|
10
10
|
import "./env-DPCHYPeH.js";
|
|
11
11
|
import "./message-channel-aT-I_DTX.js";
|
|
12
12
|
import "./config-CHwyw6l5.js";
|
|
13
13
|
import "./manifest-registry-C4BxOMWX.js";
|
|
14
|
-
import "./client-
|
|
15
|
-
import "./call-
|
|
14
|
+
import "./client-jI1oE0_k.js";
|
|
15
|
+
import "./call-CFhGTNtt.js";
|
|
16
16
|
import "./pairing-token-CX3NN_qj.js";
|
|
17
17
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
18
18
|
import "./progress-jIePzvGA.js";
|
|
19
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
20
|
-
import path from "node:path";
|
|
21
|
-
import fs from "node:fs/promises";
|
|
19
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DiTk_nOl.js";
|
|
22
20
|
|
|
23
|
-
//#region src/agents/pi-auth-json.ts
|
|
24
|
-
async function readAuthJson(filePath) {
|
|
25
|
-
try {
|
|
26
|
-
const raw = await fs.readFile(filePath, "utf8");
|
|
27
|
-
const parsed = JSON.parse(raw);
|
|
28
|
-
if (!parsed || typeof parsed !== "object") return {};
|
|
29
|
-
return parsed;
|
|
30
|
-
} catch {
|
|
31
|
-
return {};
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Convert an Symi auth-profiles credential to pi-coding-agent auth.json format.
|
|
36
|
-
* Returns null if the credential cannot be converted.
|
|
37
|
-
*/
|
|
38
|
-
function convertCredential(cred) {
|
|
39
|
-
if (cred.type === "api_key") {
|
|
40
|
-
const key = typeof cred.key === "string" ? cred.key.trim() : "";
|
|
41
|
-
if (!key) return null;
|
|
42
|
-
return {
|
|
43
|
-
type: "api_key",
|
|
44
|
-
key
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
if (cred.type === "token") {
|
|
48
|
-
const token = typeof cred.token === "string" ? cred.token.trim() : "";
|
|
49
|
-
if (!token) return null;
|
|
50
|
-
const expires = typeof cred.expires === "number" ? cred.expires : NaN;
|
|
51
|
-
if (Number.isFinite(expires) && expires > 0 && Date.now() >= expires) return null;
|
|
52
|
-
return {
|
|
53
|
-
type: "api_key",
|
|
54
|
-
key: token
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
if (cred.type === "oauth") {
|
|
58
|
-
const accessRaw = cred.access;
|
|
59
|
-
const refreshRaw = cred.refresh;
|
|
60
|
-
const expiresRaw = cred.expires;
|
|
61
|
-
const access = typeof accessRaw === "string" ? accessRaw.trim() : "";
|
|
62
|
-
const refresh = typeof refreshRaw === "string" ? refreshRaw.trim() : "";
|
|
63
|
-
const expires = typeof expiresRaw === "number" ? expiresRaw : NaN;
|
|
64
|
-
if (!access || !refresh || !Number.isFinite(expires) || expires <= 0) return null;
|
|
65
|
-
return {
|
|
66
|
-
type: "oauth",
|
|
67
|
-
access,
|
|
68
|
-
refresh,
|
|
69
|
-
expires
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
return null;
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Check if two auth.json credentials are equivalent.
|
|
76
|
-
*/
|
|
77
|
-
function credentialsEqual(a, b) {
|
|
78
|
-
if (!a || typeof a !== "object") return false;
|
|
79
|
-
if (a.type !== b.type) return false;
|
|
80
|
-
if (a.type === "api_key" && b.type === "api_key") return a.key === b.key;
|
|
81
|
-
if (a.type === "oauth" && b.type === "oauth") return a.access === b.access && a.refresh === b.refresh && a.expires === b.expires;
|
|
82
|
-
return false;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* pi-coding-agent's ModelRegistry/AuthStorage expects credentials in auth.json.
|
|
86
|
-
*
|
|
87
|
-
* Symi stores credentials in auth-profiles.json instead. This helper
|
|
88
|
-
* bridges all credentials into agentDir/auth.json so pi-coding-agent can
|
|
89
|
-
* (a) consider providers authenticated and (b) include built-in models in its
|
|
90
|
-
* registry/catalog output.
|
|
91
|
-
*
|
|
92
|
-
* Syncs all credential types: api_key, token (as api_key), and oauth.
|
|
93
|
-
*/
|
|
94
|
-
async function ensurePiAuthJsonFromAuthProfiles(agentDir) {
|
|
95
|
-
const store = ensureAuthProfileStore(agentDir, { allowKeychainPrompt: false });
|
|
96
|
-
const authPath = path.join(agentDir, "auth.json");
|
|
97
|
-
const providerCredentials = /* @__PURE__ */ new Map();
|
|
98
|
-
for (const [, cred] of Object.entries(store.profiles)) {
|
|
99
|
-
const provider = normalizeProviderId(String(cred.provider ?? "")).trim();
|
|
100
|
-
if (!provider || providerCredentials.has(provider)) continue;
|
|
101
|
-
const converted = convertCredential(cred);
|
|
102
|
-
if (converted) providerCredentials.set(provider, converted);
|
|
103
|
-
}
|
|
104
|
-
if (providerCredentials.size === 0) return {
|
|
105
|
-
wrote: false,
|
|
106
|
-
authPath
|
|
107
|
-
};
|
|
108
|
-
const existing = await readAuthJson(authPath);
|
|
109
|
-
let changed = false;
|
|
110
|
-
for (const [provider, cred] of providerCredentials) if (!credentialsEqual(existing[provider], cred)) {
|
|
111
|
-
existing[provider] = cred;
|
|
112
|
-
changed = true;
|
|
113
|
-
}
|
|
114
|
-
if (!changed) return {
|
|
115
|
-
wrote: false,
|
|
116
|
-
authPath
|
|
117
|
-
};
|
|
118
|
-
await fs.mkdir(agentDir, {
|
|
119
|
-
recursive: true,
|
|
120
|
-
mode: 448
|
|
121
|
-
});
|
|
122
|
-
await fs.writeFile(authPath, `${JSON.stringify(existing, null, 2)}\n`, { mode: 384 });
|
|
123
|
-
return {
|
|
124
|
-
wrote: true,
|
|
125
|
-
authPath
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
//#endregion
|
|
130
21
|
//#region src/cli/system-cli.ts
|
|
131
22
|
const normalizeWakeMode = (raw) => {
|
|
132
23
|
const mode = typeof raw === "string" ? raw.trim() : "";
|
|
@@ -191,4 +82,4 @@ function registerSystemCli(program) {
|
|
|
191
82
|
}
|
|
192
83
|
|
|
193
84
|
//#endregion
|
|
194
|
-
export { registerSystemCli
|
|
85
|
+
export { registerSystemCli };
|
|
@@ -5,13 +5,13 @@ import "./agent-scope-D-jRCY0d.js";
|
|
|
5
5
|
import "./github-copilot-token-DuFIqfeC.js";
|
|
6
6
|
import "./manifest-registry-Czr39pxG.js";
|
|
7
7
|
import "./config-DHBLS1Hl.js";
|
|
8
|
-
import "./client-
|
|
9
|
-
import "./call-
|
|
8
|
+
import "./client-T3qcxXru.js";
|
|
9
|
+
import "./call-DIDhYlsx.js";
|
|
10
10
|
import "./message-channel-C9dERklz.js";
|
|
11
11
|
import "./pairing-token-Byh6drgn.js";
|
|
12
12
|
import { t as formatDocsLink } from "./links-DlWpl9Yv.js";
|
|
13
13
|
import "./progress-BAHiAaDW.js";
|
|
14
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
14
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-BkB6xEaM.js";
|
|
15
15
|
|
|
16
16
|
//#region src/cli/system-cli.ts
|
|
17
17
|
const normalizeWakeMode = (raw) => {
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
|
|
3
|
+
//#region src/infra/system-run-command.ts
|
|
4
|
+
function basenameLower(token) {
|
|
5
|
+
const win = path.win32.basename(token);
|
|
6
|
+
const posix = path.posix.basename(token);
|
|
7
|
+
return (win.length < posix.length ? win : posix).trim().toLowerCase();
|
|
8
|
+
}
|
|
9
|
+
function formatExecCommand(argv) {
|
|
10
|
+
return argv.map((arg) => {
|
|
11
|
+
const trimmed = arg.trim();
|
|
12
|
+
if (!trimmed) return "\"\"";
|
|
13
|
+
if (!/\s|"/.test(trimmed)) return trimmed;
|
|
14
|
+
return `"${trimmed.replace(/"/g, "\\\"")}"`;
|
|
15
|
+
}).join(" ");
|
|
16
|
+
}
|
|
17
|
+
function extractShellCommandFromArgv(argv) {
|
|
18
|
+
const token0 = argv[0]?.trim();
|
|
19
|
+
if (!token0) return null;
|
|
20
|
+
const base0 = basenameLower(token0);
|
|
21
|
+
if (base0 === "sh" || base0 === "bash" || base0 === "zsh" || base0 === "dash" || base0 === "ksh") {
|
|
22
|
+
const flag = argv[1]?.trim();
|
|
23
|
+
if (flag !== "-lc" && flag !== "-c") return null;
|
|
24
|
+
const cmd = argv[2];
|
|
25
|
+
return typeof cmd === "string" ? cmd : null;
|
|
26
|
+
}
|
|
27
|
+
if (base0 === "cmd.exe" || base0 === "cmd") {
|
|
28
|
+
const idx = argv.findIndex((item) => String(item).trim().toLowerCase() === "/c");
|
|
29
|
+
if (idx === -1) return null;
|
|
30
|
+
const tail = argv.slice(idx + 1).map((item) => String(item));
|
|
31
|
+
if (tail.length === 0) return null;
|
|
32
|
+
const cmd = tail.join(" ").trim();
|
|
33
|
+
return cmd.length > 0 ? cmd : null;
|
|
34
|
+
}
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
function validateSystemRunCommandConsistency(params) {
|
|
38
|
+
const raw = typeof params.rawCommand === "string" && params.rawCommand.trim().length > 0 ? params.rawCommand.trim() : null;
|
|
39
|
+
const shellCommand = extractShellCommandFromArgv(params.argv);
|
|
40
|
+
const inferred = shellCommand !== null ? shellCommand.trim() : formatExecCommand(params.argv);
|
|
41
|
+
if (raw && raw !== inferred) return {
|
|
42
|
+
ok: false,
|
|
43
|
+
message: "INVALID_REQUEST: rawCommand does not match command",
|
|
44
|
+
details: {
|
|
45
|
+
code: "RAW_COMMAND_MISMATCH",
|
|
46
|
+
rawCommand: raw,
|
|
47
|
+
inferred
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
return {
|
|
51
|
+
ok: true,
|
|
52
|
+
shellCommand: shellCommand !== null ? raw ?? shellCommand : null,
|
|
53
|
+
cmdText: raw ?? shellCommand ?? inferred
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function resolveSystemRunCommand(params) {
|
|
57
|
+
const raw = typeof params.rawCommand === "string" && params.rawCommand.trim().length > 0 ? params.rawCommand.trim() : null;
|
|
58
|
+
const command = Array.isArray(params.command) ? params.command : [];
|
|
59
|
+
if (command.length === 0) {
|
|
60
|
+
if (raw) return {
|
|
61
|
+
ok: false,
|
|
62
|
+
message: "rawCommand requires params.command",
|
|
63
|
+
details: { code: "MISSING_COMMAND" }
|
|
64
|
+
};
|
|
65
|
+
return {
|
|
66
|
+
ok: true,
|
|
67
|
+
argv: [],
|
|
68
|
+
rawCommand: null,
|
|
69
|
+
shellCommand: null,
|
|
70
|
+
cmdText: ""
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
const argv = command.map((v) => String(v));
|
|
74
|
+
const validation = validateSystemRunCommandConsistency({
|
|
75
|
+
argv,
|
|
76
|
+
rawCommand: raw
|
|
77
|
+
});
|
|
78
|
+
if (!validation.ok) return {
|
|
79
|
+
ok: false,
|
|
80
|
+
message: validation.message,
|
|
81
|
+
details: validation.details ?? { code: "RAW_COMMAND_MISMATCH" }
|
|
82
|
+
};
|
|
83
|
+
return {
|
|
84
|
+
ok: true,
|
|
85
|
+
argv,
|
|
86
|
+
rawCommand: raw,
|
|
87
|
+
shellCommand: validation.shellCommand,
|
|
88
|
+
cmdText: validation.cmdText
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
//#endregion
|
|
93
|
+
export { resolveSystemRunCommand as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as theme, R as colorize, z as isRich } from "./utils-B-0b9bGM.js";
|
|
2
2
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-CWkblSrI.js";
|
|
3
|
-
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayProfileSuffix, u as resolveGatewayServiceDescription } from "./constants-
|
|
3
|
+
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayProfileSuffix, u as resolveGatewayServiceDescription } from "./constants-CafH8-8D.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
2
|
-
import { d as isVersionManagedNodePath, h as resolveSystemNodePath, l as getMinimalServicePathPartsFromEnv, u as isSystemNodePath } from "./daemon-runtime-
|
|
3
|
-
import { o as resolveSystemdUserUnitPath } from "./systemd-
|
|
4
|
-
import { c as resolveLaunchAgentPlistPath } from "./service-
|
|
5
|
-
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-
|
|
2
|
+
import { d as isVersionManagedNodePath, h as resolveSystemNodePath, l as getMinimalServicePathPartsFromEnv, u as isSystemNodePath } from "./daemon-runtime-COZ4usfy.js";
|
|
3
|
+
import { o as resolveSystemdUserUnitPath } from "./systemd-DT6SbCim.js";
|
|
4
|
+
import { c as resolveLaunchAgentPlistPath } from "./service-osK70kTZ.js";
|
|
5
|
+
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-D6c3G7my.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as note } from "./note-
|
|
3
|
-
import { d as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable, u as enableSystemdUserLinger } from "./systemd-
|
|
2
|
+
import { t as note } from "./note-DQ9BvHF2.js";
|
|
3
|
+
import { d as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable, u as enableSystemdUserLinger } from "./systemd-DT6SbCim.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/systemd-linger.ts
|
|
6
6
|
var systemd_linger_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as markdownToIRWithMeta } from "./ir-
|
|
2
|
-
import { t as renderMarkdownWithMarkers } from "./render-
|
|
1
|
+
import { r as markdownToIRWithMeta } from "./ir-JAy_3A3B.js";
|
|
2
|
+
import { t as renderMarkdownWithMarkers } from "./render-DwEu-aCr.js";
|
|
3
3
|
|
|
4
4
|
//#region src/markdown/tables.ts
|
|
5
5
|
const MARKDOWN_STYLE_MARKERS = {
|
|
@@ -2,8 +2,8 @@ import { h as visibleWidth, m as stripAnsi } from "./entry.js";
|
|
|
2
2
|
import { S as parseAgentSessionKey, c as normalizeMainKey, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-DjZ7Z1hW.js";
|
|
3
3
|
import { l as resolveDefaultAgentId } from "./agent-scope-D-jRCY0d.js";
|
|
4
4
|
import { H as VERSION, i as loadConfig } from "./config-DHBLS1Hl.js";
|
|
5
|
-
import {
|
|
6
|
-
import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-
|
|
5
|
+
import { At as PROTOCOL_VERSION, t as GatewayClient } from "./client-T3qcxXru.js";
|
|
6
|
+
import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-DIDhYlsx.js";
|
|
7
7
|
import { f as GATEWAY_CLIENT_CAPS, h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-C9dERklz.js";
|
|
8
8
|
import { C as stripLeadingInboundMetadata } from "./sessions-CJXnZVjR.js";
|
|
9
9
|
import { _ as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-DE9h5GAu.js";
|
|
@@ -4,14 +4,14 @@ import { l as stripAnsi, u as visibleWidth } from "./subsystem-D9vIQve0.js";
|
|
|
4
4
|
import { l as resolveDefaultAgentId } from "./agent-scope-CgUHAtCo.js";
|
|
5
5
|
import { f as GATEWAY_CLIENT_CAPS, h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-aT-I_DTX.js";
|
|
6
6
|
import { H as VERSION, i as loadConfig } from "./config-CHwyw6l5.js";
|
|
7
|
-
import { _ as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-
|
|
7
|
+
import { _ as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-BuVSLhG_.js";
|
|
8
8
|
import { k as stripLeadingInboundMetadata } from "./sessions-DgYpBvse.js";
|
|
9
9
|
import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-D8N3rsYt.js";
|
|
10
10
|
import { a as listChatCommandsForConfig, i as listChatCommands } from "./commands-registry-BT0-zzs3.js";
|
|
11
|
-
import {
|
|
12
|
-
import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-
|
|
11
|
+
import { At as PROTOCOL_VERSION, t as GatewayClient } from "./client-jI1oE0_k.js";
|
|
12
|
+
import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-CFhGTNtt.js";
|
|
13
13
|
import { n as formatTimeAgo, t as formatRelativeTimestamp } from "./format-relative-BXoxEQVN.js";
|
|
14
|
-
import { n as formatTokenCount } from "./usage-format-
|
|
14
|
+
import { n as formatTokenCount } from "./usage-format-BgUx3Bm4.js";
|
|
15
15
|
import chalk from "chalk";
|
|
16
16
|
import { spawn } from "node:child_process";
|
|
17
17
|
import { randomUUID } from "node:crypto";
|
|
@@ -7,8 +7,8 @@ import "./frontmatter-B8duUx_6.js";
|
|
|
7
7
|
import "./skills-hAdgFdrv.js";
|
|
8
8
|
import "./manifest-registry-Czr39pxG.js";
|
|
9
9
|
import "./config-DHBLS1Hl.js";
|
|
10
|
-
import "./client-
|
|
11
|
-
import "./call-
|
|
10
|
+
import "./client-T3qcxXru.js";
|
|
11
|
+
import "./call-DIDhYlsx.js";
|
|
12
12
|
import "./message-channel-C9dERklz.js";
|
|
13
13
|
import "./pairing-token-Byh6drgn.js";
|
|
14
14
|
import "./sessions-CJXnZVjR.js";
|
|
@@ -43,7 +43,7 @@ import "./commands-registry-D1K_inhv.js";
|
|
|
43
43
|
import "./tool-display-CXwOC-qw.js";
|
|
44
44
|
import { t as parseTimeoutMs } from "./parse-timeout-zNJBr1fY.js";
|
|
45
45
|
import { t as formatDocsLink } from "./links-DlWpl9Yv.js";
|
|
46
|
-
import { t as runTui } from "./tui-
|
|
46
|
+
import { t as runTui } from "./tui-2nWOvxxE.js";
|
|
47
47
|
|
|
48
48
|
//#region src/cli/tui-cli.ts
|
|
49
49
|
function registerTuiCli(program) {
|
|
@@ -12,15 +12,15 @@ import "./env-DPCHYPeH.js";
|
|
|
12
12
|
import "./message-channel-aT-I_DTX.js";
|
|
13
13
|
import "./config-CHwyw6l5.js";
|
|
14
14
|
import "./manifest-registry-C4BxOMWX.js";
|
|
15
|
-
import "./pi-embedded-helpers-
|
|
16
|
-
import "./sandbox-
|
|
15
|
+
import "./pi-embedded-helpers-BuVSLhG_.js";
|
|
16
|
+
import "./sandbox-DAOxwUQm.js";
|
|
17
17
|
import "./chrome-DtPkPq9T.js";
|
|
18
18
|
import "./tailscale-D5dKabOc.js";
|
|
19
19
|
import "./auth-B741uFtk.js";
|
|
20
|
-
import "./server-context-
|
|
20
|
+
import "./server-context-CHYWo_TC.js";
|
|
21
21
|
import "./frontmatter-DWQhtOo7.js";
|
|
22
22
|
import "./skills-6jdJQ5ZL.js";
|
|
23
|
-
import "./routes-
|
|
23
|
+
import "./routes-B1-BfEDm.js";
|
|
24
24
|
import "./redact-f-Q-hFt_.js";
|
|
25
25
|
import "./errors-BF3TeRH2.js";
|
|
26
26
|
import "./fs-safe-CUjO1ca2.js";
|
|
@@ -43,12 +43,12 @@ import "./tool-images-DvUBlqjX.js";
|
|
|
43
43
|
import "./tool-display-D8N3rsYt.js";
|
|
44
44
|
import "./commands-BNLCWX6e.js";
|
|
45
45
|
import "./commands-registry-BT0-zzs3.js";
|
|
46
|
-
import "./client-
|
|
47
|
-
import "./call-
|
|
46
|
+
import "./client-jI1oE0_k.js";
|
|
47
|
+
import "./call-CFhGTNtt.js";
|
|
48
48
|
import "./pairing-token-CX3NN_qj.js";
|
|
49
49
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
50
|
-
import { t as parseTimeoutMs } from "./parse-timeout-
|
|
51
|
-
import { t as runTui } from "./tui-
|
|
50
|
+
import { t as parseTimeoutMs } from "./parse-timeout-2S5vp0-9.js";
|
|
51
|
+
import { t as runTui } from "./tui-DLaU7tTx.js";
|
|
52
52
|
|
|
53
53
|
//#region src/cli/tui-cli.ts
|
|
54
54
|
function registerTuiCli(program) {
|