@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,42 +1,42 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, k as info, z as isRich } from "./utils-B-0b9bGM.js";
|
|
3
|
-
import { E as resolveSessionModelRef, G as summarizeRestartSentinel,
|
|
3
|
+
import { Ct as formatUsageReportLines, E as resolveSessionModelRef, G as summarizeRestartSentinel, St as loadProviderUsageSummary, Tr as peekSystemEvents, W as readRestartSentinel, Yt as sha256HexPrefix, a as buildChannelSummary, b as listAgentsForGateway, mr as lookupContextTokens, o as buildChannelAccountSnapshot, s as formatChannelAllowFrom, y as classifySessionKey } from "./reply-DVxU0AMq.js";
|
|
4
4
|
import { S as parseAgentSessionKey } from "./session-key-DCt45XZa.js";
|
|
5
|
-
import { t as resolveSymiPackageRoot } from "./symi-root-
|
|
5
|
+
import { t as resolveSymiPackageRoot } from "./symi-root-MF6_6SCS.js";
|
|
6
6
|
import { n as runExec } from "./exec-CWkblSrI.js";
|
|
7
|
-
import { c as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
8
|
-
import { Gt as DEFAULT_MODEL, Kt as DEFAULT_PROVIDER, Wt as DEFAULT_CONTEXT_TOKENS, p as resolveConfiguredModelRef } from "./model-selection-
|
|
7
|
+
import { c as resolveAgentWorkspaceDir } from "./agent-scope-BRwEc2pG.js";
|
|
8
|
+
import { Gt as DEFAULT_MODEL, Kt as DEFAULT_PROVIDER, Wt as DEFAULT_CONTEXT_TOKENS, p as resolveConfiguredModelRef } from "./model-selection-X1oLh3CE.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
10
|
-
import { H as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-
|
|
10
|
+
import { H as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-CJMcIRQM.js";
|
|
11
11
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-D5dKabOc.js";
|
|
12
|
-
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-
|
|
13
|
-
import { H as resolveMainSessionKey, R as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-
|
|
14
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
12
|
+
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-OZQlocB7.js";
|
|
13
|
+
import { H as resolveMainSessionKey, R as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-D5a7H247.js";
|
|
14
|
+
import { n as listChannelPlugins } from "./plugins-BAyxWQSz.js";
|
|
15
15
|
import { c as resolveStorePath } from "./paths-CyhzMxFA.js";
|
|
16
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
17
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
16
|
+
import { r as getMemorySearchManager } from "./memory-cli-lk6fRiwy.js";
|
|
17
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-Dd7-bkfG.js";
|
|
18
18
|
import { n as formatTimeAgo } from "./format-relative-BXoxEQVN.js";
|
|
19
19
|
import { n as withProgress } from "./progress-jIePzvGA.js";
|
|
20
20
|
import { r as formatDurationPrecise } from "./format-duration-D0B0Uo-I.js";
|
|
21
|
-
import { o as getRemoteSkillEligibility } from "./skill-commands-
|
|
22
|
-
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-
|
|
23
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
21
|
+
import { o as getRemoteSkillEligibility } from "./skill-commands-ZXbEITKi.js";
|
|
22
|
+
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-Dixh6cNh.js";
|
|
23
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-DS-NZQiq.js";
|
|
24
24
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BcGbMZD1.js";
|
|
25
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
26
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service
|
|
25
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-BoH1ZJPN.js";
|
|
26
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service--qMN5DPm.js";
|
|
27
27
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-CR9445g5.js";
|
|
28
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
28
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-D2yUMZN1.js";
|
|
29
29
|
import { t as renderTable } from "./table-BTgkRafz.js";
|
|
30
|
-
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-
|
|
31
|
-
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
32
|
-
import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-
|
|
33
|
-
import { t as resolveNodeService } from "./node-service-
|
|
30
|
+
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-BSB9NPSO.js";
|
|
31
|
+
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-DkKXiUEF.js";
|
|
32
|
+
import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-C0oYCI89.js";
|
|
33
|
+
import { t as resolveNodeService } from "./node-service-CJygtY5M.js";
|
|
34
34
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-yQZNwAF2.js";
|
|
35
|
-
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-
|
|
35
|
+
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-CmGpjKSr.js";
|
|
36
36
|
import fs from "node:fs";
|
|
37
37
|
import os from "node:os";
|
|
38
38
|
import path from "node:path";
|
|
39
|
-
import
|
|
39
|
+
import fsPromises from "node:fs/promises";
|
|
40
40
|
import { spawnSync } from "node:child_process";
|
|
41
41
|
|
|
42
42
|
//#region src/commands/gateway-presence.ts
|
|
@@ -125,7 +125,7 @@ function resolveOsSummary() {
|
|
|
125
125
|
//#region src/commands/status-all/agents.ts
|
|
126
126
|
async function fileExists$1(p) {
|
|
127
127
|
try {
|
|
128
|
-
await
|
|
128
|
+
await fsPromises.access(p);
|
|
129
129
|
return true;
|
|
130
130
|
} catch {
|
|
131
131
|
return false;
|
|
@@ -490,7 +490,7 @@ async function buildChannelsTable(cfg, opts) {
|
|
|
490
490
|
//#endregion
|
|
491
491
|
//#region src/commands/status-all/gateway.ts
|
|
492
492
|
async function readFileTailLines(filePath, maxLines) {
|
|
493
|
-
const raw = await
|
|
493
|
+
const raw = await fsPromises.readFile(filePath, "utf8").catch(() => "");
|
|
494
494
|
if (!raw.trim()) return [];
|
|
495
495
|
const lines = raw.replace(/\r/g, "").split("\n");
|
|
496
496
|
return lines.slice(Math.max(0, lines.length - maxLines)).map((line) => line.trimEnd()).filter((line) => line.trim().length > 0);
|
|
@@ -1256,7 +1256,7 @@ function resolveGatewayProbeAuth(cfg) {
|
|
|
1256
1256
|
//#region src/commands/status.agent-local.ts
|
|
1257
1257
|
async function fileExists(p) {
|
|
1258
1258
|
try {
|
|
1259
|
-
await
|
|
1259
|
+
await fsPromises.access(p);
|
|
1260
1260
|
return true;
|
|
1261
1261
|
} catch {
|
|
1262
1262
|
return false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _t as
|
|
1
|
+
import { _t as createPluginLoaderLogger, vt as loadSymiPlugins } from "./reply-DVxU0AMq.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
3
|
-
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
4
|
-
import { i as loadConfig } from "./config-
|
|
3
|
+
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-BRwEc2pG.js";
|
|
4
|
+
import { i as loadConfig } from "./config-CJMcIRQM.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-D-jRCY0d.js";
|
|
3
3
|
import { i as loadConfig } from "./config-DHBLS1Hl.js";
|
|
4
|
-
import {
|
|
4
|
+
import { b as loadSymiPlugins, y as createPluginLoaderLogger } from "./subagent-registry-CBklD0OL.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -9,7 +9,7 @@ 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
11
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BcE47FtD.js";
|
|
12
|
-
import {
|
|
12
|
+
import { Ct as summarizeRestartSentinel, Dn as peekSystemEvents, St as readRestartSentinel, an as formatUsageReportLines, cn as buildChannelSummary, in as loadProviderUsageSummary, ln as buildChannelAccountSnapshot, rt as sha256HexPrefix, un as formatChannelAllowFrom } from "./subagent-registry-CBklD0OL.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";
|
|
@@ -29,7 +29,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-hFVEC3wO.j
|
|
|
29
29
|
import { t as readLastGatewayErrorLine } from "./diagnostics-CS1ov_hH.js";
|
|
30
30
|
import { t as renderTable } from "./table-D01d2GuY.js";
|
|
31
31
|
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-Byo5jCLN.js";
|
|
32
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
32
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-CboWXJkq.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
|
-
import { t as resolveSymiPackageRoot } from "./symi-root-
|
|
1
|
+
import { t as resolveSymiPackageRoot } from "./symi-root-MF6_6SCS.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
3
|
-
import { H as VERSION } from "./config-
|
|
4
|
-
import { n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-
|
|
3
|
+
import { H as VERSION } from "./config-CJMcIRQM.js";
|
|
4
|
+
import { n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-C0oYCI89.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/status.update.ts
|
|
7
7
|
async function getUpdateCheckResult(params) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as resolveConfigDir } from "./registry-
|
|
2
|
-
import { d as detectMime, f as extensionForMime } from "./image-ops-
|
|
1
|
+
import { P as resolveConfigDir } from "./registry-CK4e9hn8.js";
|
|
2
|
+
import { d as detectMime, f as extensionForMime } from "./image-ops-CvJzsyvE.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import crypto from "node:crypto";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { g as resolveConfigDir } from "./utils-B-0b9bGM.js";
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-DYbDWaIA.js";
|
|
3
3
|
import { createWriteStream } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fsPromises from "node:fs/promises";
|
|
6
6
|
import crypto from "node:crypto";
|
|
7
7
|
import { pipeline } from "node:stream/promises";
|
|
8
8
|
|
|
@@ -26,7 +26,7 @@ function getMediaDir() {
|
|
|
26
26
|
}
|
|
27
27
|
async function ensureMediaDir() {
|
|
28
28
|
const mediaDir = resolveMediaDir();
|
|
29
|
-
await
|
|
29
|
+
await fsPromises.mkdir(mediaDir, {
|
|
30
30
|
recursive: true,
|
|
31
31
|
mode: 448
|
|
32
32
|
});
|
|
@@ -35,7 +35,7 @@ async function ensureMediaDir() {
|
|
|
35
35
|
async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes = MAX_BYTES, originalFilename) {
|
|
36
36
|
if (buffer.byteLength > maxBytes) throw new Error(`Media exceeds ${(maxBytes / (1024 * 1024)).toFixed(0)}MB limit`);
|
|
37
37
|
const dir = path.join(resolveMediaDir(), subdir);
|
|
38
|
-
await
|
|
38
|
+
await fsPromises.mkdir(dir, {
|
|
39
39
|
recursive: true,
|
|
40
40
|
mode: 448
|
|
41
41
|
});
|
|
@@ -53,7 +53,7 @@ async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes
|
|
|
53
53
|
id = sanitized ? `${sanitized}---${uuid}${ext}` : `${uuid}${ext}`;
|
|
54
54
|
} else id = ext ? `${uuid}${ext}` : uuid;
|
|
55
55
|
const dest = path.join(dir, id);
|
|
56
|
-
await
|
|
56
|
+
await fsPromises.writeFile(dest, buffer, { mode: 384 });
|
|
57
57
|
return {
|
|
58
58
|
id,
|
|
59
59
|
path: dest,
|
|
@@ -44208,7 +44208,7 @@ function isVoiceChannelType(type) {
|
|
|
44208
44208
|
function createDefaultDeps() {
|
|
44209
44209
|
return {
|
|
44210
44210
|
sendMessageWhatsApp: async (...args) => {
|
|
44211
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
44211
|
+
const { sendMessageWhatsApp } = await import("./web-GL_nqURg.js");
|
|
44212
44212
|
return await sendMessageWhatsApp(...args);
|
|
44213
44213
|
},
|
|
44214
44214
|
sendMessageTelegram: async (...args) => {
|
|
@@ -59524,7 +59524,7 @@ function loadWebLoginQr() {
|
|
|
59524
59524
|
return webLoginQrPromise;
|
|
59525
59525
|
}
|
|
59526
59526
|
function loadWebChannel() {
|
|
59527
|
-
webChannelPromise ??= import("./web-
|
|
59527
|
+
webChannelPromise ??= import("./web-GL_nqURg.js");
|
|
59528
59528
|
return webChannelPromise;
|
|
59529
59529
|
}
|
|
59530
59530
|
function loadWhatsAppActions() {
|
|
@@ -60742,6 +60742,42 @@ function parseUpdateFileChunk(lines, lineNumber, allowMissingContext) {
|
|
|
60742
60742
|
};
|
|
60743
60743
|
}
|
|
60744
60744
|
|
|
60745
|
+
//#endregion
|
|
60746
|
+
//#region src/agents/model-token-filter.ts
|
|
60747
|
+
/**
|
|
60748
|
+
* Strips model-specific control tokens from streamed text.
|
|
60749
|
+
*
|
|
60750
|
+
* Used both server-side (in the streaming pipeline) and by the Glass UI
|
|
60751
|
+
* (as a defense-in-depth fallback). The patterns here cover tokens known
|
|
60752
|
+
* to leak from Gemma 4 / vLLM; Claude output is left untouched.
|
|
60753
|
+
*/
|
|
60754
|
+
const GEMMA_TOKEN_PATTERNS = [
|
|
60755
|
+
/<\|channel>\w*/g,
|
|
60756
|
+
/<channel\|>/g,
|
|
60757
|
+
/<start_of_turn>(?:model|user)?/g,
|
|
60758
|
+
/<end_of_turn>/g,
|
|
60759
|
+
/<\|(?:fim_prefix|fim_suffix|fim_middle)\|>/g,
|
|
60760
|
+
/^\s*<bos>\s*/gm
|
|
60761
|
+
];
|
|
60762
|
+
const GEMMA_MODEL_HINTS$1 = ["gemma", "redsand/"];
|
|
60763
|
+
function isGemmaModel$1(modelId) {
|
|
60764
|
+
const lower = modelId.toLowerCase();
|
|
60765
|
+
return GEMMA_MODEL_HINTS$1.some((hint) => lower.includes(hint));
|
|
60766
|
+
}
|
|
60767
|
+
/**
|
|
60768
|
+
* Strip known control tokens from text. Only applies to Gemma-family models;
|
|
60769
|
+
* other models pass through unchanged.
|
|
60770
|
+
*/
|
|
60771
|
+
function stripModelTokens(text, modelId) {
|
|
60772
|
+
if (!text || !isGemmaModel$1(modelId)) return text;
|
|
60773
|
+
let result = text;
|
|
60774
|
+
for (const re of GEMMA_TOKEN_PATTERNS) {
|
|
60775
|
+
re.lastIndex = 0;
|
|
60776
|
+
result = result.replace(re, "");
|
|
60777
|
+
}
|
|
60778
|
+
return result;
|
|
60779
|
+
}
|
|
60780
|
+
|
|
60745
60781
|
//#endregion
|
|
60746
60782
|
//#region src/agents/pi-tools.abort.ts
|
|
60747
60783
|
function throwAbortError() {
|
|
@@ -61843,6 +61879,31 @@ function resolveToolLoopDetectionConfig(params) {
|
|
|
61843
61879
|
}
|
|
61844
61880
|
};
|
|
61845
61881
|
}
|
|
61882
|
+
/**
|
|
61883
|
+
* Wrap a tool to strip model-specific control tokens from string arguments
|
|
61884
|
+
* before execution. Gemma 4 via vLLM sometimes injects tokens like `<|`
|
|
61885
|
+
* into tool call arguments (e.g. `exec("<|node -v")`). This wrapper
|
|
61886
|
+
* sanitizes all string values in the argument object.
|
|
61887
|
+
*/
|
|
61888
|
+
function wrapToolWithArgSanitization(tool, modelId) {
|
|
61889
|
+
const execute = tool.execute;
|
|
61890
|
+
if (!execute) return tool;
|
|
61891
|
+
return {
|
|
61892
|
+
...tool,
|
|
61893
|
+
execute: async (toolCallId, params, signal, onUpdate) => {
|
|
61894
|
+
return execute(toolCallId, sanitizeToolArgs(params, modelId), signal, onUpdate);
|
|
61895
|
+
}
|
|
61896
|
+
};
|
|
61897
|
+
}
|
|
61898
|
+
function sanitizeToolArgs(params, modelId) {
|
|
61899
|
+
if (!params || typeof params !== "object") return typeof params === "string" ? stripModelTokens(params, modelId) : params;
|
|
61900
|
+
if (Array.isArray(params)) return params.map((item) => sanitizeToolArgs(item, modelId));
|
|
61901
|
+
const result = {};
|
|
61902
|
+
for (const [key, value] of Object.entries(params)) if (typeof value === "string") result[key] = stripModelTokens(value, modelId);
|
|
61903
|
+
else if (value && typeof value === "object") result[key] = sanitizeToolArgs(value, modelId);
|
|
61904
|
+
else result[key] = value;
|
|
61905
|
+
return result;
|
|
61906
|
+
}
|
|
61846
61907
|
function createSymiCodingTools(options) {
|
|
61847
61908
|
const execToolName = "exec";
|
|
61848
61909
|
const sandbox = options?.sandbox?.enabled ? options.sandbox : void 0;
|
|
@@ -62066,7 +62127,11 @@ function createSymiCodingTools(options) {
|
|
|
62066
62127
|
agentId
|
|
62067
62128
|
})
|
|
62068
62129
|
}));
|
|
62069
|
-
|
|
62130
|
+
const withAbort = options?.abortSignal ? withHooks.map((tool) => wrapToolWithAbortSignal(tool, options.abortSignal)) : withHooks;
|
|
62131
|
+
const modelId = options?.modelId ?? "";
|
|
62132
|
+
const modelProvider = options?.modelProvider ?? "";
|
|
62133
|
+
const fullModelId = modelProvider ? `${modelProvider}/${modelId}` : modelId;
|
|
62134
|
+
return fullModelId ? withAbort.map((tool) => wrapToolWithArgSanitization(tool, fullModelId)) : withAbort;
|
|
62070
62135
|
}
|
|
62071
62136
|
|
|
62072
62137
|
//#endregion
|
|
@@ -65036,11 +65101,34 @@ function createStreamFnWithExtraParams(baseStreamFn, extraParams, provider) {
|
|
|
65036
65101
|
if (cacheRetention) streamParams.cacheRetention = cacheRetention;
|
|
65037
65102
|
if (Object.keys(streamParams).length === 0) return;
|
|
65038
65103
|
log$2.debug(`creating streamFn wrapper with params: ${JSON.stringify(streamParams)}`);
|
|
65104
|
+
const sp = streamParams;
|
|
65105
|
+
const payloadOverrides = {};
|
|
65106
|
+
if (Array.isArray(sp.stop) && sp.stop.length > 0) payloadOverrides.stop = sp.stop;
|
|
65107
|
+
if (typeof sp.top_p === "number") payloadOverrides.top_p = sp.top_p;
|
|
65108
|
+
if (typeof sp.top_k === "number") payloadOverrides.top_k = sp.top_k;
|
|
65109
|
+
if (typeof sp.repeat_penalty === "number") payloadOverrides.repeat_penalty = sp.repeat_penalty;
|
|
65110
|
+
const hasPayloadOverrides = Object.keys(payloadOverrides).length > 0;
|
|
65039
65111
|
const underlying = baseStreamFn ?? streamSimple;
|
|
65040
|
-
const wrappedStreamFn = (model, context, options) =>
|
|
65041
|
-
|
|
65042
|
-
|
|
65043
|
-
|
|
65112
|
+
const wrappedStreamFn = (model, context, options) => {
|
|
65113
|
+
if (hasPayloadOverrides) {
|
|
65114
|
+
const originalOnPayload = options?.onPayload;
|
|
65115
|
+
return underlying(model, context, {
|
|
65116
|
+
...streamParams,
|
|
65117
|
+
...options,
|
|
65118
|
+
onPayload: (payload) => {
|
|
65119
|
+
if (payload && typeof payload === "object") {
|
|
65120
|
+
const p = payload;
|
|
65121
|
+
for (const [key, value] of Object.entries(payloadOverrides)) if (p[key] === void 0) p[key] = value;
|
|
65122
|
+
}
|
|
65123
|
+
originalOnPayload?.(payload);
|
|
65124
|
+
}
|
|
65125
|
+
});
|
|
65126
|
+
}
|
|
65127
|
+
return underlying(model, context, {
|
|
65128
|
+
...streamParams,
|
|
65129
|
+
...options
|
|
65130
|
+
});
|
|
65131
|
+
};
|
|
65044
65132
|
return wrappedStreamFn;
|
|
65045
65133
|
}
|
|
65046
65134
|
function isDirectOpenAIBaseUrl(baseUrl) {
|
|
@@ -71826,4 +71914,4 @@ function initSubagentRegistry() {
|
|
|
71826
71914
|
}
|
|
71827
71915
|
|
|
71828
71916
|
//#endregion
|
|
71829
|
-
export {
|
|
71917
|
+
export { resolveCronStyleNow as $, resolveTtsApiKey as $n, setGatewaySigusr1RestartPolicy as $t, resolveAgentOutboundTarget as A, DEFAULT_INPUT_MAX_REDIRECTS as An, normalizeOptionalAgentId as At, DEFAULT_GROUP_HISTORY_LIMIT as B, formatInboundEnvelope as Bn, CHANNEL_TARGET_DESCRIPTION as Bt, readJsonBodyWithLimit as C, parseVerboseOverride as Cn, getAgentRunContext as Cr, summarizeRestartSentinel as Ct, agentCommand as D, peekSystemEvents as Dn, normalizeCronJobCreate as Dt, sleepWithAbort as E, peekSystemEventEntries as En, normalizeHttpWebhookUrl as Et, identityHasValues as F, resolveInputFileLimits as Fn, migrateLegacyCronPayload as Ft, provider_dispatcher_exports as G, isAbortTrigger as Gn, applyBrowserProxyPaths as Gt, recordPendingHistoryEntryIfEnabled as H, formatZonedTimestamp as Hn, detectSuspiciousPatterns as Ht, loadAgentIdentityFromWorkspace as I, estimateBase64DecodedBytes as In, buildDeliveryFromLegacyPayload as It, getTotalPendingReplies as J, normalizeMentionText as Jn, deferGatewayRestartUntilIdle as Jt, dispatchInboundMessage as K, stopSubagentsForRequester as Kn, persistBrowserProxyFiles as Kt, parseIdentityMarkdown as L, resolveAgentTimeoutMs as Ln, hasLegacyDeliveryHints as Lt, createDefaultDeps as M, extractFileContentFromSource as Mn, normalizeOptionalText as Mt, createOutboundSendDeps$1 as N, extractImageContentFromSource as Nn, normalizePayloadToSystemText as Nt, resolveSessionKeyForRequest as O, DEFAULT_INPUT_IMAGE_MAX_BYTES as On, normalizeCronJobPatch as Ot, resolveAgentAvatar as P, normalizeMimeList as Pn, normalizeRequiredName as Pt, appendCronStyleCurrentTimeLine as Q, isTtsProviderConfigured as Qn, scheduleGatewaySigusr1Restart as Qt, buildPairingReply as R, createInboundDebouncer as Rn, stripLegacyDeliveryFields as Rt, handleSlackHttpRequest as S, applyVerboseOverride as Sn, emitAgentEvent as Sr, readRestartSentinel as St, computeBackoff as T, isSystemEventContextChanged as Tn, registerAgentRunContext as Tr, writeRestartSentinel as Tt, shouldAckReactionForWhatsApp as U, hasControlCommand as Un, getHookType as Ut, buildHistoryContextFromEntries as V, resolveEnvelopeFormatOptions as Vn, buildSafeExternalPrompt as Vt, dispatchReplyWithBufferedBlockDispatcher as W, shouldComputeCommandAuthorized as Wn, isExternalHookSession as Wt, getReplyFromConfig as X, getTtsProvider as Xn, isGatewaySigusr1RestartExternallyAllowed as Xt, createDedupeCache as Y, resolveUserTimezone as Yn, emitGatewayRestart as Yt, BARE_SESSION_RESET_PROMPT as Z, isTtsEnabled as Zn, markGatewaySigusr1RestartHandled as Zt, stripModelTokens as _, maskApiKey as _n, DEFAULT_HEARTBEAT_EVERY as _r, runWithModelFallback as _t, listSubagentRunsForRequester as a, formatUsageReportLines as an, setTtsProvider as ar, readLatestAssistantReply as at, loadSymiPlugins as b, formatRemainingShort as bn, stripHeartbeatToken as br, formatDoctorNonInteractiveHint as bt, clearSessionQueues as c, buildChannelSummary as cn, OPENAI_TTS_VOICES as cr, ensureOutboundSessionEntry as ct, getActiveEmbeddedRunCount as d, resolveCommitHash as dn, getTotalQueueSize as dr, resolveHeartbeatSenderContext as dt, setPreRestartDeferralCheck as en, resolveTtsAutoMode as er, getCliSessionId as et, waitForEmbeddedPiRunEnd as f, requestHeartbeatNow as fn, resetAllLanes as fr, resolveOutboundTarget as ft, sniffMimeFromBase64 as g, resolveSendPolicy as gn, DEFAULT_HEARTBEAT_ACK_MAX_CHARS as gr, CHANNEL_MESSAGE_ACTION_NAMES as gt, buildDefaultToolPolicyPipelineSteps as h, normalizeSendPolicy as hn, CommandLane as hr, resetDirectoryCache as ht, listDescendantRunsForRequester as i, loadProviderUsageSummary as in, setTtsEnabled as ir, createSymiTools as it, createOutboundSendDeps as j, DEFAULT_INPUT_TIMEOUT_MS as jn, normalizeOptionalSessionKey as jt, resolveAgentDeliveryPlan as k, DEFAULT_INPUT_IMAGE_MIMES as kn, inferLegacyName as kt, runEmbeddedPiAgent as l, buildChannelAccountSnapshot as ln, getActiveTaskCount as lr, resolveOutboundSessionRoute as lt, applyToolPolicyPipeline as m, resolveHeartbeatReasonKind as mn, waitForActiveTasks as mr, formatTargetDisplay as mt, countActiveRunsForSession as n, normalizeGroupActivation as nn, resolveTtsPrefsPath as nr, runCliAgent as nt, subagent_registry_exports as o, formatUsageWindowSummary as on, textToSpeech as or, resolveAnnounceTargetFromKey as ot, resolveModelProfile as p, setHeartbeatWakeHandler as pn, setCommandLaneConcurrency as pr, resolveSessionDeliveryTarget as pt, createReplyDispatcher as q, buildMentionRegexes as qn, consumeGatewaySigusr1RestartAuthorization as qt, initSubagentRegistry as r, parseActivationCommand as rn, resolveTtsProviderOrder as rr, sha256HexPrefix as rt, runSubagentAnnounceFlow as s, resolveUsageProviderId as sn, OPENAI_TTS_MODELS as sr, runMessageAction as st, countActiveDescendantRuns as t, unbindThreadBindingsBySessionKey as tn, resolveTtsConfig as tr, setCliSessionId as tt, abortEmbeddedPiRun as u, formatChannelAllowFrom as un, getQueueSize as ur, resolveHeartbeatDeliveryTarget as ut, getPluginToolMeta as v, DEFAULT_OAUTH_WARN_MS as vn, isHeartbeatContentEffectivelyEmpty as vr, describeFailoverError as vt, requestBodyErrorToText as w, enqueueSystemEvent as wn, onAgentEvent as wr, trimLogTail as wt, deleteTelegramUpdateOffset as x, applyModelOverrideToSessionEntry as xn, clearAgentRunContext as xr, formatRestartSentinelMessage as xt, createPluginLoaderLogger as y, buildAuthHealthSummary as yn, resolveHeartbeatPrompt as yr, consumeRestartSentinel as yt, resolveMentionGating as z, resolveInboundDebounceMs as zn, CHANNEL_TARGETS_DESCRIPTION as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { at as isFileLogLevelEnabled, ct as levelToMinLevel, lt as normalizeLogLevel, n as CHAT_CHANNEL_ORDER, q as isVerbose, rt as getChildLogger, st as loggingState, ut as readLoggingConfig } from "./registry-
|
|
1
|
+
import { at as isFileLogLevelEnabled, ct as levelToMinLevel, lt as normalizeLogLevel, n as CHAT_CHANNEL_ORDER, q as isVerbose, rt as getChildLogger, st as loggingState, ut as readLoggingConfig } from "./registry-CK4e9hn8.js";
|
|
2
2
|
import { Chalk } from "chalk";
|
|
3
3
|
|
|
4
4
|
//#region src/terminal/progress-line.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { fileURLToPath } from "node:url";
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsPromises from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/agents/skills/filter.ts
|
|
7
7
|
function normalizeSkillFilter(skillFilter) {
|
|
@@ -26,7 +26,7 @@ function matchesSkillFilter(cached, next) {
|
|
|
26
26
|
const CORE_PACKAGE_NAMES = new Set(["symi", "@symerian/symi"]);
|
|
27
27
|
async function readPackageName(dir) {
|
|
28
28
|
try {
|
|
29
|
-
const raw = await
|
|
29
|
+
const raw = await fsPromises.readFile(path.join(dir, "package.json"), "utf-8");
|
|
30
30
|
const parsed = JSON.parse(raw);
|
|
31
31
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
32
32
|
} catch {
|
|
@@ -3,27 +3,27 @@ import { B as theme, O as danger } from "./utils-B-0b9bGM.js";
|
|
|
3
3
|
import "./registry-Cja8eT7G.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
5
5
|
import "./exec-CWkblSrI.js";
|
|
6
|
-
import "./agent-scope-
|
|
7
|
-
import { At as ensureAuthProfileStore, l as normalizeProviderId } from "./model-selection-
|
|
6
|
+
import "./agent-scope-BRwEc2pG.js";
|
|
7
|
+
import { At as ensureAuthProfileStore, l as normalizeProviderId } from "./model-selection-X1oLh3CE.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
|
-
import "./config-
|
|
12
|
+
import "./config-CJMcIRQM.js";
|
|
13
13
|
import "./manifest-registry-C4BxOMWX.js";
|
|
14
|
-
import "./client-
|
|
15
|
-
import "./call-
|
|
16
|
-
import "./pairing-token-
|
|
14
|
+
import "./client-BsrZnuSi.js";
|
|
15
|
+
import "./call-Dd7-bkfG.js";
|
|
16
|
+
import "./pairing-token-AV-MMfVE.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-
|
|
19
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DFeD8pZh.js";
|
|
20
20
|
import path from "node:path";
|
|
21
|
-
import
|
|
21
|
+
import fsPromises from "node:fs/promises";
|
|
22
22
|
|
|
23
23
|
//#region src/agents/pi-auth-json.ts
|
|
24
24
|
async function readAuthJson(filePath) {
|
|
25
25
|
try {
|
|
26
|
-
const raw = await
|
|
26
|
+
const raw = await fsPromises.readFile(filePath, "utf8");
|
|
27
27
|
const parsed = JSON.parse(raw);
|
|
28
28
|
if (!parsed || typeof parsed !== "object") return {};
|
|
29
29
|
return parsed;
|
|
@@ -115,11 +115,11 @@ async function ensurePiAuthJsonFromAuthProfiles(agentDir) {
|
|
|
115
115
|
wrote: false,
|
|
116
116
|
authPath
|
|
117
117
|
};
|
|
118
|
-
await
|
|
118
|
+
await fsPromises.mkdir(agentDir, {
|
|
119
119
|
recursive: true,
|
|
120
120
|
mode: 448
|
|
121
121
|
});
|
|
122
|
-
await
|
|
122
|
+
await fsPromises.writeFile(authPath, `${JSON.stringify(existing, null, 2)}\n`, { mode: 384 });
|
|
123
123
|
return {
|
|
124
124
|
wrote: true,
|
|
125
125
|
authPath
|
|
@@ -3,7 +3,7 @@ import { n as runExec, t as runCommandWithTimeout } from "./exec-CWkblSrI.js";
|
|
|
3
3
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayProfileSuffix, u as resolveGatewayServiceDescription } from "./constants-C8_BLnaW.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fsPromises from "node:fs/promises";
|
|
7
7
|
import { execFile } from "node:child_process";
|
|
8
8
|
|
|
9
9
|
//#region src/daemon/exec-file.ts
|
|
@@ -289,7 +289,7 @@ function resolveSystemdUserUnitPath(env) {
|
|
|
289
289
|
async function readSystemdServiceExecStart(env) {
|
|
290
290
|
const unitPath = resolveSystemdUnitPath(env);
|
|
291
291
|
try {
|
|
292
|
-
const content = await
|
|
292
|
+
const content = await fsPromises.readFile(unitPath, "utf8");
|
|
293
293
|
let execStart = "";
|
|
294
294
|
let workingDirectory = "";
|
|
295
295
|
const environment = {};
|
|
@@ -360,7 +360,7 @@ async function assertSystemdAvailable() {
|
|
|
360
360
|
async function installSystemdService({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
361
361
|
await assertSystemdAvailable();
|
|
362
362
|
const unitPath = resolveSystemdUnitPath(env);
|
|
363
|
-
await
|
|
363
|
+
await fsPromises.mkdir(path.dirname(unitPath), { recursive: true });
|
|
364
364
|
const unit = buildSystemdUnit({
|
|
365
365
|
description: resolveGatewayServiceDescription({
|
|
366
366
|
env,
|
|
@@ -371,7 +371,7 @@ async function installSystemdService({ env, stdout, programArguments, workingDir
|
|
|
371
371
|
workingDirectory,
|
|
372
372
|
environment
|
|
373
373
|
});
|
|
374
|
-
await
|
|
374
|
+
await fsPromises.writeFile(unitPath, unit, "utf8");
|
|
375
375
|
const unitName = `${resolveGatewaySystemdServiceName(env.SYMI_PROFILE)}.service`;
|
|
376
376
|
const reload = await execSystemctl(["--user", "daemon-reload"]);
|
|
377
377
|
if (reload.code !== 0) throw new Error(`systemctl daemon-reload failed: ${reload.stderr || reload.stdout}`.trim());
|
|
@@ -403,7 +403,7 @@ async function uninstallSystemdService({ env, stdout }) {
|
|
|
403
403
|
]);
|
|
404
404
|
const unitPath = resolveSystemdUnitPath(env);
|
|
405
405
|
try {
|
|
406
|
-
await
|
|
406
|
+
await fsPromises.unlink(unitPath);
|
|
407
407
|
stdout.write(`${formatLine("Removed systemd service", unitPath)}\n`);
|
|
408
408
|
} catch {
|
|
409
409
|
stdout.write(`Systemd service not found at ${unitPath}\n`);
|
|
@@ -1,10 +1,10 @@
|
|
|
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
|
|
2
|
+
import { d as isVersionManagedNodePath, h as resolveSystemNodePath, l as getMinimalServicePathPartsFromEnv, u as isSystemNodePath } from "./daemon-runtime--RiRUx_2.js";
|
|
3
|
+
import { o as resolveSystemdUserUnitPath } from "./systemd-AhJEsmIk.js";
|
|
4
|
+
import { c as resolveLaunchAgentPlistPath } from "./service--qMN5DPm.js";
|
|
5
5
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-CR9445g5.js";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fsPromises from "node:fs/promises";
|
|
8
8
|
|
|
9
9
|
//#region src/daemon/runtime-format.ts
|
|
10
10
|
function formatRuntimeStatus(runtime) {
|
|
@@ -85,7 +85,7 @@ async function auditSystemdUnit(env, issues) {
|
|
|
85
85
|
const unitPath = resolveSystemdUserUnitPath(env);
|
|
86
86
|
let content = "";
|
|
87
87
|
try {
|
|
88
|
-
content = await
|
|
88
|
+
content = await fsPromises.readFile(unitPath, "utf8");
|
|
89
89
|
} catch {
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
@@ -113,7 +113,7 @@ async function auditLaunchdPlist(env, issues) {
|
|
|
113
113
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
114
114
|
let content = "";
|
|
115
115
|
try {
|
|
116
|
-
content = await
|
|
116
|
+
content = await fsPromises.readFile(plistPath, "utf8");
|
|
117
117
|
} catch {
|
|
118
118
|
return;
|
|
119
119
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as note } from "./note-DeHoW7xO.js";
|
|
3
|
-
import { d as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable, u as enableSystemdUserLinger } from "./systemd-
|
|
3
|
+
import { d as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable, u as enableSystemdUserLinger } from "./systemd-AhJEsmIk.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 { d as detectMime } from "./image-ops-
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
1
|
+
import { d as detectMime } from "./image-ops-CvJzsyvE.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-DXB7tqWi.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/tools/common.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as detectMime } from "./image-ops-
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
3
|
-
import
|
|
1
|
+
import { c as detectMime } from "./image-ops-DYbDWaIA.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-B-pqX3nX.js";
|
|
3
|
+
import fsPromises from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/tools/common.ts
|
|
6
6
|
var ToolInputError = class extends Error {
|
|
@@ -128,7 +128,7 @@ async function imageResult(params) {
|
|
|
128
128
|
}, params.label, params.imageSanitization);
|
|
129
129
|
}
|
|
130
130
|
async function imageResultFromFile(params) {
|
|
131
|
-
const buf = await
|
|
131
|
+
const buf = await fsPromises.readFile(params.path);
|
|
132
132
|
const mimeType = await detectMime({ buffer: buf.slice(0, 256) }) ?? "image/png";
|
|
133
133
|
return await imageResult({
|
|
134
134
|
label: params.label,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
2
|
-
import { D as escapeRegExp, M as normalizeE164, i as getChatChannelMeta, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-
|
|
3
|
-
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, d as resolveSlackAccount, f as resolveSlackReplyToMode, l as resolveTelegramAccount } from "./plugins-
|
|
4
|
-
import { t as resolveWhatsAppAccount } from "./accounts-
|
|
5
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
6
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
2
|
+
import { D as escapeRegExp, M as normalizeE164, i as getChatChannelMeta, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-CK4e9hn8.js";
|
|
3
|
+
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, d as resolveSlackAccount, f as resolveSlackReplyToMode, l as resolveTelegramAccount } from "./plugins-DQYI3Fr-.js";
|
|
4
|
+
import { t as resolveWhatsAppAccount } from "./accounts-tNElYrCH.js";
|
|
5
|
+
import { n as resolveSignalAccount } from "./accounts-CWktKM8a.js";
|
|
6
|
+
import { t as resolveIMessageAccount } from "./accounts-qtxJ-6em.js";
|
|
7
7
|
|
|
8
8
|
//#region src/shared/string-normalization.ts
|
|
9
9
|
function normalizeStringEntries(list) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
2
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-DYbDWaIA.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/image-sanitization.ts
|
|
5
5
|
const DEFAULT_IMAGE_MAX_DIMENSION_PX = 1200;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-CvJzsyvE.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/image-sanitization.ts
|
|
5
5
|
const DEFAULT_IMAGE_MAX_DIMENSION_PX = 1200;
|