@symerian/symi 2.3.1 → 2.3.3
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/{accounts-ChTFYj8Q.js → accounts-CWktKM8a.js} +1 -1
- package/dist/{accounts-DDuIpcln.js → accounts-Cd816n6l.js} +7 -7
- package/dist/{accounts-bK-Yqdwx.js → accounts-CokRskCl.js} +1 -1
- package/dist/{accounts-DyJN4_vR.js → accounts-mN_EcgxC.js} +1 -1
- package/dist/{accounts-CJR8j_Kq.js → accounts-qtxJ-6em.js} +1 -1
- package/dist/{accounts-CI6zQTJj.js → accounts-tNElYrCH.js} +14 -14
- package/dist/{acp-cli-Cu4icbJT.js → acp-cli-BgyJMtqt.js} +6 -6
- package/dist/{active-listener-D6sXIjAg.js → active-listener-C9r8ZB9m.js} +1 -1
- package/dist/{agent-scope-CgUHAtCo.js → agent-scope-BRwEc2pG.js} +18 -18
- package/dist/{agent-scope-Bw1Ed8W9.js → agent-scope-BxoUQqgM.js} +3 -3
- package/dist/{agents-DzuttgJU.js → agents-DjLt6jc3.js} +4 -4
- package/dist/{agents.config-CSucty2T.js → agents.config-Dt7B_P5o.js} +1 -1
- package/dist/{agents.config-2HlZJsR3.js → agents.config-u_ibObha.js} +2 -2
- package/dist/{api-key-rotation-CzuPlV2t.js → api-key-rotation-CEr3lKih.js} +1 -1
- package/dist/{audio-preflight-C40mKAp7.js → audio-preflight-CPBOQV4I.js} +4 -4
- package/dist/{audio-preflight-CWnxkaac.js → audio-preflight-CjysqO8U.js} +28 -28
- package/dist/{audio-preflight-BsfqyC31.js → audio-preflight-D02HwB-I.js} +29 -29
- package/dist/{audit-CrITRV6w.js → audit-BSB9NPSO.js} +23 -23
- package/dist/{auth-choice-Cve09z1a.js → auth-choice-DUUu6Nhg.js} +1 -1
- package/dist/{auth-choice-ChrEc3cZ.js → auth-choice-DmSG7c8J.js} +8 -8
- package/dist/{auth-token-BnOynwk4.js → auth-token-DC5w1WoS.js} +1 -1
- package/dist/{banner-BoLflN_R.js → banner-BiAcdT2T.js} +1 -1
- package/dist/{bindings-BU2hsBd9.js → bindings-B7Ke6LJi.js} +2 -2
- package/dist/{bindings-DFaVVCsf.js → bindings-ChzePa8q.js} +1 -1
- package/dist/{browser-cli-BG4qPxpM.js → browser-cli-C4D9Ql3c.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +53 -53
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +53 -53
- package/dist/{call-CJaS1iRF.js → call-Dd7-bkfG.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-C9-gaquj.js → channel-activity-CsM_hJ_s.js} +1 -1
- package/dist/{channel-options-DqgeO1f6.js → channel-options-ClfXE1B7.js} +1 -1
- package/dist/{channel-options-Dkd1WQZx.js → channel-options-vQREpu-n.js} +2 -2
- package/dist/{channel-selection-DuWs0Aak.js → channel-selection-DjfBv8kq.js} +1 -1
- package/dist/{channel-web-CJvDQ5Ea.js → channel-web-y6pd_GHr.js} +17 -17
- package/dist/{channels-cli-D0jjOLRb.js → channels-cli-CjYD1_OO.js} +75 -75
- package/dist/{channels-cli-DtqwJZWy.js → channels-cli-suXRcyfF.js} +4 -4
- package/dist/{channels-status-issues-B_kBkl_u.js → channels-status-issues-BoH1ZJPN.js} +1 -1
- package/dist/{chrome-CDJYxX5a.js → chrome-D2SKJnR7.js} +7 -7
- package/dist/{chrome-w3SLcQJF.js → chrome-EyvdASWt.js} +20 -20
- package/dist/{chrome-DtPkPq9T.js → chrome-r4RThPxq.js} +2 -2
- package/dist/{chunk-ClbN9Pqy.js → chunk-BW5f05BR.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CHOmeum9.js → cli-B-911QZL.js} +62 -62
- package/dist/{cli-CEtg8kql.js → cli-mbfUlFn3.js} +1 -1
- package/dist/{client-CQSyCS4M.js → client-BsrZnuSi.js} +1 -1
- package/dist/{command-format-UKHV-j0K.js → command-format-BaxDnULz.js} +1 -1
- package/dist/{command-registry-Ba2z3dYq.js → command-registry-y8CXSD5O.js} +9 -9
- package/dist/{commands-BNLCWX6e.js → commands-CtocZ4Lg.js} +1 -1
- package/dist/{commands-registry-BT0-zzs3.js → commands-registry-BZ0ZSQpM.js} +3 -3
- package/dist/{commands-registry-VSmULp-g.js → commands-registry-D7CTCQPm.js} +4 -4
- package/dist/{completion-cli-CD-306wt.js → completion-cli-2Mi5hts2.js} +2 -2
- package/dist/{completion-cli-BgX3MWVU.js → completion-cli-BLrwUAyo.js} +12 -12
- package/dist/{config-CHwyw6l5.js → config-CJMcIRQM.js} +2 -2
- package/dist/{config-eEaJddXj.js → config-DRbjHIwD.js} +12 -12
- package/dist/{config-cli-Cz87-TYh.js → config-cli-CF-wdLkO.js} +4 -4
- package/dist/{config-cli-DAbXVRUL.js → config-cli-tYZAnvgQ.js} +1 -1
- package/dist/{config-guard-BflmO0t7.js → config-guard-C1Rs8NZG.js} +12 -12
- package/dist/{config-validation-CmimHAES.js → config-validation-ChQQVndI.js} +1 -1
- package/dist/{configure-D45ne4lm.js → configure-BHKdqhLb.js} +15 -15
- package/dist/{configure-0nrthdSf.js → configure-si19m30s.js} +3 -3
- package/dist/{control-service-Bz7rxLWq.js → control-service-B8H3Bqpv.js} +4 -4
- package/dist/{control-ui-assets-Z947tKLt.js → control-ui-assets-DqGziq7x.js} +1 -1
- package/dist/{cron-cli-DBIlCvp3.js → cron-cli-YrMWJCkm.js} +10 -10
- package/dist/{daemon-cli-DscwlsKW.js → daemon-cli-Dx4SXRyp.js} +11 -11
- package/dist/{daemon-runtime-2mwX-jqj.js → daemon-runtime--RiRUx_2.js} +10 -10
- package/dist/{deliver-BH0l3UKW.js → deliver-C-37cZUe.js} +1 -1
- package/dist/{deliver-BmPK91JP.js → deliver-D1ZN6-fl.js} +20 -20
- package/dist/{deliver-CceEhg3d.js → deliver-Um8yyhRA.js} +7 -7
- package/dist/{devices-cli-Dds-25Ve.js → devices-cli-DAJ84AOe.js} +6 -6
- package/dist/{diagnostic-C3nsWaw3.js → diagnostic-CI0kRQkt.js} +1 -1
- package/dist/{diagnostics-BAMlsVVX.js → diagnostics-D2yUMZN1.js} +5 -5
- package/dist/{directory-cli-CpUByQew.js → directory-cli-C4h8KQLH.js} +7 -7
- package/dist/{dm-policy-shared-Bh3TbexU.js → dm-policy-shared-BCSw0GJS.js} +2 -2
- package/dist/{dns-cli-Beyzdh3S.js → dns-cli-s0ZWvTPm.js} +3 -3
- package/dist/{dock-BhS32F6E.js → dock-BYiRZSgZ.js} +4 -4
- package/dist/{docs-cli-BpnEOtJi.js → docs-cli-BfPfHTDs.js} +1 -1
- package/dist/{doctor-completion-CcDVOtZ5.js → doctor-completion-C19QYsQN.js} +2 -2
- package/dist/{doctor-completion-CmGtqUHQ.js → doctor-completion-Dn_Kn4gz.js} +1 -1
- package/dist/{doctor-config-flow-QnaBd8kL.js → doctor-config-flow-D05HlWdn.js} +10 -10
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BliRl8VB.js → exec-approvals-cli-Df1lyRyE.js} +13 -13
- package/dist/extensionAPI.js +6 -6
- package/dist/{frontmatter-DPlG6yha.js → frontmatter-C_bv_0P8.js} +2 -2
- package/dist/{fs-safe-CUjO1ca2.js → fs-safe-CTDvb1DF.js} +6 -6
- package/dist/{gateway-cli-DajX3Pye.js → gateway-cli-B7khyAHs.js} +139 -155
- package/dist/{gateway-cli-BVN31fwu.js → gateway-cli-DG_Mdw0H.js} +35 -51
- package/dist/{gateway-rpc-BxkKeCZ0.js → gateway-rpc-DFeD8pZh.js} +1 -1
- package/dist/{gemini-auth-CF48hUR9.js → gemini-auth-CdSPHuLl.js} +1 -1
- package/dist/{github-copilot-token-DJqsJ2-r.js → github-copilot-token-C_qUP7p5.js} +7 -7
- package/dist/{glass-ui-ws-CQG6acJl.js → glass-ui-ws-BAub_JoN.js} +7 -7
- package/dist/{glass-ui-ws-Z1IOT6Vc.js → glass-ui-ws-BmQAULMj.js} +82 -82
- package/dist/{health-D9eQW7fJ.js → health-CboWXJkq.js} +1 -1
- package/dist/{health-f056vLGT.js → health-DkKXiUEF.js} +13 -13
- package/dist/{hooks-cli-hJ4euq2R.js → hooks-cli-BrO_9pas.js} +76 -76
- package/dist/{hooks-cli-CW-IRS72.js → hooks-cli-DLM_5caf.js} +2 -2
- package/dist/{image-D9uvDTrc.js → image-BiY-PfMh.js} +3 -3
- package/dist/{image-rZ4x9VS9.js → image-Cp3JDEBB.js} +4 -4
- package/dist/{image-CHzdaNJ4.js → image-DcpMiprB.js} +1 -1
- package/dist/{image-ops-S8-8dAhx.js → image-ops-CvJzsyvE.js} +1 -1
- package/dist/{image-ops-1OJMSAUX.js → image-ops-DYbDWaIA.js} +10 -10
- package/dist/index.js +72 -72
- package/dist/{inspect-CllGjsWo.js → inspect-ZJkNX0WL.js} +4 -4
- package/dist/{install-safe-path-tCLiMpmO.js → install-safe-path-Qqr_t_tH.js} +11 -11
- package/dist/{installs-C1Cebk97.js → installs-O9KlRu9h.js} +10 -10
- package/dist/{ir-CbFUkv_T.js → ir-DccrnjsE.js} +4 -4
- package/dist/{ir-DZam9q5M.js → ir-Dt4hOzxG.js} +6 -6
- package/dist/{lifecycle-core-D6LYXpFj.js → lifecycle-core-BkPSoGM2.js} +5 -5
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-aAFLQGkY.js → local-roots-BBeKX7PX.js} +2 -2
- package/dist/{local-roots-C7OCYACU.js → local-roots-DMwIh5cS.js} +5 -5
- package/dist/{login-dIlDkG4X.js → login-1sleXoB4.js} +3 -3
- package/dist/{login-B8uiUAnV.js → login-CwCoxapk.js} +7 -7
- package/dist/{login-qr-CIZk8uKX.js → login-qr-Batf3PT5.js} +12 -12
- package/dist/{login-qr-pbXdFORv.js → login-qr-wCWBOMwB.js} +5 -5
- package/dist/{logs-cli-xOzIPrHm.js → logs-cli-DVeEdUCU.js} +7 -7
- package/dist/{manager-D4LJSRyZ.js → manager-C1CfGzZ2.js} +13 -13
- package/dist/{manager-BoLr3xR_.js → manager-D_LwXbc6.js} +13 -13
- package/dist/{manifest-registry-CneMHk0N.js → manifest-registry-D0IQ3WuX.js} +19 -19
- package/dist/{markdown-tables-CEbN0fEm.js → markdown-tables-ZwP14ydw.js} +1 -1
- package/dist/{markdown-tables-DSHvnTLx.js → markdown-tables-iMQQZu4Q.js} +1 -1
- package/dist/{memory-cli-Ca5r9AUb.js → memory-cli-lk6fRiwy.js} +14 -14
- package/dist/{message-channel-DbsRltF2.js → message-channel-Dz5lr5b0.js} +1 -1
- package/dist/{model-tWhwnFf8.js → model-CeeOcylL.js} +1 -1
- package/dist/{model-auth-CwOuTuXl.js → model-auth-DK43VicI.js} +9 -9
- package/dist/{model-catalog-DvBJ8pMD.js → model-catalog-C3NLvWC2.js} +4 -4
- package/dist/{model-picker-Ddo3jHe-.js → model-picker-LKZLY2DL.js} +3 -3
- package/dist/{model-selection-CyFvYcRt.js → model-selection-X1oLh3CE.js} +9 -9
- package/dist/{models-nO_t1uzp.js → models-BmiRYEVd.js} +2 -2
- package/dist/{models-cli-B2ticsCM.js → models-cli-4vQrbW6G.js} +72 -72
- package/dist/{models-cli-D9bG44Ao.js → models-cli-Tf61I97Q.js} +3 -3
- package/dist/{models-config-qyOXrOli.js → models-config-CqDdkHJq.js} +7 -7
- package/dist/{node-cli-C_G-Q3h-.js → node-cli-Jj2LTGzF.js} +28 -28
- package/dist/{node-service-Cxz4e-Qd.js → node-service-CJygtY5M.js} +1 -1
- package/dist/{nodes-cli-BcnuJajV.js → nodes-cli-C43ifECe.js} +10 -10
- package/dist/{nodes-screen-VBGXKdLk.js → nodes-screen-C99kfE1u.js} +4 -4
- package/dist/{npm-registry-spec-C2JDdSZS.js → npm-registry-spec-DR_at_Hp.js} +9 -9
- package/dist/{onboard-BDbpfrZj.js → onboard-D8uxVvMq.js} +13 -13
- package/dist/{onboard-BtZ9WqhJ.js → onboard-FpptSqHZ.js} +2 -2
- package/dist/{onboard-channels-HubyUVjT.js → onboard-channels-DOKid2w1.js} +5 -5
- package/dist/{onboard-channels-CHE8nfNA.js → onboard-channels-Q_xxgZ8O.js} +1 -1
- package/dist/{onboard-custom-C7O-zfQ1.js → onboard-custom-DPJiy9aT.js} +3 -3
- package/dist/{onboard-helpers-ZmZYzlq3.js → onboard-helpers-Dixh6cNh.js} +8 -8
- package/dist/{onboard-hooks-BAA8CoVv.js → onboard-hooks-lsws7g2s.js} +1 -1
- package/dist/{onboard-remote-zUjD7UtM.js → onboard-remote-B66ZWtkN.js} +1 -1
- package/dist/{onboard-skills-BB0YhUmF.js → onboard-skills-B0IA09ig.js} +4 -4
- package/dist/{onboarding-eVb5gvwo.js → onboarding-CdlGKa0U.js} +13 -13
- package/dist/{onboarding-DtP0sps0.js → onboarding-DhIEUmp5.js} +3 -3
- package/dist/{onboarding.finalize-D8035U2E.js → onboarding.finalize-CEYLIXkq.js} +6 -6
- package/dist/{onboarding.finalize-CetxPTxL.js → onboarding.finalize-DyBsPxXJ.js} +74 -74
- package/dist/{onboarding.gateway-config-CJUgDC6Y.js → onboarding.gateway-config-CCJqI0kw.js} +14 -14
- package/dist/{openai-model-default-DMjQRsb1.js → openai-model-default-BJ1IZ3TN.js} +2 -2
- package/dist/{outbound-opDNxv-l.js → outbound-D4fN_ZlE.js} +7 -7
- package/dist/{outbound-DB5Zus0-.js → outbound-NJCy0h4x.js} +4 -4
- package/dist/{outbound-attachment-D_QuKi8U.js → outbound-attachment-D62E0xDI.js} +2 -2
- package/dist/{outbound-attachment-Co2diKdP.js → outbound-attachment-DjNDa3zn.js} +2 -2
- package/dist/{pairing-cli-CBLfGvqW.js → pairing-cli-CcW0ndhB.js} +8 -8
- package/dist/{pairing-labels-2S6x2UoV.js → pairing-labels-27SOKDzJ.js} +1 -1
- package/dist/{pairing-store-CK726Dzq.js → pairing-store-B8ktu-6j.js} +2 -2
- package/dist/{pairing-token-CX3NN_qj.js → pairing-token-AV-MMfVE.js} +7 -7
- package/dist/{paths-BBm9fwuG.js → paths-CT6jsi4E.js} +1 -1
- package/dist/{paths-CySxpNhH.js → paths-Cce4PUkG.js} +5 -5
- package/dist/{paths-Cb87-LzP.js → paths-DLyHUt31.js} +1 -1
- package/dist/{pi-auth-json-DPWPoruO.js → pi-auth-json-0SYBFZTt.js} +8 -8
- package/dist/{pi-auth-json-DayrlDg_.js → pi-auth-json-CCneTXUh.js} +3 -3
- package/dist/{pi-embedded-BY-dBus2.js → pi-embedded-BThV36aG.js} +109 -21
- package/dist/{pi-embedded-helpers-lgx_U5KS.js → pi-embedded-helpers-B8kqLWns.js} +4 -4
- package/dist/{pi-embedded-helpers-CNPyv_ax.js → pi-embedded-helpers-DO6u9K2t.js} +6 -6
- package/dist/{pi-embedded-helpers-B2z46qeM.js → pi-embedded-helpers-ag2bosuj.js} +52 -52
- package/dist/{pi-embedded-Dc3muKtS.js → pi-embedded-wr4HXhzm.js} +255 -167
- package/dist/{pi-tools.policy-CIDBbw6x.js → pi-tools.policy-juZV2uUv.js} +4 -4
- package/dist/{plugin-auto-enable-BzX1uAKy.js → plugin-auto-enable-Bbm7MwFV.js} +2 -2
- package/dist/{plugin-registry-CuoX8mar.js → plugin-registry-DvWWctC9.js} +1 -1
- package/dist/{plugin-registry-fxcvycGr.js → plugin-registry-lWWSu9UD.js} +3 -3
- package/dist/plugin-sdk/agents/model-token-filter.d.ts +15 -0
- package/dist/plugin-sdk/{channel-web-CV1KLtZh.js → channel-web-BnrTC55Y.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-C4mijdMZ.js → reply-kuMxu6Q4.js} +95 -7
- package/dist/plugin-sdk/{web-B17UUsjm.js → web-TMIhKQyF.js} +2 -2
- package/dist/{plugins-DKDeQZF0.js → plugins-BAyxWQSz.js} +2 -2
- package/dist/{plugins-C4C9637U.js → plugins-DQYI3Fr-.js} +9 -9
- package/dist/{plugins-cli-4OqSGHp-.js → plugins-cli-BHfzYAq6.js} +71 -71
- package/dist/{plugins-cli-BbE_Qnlk.js → plugins-cli-wlWRx4Oj.js} +2 -2
- package/dist/{ports-BOmtxoTv.js → ports-OZQlocB7.js} +2 -2
- package/dist/{ports-BX0kKI0g.js → ports-b36gHZbA.js} +1 -1
- package/dist/{program-DkXOdfM2.js → program-CKy7s-bm.js} +7 -7
- package/dist/{program-context-0bDxGpMx.js → program-context-D4gbh6dg.js} +39 -39
- package/dist/{prompt-select-styled-DJkRn30j.js → prompt-select-styled-DlGPNq9c.js} +38 -38
- package/dist/{prompt-select-styled-_6KbTFXs.js → prompt-select-styled-bh0GLMiQ.js} +4 -4
- package/dist/{provider-auth-helpers-BpVAdwK_.js → provider-auth-helpers-B-YsKbwc.js} +1 -1
- package/dist/{provider-auth-helpers-Bnkj4QXS.js → provider-auth-helpers-Bd5VVReu.js} +5 -5
- package/dist/{push-apns-EKnCwrqK.js → push-apns-0et2AR44.js} +4 -4
- package/dist/{push-apns-C0wMP1XU.js → push-apns-ByyOJyDl.js} +1 -1
- package/dist/{pw-ai-De-KR9_s.js → pw-ai-1htA-NnS.js} +1 -1
- package/dist/{pw-ai-PiQUncix.js → pw-ai-Ch7liUOW.js} +11 -11
- package/dist/{pw-ai-DqL87js3.js → pw-ai-MVzi113V.js} +7 -7
- package/dist/{qmd-manager-D85GJrir.js → qmd-manager-BP2r8b1D.js} +18 -18
- package/dist/{qmd-manager-DdZh9PHs.js → qmd-manager-QHUP-_em.js} +7 -7
- package/dist/{qr-cli-jd9LdZpq.js → qr-cli-17laLZm_.js} +3 -3
- package/dist/{register.agent-B0S1CJEx.js → register.agent-Dhijhxr5.js} +81 -81
- package/dist/{register.agent-B48Vf_DK.js → register.agent-oKma6YjU.js} +6 -6
- package/dist/{register.configure-Wyv7vb24.js → register.configure-BX8vQ2Np.js} +6 -6
- package/dist/register.configure-BcZ-7Yir.js +147 -0
- package/dist/{register.maintenance-Cmf17EW0.js → register.maintenance-B3TPb969.js} +84 -84
- package/dist/{register.maintenance-TgjAQ4E0.js → register.maintenance-OJCduNdt.js} +8 -8
- package/dist/{register.message-Dwv2puIB.js → register.message-CX8C_Fds.js} +2 -2
- package/dist/{register.message-BcsPnPvW.js → register.message-D0aswsGo.js} +63 -63
- package/dist/{register.onboard-BDGaSyq2.js → register.onboard-BHTyEs6d.js} +74 -74
- package/dist/{register.onboard-C8w7_w93.js → register.onboard-CSepiSPt.js} +4 -4
- package/dist/{register.setup-CMGSNKXS.js → register.setup-lZSHKiGQ.js} +4 -4
- package/dist/{register.setup-CiEuZOlI.js → register.setup-uhpgkBjU.js} +77 -77
- package/dist/{register.status-health-sessions-zKjmZyOs.js → register.status-health-sessions-Cbavf8do.js} +3 -3
- package/dist/{register.status-health-sessions-C8p0uINc.js → register.status-health-sessions-v1KN3eEp.js} +75 -75
- package/dist/{register.subclis-CofZE_pt.js → register.subclis-DBEv5xOP.js} +9 -9
- package/dist/{registry-DP24za6g.js → registry-CK4e9hn8.js} +17 -17
- package/dist/{replies-DpPvWiGF.js → replies-BIX_isV7.js} +3 -3
- package/dist/{replies-vgss3_QA.js → replies-BL7IBg12.js} +1 -1
- package/dist/{reply-SBi_U7P7.js → reply-DVxU0AMq.js} +225 -137
- package/dist/{reply-prefix-CtL0omgM.js → reply-prefix-BLOOs1aW.js} +1 -1
- package/dist/{reply-prefix-CE2YmmsD.js → reply-prefix-XlyuyChD.js} +1 -1
- package/dist/{resolve-route-BMoTaVAH.js → resolve-route-BcnaXYvh.js} +2 -2
- package/dist/{resolve-route-BVikmvWO.js → resolve-route-CZ-1eqw0.js} +4 -4
- package/dist/{retry-dGG-MbxL.js → retry-Cly39XZB.js} +1 -1
- package/dist/{routes-Ba9CUQ8M.js → routes-CE-ohckF.js} +8 -8
- package/dist/{rpc-BfhojW8g.js → rpc-wovSCB5v.js} +1 -1
- package/dist/{run-main-BJaDO3WW.js → run-main-DspjiCY1.js} +14 -14
- package/dist/{runner-DUBExAb5.js → runner-BcQ0sF9T.js} +1 -1
- package/dist/{runner-CUglpiFP.js → runner-Cen70krW.js} +20 -20
- package/dist/{runner-CCSMfQee.js → runner-D0QUGA_X.js} +9 -9
- package/dist/{sandbox-C-T6hOMv.js → sandbox-BzNrUHpt.js} +18 -18
- package/dist/{sandbox-cli-BllVdQzR.js → sandbox-cli-CZrMO34w.js} +20 -20
- package/dist/{security-cli-BFLtWWHy.js → security-cli-CeBoEmeN.js} +36 -36
- package/dist/{send-DeEosX8F.js → send-B1u-LrcS.js} +18 -18
- package/dist/{send-Cutb0ZDY.js → send-BEeuDXqy.js} +6 -6
- package/dist/{send-tanEMpHN.js → send-BjdAgYLu.js} +6 -6
- package/dist/{send-CZr1hVHY.js → send-BnuIB59F.js} +13 -13
- package/dist/{send-CXxQ_f7L.js → send-C95ZRvja.js} +6 -6
- package/dist/{send-DwKJK3sM.js → send-CiTGOvEc.js} +10 -10
- package/dist/{send-zSarozV2.js → send-DW96zgDL.js} +6 -6
- package/dist/{send-CHEOWVc8.js → send-DeFniOjh.js} +6 -6
- package/dist/{send-DbcLJb0P.js → send-WyRqb4WD.js} +7 -7
- package/dist/{send-CPF8hSFp.js → send-dH0xroTu.js} +4 -4
- package/dist/{server-context-CEpFjqSk.js → server-context-DUXqnh6l.js} +5 -5
- package/dist/{server-methods-CyFB3XQf.js → server-methods-B9alalq5.js} +7 -7
- package/dist/{server-methods-Cm6W01ne.js → server-methods-BgBq7KRL.js} +54 -54
- package/dist/{server-node-events-Bhgt3xLw.js → server-node-events-BrBsrcCd.js} +63 -63
- package/dist/{server-node-events-CX1plxJz.js → server-node-events-DWG81_Fo.js} +2 -2
- package/dist/{service-Cl74hx8J.js → service--qMN5DPm.js} +15 -15
- package/dist/{session-DIBTkyvE.js → session-CsIk0Sqq.js} +2 -2
- package/dist/{session-DV1MNlbV.js → session-SM36BTsl.js} +8 -8
- package/dist/session-dirs-D3qlvucD.js +18 -0
- package/dist/{sessions-DgYpBvse.js → sessions-D5a7H247.js} +13 -13
- package/dist/{shared-Knv1hy6h.js → shared-Gi3l7nlY.js} +3 -3
- package/dist/{shared-BJvwnR5z.js → shared-Jm_QdQJQ.js} +1 -1
- package/dist/{skill-commands-D610IKhm.js → skill-commands-BJMb_psG.js} +9 -9
- package/dist/{skill-commands-Cxw-jNxU.js → skill-commands-ZXbEITKi.js} +5 -5
- package/dist/{skill-scanner-CLs8u6vQ.js → skill-scanner-CXg9eeyc.js} +5 -5
- package/dist/{skills-o5WVqM4V.js → skills-BFekKL7i.js} +21 -21
- package/dist/{skills-6jdJQ5ZL.js → skills-DqQUtOph.js} +4 -4
- package/dist/{skills-cli-BZTBLQTt.js → skills-cli-D1JL_utC.js} +7 -7
- package/dist/{skills-install-D67isO1L.js → skills-install-DjcTy3CT.js} +3 -3
- package/dist/{skills-status-CURJKnyY.js → skills-status-DS-NZQiq.js} +1 -1
- package/dist/{sqlite-Dx3J_aSE.js → sqlite-BV5ILFtC.js} +12 -12
- package/dist/{sqlite-6H6Zw1cs.js → sqlite-DRbx2dhW.js} +4 -4
- package/dist/{status-CwXg8OO1.js → status-CgPPKk09.js} +25 -25
- package/dist/{status-U_1mE-yc.js → status-CkJV2sl6.js} +3 -3
- package/dist/{status-BdmYV3_x.js → status-DqMwkAnF.js} +1 -1
- package/dist/{status-BBpD_1pG.js → status-DxodHhzX.js} +2 -2
- package/dist/{status.update-DtwCUTf-.js → status.update-CmGpjKSr.js} +3 -3
- package/dist/{store-vVE6N2mH.js → store-C0wvOkae.js} +2 -2
- package/dist/{store-r1DJSDq-.js → store-DvtcmOKj.js} +5 -5
- package/dist/{subagent-registry-Du9P0G2U.js → subagent-registry-CBklD0OL.js} +96 -8
- package/dist/{subsystem-DgpxyDQ_.js → subsystem-Bs9YvKLa.js} +1 -1
- package/dist/{symi-root-CrGJbkzf.js → symi-root-MF6_6SCS.js} +2 -2
- package/dist/{system-cli-UMsMEurS.js → system-cli-Buhvt_H5.js} +11 -11
- package/dist/{systemd-riq8uNJQ.js → systemd-AhJEsmIk.js} +5 -5
- package/dist/{systemd-hints-BR6gChwm.js → systemd-hints-Db0oImvK.js} +6 -6
- package/dist/{systemd-linger-aQ75ZlXY.js → systemd-linger-BXwqn1jL.js} +1 -1
- package/dist/{tables-BEzT0Da4.js → tables-C38rzF6E.js} +1 -1
- package/dist/{tables-BIWsCKXJ.js → tables-DuZspiBu.js} +1 -1
- package/dist/{target-errors-DyItGyW9.js → target-errors-Be1SwYlW.js} +2 -2
- package/dist/{target-errors-7AvoVa10.js → target-errors-CCz79CmV.js} +4 -4
- package/dist/{thinking-Ni0HF-w6.js → thinking-CdlENGRW.js} +5 -5
- package/dist/{tokens-c_SLAkVb.js → tokens-H1H1LiSQ.js} +1 -1
- package/dist/{tool-images-DvUBlqjX.js → tool-images-B-pqX3nX.js} +1 -1
- package/dist/{tool-images-DBCfXdli.js → tool-images-DXB7tqWi.js} +2 -2
- package/dist/{tool-loop-detection-Bbc9OPFR.js → tool-loop-detection-Cs8_HCsx.js} +3 -3
- package/dist/{tui-CriznorL.js → tui-C0A9W969.js} +7 -7
- package/dist/{tui-cli-CSIdfCTR.js → tui-cli-tCnkNdSx.js} +28 -28
- package/dist/{update-rw7wJwHd.js → update-Df4sEKtI.js} +3 -3
- package/dist/{update-check-CtckACbb.js → update-check-C0oYCI89.js} +5 -5
- package/dist/{update-cli-_45TJ3hZ.js → update-cli-BqdgQuYp.js} +8 -8
- package/dist/{update-cli-DJzF_9UX.js → update-cli-DYrpyu4a.js} +94 -94
- package/dist/{update-runner-BSQFv9b6.js → update-runner-BgzyPjF5.js} +15 -15
- package/dist/{update-runner-8Ac4bJ1w.js → update-runner-CmZW3aeK.js} +1 -1
- package/dist/{web-C1Zn8_qW.js → web-CfZp0Jv6.js} +6 -6
- package/dist/{web-BqRsq6mP.js → web-DNQzo8ao.js} +57 -57
- package/dist/web-DsCqmzyk.js +109 -0
- package/dist/{web-w-vV1rCZ.js → web-GL_nqURg.js} +1 -1
- package/dist/{webhooks-cli-cD58DWAE.js → webhooks-cli-Bp-7Rs2Y.js} +4 -4
- package/dist/{whatsapp-actions-DbcsdOH3.js → whatsapp-actions-CFXNPLco.js} +15 -15
- package/dist/{whatsapp-actions-oRQjcdQe.js → whatsapp-actions-D1RsnX7P.js} +23 -23
- package/dist/{with-timeout-gmK6RciS.js → with-timeout-Cs6_LnHB.js} +1 -1
- package/dist/{workspace-dirs-GpkFi6Kw.js → workspace-dirs-DKu48umx.js} +1 -1
- package/dist/{workspace-CbvamIU6.js → workspace-wAaHI8-5.js} +6 -6
- package/dist/{wsl-C4424szg.js → wsl-BbXxnokd.js} +2 -2
- package/package.json +1 -1
- package/dist/register.configure-Drr3E9OG.js +0 -147
- package/dist/web-BZSI7b07.js +0 -109
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import { g as resolveStateDir, t as CONFIG_PATH } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { D as isPlainObject, U as getResolvedLoggerSettings, r as clamp, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-EAliFiVK.js";
|
|
4
|
-
import { $n as
|
|
4
|
+
import { $n as textToSpeech, Bn as onAgentEvent, C as loadSessionEntry, Cr as isSystemEventContextChanged, E as resolveSessionModelRef, En as stopSubagentsForRequester, Fr as resolveAgentTimeoutMs, Ft as resolveAgentOutboundTarget, Gn as isTtsProviderConfigured, H as formatDoctorNonInteractiveHint, Hn as resolveUserTimezone, Ht as resolveSendPolicy, Jn as resolveTtsConfig, Kn as resolveTtsApiKey, Mn as listDescendantRunsForRequester, Mt as agentCommand, Nn as listSubagentRunsForRequester, O as ensureOutboundSessionEntry, Pt as resolveAgentDeliveryPlan, Qn as setTtsProvider, R as scheduleGatewaySigusr1Restart, Rt as resolveOutboundTarget, S as loadCombinedSessionStoreForGateway, Sn as formatZonedTimestamp, Sr as enqueueSystemEvent, St as loadProviderUsageSummary, T as resolveGatewaySessionStoreTarget, Tn as isAbortTrigger, Un as getTtsProvider, Vn as registerAgentRunContext, Vt as normalizeSendPolicy, Wn as isTtsEnabled, Wt as createOutboundSendDeps, X as normalizeCronJobPatch, Xn as resolveTtsProviderOrder, Y as normalizeCronJobCreate, Yn as resolveTtsPrefsPath, Zn as setTtsEnabled, an as unbindThreadBindingsBySessionKey, b as listAgentsForGateway, br as applyVerboseOverride, bt as normalizeGroupActivation, c as clearSessionQueues, er as OPENAI_TTS_MODELS, f as waitForEmbeddedPiRunEnd, hn as createReplyDispatcher, k as resolveOutboundSessionRoute, lt as applyBrowserProxyPaths, mn as dispatchInboundMessage, n as BARE_SESSION_RESET_PROMPT, q as writeRestartSentinel, qn as resolveTtsAutoMode, tr as OPENAI_TTS_VOICES, u as abortEmbeddedPiRun, ut as persistBrowserProxyFiles, v as canonicalizeSpawnedByForAgent, vt as loadSymiPlugins, w as pruneLegacyStoreKeys, x as listSessionsFromStore, xr as parseVerboseOverride, yr as applyModelOverrideToSessionEntry } from "./reply-DVxU0AMq.js";
|
|
5
5
|
import { S as parseAgentSessionKey, l as resolveAgentIdFromSessionKey, m as DEFAULT_ACCOUNT_ID, o as classifySessionKeyShape, s as normalizeAgentId, t as DEFAULT_AGENT_ID, x as isSubagentSessionKey } from "./session-key-DCt45XZa.js";
|
|
6
|
-
import { t as resolveSymiPackageRoot } from "./symi-root-
|
|
6
|
+
import { t as resolveSymiPackageRoot } from "./symi-root-MF6_6SCS.js";
|
|
7
7
|
import { C as createInternalHookEvent, T as triggerInternalHook, d as getActivePluginRegistry, r as DEFAULT_CHAT_CHANNEL, t as CHANNEL_IDS } from "./registry-Cja8eT7G.js";
|
|
8
8
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
9
|
-
import { C as ensureAgentWorkspace, S as DEFAULT_USER_FILENAME, T as isWorkspaceOnboardingCompleted, _ as DEFAULT_MEMORY_ALT_FILENAME, b as DEFAULT_SYMIPULSE_FILENAME, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, g as DEFAULT_IDENTITY_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, n as listAgentIds, p as DEFAULT_AGENTS_FILENAME, t as listAgentEntries, v as DEFAULT_MEMORY_FILENAME, x as DEFAULT_TOOLS_FILENAME, y as DEFAULT_SYMICORE_FILENAME } from "./agent-scope-
|
|
10
|
-
import { Bt as normalizeSecretInput, _ as resolveSubagentConfiguredModelSelection, d as resolveAllowedModelRef, m as resolveDefaultModelForAgent, y as resolveThinkingDefault } from "./model-selection-
|
|
9
|
+
import { C as ensureAgentWorkspace, S as DEFAULT_USER_FILENAME, T as isWorkspaceOnboardingCompleted, _ as DEFAULT_MEMORY_ALT_FILENAME, b as DEFAULT_SYMIPULSE_FILENAME, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, g as DEFAULT_IDENTITY_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, n as listAgentIds, p as DEFAULT_AGENTS_FILENAME, t as listAgentEntries, v as DEFAULT_MEMORY_FILENAME, x as DEFAULT_TOOLS_FILENAME, y as DEFAULT_SYMICORE_FILENAME } from "./agent-scope-BRwEc2pG.js";
|
|
10
|
+
import { Bt as normalizeSecretInput, _ as resolveSubagentConfiguredModelSelection, d as resolveAllowedModelRef, m as resolveDefaultModelForAgent, y as resolveThinkingDefault } from "./model-selection-X1oLh3CE.js";
|
|
11
11
|
import { f as GATEWAY_CLIENT_CAPS, g as hasGatewayClientCap, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-aT-I_DTX.js";
|
|
12
|
-
import { H as VERSION, N as applyMergePatch, P as applyLegacyMigrations, S as sensitive, U as resolveRuntimeServiceVersion, a as parseConfigJson5, c as resolveConfigSnapshotHash, d as SymiSchema, i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, s as readConfigFileSnapshotForWrite, u as validateConfigObjectWithPlugins } from "./config-
|
|
12
|
+
import { H as VERSION, N as applyMergePatch, P as applyLegacyMigrations, S as sensitive, U as resolveRuntimeServiceVersion, a as parseConfigJson5, c as resolveConfigSnapshotHash, d as SymiSchema, i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, s as readConfigFileSnapshotForWrite, u as validateConfigObjectWithPlugins } from "./config-CJMcIRQM.js";
|
|
13
13
|
import { c as pickPrimaryLanIPv4 } from "./ws-C7EXRv8z.js";
|
|
14
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
14
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-DqQUtOph.js";
|
|
15
15
|
import { t as movePathToTrash } from "./trash-DcMh1i4B.js";
|
|
16
|
-
import { B as resolveAgentMainSessionKey, C as capArrayByJsonBytes, D as resolveSessionTranscriptCandidates, G as snapshotSessionOrigin, H as resolveMainSessionKey, O as stripEnvelopeFromMessages, S as archiveSessionTranscripts, T as readSessionPreviewItemsFromTranscript, U as resolveMainSessionKeyFromConfig, V as resolveExplicitAgentSessionKey, d as updateSessionStore, o as loadSessionStore, t as extractDeliveryInfo, w as readSessionMessages, x as archiveFileOnDisk, y as normalizeSessionDeliveryFields } from "./sessions-
|
|
17
|
-
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
16
|
+
import { B as resolveAgentMainSessionKey, C as capArrayByJsonBytes, D as resolveSessionTranscriptCandidates, G as snapshotSessionOrigin, H as resolveMainSessionKey, O as stripEnvelopeFromMessages, S as archiveSessionTranscripts, T as readSessionPreviewItemsFromTranscript, U as resolveMainSessionKeyFromConfig, V as resolveExplicitAgentSessionKey, d as updateSessionStore, o as loadSessionStore, t as extractDeliveryInfo, w as readSessionMessages, x as archiveFileOnDisk, y as normalizeSessionDeliveryFields } from "./sessions-D5a7H247.js";
|
|
17
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BAyxWQSz.js";
|
|
18
18
|
import { n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-CyhzMxFA.js";
|
|
19
19
|
import { i as normalizeInputProvenance } from "./input-provenance-BzbXHcaD.js";
|
|
20
|
-
import { n as createBrowserRouteDispatcher } from "./with-timeout-
|
|
21
|
-
import { C as getGlobalHookRunner, o as normalizeReplyPayloadsForDelivery, t as deliverOutboundPayloads } from "./deliver-
|
|
22
|
-
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
23
|
-
import { $ as validateNodePairRejectParams, A as validateCronStatusParams, At as ErrorCodes, B as validateExecApprovalsGetParams, Bt as removePairedDevice, C as validateConfigSetParams, Ct as validateWebLoginStartParams, D as validateCronRemoveParams, Dt as validateWizardStartParams, E as validateCronListParams, Et as validateWizardNextParams, F as validateDevicePairRemoveParams, Ft as approveDevicePairing, G as validateModelsListParams, H as validateExecApprovalsNodeSetParams, Ht as revokeDeviceToken, I as validateDeviceTokenRevokeParams, J as validateNodeInvokeParams, K as validateNodeDescribeParams, L as validateDeviceTokenRotateParams, M as validateDevicePairApproveParams, N as validateDevicePairListParams, Nt as parseSessionLabel, O as validateCronRunParams, Ot as validateWizardStatusParams, P as validateDevicePairRejectParams, Q as validateNodePairListParams, Rt as listDevicePairing, S as validateConfigSchemaParams, St as validateWakeParams, T as validateCronAddParams, Tt as validateWizardCancelParams, U as validateExecApprovalsSetParams, Ut as rotateDeviceToken, V as validateExecApprovalsNodeGetParams, W as validateLogsTailParams, Wt as summarizeDeviceTokens, X as validateNodeListParams, Y as validateNodeInvokeResultParams, Z as validateNodePairApproveParams, _ as validateChatInjectParams, _t as validateSkillsStatusParams, a as validateAgentWaitParams, b as validateConfigGetParams, bt as validateTalkModeParams, c as validateAgentsFilesGetParams, ct as validateSessionsDeleteParams, d as validateAgentsListParams, dt as validateSessionsPreviewParams, et as validateNodePairRequestParams, f as validateAgentsUpdateParams, ft as validateSessionsResetParams, g as validateChatHistoryParams, gt as validateSkillsInstallParams, h as validateChatAbortParams, ht as validateSkillsBinsParams, i as validateAgentParams, it as validatePushTestParams, j as validateCronUpdateParams, jt as errorShape, k as validateCronRunsParams, l as validateAgentsFilesListParams, lt as validateSessionsListParams, m as validateChannelsStatusParams, mt as validateSessionsUsageParams, n as formatValidationErrors, nt as validateNodeRenameParams, o as validateAgentsCreateParams, ot as validateSendParams, p as validateChannelsLogoutParams, pt as validateSessionsResolveParams, q as validateNodeEventParams, r as validateAgentIdentityParams, rt as validatePollParams, s as validateAgentsDeleteParams, st as validateSessionsCompactParams, tt as validateNodePairVerifyParams, u as validateAgentsFilesSetParams, ut as validateSessionsPatchParams, v as validateChatSendParams, vt as validateSkillsUpdateParams, wt as validateWebLoginWaitParams, x as validateConfigPatchParams, xt as validateUpdateRunParams, y as validateConfigApplyParams, yt as validateTalkConfigParams, zt as rejectDevicePairing } from "./client-
|
|
24
|
-
import { l as authorizeOperatorScopesForMethod, s as ADMIN_SCOPE$2, u as isNodeRoleMethod } from "./call-
|
|
25
|
-
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-
|
|
20
|
+
import { n as createBrowserRouteDispatcher } from "./with-timeout-Cs6_LnHB.js";
|
|
21
|
+
import { C as getGlobalHookRunner, o as normalizeReplyPayloadsForDelivery, t as deliverOutboundPayloads } from "./deliver-Um8yyhRA.js";
|
|
22
|
+
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-BLOOs1aW.js";
|
|
23
|
+
import { $ as validateNodePairRejectParams, A as validateCronStatusParams, At as ErrorCodes, B as validateExecApprovalsGetParams, Bt as removePairedDevice, C as validateConfigSetParams, Ct as validateWebLoginStartParams, D as validateCronRemoveParams, Dt as validateWizardStartParams, E as validateCronListParams, Et as validateWizardNextParams, F as validateDevicePairRemoveParams, Ft as approveDevicePairing, G as validateModelsListParams, H as validateExecApprovalsNodeSetParams, Ht as revokeDeviceToken, I as validateDeviceTokenRevokeParams, J as validateNodeInvokeParams, K as validateNodeDescribeParams, L as validateDeviceTokenRotateParams, M as validateDevicePairApproveParams, N as validateDevicePairListParams, Nt as parseSessionLabel, O as validateCronRunParams, Ot as validateWizardStatusParams, P as validateDevicePairRejectParams, Q as validateNodePairListParams, Rt as listDevicePairing, S as validateConfigSchemaParams, St as validateWakeParams, T as validateCronAddParams, Tt as validateWizardCancelParams, U as validateExecApprovalsSetParams, Ut as rotateDeviceToken, V as validateExecApprovalsNodeGetParams, W as validateLogsTailParams, Wt as summarizeDeviceTokens, X as validateNodeListParams, Y as validateNodeInvokeResultParams, Z as validateNodePairApproveParams, _ as validateChatInjectParams, _t as validateSkillsStatusParams, a as validateAgentWaitParams, b as validateConfigGetParams, bt as validateTalkModeParams, c as validateAgentsFilesGetParams, ct as validateSessionsDeleteParams, d as validateAgentsListParams, dt as validateSessionsPreviewParams, et as validateNodePairRequestParams, f as validateAgentsUpdateParams, ft as validateSessionsResetParams, g as validateChatHistoryParams, gt as validateSkillsInstallParams, h as validateChatAbortParams, ht as validateSkillsBinsParams, i as validateAgentParams, it as validatePushTestParams, j as validateCronUpdateParams, jt as errorShape, k as validateCronRunsParams, l as validateAgentsFilesListParams, lt as validateSessionsListParams, m as validateChannelsStatusParams, mt as validateSessionsUsageParams, n as formatValidationErrors, nt as validateNodeRenameParams, o as validateAgentsCreateParams, ot as validateSendParams, p as validateChannelsLogoutParams, pt as validateSessionsResolveParams, q as validateNodeEventParams, r as validateAgentIdentityParams, rt as validatePollParams, s as validateAgentsDeleteParams, st as validateSessionsCompactParams, tt as validateNodePairVerifyParams, u as validateAgentsFilesSetParams, ut as validateSessionsPatchParams, v as validateChatSendParams, vt as validateSkillsUpdateParams, wt as validateWebLoginWaitParams, x as validateConfigPatchParams, xt as validateUpdateRunParams, y as validateConfigApplyParams, yt as validateTalkConfigParams, zt as rejectDevicePairing } from "./client-BsrZnuSi.js";
|
|
24
|
+
import { l as authorizeOperatorScopesForMethod, s as ADMIN_SCOPE$2, u as isNodeRoleMethod } from "./call-Dd7-bkfG.js";
|
|
25
|
+
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-AV-MMfVE.js";
|
|
26
26
|
import { n as normalizePollInput } from "./polls-DhH5YkzN.js";
|
|
27
27
|
import { t as getChannelActivity } from "./channel-activity-BOiuJS3t.js";
|
|
28
|
-
import { _ as requestNodePairing, g as renamePairedNode, h as rejectNodePairing, m as listNodePairing, o as getRemoteSkillEligibility, p as approveNodePairing, y as verifyNodeToken } from "./skill-commands-
|
|
29
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
28
|
+
import { _ as requestNodePairing, g as renamePairedNode, h as rejectNodePairing, m as listNodePairing, o as getRemoteSkillEligibility, p as approveNodePairing, y as verifyNodeToken } from "./skill-commands-ZXbEITKi.js";
|
|
29
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-DKu48umx.js";
|
|
30
30
|
import { i as loadSessionUsageTimeSeries, n as loadCostUsageSummary, r as loadSessionCostSummary, t as discoverAllSessions } from "./session-cost-usage-BG4AXrGN.js";
|
|
31
|
-
import { w as resolveAssistantAvatarUrl } from "./onboard-helpers-
|
|
31
|
+
import { w as resolveAssistantAvatarUrl } from "./onboard-helpers-Dixh6cNh.js";
|
|
32
32
|
import { a as mergeExecApprovalsSocketDefaults, c as readExecApprovalsSnapshot, p as saveExecApprovals, r as ensureExecApprovals, s as normalizeExecApprovals } from "./exec-approvals-Kn31mBcW.js";
|
|
33
|
-
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-
|
|
33
|
+
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-B8H3Bqpv.js";
|
|
34
34
|
import { i as parseAbsoluteTimeMs } from "./stagger-BUClb97_.js";
|
|
35
35
|
import { r as getLastHeartbeatEvent } from "./heartbeat-visibility-U4BL57eQ.js";
|
|
36
36
|
import { t as buildChannelUiCatalog } from "./catalog-RiADx7MA.js";
|
|
37
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
37
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-DS-NZQiq.js";
|
|
38
38
|
import { t as WizardCancelledError } from "./prompts-Xu2Sveka.js";
|
|
39
39
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BcGbMZD1.js";
|
|
40
40
|
import { t as buildChannelAccountSnapshot } from "./status-BrV-afZE.js";
|
|
41
|
-
import { o as isNodeCommandAllowed, s as resolveNodeCommandAllowlist } from "./audit-
|
|
42
|
-
import { n as getStatusSummary } from "./status-
|
|
43
|
-
import { s as setHeartbeatsEnabled } from "./health-
|
|
44
|
-
import { m as normalizeUpdateChannel } from "./update-check-
|
|
45
|
-
import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-
|
|
46
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
41
|
+
import { o as isNodeCommandAllowed, s as resolveNodeCommandAllowlist } from "./audit-BSB9NPSO.js";
|
|
42
|
+
import { n as getStatusSummary } from "./status-CgPPKk09.js";
|
|
43
|
+
import { s as setHeartbeatsEnabled } from "./health-DkKXiUEF.js";
|
|
44
|
+
import { m as normalizeUpdateChannel } from "./update-check-C0oYCI89.js";
|
|
45
|
+
import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-0et2AR44.js";
|
|
46
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-u_ibObha.js";
|
|
47
47
|
import { t as resolveSystemRunCommand } from "./system-run-command-ByVa3txU.js";
|
|
48
|
-
import { t as installSkill } from "./skills-install-
|
|
49
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
50
|
-
import * as fs$
|
|
48
|
+
import { t as installSkill } from "./skills-install-DjcTy3CT.js";
|
|
49
|
+
import { t as runGatewayUpdate } from "./update-runner-BgzyPjF5.js";
|
|
50
|
+
import * as fs$1 from "node:fs";
|
|
51
51
|
import fs from "node:fs";
|
|
52
52
|
import * as os$1 from "node:os";
|
|
53
53
|
import os from "node:os";
|
|
54
54
|
import path from "node:path";
|
|
55
|
-
import
|
|
55
|
+
import fsPromises from "node:fs/promises";
|
|
56
56
|
import { spawnSync } from "node:child_process";
|
|
57
57
|
import crypto, { randomUUID } from "node:crypto";
|
|
58
58
|
import { z } from "zod";
|
|
@@ -414,20 +414,20 @@ function resolveCronRunLogPath(params) {
|
|
|
414
414
|
}
|
|
415
415
|
const writesByPath = /* @__PURE__ */ new Map();
|
|
416
416
|
async function pruneIfNeeded(filePath, opts) {
|
|
417
|
-
const stat = await
|
|
417
|
+
const stat = await fsPromises.stat(filePath).catch(() => null);
|
|
418
418
|
if (!stat || stat.size <= opts.maxBytes) return;
|
|
419
|
-
const lines = (await
|
|
419
|
+
const lines = (await fsPromises.readFile(filePath, "utf-8").catch(() => "")).split("\n").map((l) => l.trim()).filter(Boolean);
|
|
420
420
|
const kept = lines.slice(Math.max(0, lines.length - opts.keepLines));
|
|
421
421
|
const { randomBytes } = await import("node:crypto");
|
|
422
422
|
const tmp = `${filePath}.${process.pid}.${randomBytes(8).toString("hex")}.tmp`;
|
|
423
|
-
await
|
|
424
|
-
await
|
|
423
|
+
await fsPromises.writeFile(tmp, `${kept.join("\n")}\n`, "utf-8");
|
|
424
|
+
await fsPromises.rename(tmp, filePath);
|
|
425
425
|
}
|
|
426
426
|
async function appendCronRunLog(filePath, entry, opts) {
|
|
427
427
|
const resolved = path.resolve(filePath);
|
|
428
428
|
const next = (writesByPath.get(resolved) ?? Promise.resolve()).catch(() => void 0).then(async () => {
|
|
429
|
-
await
|
|
430
|
-
await
|
|
429
|
+
await fsPromises.mkdir(path.dirname(resolved), { recursive: true });
|
|
430
|
+
await fsPromises.appendFile(resolved, `${JSON.stringify(entry)}\n`, "utf-8");
|
|
431
431
|
await pruneIfNeeded(resolved, {
|
|
432
432
|
maxBytes: opts?.maxBytes ?? 2e6,
|
|
433
433
|
keepLines: opts?.keepLines ?? 2e3
|
|
@@ -439,7 +439,7 @@ async function appendCronRunLog(filePath, entry, opts) {
|
|
|
439
439
|
async function readCronRunLogEntries(filePath, opts) {
|
|
440
440
|
const limit = Math.max(1, Math.min(5e3, Math.floor(opts?.limit ?? 200)));
|
|
441
441
|
const jobId = opts?.jobId?.trim() || void 0;
|
|
442
|
-
const raw = await
|
|
442
|
+
const raw = await fsPromises.readFile(path.resolve(filePath), "utf-8").catch(() => "");
|
|
443
443
|
if (!raw.trim()) return [];
|
|
444
444
|
const parsed = [];
|
|
445
445
|
const lines = raw.split("\n");
|
|
@@ -2423,7 +2423,7 @@ function resolveAgentWorkspaceFileOrRespondError(params, respond) {
|
|
|
2423
2423
|
}
|
|
2424
2424
|
async function statFile(filePath) {
|
|
2425
2425
|
try {
|
|
2426
|
-
const stat = await
|
|
2426
|
+
const stat = await fsPromises.stat(filePath);
|
|
2427
2427
|
if (!stat.isFile()) return null;
|
|
2428
2428
|
return {
|
|
2429
2429
|
size: stat.size,
|
|
@@ -2493,7 +2493,7 @@ function resolveOptionalStringParam(value) {
|
|
|
2493
2493
|
async function moveToTrashBestEffort(pathname) {
|
|
2494
2494
|
if (!pathname) return;
|
|
2495
2495
|
try {
|
|
2496
|
-
await
|
|
2496
|
+
await fsPromises.access(pathname);
|
|
2497
2497
|
} catch {
|
|
2498
2498
|
return;
|
|
2499
2499
|
}
|
|
@@ -2540,7 +2540,7 @@ const agentsHandlers = {
|
|
|
2540
2540
|
dir: workspaceDir,
|
|
2541
2541
|
ensureBootstrapFiles: !Boolean(nextConfig.agents?.defaults?.skipBootstrap)
|
|
2542
2542
|
});
|
|
2543
|
-
await
|
|
2543
|
+
await fsPromises.mkdir(resolveSessionTranscriptsDirForAgent(agentId), { recursive: true });
|
|
2544
2544
|
await writeConfigFile(nextConfig);
|
|
2545
2545
|
const safeName = sanitizeIdentityLine(rawName);
|
|
2546
2546
|
const emoji = resolveOptionalStringParam(params.emoji);
|
|
@@ -2553,7 +2553,7 @@ const agentsHandlers = {
|
|
|
2553
2553
|
...avatar ? [`- Avatar: ${sanitizeIdentityLine(avatar)}`] : [],
|
|
2554
2554
|
""
|
|
2555
2555
|
];
|
|
2556
|
-
await
|
|
2556
|
+
await fsPromises.appendFile(identityPath, lines.join("\n"), "utf-8");
|
|
2557
2557
|
respond(true, {
|
|
2558
2558
|
ok: true,
|
|
2559
2559
|
agentId,
|
|
@@ -2588,9 +2588,9 @@ const agentsHandlers = {
|
|
|
2588
2588
|
});
|
|
2589
2589
|
if (avatar) {
|
|
2590
2590
|
const workspace = workspaceDir ?? resolveAgentWorkspaceDir(nextConfig, agentId);
|
|
2591
|
-
await
|
|
2591
|
+
await fsPromises.mkdir(workspace, { recursive: true });
|
|
2592
2592
|
const identityPath = path.join(workspace, DEFAULT_IDENTITY_FILENAME);
|
|
2593
|
-
await
|
|
2593
|
+
await fsPromises.appendFile(identityPath, `\n- Avatar: ${sanitizeIdentityLine(avatar)}\n`, "utf-8");
|
|
2594
2594
|
}
|
|
2595
2595
|
respond(true, {
|
|
2596
2596
|
ok: true,
|
|
@@ -2673,7 +2673,7 @@ const agentsHandlers = {
|
|
|
2673
2673
|
}, void 0);
|
|
2674
2674
|
return;
|
|
2675
2675
|
}
|
|
2676
|
-
const content = await
|
|
2676
|
+
const content = await fsPromises.readFile(filePath, "utf-8");
|
|
2677
2677
|
respond(true, {
|
|
2678
2678
|
agentId,
|
|
2679
2679
|
workspace: workspaceDir,
|
|
@@ -2695,10 +2695,10 @@ const agentsHandlers = {
|
|
|
2695
2695
|
const resolved = resolveAgentWorkspaceFileOrRespondError(params, respond);
|
|
2696
2696
|
if (!resolved) return;
|
|
2697
2697
|
const { agentId, workspaceDir, name } = resolved;
|
|
2698
|
-
await
|
|
2698
|
+
await fsPromises.mkdir(workspaceDir, { recursive: true });
|
|
2699
2699
|
const filePath = path.join(workspaceDir, name);
|
|
2700
2700
|
const content = String(params.content ?? "");
|
|
2701
|
-
await
|
|
2701
|
+
await fsPromises.writeFile(filePath, content, "utf-8");
|
|
2702
2702
|
const meta = await statFile(filePath);
|
|
2703
2703
|
respond(true, {
|
|
2704
2704
|
ok: true,
|
|
@@ -5999,14 +5999,14 @@ function isRollingLogFile(file) {
|
|
|
5999
5999
|
return ROLLING_LOG_RE.test(path.basename(file));
|
|
6000
6000
|
}
|
|
6001
6001
|
async function resolveLogFile(file) {
|
|
6002
|
-
if (await
|
|
6002
|
+
if (await fsPromises.stat(file).catch(() => null)) return file;
|
|
6003
6003
|
if (!isRollingLogFile(file)) return file;
|
|
6004
6004
|
const dir = path.dirname(file);
|
|
6005
|
-
const entries = await
|
|
6005
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true }).catch(() => null);
|
|
6006
6006
|
if (!entries) return file;
|
|
6007
6007
|
return (await Promise.all(entries.filter((entry) => entry.isFile() && ROLLING_LOG_RE.test(entry.name)).map(async (entry) => {
|
|
6008
6008
|
const fullPath = path.join(dir, entry.name);
|
|
6009
|
-
const fileStat = await
|
|
6009
|
+
const fileStat = await fsPromises.stat(fullPath).catch(() => null);
|
|
6010
6010
|
return fileStat ? {
|
|
6011
6011
|
path: fullPath,
|
|
6012
6012
|
mtimeMs: fileStat.mtimeMs
|
|
@@ -6014,7 +6014,7 @@ async function resolveLogFile(file) {
|
|
|
6014
6014
|
}))).filter((entry) => Boolean(entry)).toSorted((a, b) => b.mtimeMs - a.mtimeMs)[0]?.path ?? file;
|
|
6015
6015
|
}
|
|
6016
6016
|
async function readLogSlice(params) {
|
|
6017
|
-
const stat = await
|
|
6017
|
+
const stat = await fsPromises.stat(params.file).catch(() => null);
|
|
6018
6018
|
if (!stat) return {
|
|
6019
6019
|
cursor: 0,
|
|
6020
6020
|
size: 0,
|
|
@@ -6052,7 +6052,7 @@ async function readLogSlice(params) {
|
|
|
6052
6052
|
truncated,
|
|
6053
6053
|
reset
|
|
6054
6054
|
};
|
|
6055
|
-
const handle = await
|
|
6055
|
+
const handle = await fsPromises.open(params.file, "r");
|
|
6056
6056
|
try {
|
|
6057
6057
|
let prefix = "";
|
|
6058
6058
|
if (start > 0) {
|
|
@@ -6853,7 +6853,7 @@ const nodeHandlers = {
|
|
|
6853
6853
|
const p = params;
|
|
6854
6854
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
6855
6855
|
await respondUnavailableOnThrow(respond, async () => {
|
|
6856
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
6856
|
+
const { handleNodeEvent } = await import("./server-node-events-BrBsrcCd.js");
|
|
6857
6857
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
6858
6858
|
await handleNodeEvent({
|
|
6859
6859
|
deps: context.deps,
|
|
@@ -7372,7 +7372,7 @@ function broadcastPresenceSnapshot(params) {
|
|
|
7372
7372
|
let _prevCpu = null;
|
|
7373
7373
|
function getCpuPercent() {
|
|
7374
7374
|
try {
|
|
7375
|
-
const parts = fs$
|
|
7375
|
+
const parts = fs$1.readFileSync("/proc/stat", "utf8").split("\n")[0].trim().split(/\s+/).slice(1).map(Number);
|
|
7376
7376
|
const [user, nice, sys, idle, iowait] = parts;
|
|
7377
7377
|
const total = parts.reduce((a, b) => a + b, 0);
|
|
7378
7378
|
const active = total - idle - (iowait || 0);
|
|
@@ -7396,7 +7396,7 @@ function getCpuPercent() {
|
|
|
7396
7396
|
}
|
|
7397
7397
|
function getMemInfo() {
|
|
7398
7398
|
try {
|
|
7399
|
-
const text = fs$
|
|
7399
|
+
const text = fs$1.readFileSync("/proc/meminfo", "utf8");
|
|
7400
7400
|
const get = (key) => parseInt(text.match(new RegExp(`${key}:\\s+(\\d+)`))?.[1] ?? "0", 10) * 1024;
|
|
7401
7401
|
const total = get("MemTotal");
|
|
7402
7402
|
const used = total - get("MemAvailable");
|
|
@@ -7415,7 +7415,7 @@ function getMemInfo() {
|
|
|
7415
7415
|
}
|
|
7416
7416
|
function getDiskInfo() {
|
|
7417
7417
|
try {
|
|
7418
|
-
const stats = fs$
|
|
7418
|
+
const stats = fs$1.statfsSync("/");
|
|
7419
7419
|
const total = stats.blocks * stats.bsize;
|
|
7420
7420
|
const used = total - stats.bfree * stats.bsize;
|
|
7421
7421
|
return {
|
|
@@ -1,108 +1,108 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import {
|
|
4
|
+
import { Bt as createOutboundSendDeps, C as loadSessionEntry, Mt as agentCommand, Rt as resolveOutboundTarget, Sr as enqueueSystemEvent, T as resolveGatewaySessionStoreTarget, pt as requestHeartbeatNow, w as pruneLegacyStoreKeys } from "./reply-DVxU0AMq.js";
|
|
5
5
|
import { c as normalizeMainKey } from "./session-key-DCt45XZa.js";
|
|
6
6
|
import "./registry-Cja8eT7G.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
8
8
|
import "./exec-CWkblSrI.js";
|
|
9
|
-
import { d as resolveSessionAgentId } from "./agent-scope-
|
|
10
|
-
import "./model-selection-
|
|
9
|
+
import { d as resolveSessionAgentId } from "./agent-scope-BRwEc2pG.js";
|
|
10
|
+
import "./model-selection-X1oLh3CE.js";
|
|
11
11
|
import "./github-copilot-token-DAu1a6BX.js";
|
|
12
12
|
import "./boolean-BsqeuxE6.js";
|
|
13
13
|
import "./env-DPCHYPeH.js";
|
|
14
14
|
import "./message-channel-aT-I_DTX.js";
|
|
15
|
-
import "./send-
|
|
16
|
-
import { i as loadConfig } from "./config-
|
|
15
|
+
import "./send-BnuIB59F.js";
|
|
16
|
+
import { i as loadConfig } from "./config-CJMcIRQM.js";
|
|
17
17
|
import "./manifest-registry-C4BxOMWX.js";
|
|
18
|
-
import "./runner-
|
|
19
|
-
import "./image-
|
|
20
|
-
import "./models-config-
|
|
18
|
+
import "./runner-Cen70krW.js";
|
|
19
|
+
import "./image-BiY-PfMh.js";
|
|
20
|
+
import "./models-config-CqDdkHJq.js";
|
|
21
21
|
import "./pi-model-discovery-4uUnLc3n.js";
|
|
22
|
-
import "./pi-embedded-helpers-
|
|
23
|
-
import "./sandbox-
|
|
24
|
-
import "./chrome-
|
|
22
|
+
import "./pi-embedded-helpers-DO6u9K2t.js";
|
|
23
|
+
import "./sandbox-BzNrUHpt.js";
|
|
24
|
+
import "./chrome-r4RThPxq.js";
|
|
25
25
|
import "./tailscale-D5dKabOc.js";
|
|
26
26
|
import "./auth-B741uFtk.js";
|
|
27
|
-
import "./server-context-
|
|
27
|
+
import "./server-context-DUXqnh6l.js";
|
|
28
28
|
import "./frontmatter-DWQhtOo7.js";
|
|
29
|
-
import "./skills-
|
|
30
|
-
import "./routes-
|
|
29
|
+
import "./skills-DqQUtOph.js";
|
|
30
|
+
import "./routes-CE-ohckF.js";
|
|
31
31
|
import "./redact-f-Q-hFt_.js";
|
|
32
32
|
import "./errors-BF3TeRH2.js";
|
|
33
|
-
import "./fs-safe-
|
|
34
|
-
import "./paths-
|
|
33
|
+
import "./fs-safe-CTDvb1DF.js";
|
|
34
|
+
import "./paths-CT6jsi4E.js";
|
|
35
35
|
import "./ssrf-BCYMnxkM.js";
|
|
36
|
-
import "./image-ops-
|
|
37
|
-
import "./store-
|
|
38
|
-
import "./ports-
|
|
36
|
+
import "./image-ops-DYbDWaIA.js";
|
|
37
|
+
import "./store-DvtcmOKj.js";
|
|
38
|
+
import "./ports-OZQlocB7.js";
|
|
39
39
|
import "./trash-DcMh1i4B.js";
|
|
40
|
-
import { d as updateSessionStore } from "./sessions-
|
|
41
|
-
import "./dock-
|
|
42
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
43
|
-
import "./accounts-
|
|
44
|
-
import "./accounts-
|
|
45
|
-
import "./accounts-
|
|
46
|
-
import "./bindings-
|
|
40
|
+
import { d as updateSessionStore } from "./sessions-D5a7H247.js";
|
|
41
|
+
import "./dock-BYiRZSgZ.js";
|
|
42
|
+
import { r as normalizeChannelId } from "./plugins-BAyxWQSz.js";
|
|
43
|
+
import "./accounts-Cd816n6l.js";
|
|
44
|
+
import "./accounts-CokRskCl.js";
|
|
45
|
+
import "./accounts-mN_EcgxC.js";
|
|
46
|
+
import "./bindings-ChzePa8q.js";
|
|
47
47
|
import "./logging-w5jq5901.js";
|
|
48
|
-
import "./send-
|
|
48
|
+
import "./send-dH0xroTu.js";
|
|
49
49
|
import "./paths-CyhzMxFA.js";
|
|
50
|
-
import "./tool-images-
|
|
50
|
+
import "./tool-images-B-pqX3nX.js";
|
|
51
51
|
import "./tool-display-D8N3rsYt.js";
|
|
52
52
|
import "./fetch-guard-DOPkVbh3.js";
|
|
53
|
-
import "./api-key-rotation-
|
|
54
|
-
import "./local-roots-
|
|
55
|
-
import "./sqlite-
|
|
56
|
-
import "./model-catalog-
|
|
53
|
+
import "./api-key-rotation-CEr3lKih.js";
|
|
54
|
+
import "./local-roots-BBeKX7PX.js";
|
|
55
|
+
import "./sqlite-BV5ILFtC.js";
|
|
56
|
+
import "./model-catalog-C3NLvWC2.js";
|
|
57
57
|
import "./tokens-BuceUQDl.js";
|
|
58
|
-
import "./with-timeout-
|
|
59
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
58
|
+
import "./with-timeout-Cs6_LnHB.js";
|
|
59
|
+
import { t as deliverOutboundPayloads } from "./deliver-Um8yyhRA.js";
|
|
60
60
|
import "./diagnostic-DjBRPfu9.js";
|
|
61
61
|
import "./diagnostic-session-state-CUslJyKP.js";
|
|
62
|
-
import "./send-
|
|
63
|
-
import "./model-
|
|
64
|
-
import "./reply-prefix-
|
|
65
|
-
import "./memory-cli-
|
|
66
|
-
import "./manager-
|
|
62
|
+
import "./send-BEeuDXqy.js";
|
|
63
|
+
import "./model-CeeOcylL.js";
|
|
64
|
+
import "./reply-prefix-BLOOs1aW.js";
|
|
65
|
+
import "./memory-cli-lk6fRiwy.js";
|
|
66
|
+
import "./manager-C1CfGzZ2.js";
|
|
67
67
|
import "./retry-BoS4e4X_.js";
|
|
68
|
-
import "./target-errors-
|
|
68
|
+
import "./target-errors-CCz79CmV.js";
|
|
69
69
|
import "./chunk-1dhPX1NK.js";
|
|
70
|
-
import "./markdown-tables-
|
|
71
|
-
import "./ir-
|
|
70
|
+
import "./markdown-tables-ZwP14ydw.js";
|
|
71
|
+
import "./ir-Dt4hOzxG.js";
|
|
72
72
|
import "./render-CXDO_kgw.js";
|
|
73
|
-
import "./commands-
|
|
74
|
-
import "./commands-registry-
|
|
75
|
-
import "./client-
|
|
76
|
-
import "./call-
|
|
77
|
-
import "./pairing-token-
|
|
73
|
+
import "./commands-CtocZ4Lg.js";
|
|
74
|
+
import "./commands-registry-BZ0ZSQpM.js";
|
|
75
|
+
import "./client-BsrZnuSi.js";
|
|
76
|
+
import "./call-Dd7-bkfG.js";
|
|
77
|
+
import "./pairing-token-AV-MMfVE.js";
|
|
78
78
|
import "./channel-activity-BOiuJS3t.js";
|
|
79
79
|
import "./fetch-DTNGXEzX.js";
|
|
80
|
-
import "./tables-
|
|
81
|
-
import "./send-
|
|
82
|
-
import "./pairing-store-
|
|
80
|
+
import "./tables-C38rzF6E.js";
|
|
81
|
+
import "./send-BjdAgYLu.js";
|
|
82
|
+
import "./pairing-store-B8ktu-6j.js";
|
|
83
83
|
import "./proxy-DU7W9XSc.js";
|
|
84
84
|
import "./links-3i1eUga4.js";
|
|
85
85
|
import "./cli-utils-DN_hM6ov.js";
|
|
86
86
|
import "./help-format-B_-M23wP.js";
|
|
87
87
|
import "./progress-jIePzvGA.js";
|
|
88
|
-
import "./resolve-route-
|
|
89
|
-
import "./replies-
|
|
90
|
-
import "./skill-commands-
|
|
91
|
-
import "./workspace-dirs-
|
|
92
|
-
import "./outbound-attachment-
|
|
88
|
+
import "./resolve-route-BcnaXYvh.js";
|
|
89
|
+
import "./replies-BL7IBg12.js";
|
|
90
|
+
import "./skill-commands-ZXbEITKi.js";
|
|
91
|
+
import "./workspace-dirs-DKu48umx.js";
|
|
92
|
+
import "./outbound-attachment-D62E0xDI.js";
|
|
93
93
|
import "./delivery-queue-Df1uodAG.js";
|
|
94
94
|
import "./session-cost-usage-BG4AXrGN.js";
|
|
95
|
-
import "./send-
|
|
96
|
-
import "./onboard-helpers-
|
|
95
|
+
import "./send-C95ZRvja.js";
|
|
96
|
+
import "./onboard-helpers-Dixh6cNh.js";
|
|
97
97
|
import "./prompt-style-8JqOYj0q.js";
|
|
98
|
-
import "./pairing-labels-
|
|
98
|
+
import "./pairing-labels-27SOKDzJ.js";
|
|
99
99
|
import "./exec-approvals-Kn31mBcW.js";
|
|
100
|
-
import "./nodes-screen-
|
|
101
|
-
import "./pi-tools.policy-
|
|
102
|
-
import "./control-service-
|
|
100
|
+
import "./nodes-screen-C99kfE1u.js";
|
|
101
|
+
import "./pi-tools.policy-juZV2uUv.js";
|
|
102
|
+
import "./control-service-B8H3Bqpv.js";
|
|
103
103
|
import "./stagger-BUClb97_.js";
|
|
104
|
-
import "./channel-selection-
|
|
105
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
104
|
+
import "./channel-selection-DjfBv8kq.js";
|
|
105
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-0et2AR44.js";
|
|
106
106
|
import { randomUUID } from "node:crypto";
|
|
107
107
|
|
|
108
108
|
//#region src/gateway/server-node-events.ts
|
|
@@ -14,7 +14,7 @@ import "./client-DMBZpU6X.js";
|
|
|
14
14
|
import "./call-BcE47FtD.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import {
|
|
17
|
+
import { D as agentCommand, fn as requestHeartbeatNow, ft as resolveOutboundTarget, j as createOutboundSendDeps, wn as enqueueSystemEvent } from "./subagent-registry-CBklD0OL.js";
|
|
18
18
|
import { d as updateSessionStore } from "./sessions-CJXnZVjR.js";
|
|
19
19
|
import "./tokens-Csntmwwn.js";
|
|
20
20
|
import { r as normalizeChannelId } from "./plugins-CwSlLxM8.js";
|
|
@@ -98,7 +98,7 @@ import "./onboard-helpers-_pit1NZW.js";
|
|
|
98
98
|
import "./prompt-style-DwCXob2h.js";
|
|
99
99
|
import "./pairing-labels-D1HDboV2.js";
|
|
100
100
|
import "./pi-tools.policy-De00gPXt.js";
|
|
101
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
101
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-ByyOJyDl.js";
|
|
102
102
|
import { randomUUID } from "node:crypto";
|
|
103
103
|
|
|
104
104
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as resolveGatewayLaunchAgentLabel, f as resolveGatewayWindowsTaskName, p as resolveLegacyGatewayLaunchAgentLabels, t as GATEWAY_LAUNCH_AGENT_LABEL, u as resolveGatewayServiceDescription } from "./constants-C8_BLnaW.js";
|
|
2
|
-
import { _ as toPosixPath, a as readSystemdServiceRuntime, c as stopSystemdService, f as splitArgsPreservingQuotes, g as formatLine, h as resolveHomeDir, i as readSystemdServiceExecStart, l as uninstallSystemdService, m as resolveGatewayStateDir, n as isSystemdServiceEnabled, p as parseKeyValueOutput, s as restartSystemdService, t as installSystemdService, v as writeFormattedLines, y as execFileUtf8 } from "./systemd-
|
|
2
|
+
import { _ as toPosixPath, a as readSystemdServiceRuntime, c as stopSystemdService, f as splitArgsPreservingQuotes, g as formatLine, h as resolveHomeDir, i as readSystemdServiceExecStart, l as uninstallSystemdService, m as resolveGatewayStateDir, n as isSystemdServiceEnabled, p as parseKeyValueOutput, s as restartSystemdService, t as installSystemdService, v as writeFormattedLines, y as execFileUtf8 } from "./systemd-AhJEsmIk.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsPromises from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/daemon/launchd-plist.ts
|
|
7
7
|
const plistEscape = (value) => value.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll("\"", """).replaceAll("'", "'");
|
|
@@ -14,7 +14,7 @@ const renderEnvDict = (env) => {
|
|
|
14
14
|
};
|
|
15
15
|
async function readLaunchAgentProgramArgumentsFromFile(plistPath) {
|
|
16
16
|
try {
|
|
17
|
-
const plist = await
|
|
17
|
+
const plist = await fsPromises.readFile(plistPath, "utf8");
|
|
18
18
|
const programMatch = plist.match(/<key>ProgramArguments<\/key>\s*<array>([\s\S]*?)<\/array>/i);
|
|
19
19
|
if (!programMatch) return null;
|
|
20
20
|
const args = Array.from(programMatch[1].matchAll(/<string>([\s\S]*?)<\/string>/gi)).map((match) => plistUnescape(match[1] ?? "").trim());
|
|
@@ -128,7 +128,7 @@ async function isLaunchAgentListed(args) {
|
|
|
128
128
|
async function launchAgentPlistExists(env) {
|
|
129
129
|
try {
|
|
130
130
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
131
|
-
await
|
|
131
|
+
await fsPromises.access(plistPath);
|
|
132
132
|
return true;
|
|
133
133
|
} catch {
|
|
134
134
|
return false;
|
|
@@ -188,7 +188,7 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
188
188
|
]);
|
|
189
189
|
await execLaunchctl(["unload", plistPath]);
|
|
190
190
|
try {
|
|
191
|
-
await
|
|
191
|
+
await fsPromises.access(plistPath);
|
|
192
192
|
} catch {
|
|
193
193
|
stdout.write(`LaunchAgent not found at ${plistPath}\n`);
|
|
194
194
|
return;
|
|
@@ -197,8 +197,8 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
197
197
|
const trashDir = path.join(home, ".Trash");
|
|
198
198
|
const dest = path.join(trashDir, `${label}.plist`);
|
|
199
199
|
try {
|
|
200
|
-
await
|
|
201
|
-
await
|
|
200
|
+
await fsPromises.mkdir(trashDir, { recursive: true });
|
|
201
|
+
await fsPromises.rename(plistPath, dest);
|
|
202
202
|
stdout.write(`${formatLine("Moved LaunchAgent to Trash", dest)}\n`);
|
|
203
203
|
} catch {
|
|
204
204
|
stdout.write(`LaunchAgent remains at ${plistPath} (could not move)\n`);
|
|
@@ -221,7 +221,7 @@ async function stopLaunchAgent({ stdout, env }) {
|
|
|
221
221
|
}
|
|
222
222
|
async function installLaunchAgent({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
223
223
|
const { logDir, stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
224
|
-
await
|
|
224
|
+
await fsPromises.mkdir(logDir, { recursive: true });
|
|
225
225
|
const domain = resolveGuiDomain();
|
|
226
226
|
const label = resolveLaunchAgentLabel({ env });
|
|
227
227
|
for (const legacyLabel of resolveLegacyGatewayLaunchAgentLabels(env.SYMI_PROFILE)) {
|
|
@@ -233,11 +233,11 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
233
233
|
]);
|
|
234
234
|
await execLaunchctl(["unload", legacyPlistPath]);
|
|
235
235
|
try {
|
|
236
|
-
await
|
|
236
|
+
await fsPromises.unlink(legacyPlistPath);
|
|
237
237
|
} catch {}
|
|
238
238
|
}
|
|
239
239
|
const plistPath = resolveLaunchAgentPlistPathForLabel(env, label);
|
|
240
|
-
await
|
|
240
|
+
await fsPromises.mkdir(path.dirname(plistPath), { recursive: true });
|
|
241
241
|
const plist = buildLaunchAgentPlist({
|
|
242
242
|
label,
|
|
243
243
|
comment: resolveGatewayServiceDescription({
|
|
@@ -251,7 +251,7 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
251
251
|
stderrPath,
|
|
252
252
|
environment
|
|
253
253
|
});
|
|
254
|
-
await
|
|
254
|
+
await fsPromises.writeFile(plistPath, plist, "utf8");
|
|
255
255
|
await execLaunchctl([
|
|
256
256
|
"bootout",
|
|
257
257
|
domain,
|
|
@@ -408,7 +408,7 @@ function resolveTaskUser(env) {
|
|
|
408
408
|
async function readScheduledTaskCommand(env) {
|
|
409
409
|
const scriptPath = resolveTaskScriptPath(env);
|
|
410
410
|
try {
|
|
411
|
-
const content = await
|
|
411
|
+
const content = await fsPromises.readFile(scriptPath, "utf8");
|
|
412
412
|
let workingDirectory = "";
|
|
413
413
|
let commandLine = "";
|
|
414
414
|
const environment = {};
|
|
@@ -476,7 +476,7 @@ async function assertSchtasksAvailable() {
|
|
|
476
476
|
async function installScheduledTask({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
477
477
|
await assertSchtasksAvailable();
|
|
478
478
|
const scriptPath = resolveTaskScriptPath(env);
|
|
479
|
-
await
|
|
479
|
+
await fsPromises.mkdir(path.dirname(scriptPath), { recursive: true });
|
|
480
480
|
const script = buildTaskScript({
|
|
481
481
|
description: resolveGatewayServiceDescription({
|
|
482
482
|
env,
|
|
@@ -487,7 +487,7 @@ async function installScheduledTask({ env, stdout, programArguments, workingDire
|
|
|
487
487
|
workingDirectory,
|
|
488
488
|
environment
|
|
489
489
|
});
|
|
490
|
-
await
|
|
490
|
+
await fsPromises.writeFile(scriptPath, script, "utf8");
|
|
491
491
|
const taskName = resolveTaskName(env);
|
|
492
492
|
const baseArgs = [
|
|
493
493
|
"/Create",
|
|
@@ -539,7 +539,7 @@ async function uninstallScheduledTask({ env, stdout }) {
|
|
|
539
539
|
]);
|
|
540
540
|
const scriptPath = resolveTaskScriptPath(env);
|
|
541
541
|
try {
|
|
542
|
-
await
|
|
542
|
+
await fsPromises.unlink(scriptPath);
|
|
543
543
|
stdout.write(`${formatLine("Removed task script", scriptPath)}\n`);
|
|
544
544
|
} catch {
|
|
545
545
|
stdout.write(`Task script not found at ${scriptPath}\n`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { G as toPinoLikeLogger, I as success, O as danger, V as getChildLogger, c as ensureDir, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
3
|
-
import { H as VERSION } from "./config-
|
|
4
|
-
import { d as resolveDefaultWebAuthDir, f as resolveWebCredsBackupPath, l as readCredsJsonRaw, p as resolveWebCredsPath, s as maybeRestoreCredsFromBackup } from "./accounts-
|
|
3
|
+
import { H as VERSION } from "./config-CJMcIRQM.js";
|
|
4
|
+
import { d as resolveDefaultWebAuthDir, f as resolveWebCredsBackupPath, l as readCredsJsonRaw, p as resolveWebCredsPath, s as maybeRestoreCredsFromBackup } from "./accounts-Cd816n6l.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|