@symerian/symi 2.3.3 → 2.4.0
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-Cd816n6l.js → accounts-DDuIpcln.js} +7 -7
- package/dist/{accounts-mN_EcgxC.js → accounts-DyJN4_vR.js} +1 -1
- package/dist/{accounts-CokRskCl.js → accounts-bK-Yqdwx.js} +1 -1
- package/dist/{acp-cli-BgyJMtqt.js → acp-cli-Cu4icbJT.js} +6 -6
- package/dist/{agent-scope-BRwEc2pG.js → agent-scope-CgUHAtCo.js} +18 -18
- package/dist/{agents-DjLt6jc3.js → agents-CI3xxYc_.js} +4 -4
- package/dist/{agents.config-u_ibObha.js → agents.config-DCE3RGr9.js} +2 -2
- package/dist/{agents.config-Dt7B_P5o.js → agents.config-DTUAM1AG.js} +1 -1
- package/dist/{api-key-rotation-CEr3lKih.js → api-key-rotation-CzuPlV2t.js} +1 -1
- package/dist/{audio-preflight-CPBOQV4I.js → audio-preflight-C40mKAp7.js} +4 -4
- package/dist/{audio-preflight-CjysqO8U.js → audio-preflight-CWnxkaac.js} +28 -28
- package/dist/{audio-preflight-D02HwB-I.js → audio-preflight-O3ASWbaG.js} +4 -4
- package/dist/{audit-BSB9NPSO.js → audit-CrITRV6w.js} +23 -23
- package/dist/{auth-choice-DmSG7c8J.js → auth-choice-DuQwRfJc.js} +8 -8
- package/dist/{auth-choice-DUUu6Nhg.js → auth-choice-IiIysHGO.js} +1 -1
- package/dist/{auth-token-DC5w1WoS.js → auth-token-BnOynwk4.js} +1 -1
- package/dist/{banner-BiAcdT2T.js → banner-xhDZu_ZJ.js} +1 -1
- package/dist/{bindings-ChzePa8q.js → bindings-DFaVVCsf.js} +1 -1
- package/dist/{browser-cli-C4D9Ql3c.js → browser-cli-BG4qPxpM.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-Dd7-bkfG.js → call-CJaS1iRF.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-vQREpu-n.js → channel-options-D3gGVwBd.js} +2 -2
- package/dist/{channel-options-ClfXE1B7.js → channel-options-Dvxd7eJY.js} +1 -1
- package/dist/{channel-selection-DjfBv8kq.js → channel-selection-DuWs0Aak.js} +1 -1
- package/dist/{channel-web-y6pd_GHr.js → channel-web-a5tX1YI3.js} +17 -17
- package/dist/{channels-cli-CjYD1_OO.js → channels-cli-BLUkl5Li.js} +75 -75
- package/dist/{channels-cli-suXRcyfF.js → channels-cli-C9wBYmDe.js} +4 -4
- package/dist/{channels-status-issues-BoH1ZJPN.js → channels-status-issues-B_kBkl_u.js} +1 -1
- package/dist/{chrome-EyvdASWt.js → chrome-BFekevcE.js} +7 -7
- package/dist/{chrome-D2SKJnR7.js → chrome-CDJYxX5a.js} +7 -7
- package/dist/{chrome-r4RThPxq.js → chrome-DtPkPq9T.js} +2 -2
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-mbfUlFn3.js → cli-CaEE46xi.js} +1 -1
- package/dist/{cli-B-911QZL.js → cli-Cw45F0yJ.js} +62 -62
- package/dist/{client-BsrZnuSi.js → client-CQSyCS4M.js} +1 -1
- package/dist/{command-registry-y8CXSD5O.js → command-registry-ea9SD1eA.js} +9 -9
- package/dist/{commands-CtocZ4Lg.js → commands-BNLCWX6e.js} +1 -1
- package/dist/{commands-registry-BZ0ZSQpM.js → commands-registry-BT0-zzs3.js} +3 -3
- package/dist/{completion-cli-BLrwUAyo.js → completion-cli-CMJmUQbI.js} +12 -12
- package/dist/{completion-cli-2Mi5hts2.js → completion-cli-DVkiEAEA.js} +2 -2
- package/dist/{config-CJMcIRQM.js → config-CHwyw6l5.js} +2 -2
- package/dist/{config-cli-CF-wdLkO.js → config-cli-B2d28_hb.js} +4 -4
- package/dist/{config-cli-tYZAnvgQ.js → config-cli-VIg0PSyq.js} +1 -1
- package/dist/{config-guard-C1Rs8NZG.js → config-guard-BflmO0t7.js} +12 -12
- package/dist/{config-validation-ChQQVndI.js → config-validation-CmimHAES.js} +1 -1
- package/dist/{configure-si19m30s.js → configure-C_TVBt76.js} +3 -3
- package/dist/{configure-BHKdqhLb.js → configure-D-3FiJbK.js} +15 -15
- package/dist/{control-service-B8H3Bqpv.js → control-service-Bz7rxLWq.js} +4 -4
- package/dist/{control-ui-assets-DqGziq7x.js → control-ui-assets-Z947tKLt.js} +1 -1
- package/dist/{cron-cli-YrMWJCkm.js → cron-cli-DBIlCvp3.js} +10 -10
- package/dist/{daemon-cli-Dx4SXRyp.js → daemon-cli-DscwlsKW.js} +11 -11
- package/dist/{daemon-runtime--RiRUx_2.js → daemon-runtime-2mwX-jqj.js} +10 -10
- package/dist/{deliver-C-37cZUe.js → deliver-BH0l3UKW.js} +1 -1
- package/dist/{deliver-Um8yyhRA.js → deliver-CceEhg3d.js} +7 -7
- package/dist/{deliver-D1ZN6-fl.js → deliver-CvCK5Mm9.js} +1 -1
- package/dist/{devices-cli-DAJ84AOe.js → devices-cli-Dds-25Ve.js} +6 -6
- package/dist/{diagnostics-D2yUMZN1.js → diagnostics-BAMlsVVX.js} +5 -5
- package/dist/{directory-cli-C4h8KQLH.js → directory-cli-CpUByQew.js} +7 -7
- package/dist/{dm-policy-shared-BCSw0GJS.js → dm-policy-shared-Bh3TbexU.js} +2 -2
- package/dist/{dns-cli-s0ZWvTPm.js → dns-cli-Beyzdh3S.js} +3 -3
- package/dist/{dock-BYiRZSgZ.js → dock-BhS32F6E.js} +4 -4
- package/dist/{docs-cli-BfPfHTDs.js → docs-cli-BpnEOtJi.js} +1 -1
- package/dist/{doctor-completion-C19QYsQN.js → doctor-completion-CJHJYIwQ.js} +2 -2
- package/dist/{doctor-completion-Dn_Kn4gz.js → doctor-completion-DeRX6gkI.js} +1 -1
- package/dist/{doctor-config-flow-D05HlWdn.js → doctor-config-flow-QnaBd8kL.js} +10 -10
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-Df1lyRyE.js → exec-approvals-cli-BliRl8VB.js} +13 -13
- package/dist/extensionAPI.js +6 -6
- package/dist/{fs-safe-CTDvb1DF.js → fs-safe-CUjO1ca2.js} +6 -6
- package/dist/{gateway-cli-B7khyAHs.js → gateway-cli-BDDHBfYP.js} +126 -121
- package/dist/{gateway-cli-DG_Mdw0H.js → gateway-cli-DiDJ6Z2d.js} +22 -17
- package/dist/{gateway-rpc-DFeD8pZh.js → gateway-rpc-BxkKeCZ0.js} +1 -1
- package/dist/{glass-ui-ws-BmQAULMj.js → glass-ui-ws-Bj1IuJXt.js} +82 -82
- package/dist/{glass-ui-ws-BAub_JoN.js → glass-ui-ws-rGIAkViC.js} +7 -7
- package/dist/{health-CboWXJkq.js → health-Bst5HnLF.js} +1 -1
- package/dist/{health-DkKXiUEF.js → health-CypF_2ZD.js} +13 -13
- package/dist/{hooks-cli-DLM_5caf.js → hooks-cli-CDMcqTy4.js} +2 -2
- package/dist/{hooks-cli-BrO_9pas.js → hooks-cli-CfsqqxPX.js} +76 -76
- package/dist/{image-Cp3JDEBB.js → image-B0wGflxA.js} +1 -1
- package/dist/{image-DcpMiprB.js → image-CHzdaNJ4.js} +1 -1
- package/dist/{image-BiY-PfMh.js → image-D9uvDTrc.js} +3 -3
- package/dist/{image-ops-DYbDWaIA.js → image-ops-1OJMSAUX.js} +10 -10
- package/dist/index.js +72 -72
- package/dist/{inspect-ZJkNX0WL.js → inspect-CllGjsWo.js} +4 -4
- package/dist/{install-safe-path-Qqr_t_tH.js → install-safe-path-tCLiMpmO.js} +11 -11
- package/dist/{installs-O9KlRu9h.js → installs-C1Cebk97.js} +10 -10
- package/dist/{ir-Dt4hOzxG.js → ir-DZam9q5M.js} +6 -6
- package/dist/{lifecycle-core-BkPSoGM2.js → lifecycle-core-D6LYXpFj.js} +5 -5
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{local-roots-BBeKX7PX.js → local-roots-aAFLQGkY.js} +2 -2
- package/dist/{login-1sleXoB4.js → login-dIlDkG4X.js} +3 -3
- package/dist/{login-qr-wCWBOMwB.js → login-qr-pbXdFORv.js} +5 -5
- package/dist/{logs-cli-DVeEdUCU.js → logs-cli-xOzIPrHm.js} +7 -7
- package/dist/{manager-C1CfGzZ2.js → manager-D4LJSRyZ.js} +13 -13
- package/dist/{markdown-tables-ZwP14ydw.js → markdown-tables-CEbN0fEm.js} +1 -1
- package/dist/{memory-cli-lk6fRiwy.js → memory-cli-Ca5r9AUb.js} +14 -14
- package/dist/{model-catalog-C3NLvWC2.js → model-catalog-DvBJ8pMD.js} +4 -4
- package/dist/{model-picker-LKZLY2DL.js → model-picker-Ddo3jHe-.js} +3 -3
- package/dist/{model-selection-X1oLh3CE.js → model-selection-CyFvYcRt.js} +9 -9
- package/dist/{model-CeeOcylL.js → model-tWhwnFf8.js} +1 -1
- package/dist/{models-BmiRYEVd.js → models-ZEOGlFx7.js} +2 -2
- package/dist/{models-cli-Tf61I97Q.js → models-cli-BM1QyeXr.js} +3 -3
- package/dist/{models-cli-4vQrbW6G.js → models-cli-BwOQhZ_c.js} +72 -72
- package/dist/{models-config-CqDdkHJq.js → models-config-qyOXrOli.js} +7 -7
- package/dist/{node-cli-Jj2LTGzF.js → node-cli-C_G-Q3h-.js} +28 -28
- package/dist/{node-service-CJygtY5M.js → node-service-Cxz4e-Qd.js} +1 -1
- package/dist/{nodes-cli-C43ifECe.js → nodes-cli-BcnuJajV.js} +10 -10
- package/dist/{nodes-screen-C99kfE1u.js → nodes-screen-VBGXKdLk.js} +4 -4
- package/dist/{npm-registry-spec-DR_at_Hp.js → npm-registry-spec-C2JDdSZS.js} +9 -9
- package/dist/{onboard-FpptSqHZ.js → onboard-CU-pntZD.js} +2 -2
- package/dist/{onboard-D8uxVvMq.js → onboard-DQ34giB5.js} +13 -13
- package/dist/{onboard-channels-DOKid2w1.js → onboard-channels-BOBxxhHX.js} +5 -5
- package/dist/{onboard-channels-Q_xxgZ8O.js → onboard-channels-g5cvwJpx.js} +1 -1
- package/dist/{onboard-custom-DPJiy9aT.js → onboard-custom-C7O-zfQ1.js} +3 -3
- package/dist/{onboard-helpers-Dixh6cNh.js → onboard-helpers-ZmZYzlq3.js} +8 -8
- package/dist/{onboard-hooks-lsws7g2s.js → onboard-hooks-BAA8CoVv.js} +1 -1
- package/dist/{onboard-remote-B66ZWtkN.js → onboard-remote-zUjD7UtM.js} +1 -1
- package/dist/{onboard-skills-B0IA09ig.js → onboard-skills-BB0YhUmF.js} +4 -4
- package/dist/{onboarding-CdlGKa0U.js → onboarding-CXWUjdM5.js} +13 -13
- package/dist/{onboarding-DhIEUmp5.js → onboarding-DWs6tHZ9.js} +3 -3
- package/dist/{onboarding.finalize-CEYLIXkq.js → onboarding.finalize-CAYf88mf.js} +6 -6
- package/dist/{onboarding.finalize-DyBsPxXJ.js → onboarding.finalize-vupGASMK.js} +74 -74
- package/dist/{onboarding.gateway-config-CCJqI0kw.js → onboarding.gateway-config-CJUgDC6Y.js} +14 -14
- package/dist/{openai-model-default-BJ1IZ3TN.js → openai-model-default-DMjQRsb1.js} +2 -2
- package/dist/{outbound-NJCy0h4x.js → outbound-DB5Zus0-.js} +4 -4
- package/dist/{outbound-attachment-D62E0xDI.js → outbound-attachment-D_QuKi8U.js} +2 -2
- package/dist/{pairing-cli-CcW0ndhB.js → pairing-cli-CBLfGvqW.js} +8 -8
- package/dist/{pairing-labels-27SOKDzJ.js → pairing-labels-2S6x2UoV.js} +1 -1
- package/dist/{pairing-store-B8ktu-6j.js → pairing-store-CK726Dzq.js} +2 -2
- package/dist/{pairing-token-AV-MMfVE.js → pairing-token-CX3NN_qj.js} +7 -7
- package/dist/{paths-CT6jsi4E.js → paths-BBm9fwuG.js} +1 -1
- package/dist/{pi-auth-json-CCneTXUh.js → pi-auth-json-DayrlDg_.js} +3 -3
- package/dist/{pi-embedded-wr4HXhzm.js → pi-embedded-CJsSOG2j.js} +147 -185
- package/dist/{pi-embedded-BThV36aG.js → pi-embedded-DwbQz0MC.js} +147 -185
- package/dist/{pi-embedded-helpers-DO6u9K2t.js → pi-embedded-helpers-CNPyv_ax.js} +6 -6
- package/dist/{pi-embedded-helpers-ag2bosuj.js → pi-embedded-helpers-DLFjnVBb.js} +4 -4
- package/dist/{pi-embedded-helpers-B8kqLWns.js → pi-embedded-helpers-lgx_U5KS.js} +4 -4
- package/dist/{pi-tools.policy-juZV2uUv.js → pi-tools.policy-CIDBbw6x.js} +4 -4
- package/dist/{plugin-auto-enable-Bbm7MwFV.js → plugin-auto-enable-BzX1uAKy.js} +2 -2
- package/dist/{plugin-registry-DvWWctC9.js → plugin-registry-BDpdOTei.js} +1 -1
- package/dist/{plugin-registry-lWWSu9UD.js → plugin-registry-CZeHSx_c.js} +3 -3
- package/dist/plugin-sdk/agents/model-aware-stream.d.ts +41 -0
- package/dist/plugin-sdk/agents/model-token-filter.d.ts +11 -0
- package/dist/plugin-sdk/agents/pi-embedded-runner/extra-params.d.ts +13 -0
- package/dist/plugin-sdk/{channel-web-BnrTC55Y.js → channel-web-uUypcT9Q.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-kuMxu6Q4.js → reply-DTKTuCrn.js} +133 -171
- package/dist/plugin-sdk/{web-TMIhKQyF.js → web-Dh6Youzv.js} +2 -2
- package/dist/{plugins-BAyxWQSz.js → plugins-DKDeQZF0.js} +2 -2
- package/dist/{plugins-cli-BHfzYAq6.js → plugins-cli-CCQ3skeQ.js} +71 -71
- package/dist/{plugins-cli-wlWRx4Oj.js → plugins-cli-D_RzeRoE.js} +2 -2
- package/dist/{ports-OZQlocB7.js → ports-BOmtxoTv.js} +2 -2
- package/dist/{ports-b36gHZbA.js → ports-BX0kKI0g.js} +1 -1
- package/dist/{program-CKy7s-bm.js → program-Cl9i8ubQ.js} +7 -7
- package/dist/{program-context-D4gbh6dg.js → program-context-BbmYGW-V.js} +39 -39
- package/dist/{prompt-select-styled-bh0GLMiQ.js → prompt-select-styled-BN0T6GxF.js} +4 -4
- package/dist/{prompt-select-styled-DlGPNq9c.js → prompt-select-styled-BfuyvChh.js} +38 -38
- package/dist/{provider-auth-helpers-B-YsKbwc.js → provider-auth-helpers-CkmLFHXL.js} +1 -1
- package/dist/{provider-auth-helpers-Bd5VVReu.js → provider-auth-helpers-CuT5EHza.js} +5 -5
- package/dist/{push-apns-ByyOJyDl.js → push-apns-CFkFVwEz.js} +1 -1
- package/dist/{push-apns-0et2AR44.js → push-apns-DeJt9kAO.js} +4 -4
- package/dist/{pw-ai-Ch7liUOW.js → pw-ai-BnAKvSuw.js} +1 -1
- package/dist/{pw-ai-1htA-NnS.js → pw-ai-De-KR9_s.js} +1 -1
- package/dist/{pw-ai-MVzi113V.js → pw-ai-DqL87js3.js} +7 -7
- package/dist/{qmd-manager-BP2r8b1D.js → qmd-manager-D85GJrir.js} +18 -18
- package/dist/{qr-cli-17laLZm_.js → qr-cli-jd9LdZpq.js} +3 -3
- package/dist/{register.agent-oKma6YjU.js → register.agent-BQm4YmZp.js} +6 -6
- package/dist/{register.agent-Dhijhxr5.js → register.agent-BygseJ7t.js} +81 -81
- package/dist/register.configure-C2fhjZze.js +147 -0
- package/dist/{register.configure-BX8vQ2Np.js → register.configure-Cj95vB2U.js} +6 -6
- package/dist/{register.maintenance-OJCduNdt.js → register.maintenance-CClfXq5e.js} +8 -8
- package/dist/{register.maintenance-B3TPb969.js → register.maintenance-K1x3E7OS.js} +84 -84
- package/dist/{register.message-CX8C_Fds.js → register.message-BSr-kUvJ.js} +2 -2
- package/dist/{register.message-D0aswsGo.js → register.message-CSRzBl-c.js} +63 -63
- package/dist/{register.onboard-CSepiSPt.js → register.onboard-Bd6wPydW.js} +4 -4
- package/dist/{register.onboard-BHTyEs6d.js → register.onboard-TsU21RR7.js} +74 -74
- package/dist/{register.setup-uhpgkBjU.js → register.setup-C9gu0W5l.js} +77 -77
- package/dist/{register.setup-lZSHKiGQ.js → register.setup-DK-zsne2.js} +4 -4
- package/dist/{register.status-health-sessions-Cbavf8do.js → register.status-health-sessions-DN5Ui3V0.js} +3 -3
- package/dist/{register.status-health-sessions-v1KN3eEp.js → register.status-health-sessions-rZsuoqtr.js} +75 -75
- package/dist/{register.subclis-DBEv5xOP.js → register.subclis-DnzHFtLz.js} +9 -9
- package/dist/{replies-BL7IBg12.js → replies-vgss3_QA.js} +1 -1
- package/dist/{reply-DVxU0AMq.js → reply-Ca3slrA3.js} +262 -300
- package/dist/{reply-prefix-BLOOs1aW.js → reply-prefix-CE2YmmsD.js} +1 -1
- package/dist/{resolve-route-BcnaXYvh.js → resolve-route-BMoTaVAH.js} +2 -2
- package/dist/{routes-CE-ohckF.js → routes-Ba9CUQ8M.js} +8 -8
- package/dist/{rpc-wovSCB5v.js → rpc-BfhojW8g.js} +1 -1
- package/dist/{run-main-DspjiCY1.js → run-main-DlHh5iOO.js} +14 -14
- package/dist/{runner-Cen70krW.js → runner-CUglpiFP.js} +20 -20
- package/dist/{runner-BcQ0sF9T.js → runner-DUBExAb5.js} +1 -1
- package/dist/{runner-D0QUGA_X.js → runner-odEv83vv.js} +1 -1
- package/dist/{sandbox-BzNrUHpt.js → sandbox-C-T6hOMv.js} +18 -18
- package/dist/{sandbox-cli-CZrMO34w.js → sandbox-cli-BllVdQzR.js} +20 -20
- package/dist/{security-cli-CeBoEmeN.js → security-cli-BFLtWWHy.js} +36 -36
- package/dist/{send-dH0xroTu.js → send-CPF8hSFp.js} +4 -4
- package/dist/{send-C95ZRvja.js → send-CXxQ_f7L.js} +6 -6
- package/dist/{send-BnuIB59F.js → send-CZr1hVHY.js} +13 -13
- package/dist/{send-BEeuDXqy.js → send-Cutb0ZDY.js} +6 -6
- package/dist/{send-BjdAgYLu.js → send-tanEMpHN.js} +6 -6
- package/dist/{server-context-DUXqnh6l.js → server-context-CEpFjqSk.js} +5 -5
- package/dist/{server-methods-BgBq7KRL.js → server-methods-BYOkyf-q.js} +54 -54
- package/dist/{server-methods-B9alalq5.js → server-methods-b_Qod4tt.js} +7 -7
- package/dist/{server-node-events-BrBsrcCd.js → server-node-events-60nWpTh1.js} +63 -63
- package/dist/{server-node-events-DWG81_Fo.js → server-node-events-oU4Amei7.js} +2 -2
- package/dist/{service--qMN5DPm.js → service-Cl74hx8J.js} +15 -15
- package/dist/{session-CsIk0Sqq.js → session-DIBTkyvE.js} +2 -2
- package/dist/{sessions-D5a7H247.js → sessions-DgYpBvse.js} +13 -13
- package/dist/{shared-Jm_QdQJQ.js → shared-BJvwnR5z.js} +1 -1
- package/dist/{shared-Gi3l7nlY.js → shared-Knv1hy6h.js} +3 -3
- package/dist/{skill-commands-ZXbEITKi.js → skill-commands-Cxw-jNxU.js} +5 -5
- package/dist/{skill-scanner-CXg9eeyc.js → skill-scanner-CLs8u6vQ.js} +5 -5
- package/dist/{skills-DqQUtOph.js → skills-6jdJQ5ZL.js} +4 -4
- package/dist/{skills-cli-D1JL_utC.js → skills-cli-BZTBLQTt.js} +7 -7
- package/dist/{skills-install-DjcTy3CT.js → skills-install-D67isO1L.js} +3 -3
- package/dist/{skills-status-DS-NZQiq.js → skills-status-CURJKnyY.js} +1 -1
- package/dist/{sqlite-BV5ILFtC.js → sqlite-Dx3J_aSE.js} +12 -12
- package/dist/{status-CgPPKk09.js → status-BXW5l4sd.js} +25 -25
- package/dist/{status-DxodHhzX.js → status-BxbbINLV.js} +2 -2
- package/dist/{status-DqMwkAnF.js → status-D3-lP2_9.js} +1 -1
- package/dist/{status-CkJV2sl6.js → status-kdz9P3tw.js} +3 -3
- package/dist/{status.update-CmGpjKSr.js → status.update-DtwCUTf-.js} +3 -3
- package/dist/{store-DvtcmOKj.js → store-r1DJSDq-.js} +5 -5
- package/dist/{subagent-registry-CBklD0OL.js → subagent-registry-CbTbJKLs.js} +133 -171
- package/dist/{symi-root-MF6_6SCS.js → symi-root-CrGJbkzf.js} +2 -2
- package/dist/{system-cli-Buhvt_H5.js → system-cli-UMsMEurS.js} +11 -11
- package/dist/{systemd-hints-Db0oImvK.js → systemd-hints-BR6gChwm.js} +6 -6
- package/dist/{systemd-linger-BXwqn1jL.js → systemd-linger-aQ75ZlXY.js} +1 -1
- package/dist/{systemd-AhJEsmIk.js → systemd-riq8uNJQ.js} +5 -5
- package/dist/{tables-C38rzF6E.js → tables-BEzT0Da4.js} +1 -1
- package/dist/{target-errors-CCz79CmV.js → target-errors-7AvoVa10.js} +4 -4
- package/dist/{tool-images-B-pqX3nX.js → tool-images-DvUBlqjX.js} +1 -1
- package/dist/{tui-C0A9W969.js → tui-CriznorL.js} +7 -7
- package/dist/{tui-cli-tCnkNdSx.js → tui-cli-CSIdfCTR.js} +28 -28
- package/dist/{update-check-C0oYCI89.js → update-check-CtckACbb.js} +5 -5
- package/dist/{update-cli-DYrpyu4a.js → update-cli-B5TI650v.js} +94 -94
- package/dist/{update-cli-BqdgQuYp.js → update-cli-Cy0gdWRf.js} +8 -8
- package/dist/{update-runner-CmZW3aeK.js → update-runner-B0NdgPvD.js} +1 -1
- package/dist/{update-runner-BgzyPjF5.js → update-runner-Bacq0oLK.js} +15 -15
- package/dist/{update-Df4sEKtI.js → update-rw7wJwHd.js} +3 -3
- package/dist/{web-GL_nqURg.js → web-D-oCzJTU.js} +1 -1
- package/dist/{web-CfZp0Jv6.js → web-DWNtg4iV.js} +6 -6
- package/dist/web-DmED3zDP.js +109 -0
- package/dist/{web-DNQzo8ao.js → web-QVwKg99Q.js} +6 -6
- package/dist/{webhooks-cli-Bp-7Rs2Y.js → webhooks-cli-cD58DWAE.js} +4 -4
- package/dist/{whatsapp-actions-CFXNPLco.js → whatsapp-actions-DbcsdOH3.js} +15 -15
- package/dist/{with-timeout-Cs6_LnHB.js → with-timeout-gmK6RciS.js} +1 -1
- package/dist/{workspace-dirs-DKu48umx.js → workspace-dirs-GpkFi6Kw.js} +1 -1
- package/dist/{wsl-BbXxnokd.js → wsl-C4424szg.js} +2 -2
- package/package.json +1 -1
- package/dist/register.configure-BcZ-7Yir.js +0 -147
- package/dist/session-dirs-D3qlvucD.js +0 -18
- package/dist/web-DsCqmzyk.js +0 -109
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { r as resolveAgentConfig } from "./agent-scope-CgUHAtCo.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
|
@@ -2,9 +2,9 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { F as shouldLogVerbose } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import { d as sanitizeAgentId, h as normalizeAccountId, i as buildAgentPeerSessionKey, m as DEFAULT_ACCOUNT_ID, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { i as logDebug } from "./exec-CWkblSrI.js";
|
|
5
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
5
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-CgUHAtCo.js";
|
|
6
6
|
import { t as normalizeChatType } from "./chat-type-DyovJwCt.js";
|
|
7
|
-
import { n as listBindings } from "./bindings-
|
|
7
|
+
import { n as listBindings } from "./bindings-DFaVVCsf.js";
|
|
8
8
|
|
|
9
9
|
//#region src/routing/resolve-route.ts
|
|
10
10
|
var resolve_route_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as parseBooleanValue } from "./boolean-BsqeuxE6.js";
|
|
2
|
-
import { i as loadConfig, l as writeConfigFile } from "./config-
|
|
3
|
-
import { C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, a as resolveSymiUserDataDir, c as captureScreenshot, f as snapshotAria, h as withBrowserNavigationPolicy, s as resolveBrowserExecutableForPlatform, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-
|
|
4
|
-
import { a as resolveProfile, c as getUsedColors, d as deriveDefaultBrowserCdpPortRange, f as getPwAiModule$1, l as getUsedPorts, o as allocateCdpPort, r as parseHttpUrl, s as allocateColor, u as isValidProfileName } from "./server-context-
|
|
5
|
-
import { a as resolvePathWithinRoot, i as resolveExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, t as DEFAULT_DOWNLOAD_DIR } from "./paths-
|
|
6
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
7
|
-
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-
|
|
2
|
+
import { i as loadConfig, l as writeConfigFile } from "./config-CHwyw6l5.js";
|
|
3
|
+
import { C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, a as resolveSymiUserDataDir, c as captureScreenshot, f as snapshotAria, h as withBrowserNavigationPolicy, s as resolveBrowserExecutableForPlatform, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-DtPkPq9T.js";
|
|
4
|
+
import { a as resolveProfile, c as getUsedColors, d as deriveDefaultBrowserCdpPortRange, f as getPwAiModule$1, l as getUsedPorts, o as allocateCdpPort, r as parseHttpUrl, s as allocateColor, u as isValidProfileName } from "./server-context-CEpFjqSk.js";
|
|
5
|
+
import { a as resolvePathWithinRoot, i as resolveExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, t as DEFAULT_DOWNLOAD_DIR } from "./paths-BBm9fwuG.js";
|
|
6
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-1OJMSAUX.js";
|
|
7
|
+
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-r1DJSDq-.js";
|
|
8
8
|
import { t as movePathToTrash } from "./trash-DcMh1i4B.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import fs$1 from "node:fs/promises";
|
|
12
12
|
import crypto from "node:crypto";
|
|
13
13
|
|
|
14
14
|
//#region src/browser/routes/agent.act.shared.ts
|
|
@@ -770,7 +770,7 @@ function registerBrowserAgentDebugRoutes(app, ctx) {
|
|
|
770
770
|
run: async ({ cdpUrl, tab, pw }) => {
|
|
771
771
|
const id = crypto.randomUUID();
|
|
772
772
|
const dir = DEFAULT_TRACE_DIR;
|
|
773
|
-
await
|
|
773
|
+
await fs$1.mkdir(dir, { recursive: true });
|
|
774
774
|
const tracePathResult = resolvePathWithinRoot({
|
|
775
775
|
rootDir: dir,
|
|
776
776
|
requestedPath: out,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-aT-I_DTX.js";
|
|
2
|
-
import { a as randomIdempotencyKey, n as callGateway } from "./call-
|
|
2
|
+
import { a as randomIdempotencyKey, n as callGateway } from "./call-CJaS1iRF.js";
|
|
3
3
|
import { n as withProgress } from "./progress-jIePzvGA.js";
|
|
4
4
|
import { n as parseNodeList, r as parsePairingList, t as resolveNodeIdFromCandidates } from "./node-match-CN8o4Vi3.js";
|
|
5
5
|
|
|
@@ -13,7 +13,7 @@ import "./client-DMBZpU6X.js";
|
|
|
13
13
|
import "./call-BcE47FtD.js";
|
|
14
14
|
import "./message-channel-C9dERklz.js";
|
|
15
15
|
import "./pairing-token-Byh6drgn.js";
|
|
16
|
-
import "./subagent-registry-
|
|
16
|
+
import "./subagent-registry-CbTbJKLs.js";
|
|
17
17
|
import "./sessions-CJXnZVjR.js";
|
|
18
18
|
import "./tokens-Csntmwwn.js";
|
|
19
19
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -101,9 +101,9 @@ import { t as ensureSymiCliOnPath } from "./path-env-Bic_wXs9.js";
|
|
|
101
101
|
import "./catalog-DLQFKucJ.js";
|
|
102
102
|
import "./note-DDecZomM.js";
|
|
103
103
|
import "./plugin-auto-enable-D6ENR3Xg.js";
|
|
104
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
104
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-BDpdOTei.js";
|
|
105
105
|
import { t as assertSupportedRuntime } from "./runtime-guard-D7waq_Ho.js";
|
|
106
|
-
import { t as emitCliBanner } from "./banner-
|
|
106
|
+
import { t as emitCliBanner } from "./banner-xhDZu_ZJ.js";
|
|
107
107
|
import "./doctor-config-flow-CA3eiKhd.js";
|
|
108
108
|
import { n as ensureConfigReady } from "./config-guard-CPHvOzsC.js";
|
|
109
109
|
import process$1 from "node:process";
|
|
@@ -118,7 +118,7 @@ const routeHealth = {
|
|
|
118
118
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
119
119
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
120
120
|
if (timeoutMs === null) return false;
|
|
121
|
-
const { healthCommand } = await import("./health-
|
|
121
|
+
const { healthCommand } = await import("./health-Bst5HnLF.js").then((n) => n.i);
|
|
122
122
|
await healthCommand({
|
|
123
123
|
json,
|
|
124
124
|
timeoutMs,
|
|
@@ -138,7 +138,7 @@ const routeStatus = {
|
|
|
138
138
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
139
139
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
140
140
|
if (timeoutMs === null) return false;
|
|
141
|
-
const { statusCommand } = await import("./status-
|
|
141
|
+
const { statusCommand } = await import("./status-BxbbINLV.js").then((n) => n.t);
|
|
142
142
|
await statusCommand({
|
|
143
143
|
json,
|
|
144
144
|
deep,
|
|
@@ -172,7 +172,7 @@ const routeAgentsList = {
|
|
|
172
172
|
run: async (argv) => {
|
|
173
173
|
const json = hasFlag(argv, "--json");
|
|
174
174
|
const bindings = hasFlag(argv, "--bindings");
|
|
175
|
-
const { agentsListCommand } = await import("./agents-
|
|
175
|
+
const { agentsListCommand } = await import("./agents-CI3xxYc_.js").then((n) => n.t);
|
|
176
176
|
await agentsListCommand({
|
|
177
177
|
json,
|
|
178
178
|
bindings
|
|
@@ -243,7 +243,7 @@ const routes = [
|
|
|
243
243
|
const pathArg = getCommandPositionals(argv)[2];
|
|
244
244
|
if (!pathArg) return false;
|
|
245
245
|
const json = hasFlag(argv, "--json");
|
|
246
|
-
const { runConfigGet } = await import("./config-cli-
|
|
246
|
+
const { runConfigGet } = await import("./config-cli-VIg0PSyq.js");
|
|
247
247
|
await runConfigGet({
|
|
248
248
|
path: pathArg,
|
|
249
249
|
json
|
|
@@ -256,7 +256,7 @@ const routes = [
|
|
|
256
256
|
run: async (argv) => {
|
|
257
257
|
const pathArg = getCommandPositionals(argv)[2];
|
|
258
258
|
if (!pathArg) return false;
|
|
259
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
259
|
+
const { runConfigUnset } = await import("./config-cli-VIg0PSyq.js");
|
|
260
260
|
await runConfigUnset({ path: pathArg });
|
|
261
261
|
return true;
|
|
262
262
|
}
|
|
@@ -270,7 +270,7 @@ const routes = [
|
|
|
270
270
|
const local = hasFlag(argv, "--local");
|
|
271
271
|
const json = hasFlag(argv, "--json");
|
|
272
272
|
const plain = hasFlag(argv, "--plain");
|
|
273
|
-
const { modelsListCommand } = await import("./models-
|
|
273
|
+
const { modelsListCommand } = await import("./models-ZEOGlFx7.js").then((n) => n.t);
|
|
274
274
|
await modelsListCommand({
|
|
275
275
|
all,
|
|
276
276
|
local,
|
|
@@ -301,7 +301,7 @@ const routes = [
|
|
|
301
301
|
const plain = hasFlag(argv, "--plain");
|
|
302
302
|
const check = hasFlag(argv, "--check");
|
|
303
303
|
const probe = hasFlag(argv, "--probe");
|
|
304
|
-
const { modelsStatusCommand } = await import("./models-
|
|
304
|
+
const { modelsStatusCommand } = await import("./models-ZEOGlFx7.js").then((n) => n.t);
|
|
305
305
|
await modelsStatusCommand({
|
|
306
306
|
json,
|
|
307
307
|
plain,
|
|
@@ -379,7 +379,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
379
379
|
assertSupportedRuntime();
|
|
380
380
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
381
381
|
enableConsoleCapture();
|
|
382
|
-
const { buildProgram } = await import("./program-
|
|
382
|
+
const { buildProgram } = await import("./program-Cl9i8ubQ.js");
|
|
383
383
|
const program = buildProgram();
|
|
384
384
|
installUnhandledRejectionHandler();
|
|
385
385
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -411,10 +411,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
411
411
|
const { getProgramContext } = await import("./program-context-CqzR_m-7.js").then((n) => n.n);
|
|
412
412
|
const ctx = getProgramContext(program);
|
|
413
413
|
if (ctx) {
|
|
414
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
414
|
+
const { registerCoreCliByName } = await import("./command-registry-ea9SD1eA.js").then((n) => n.t);
|
|
415
415
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
416
416
|
}
|
|
417
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
417
|
+
const { registerSubCliByName } = await import("./register.subclis-DnzHFtLz.js").then((n) => n.a);
|
|
418
418
|
await registerSubCliByName(program, primary);
|
|
419
419
|
}
|
|
420
420
|
const hasBuiltinPrimary = primary !== null && program.commands.some((command) => command.name() === primary);
|
|
@@ -423,7 +423,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
423
423
|
primary,
|
|
424
424
|
hasBuiltinPrimary
|
|
425
425
|
})) {
|
|
426
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
426
|
+
const { registerPluginCliCommands } = await import("./cli-CaEE46xi.js");
|
|
427
427
|
const { loadConfig } = await import("./config-DHBLS1Hl.js").then((n) => n.t);
|
|
428
428
|
registerPluginCliCommands(program, loadConfig());
|
|
429
429
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { F as shouldLogVerbose, M as logVerbose } from "./utils-B-0b9bGM.js";
|
|
2
2
|
import { n as runExec } from "./exec-CWkblSrI.js";
|
|
3
|
-
import { E as normalizeGoogleModelId, K as requireApiKey, l as normalizeProviderId, q as resolveApiKeyForProvider } from "./model-selection-
|
|
4
|
-
import { _ as isInboundPathAllowed, g as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, v as mergeInboundPathRoots, y as resolveIMessageAttachmentRoots } from "./config-
|
|
3
|
+
import { E as normalizeGoogleModelId, K as requireApiKey, l as normalizeProviderId, q as resolveApiKeyForProvider } from "./model-selection-CyFvYcRt.js";
|
|
4
|
+
import { _ as isInboundPathAllowed, g as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, v as mergeInboundPathRoots, y as resolveIMessageAttachmentRoots } from "./config-CHwyw6l5.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-DyovJwCt.js";
|
|
6
|
-
import { t as describeImageWithModel } from "./image-
|
|
6
|
+
import { t as describeImageWithModel } from "./image-D9uvDTrc.js";
|
|
7
7
|
import { r as formatUncaughtError, t as extractErrorCode } from "./errors-BF3TeRH2.js";
|
|
8
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
8
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-1OJMSAUX.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-Db3da8yR.js";
|
|
10
10
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-DOPkVbh3.js";
|
|
11
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
12
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-
|
|
13
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
11
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-CzuPlV2t.js";
|
|
12
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-aAFLQGkY.js";
|
|
13
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-DvBJ8pMD.js";
|
|
14
14
|
import process$1 from "node:process";
|
|
15
15
|
import { fileURLToPath } from "node:url";
|
|
16
16
|
import { constants } from "node:fs";
|
|
17
17
|
import os from "node:os";
|
|
18
18
|
import path from "node:path";
|
|
19
|
-
import
|
|
19
|
+
import fs$1 from "node:fs/promises";
|
|
20
20
|
import crypto from "node:crypto";
|
|
21
21
|
|
|
22
22
|
//#region src/auto-reply/templating.ts
|
|
@@ -794,7 +794,7 @@ var MediaAttachmentCache = class {
|
|
|
794
794
|
const size = await this.ensureLocalStat(entry);
|
|
795
795
|
if (entry.resolvedPath) {
|
|
796
796
|
if (size !== void 0 && size > params.maxBytes) throw new MediaUnderstandingSkipError("maxBytes", `Attachment ${params.attachmentIndex + 1} exceeds maxBytes ${params.maxBytes}`);
|
|
797
|
-
const buffer = await
|
|
797
|
+
const buffer = await fs$1.readFile(entry.resolvedPath);
|
|
798
798
|
entry.buffer = buffer;
|
|
799
799
|
entry.bufferMime = entry.bufferMime ?? entry.attachment.mime ?? await detectMime({
|
|
800
800
|
buffer,
|
|
@@ -864,10 +864,10 @@ var MediaAttachmentCache = class {
|
|
|
864
864
|
prefix: "symi-media",
|
|
865
865
|
extension: path.extname(bufferResult.fileName || "") || ""
|
|
866
866
|
});
|
|
867
|
-
await
|
|
867
|
+
await fs$1.writeFile(tmpPath, bufferResult.buffer);
|
|
868
868
|
entry.tempPath = tmpPath;
|
|
869
869
|
entry.tempCleanup = async () => {
|
|
870
|
-
await
|
|
870
|
+
await fs$1.unlink(tmpPath).catch(() => {});
|
|
871
871
|
};
|
|
872
872
|
return {
|
|
873
873
|
path: tmpPath,
|
|
@@ -914,12 +914,12 @@ var MediaAttachmentCache = class {
|
|
|
914
914
|
if (entry.statSize !== void 0) return entry.statSize;
|
|
915
915
|
try {
|
|
916
916
|
const currentPath = entry.resolvedPath;
|
|
917
|
-
const stat = await
|
|
917
|
+
const stat = await fs$1.stat(currentPath);
|
|
918
918
|
if (!stat.isFile()) {
|
|
919
919
|
entry.resolvedPath = void 0;
|
|
920
920
|
return;
|
|
921
921
|
}
|
|
922
|
-
const canonicalPath = await
|
|
922
|
+
const canonicalPath = await fs$1.realpath(currentPath).catch(() => currentPath);
|
|
923
923
|
if (!isInboundPathAllowed({
|
|
924
924
|
filePath: canonicalPath,
|
|
925
925
|
roots: await this.getCanonicalLocalPathRoots()
|
|
@@ -941,7 +941,7 @@ var MediaAttachmentCache = class {
|
|
|
941
941
|
if (this.canonicalLocalPathRoots) return await this.canonicalLocalPathRoots;
|
|
942
942
|
this.canonicalLocalPathRoots = (async () => mergeInboundPathRoots(this.localPathRoots, await Promise.all(this.localPathRoots.map(async (root) => {
|
|
943
943
|
if (root.includes("*")) return root;
|
|
944
|
-
return await
|
|
944
|
+
return await fs$1.realpath(root).catch(() => root);
|
|
945
945
|
}))))();
|
|
946
946
|
return await this.canonicalLocalPathRoots;
|
|
947
947
|
}
|
|
@@ -952,7 +952,7 @@ var MediaAttachmentCache = class {
|
|
|
952
952
|
async function fileExists(filePath) {
|
|
953
953
|
if (!filePath) return false;
|
|
954
954
|
try {
|
|
955
|
-
await
|
|
955
|
+
await fs$1.stat(filePath);
|
|
956
956
|
return true;
|
|
957
957
|
} catch {
|
|
958
958
|
return false;
|
|
@@ -1052,7 +1052,7 @@ async function resolveCliOutput(params) {
|
|
|
1052
1052
|
const commandId = commandBase(params.command);
|
|
1053
1053
|
const fileOutput = commandId === "whisper-cli" ? resolveWhisperCppOutputPath(params.args) : commandId === "whisper" ? resolveWhisperOutputPath(params.args, params.mediaPath) : null;
|
|
1054
1054
|
if (fileOutput && await fileExists(fileOutput)) try {
|
|
1055
|
-
const content = await
|
|
1055
|
+
const content = await fs$1.readFile(fileOutput, "utf8");
|
|
1056
1056
|
if (content.trim()) return content.trim();
|
|
1057
1057
|
} catch {}
|
|
1058
1058
|
if (commandId === "gemini") {
|
|
@@ -1343,7 +1343,7 @@ async function runCliEntry(params) {
|
|
|
1343
1343
|
maxBytes,
|
|
1344
1344
|
timeoutMs
|
|
1345
1345
|
});
|
|
1346
|
-
const outputDir = await
|
|
1346
|
+
const outputDir = await fs$1.mkdtemp(path.join(os.tmpdir(), "symi-media-cli-"));
|
|
1347
1347
|
const mediaPath = pathResult.path;
|
|
1348
1348
|
const outputBase = path.join(outputDir, path.parse(mediaPath).name);
|
|
1349
1349
|
const templCtx = {
|
|
@@ -1377,7 +1377,7 @@ async function runCliEntry(params) {
|
|
|
1377
1377
|
model: command
|
|
1378
1378
|
};
|
|
1379
1379
|
} finally {
|
|
1380
|
-
await
|
|
1380
|
+
await fs$1.rm(outputDir, {
|
|
1381
1381
|
recursive: true,
|
|
1382
1382
|
force: true
|
|
1383
1383
|
}).catch(() => {});
|
|
@@ -1421,9 +1421,9 @@ function candidateBinaryNames(name) {
|
|
|
1421
1421
|
}
|
|
1422
1422
|
async function isExecutable(filePath) {
|
|
1423
1423
|
try {
|
|
1424
|
-
if (!(await
|
|
1424
|
+
if (!(await fs$1.stat(filePath)).isFile()) return false;
|
|
1425
1425
|
if (process.platform === "win32") return true;
|
|
1426
|
-
await
|
|
1426
|
+
await fs$1.access(filePath, constants.X_OK);
|
|
1427
1427
|
return true;
|
|
1428
1428
|
} catch {
|
|
1429
1429
|
return false;
|
|
@@ -4,7 +4,7 @@ import { G as resolveSymiAgentDir, T as resolveApiKeyForProvider, c as normalize
|
|
|
4
4
|
import { t as normalizeChatType } from "./chat-type-DFDuk3FY.js";
|
|
5
5
|
import { _ as kindFromMime, d as detectMime, h as isAudioFileName, p as getFileExtension } from "./image-ops-ByaQt43P.js";
|
|
6
6
|
import { d as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, f as isInboundPathAllowed, m as resolveIMessageAttachmentRoots, n as loadConfig, p as mergeInboundPathRoots } from "./config-BmV60pPT.js";
|
|
7
|
-
import { S as ensureSymiModelsJson, t as describeImageWithModel } from "./image-
|
|
7
|
+
import { S as ensureSymiModelsJson, t as describeImageWithModel } from "./image-CHzdaNJ4.js";
|
|
8
8
|
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-CSlZZ1Pw.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-BheTNyes.js";
|
|
10
10
|
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-CC8jiKDk.js";
|
|
@@ -4,7 +4,7 @@ import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
|
|
|
4
4
|
import { _ as kindFromMime, d as detectMime, h as isAudioFileName, p as getFileExtension } from "./image-ops-CvJzsyvE.js";
|
|
5
5
|
import { A as normalizeProviderId, L as normalizeGoogleModelId, i as resolveApiKeyForProvider, r as requireApiKey, y as resolveSymiAgentDir } from "./model-auth-DK43VicI.js";
|
|
6
6
|
import { d as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, f as isInboundPathAllowed, m as resolveIMessageAttachmentRoots, n as loadConfig, p as mergeInboundPathRoots } from "./config-DRbjHIwD.js";
|
|
7
|
-
import { S as ensureSymiModelsJson, t as describeImageWithModel } from "./image-
|
|
7
|
+
import { S as ensureSymiModelsJson, t as describeImageWithModel } from "./image-B0wGflxA.js";
|
|
8
8
|
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-CdSPHuLl.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-DL3f_O53.js";
|
|
10
10
|
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-DMwIh5cS.js";
|
|
@@ -3,19 +3,19 @@ import { y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
|
3
3
|
import { l as resolveAgentIdFromSessionKey, s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { t as CHANNEL_IDS } from "./registry-Cja8eT7G.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
6
|
-
import { C as ensureAgentWorkspace, S as DEFAULT_USER_FILENAME, b as DEFAULT_SYMIPULSE_FILENAME, d as resolveSessionAgentId, g as DEFAULT_IDENTITY_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, m as DEFAULT_AGENT_WORKSPACE_DIR, p as DEFAULT_AGENTS_FILENAME, r as resolveAgentConfig, x as DEFAULT_TOOLS_FILENAME, y as DEFAULT_SYMICORE_FILENAME } from "./agent-scope-
|
|
6
|
+
import { C as ensureAgentWorkspace, S as DEFAULT_USER_FILENAME, b as DEFAULT_SYMIPULSE_FILENAME, d as resolveSessionAgentId, g as DEFAULT_IDENTITY_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, m as DEFAULT_AGENT_WORKSPACE_DIR, p as DEFAULT_AGENTS_FILENAME, r as resolveAgentConfig, x as DEFAULT_TOOLS_FILENAME, y as DEFAULT_SYMICORE_FILENAME } from "./agent-scope-CgUHAtCo.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
9
|
-
import { A as DEFAULT_SYMI_BROWSER_PROFILE_NAME, D as DEFAULT_BROWSER_EVALUATE_ENABLED, O as DEFAULT_SYMI_BROWSER_COLOR } from "./chrome-
|
|
8
|
+
import { i as loadConfig } from "./config-CHwyw6l5.js";
|
|
9
|
+
import { A as DEFAULT_SYMI_BROWSER_PROFILE_NAME, D as DEFAULT_BROWSER_EVALUATE_ENABLED, O as DEFAULT_SYMI_BROWSER_COLOR } from "./chrome-DtPkPq9T.js";
|
|
10
10
|
import { t as safeEqualSecret } from "./secret-equal-D7A3Bol7.js";
|
|
11
11
|
import { r as isLoopbackHost } from "./ws-C7EXRv8z.js";
|
|
12
|
-
import { a as resolveProfile, m as resolveBrowserControlAuth, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-
|
|
13
|
-
import { d as resolveSandboxInputPath, f as resolveSandboxPath, g as sanitizeEnvVars, o as syncSkillsToWorkspace } from "./skills-
|
|
14
|
-
import { t as registerBrowserRoutes } from "./routes-
|
|
15
|
-
import { B as resolveAgentMainSessionKey, J as acquireSessionWriteLock, z as canonicalizeMainSessionAlias } from "./sessions-
|
|
12
|
+
import { a as resolveProfile, m as resolveBrowserControlAuth, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-CEpFjqSk.js";
|
|
13
|
+
import { d as resolveSandboxInputPath, f as resolveSandboxPath, g as sanitizeEnvVars, o as syncSkillsToWorkspace } from "./skills-6jdJQ5ZL.js";
|
|
14
|
+
import { t as registerBrowserRoutes } from "./routes-Ba9CUQ8M.js";
|
|
15
|
+
import { B as resolveAgentMainSessionKey, J as acquireSessionWriteLock, z as canonicalizeMainSessionAlias } from "./sessions-DgYpBvse.js";
|
|
16
16
|
import { existsSync, realpathSync } from "node:fs";
|
|
17
17
|
import path, { posix } from "node:path";
|
|
18
|
-
import
|
|
18
|
+
import fs$1 from "node:fs/promises";
|
|
19
19
|
import { spawn } from "node:child_process";
|
|
20
20
|
import crypto from "node:crypto";
|
|
21
21
|
import express from "express";
|
|
@@ -769,7 +769,7 @@ async function withRegistryLock(registryPath, fn) {
|
|
|
769
769
|
}
|
|
770
770
|
async function readRegistryFromFile(registryPath, mode) {
|
|
771
771
|
try {
|
|
772
|
-
const raw = await
|
|
772
|
+
const raw = await fs$1.readFile(registryPath, "utf-8");
|
|
773
773
|
const parsed = JSON.parse(raw);
|
|
774
774
|
if (isRegistryFile(parsed)) return parsed;
|
|
775
775
|
if (mode === "fallback") return { entries: [] };
|
|
@@ -782,15 +782,15 @@ async function readRegistryFromFile(registryPath, mode) {
|
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
784
|
async function writeRegistryFile(registryPath, registry) {
|
|
785
|
-
await
|
|
785
|
+
await fs$1.mkdir(SANDBOX_STATE_DIR, { recursive: true });
|
|
786
786
|
const payload = `${JSON.stringify(registry, null, 2)}\n`;
|
|
787
787
|
const registryDir = path.dirname(registryPath);
|
|
788
788
|
const tempPath = path.join(registryDir, `${path.basename(registryPath)}.${crypto.randomUUID()}.tmp`);
|
|
789
|
-
await
|
|
789
|
+
await fs$1.writeFile(tempPath, payload, "utf-8");
|
|
790
790
|
try {
|
|
791
|
-
await
|
|
791
|
+
await fs$1.rename(tempPath, registryPath);
|
|
792
792
|
} catch (error) {
|
|
793
|
-
await
|
|
793
|
+
await fs$1.rm(tempPath, { force: true });
|
|
794
794
|
throw error;
|
|
795
795
|
}
|
|
796
796
|
}
|
|
@@ -2025,7 +2025,7 @@ function formatSandboxToolPolicyBlockedMessage(params) {
|
|
|
2025
2025
|
//#endregion
|
|
2026
2026
|
//#region src/agents/sandbox/workspace.ts
|
|
2027
2027
|
async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
|
|
2028
|
-
await
|
|
2028
|
+
await fs$1.mkdir(workspaceDir, { recursive: true });
|
|
2029
2029
|
if (seedFrom) {
|
|
2030
2030
|
const seed = resolveUserPath(seedFrom);
|
|
2031
2031
|
const files = [
|
|
@@ -2041,11 +2041,11 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
|
|
|
2041
2041
|
const src = path.join(seed, name);
|
|
2042
2042
|
const dest = path.join(workspaceDir, name);
|
|
2043
2043
|
try {
|
|
2044
|
-
await
|
|
2044
|
+
await fs$1.access(dest);
|
|
2045
2045
|
} catch {
|
|
2046
2046
|
try {
|
|
2047
|
-
const content = await
|
|
2048
|
-
await
|
|
2047
|
+
const content = await fs$1.readFile(src, "utf-8");
|
|
2048
|
+
await fs$1.writeFile(dest, content, {
|
|
2049
2049
|
encoding: "utf-8",
|
|
2050
2050
|
flag: "wx"
|
|
2051
2051
|
});
|
|
@@ -2080,7 +2080,7 @@ async function ensureSandboxWorkspaceLayout(params) {
|
|
|
2080
2080
|
const message = error instanceof Error ? error.message : JSON.stringify(error);
|
|
2081
2081
|
defaultRuntime.error?.(`Sandbox skill sync failed: ${message}`);
|
|
2082
2082
|
}
|
|
2083
|
-
} else await
|
|
2083
|
+
} else await fs$1.mkdir(workspaceDir, { recursive: true });
|
|
2084
2084
|
return {
|
|
2085
2085
|
agentWorkspaceDir,
|
|
2086
2086
|
scopeKey,
|
|
@@ -4,39 +4,39 @@ import { S as parseAgentSessionKey, c as normalizeMainKey, l as resolveAgentIdFr
|
|
|
4
4
|
import { c as normalizeAnyChannelId } from "./registry-Cja8eT7G.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
6
6
|
import "./exec-CWkblSrI.js";
|
|
7
|
-
import { r as resolveAgentConfig } from "./agent-scope-
|
|
8
|
-
import "./model-selection-
|
|
7
|
+
import { r as resolveAgentConfig } from "./agent-scope-CgUHAtCo.js";
|
|
8
|
+
import "./model-selection-CyFvYcRt.js";
|
|
9
9
|
import "./github-copilot-token-DAu1a6BX.js";
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
11
11
|
import "./boolean-BsqeuxE6.js";
|
|
12
12
|
import "./env-DPCHYPeH.js";
|
|
13
13
|
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-aT-I_DTX.js";
|
|
14
|
-
import { i as loadConfig } from "./config-
|
|
14
|
+
import { i as loadConfig } from "./config-CHwyw6l5.js";
|
|
15
15
|
import "./manifest-registry-C4BxOMWX.js";
|
|
16
|
-
import { f as resolveSandboxConfigForAgent, i as removeSandboxContainer, m as resolveSandboxToolPolicyForAgent, n as listSandboxContainers, r as removeSandboxBrowserContainer, t as listSandboxBrowsers } from "./sandbox-
|
|
17
|
-
import "./chrome-
|
|
16
|
+
import { f as resolveSandboxConfigForAgent, i as removeSandboxContainer, m as resolveSandboxToolPolicyForAgent, n as listSandboxContainers, r as removeSandboxBrowserContainer, t as listSandboxBrowsers } from "./sandbox-C-T6hOMv.js";
|
|
17
|
+
import "./chrome-DtPkPq9T.js";
|
|
18
18
|
import "./tailscale-D5dKabOc.js";
|
|
19
19
|
import "./auth-B741uFtk.js";
|
|
20
|
-
import "./server-context-
|
|
20
|
+
import "./server-context-CEpFjqSk.js";
|
|
21
21
|
import "./frontmatter-DWQhtOo7.js";
|
|
22
|
-
import "./skills-
|
|
23
|
-
import "./routes-
|
|
22
|
+
import "./skills-6jdJQ5ZL.js";
|
|
23
|
+
import "./routes-Ba9CUQ8M.js";
|
|
24
24
|
import "./redact-f-Q-hFt_.js";
|
|
25
25
|
import "./errors-BF3TeRH2.js";
|
|
26
|
-
import "./fs-safe-
|
|
27
|
-
import "./paths-
|
|
26
|
+
import "./fs-safe-CUjO1ca2.js";
|
|
27
|
+
import "./paths-BBm9fwuG.js";
|
|
28
28
|
import "./ssrf-BCYMnxkM.js";
|
|
29
|
-
import "./image-ops-
|
|
30
|
-
import "./store-
|
|
31
|
-
import "./ports-
|
|
29
|
+
import "./image-ops-1OJMSAUX.js";
|
|
30
|
+
import "./store-r1DJSDq-.js";
|
|
31
|
+
import "./ports-BOmtxoTv.js";
|
|
32
32
|
import "./trash-DcMh1i4B.js";
|
|
33
|
-
import { B as resolveAgentMainSessionKey, H as resolveMainSessionKey, o as loadSessionStore } from "./sessions-
|
|
34
|
-
import "./dock-
|
|
35
|
-
import "./plugins-
|
|
36
|
-
import "./accounts-
|
|
37
|
-
import "./accounts-
|
|
38
|
-
import "./accounts-
|
|
39
|
-
import "./bindings-
|
|
33
|
+
import { B as resolveAgentMainSessionKey, H as resolveMainSessionKey, o as loadSessionStore } from "./sessions-DgYpBvse.js";
|
|
34
|
+
import "./dock-BhS32F6E.js";
|
|
35
|
+
import "./plugins-DKDeQZF0.js";
|
|
36
|
+
import "./accounts-DDuIpcln.js";
|
|
37
|
+
import "./accounts-bK-Yqdwx.js";
|
|
38
|
+
import "./accounts-DyJN4_vR.js";
|
|
39
|
+
import "./bindings-DFaVVCsf.js";
|
|
40
40
|
import "./logging-w5jq5901.js";
|
|
41
41
|
import { c as resolveStorePath } from "./paths-CyhzMxFA.js";
|
|
42
42
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
@@ -4,61 +4,61 @@ import { s as normalizeAgentId } from "./session-key-DCt45XZa.js";
|
|
|
4
4
|
import "./registry-Cja8eT7G.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
6
6
|
import { n as runExec } from "./exec-CWkblSrI.js";
|
|
7
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
8
|
-
import "./model-selection-
|
|
7
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-CgUHAtCo.js";
|
|
8
|
+
import "./model-selection-CyFvYcRt.js";
|
|
9
9
|
import "./github-copilot-token-DAu1a6BX.js";
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
11
11
|
import "./boolean-BsqeuxE6.js";
|
|
12
12
|
import "./env-DPCHYPeH.js";
|
|
13
13
|
import "./message-channel-aT-I_DTX.js";
|
|
14
|
-
import { i as loadConfig, r as createConfigIO } from "./config-
|
|
14
|
+
import { i as loadConfig, r as createConfigIO } from "./config-CHwyw6l5.js";
|
|
15
15
|
import "./manifest-registry-C4BxOMWX.js";
|
|
16
|
-
import "./sandbox-
|
|
17
|
-
import "./chrome-
|
|
16
|
+
import "./sandbox-C-T6hOMv.js";
|
|
17
|
+
import "./chrome-DtPkPq9T.js";
|
|
18
18
|
import "./tailscale-D5dKabOc.js";
|
|
19
19
|
import "./auth-B741uFtk.js";
|
|
20
|
-
import "./server-context-
|
|
20
|
+
import "./server-context-CEpFjqSk.js";
|
|
21
21
|
import "./frontmatter-DWQhtOo7.js";
|
|
22
|
-
import "./skills-
|
|
23
|
-
import "./routes-
|
|
22
|
+
import "./skills-6jdJQ5ZL.js";
|
|
23
|
+
import "./routes-Ba9CUQ8M.js";
|
|
24
24
|
import "./redact-f-Q-hFt_.js";
|
|
25
25
|
import "./errors-BF3TeRH2.js";
|
|
26
|
-
import "./fs-safe-
|
|
27
|
-
import "./paths-
|
|
26
|
+
import "./fs-safe-CUjO1ca2.js";
|
|
27
|
+
import "./paths-BBm9fwuG.js";
|
|
28
28
|
import "./ssrf-BCYMnxkM.js";
|
|
29
|
-
import "./image-ops-
|
|
30
|
-
import "./store-
|
|
31
|
-
import "./ports-
|
|
29
|
+
import "./image-ops-1OJMSAUX.js";
|
|
30
|
+
import "./store-r1DJSDq-.js";
|
|
31
|
+
import "./ports-BOmtxoTv.js";
|
|
32
32
|
import "./trash-DcMh1i4B.js";
|
|
33
|
-
import "./sessions-
|
|
34
|
-
import "./dock-
|
|
35
|
-
import "./plugins-
|
|
36
|
-
import "./accounts-
|
|
37
|
-
import "./accounts-
|
|
38
|
-
import "./accounts-
|
|
39
|
-
import "./bindings-
|
|
33
|
+
import "./sessions-DgYpBvse.js";
|
|
34
|
+
import "./dock-BhS32F6E.js";
|
|
35
|
+
import "./plugins-DKDeQZF0.js";
|
|
36
|
+
import "./accounts-DDuIpcln.js";
|
|
37
|
+
import "./accounts-bK-Yqdwx.js";
|
|
38
|
+
import "./accounts-DyJN4_vR.js";
|
|
39
|
+
import "./bindings-DFaVVCsf.js";
|
|
40
40
|
import "./logging-w5jq5901.js";
|
|
41
41
|
import "./paths-CyhzMxFA.js";
|
|
42
|
-
import "./commands-
|
|
43
|
-
import "./client-
|
|
44
|
-
import "./call-
|
|
45
|
-
import "./pairing-token-
|
|
46
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
42
|
+
import "./commands-BNLCWX6e.js";
|
|
43
|
+
import "./client-CQSyCS4M.js";
|
|
44
|
+
import "./call-CJaS1iRF.js";
|
|
45
|
+
import "./pairing-token-CX3NN_qj.js";
|
|
46
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-CK726Dzq.js";
|
|
47
47
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
48
48
|
import { t as formatHelpExamples } from "./help-format-B_-M23wP.js";
|
|
49
|
-
import "./workspace-dirs-
|
|
50
|
-
import "./pi-tools.policy-
|
|
49
|
+
import "./workspace-dirs-GpkFi6Kw.js";
|
|
50
|
+
import "./pi-tools.policy-CIDBbw6x.js";
|
|
51
51
|
import "./dangerous-tools-BL-M3lPt.js";
|
|
52
|
-
import "./skill-scanner-
|
|
53
|
-
import { i as collectIncludePathsRecursive, n as createIcaclsResetCommand, r as formatIcaclsResetCommand, t as runSecurityAudit } from "./audit-
|
|
54
|
-
import "./dm-policy-shared-
|
|
52
|
+
import "./skill-scanner-CLs8u6vQ.js";
|
|
53
|
+
import { i as collectIncludePathsRecursive, n as createIcaclsResetCommand, r as formatIcaclsResetCommand, t as runSecurityAudit } from "./audit-CrITRV6w.js";
|
|
54
|
+
import "./dm-policy-shared-Bh3TbexU.js";
|
|
55
55
|
import path from "node:path";
|
|
56
|
-
import
|
|
56
|
+
import fs from "node:fs/promises";
|
|
57
57
|
|
|
58
58
|
//#region src/security/fix.ts
|
|
59
59
|
async function safeChmod(params) {
|
|
60
60
|
try {
|
|
61
|
-
const st = await
|
|
61
|
+
const st = await fs.lstat(params.path);
|
|
62
62
|
if (st.isSymbolicLink()) return {
|
|
63
63
|
kind: "chmod",
|
|
64
64
|
path: params.path,
|
|
@@ -87,7 +87,7 @@ async function safeChmod(params) {
|
|
|
87
87
|
ok: false,
|
|
88
88
|
skipped: "already"
|
|
89
89
|
};
|
|
90
|
-
await
|
|
90
|
+
await fs.chmod(params.path, params.mode);
|
|
91
91
|
return {
|
|
92
92
|
kind: "chmod",
|
|
93
93
|
path: params.path,
|
|
@@ -117,7 +117,7 @@ async function safeAclReset(params) {
|
|
|
117
117
|
env: params.env
|
|
118
118
|
});
|
|
119
119
|
try {
|
|
120
|
-
const st = await
|
|
120
|
+
const st = await fs.lstat(params.path);
|
|
121
121
|
if (st.isSymbolicLink()) return {
|
|
122
122
|
kind: "icacls",
|
|
123
123
|
path: params.path,
|
|
@@ -256,7 +256,7 @@ async function chmodCredentialsAndAgentState(params) {
|
|
|
256
256
|
mode: 448,
|
|
257
257
|
require: "dir"
|
|
258
258
|
}));
|
|
259
|
-
const credsEntries = await
|
|
259
|
+
const credsEntries = await fs.readdir(credsDir, { withFileTypes: true }).catch(() => []);
|
|
260
260
|
for (const entry of credsEntries) {
|
|
261
261
|
if (!entry.isFile()) continue;
|
|
262
262
|
if (!entry.name.endsWith(".json")) continue;
|
|
@@ -307,7 +307,7 @@ async function chmodCredentialsAndAgentState(params) {
|
|
|
307
307
|
mode: 384,
|
|
308
308
|
require: "file"
|
|
309
309
|
}));
|
|
310
|
-
const sessionEntries = await
|
|
310
|
+
const sessionEntries = await fs.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
|
|
311
311
|
for (const entry of sessionEntries) {
|
|
312
312
|
if (!entry.isFile()) continue;
|
|
313
313
|
if (!entry.name.endsWith(".jsonl")) continue;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { M as logVerbose } from "./utils-B-0b9bGM.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
4
|
-
import { f as resolveSlackAccount, h as resolveSlackBotToken } from "./plugins-
|
|
3
|
+
import { i as loadConfig } from "./config-CHwyw6l5.js";
|
|
4
|
+
import { f as resolveSlackAccount, h as resolveSlackBotToken } from "./plugins-DKDeQZF0.js";
|
|
5
5
|
import { a as requireTargetKind, i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-bG1Q8FzV.js";
|
|
6
6
|
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-1dhPX1NK.js";
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CEbN0fEm.js";
|
|
8
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-DZam9q5M.js";
|
|
9
9
|
import { t as renderMarkdownWithMarkers } from "./render-CXDO_kgw.js";
|
|
10
10
|
import { WebClient } from "@slack/web-api";
|
|
11
11
|
|