@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,8 +1,8 @@
|
|
|
1
1
|
import { d as isRecord } from "./utils-B-0b9bGM.js";
|
|
2
|
-
import { A as resolveImplicitProviders, D as normalizeProviders, Ft as resolveSymiAgentDir, O as resolveImplicitBedrockProvider, k as resolveImplicitCopilotProvider } from "./model-selection-
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
2
|
+
import { A as resolveImplicitProviders, D as normalizeProviders, Ft as resolveSymiAgentDir, O as resolveImplicitBedrockProvider, k as resolveImplicitCopilotProvider } from "./model-selection-CyFvYcRt.js";
|
|
3
|
+
import { i as loadConfig } from "./config-CHwyw6l5.js";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fs from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/models-config.ts
|
|
8
8
|
const DEFAULT_MODE = "merge";
|
|
@@ -44,7 +44,7 @@ function mergeProviders(params) {
|
|
|
44
44
|
}
|
|
45
45
|
async function readJson(pathname) {
|
|
46
46
|
try {
|
|
47
|
-
const raw = await
|
|
47
|
+
const raw = await fs.readFile(pathname, "utf8");
|
|
48
48
|
return JSON.parse(raw);
|
|
49
49
|
} catch {
|
|
50
50
|
return null;
|
|
@@ -92,7 +92,7 @@ async function ensureSymiModelsJson(config, agentDirOverride) {
|
|
|
92
92
|
});
|
|
93
93
|
const next = `${JSON.stringify({ providers: normalizedProviders }, null, 2)}\n`;
|
|
94
94
|
try {
|
|
95
|
-
existingRaw = await
|
|
95
|
+
existingRaw = await fs.readFile(targetPath, "utf8");
|
|
96
96
|
} catch {
|
|
97
97
|
existingRaw = "";
|
|
98
98
|
}
|
|
@@ -100,11 +100,11 @@ async function ensureSymiModelsJson(config, agentDirOverride) {
|
|
|
100
100
|
agentDir,
|
|
101
101
|
wrote: false
|
|
102
102
|
};
|
|
103
|
-
await
|
|
103
|
+
await fs.mkdir(agentDir, {
|
|
104
104
|
recursive: true,
|
|
105
105
|
mode: 448
|
|
106
106
|
});
|
|
107
|
-
await
|
|
107
|
+
await fs.writeFile(targetPath, next, { mode: 384 });
|
|
108
108
|
return {
|
|
109
109
|
agentDir,
|
|
110
110
|
wrote: true
|
|
@@ -3,51 +3,51 @@ import { B as theme, R as colorize } 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 { r as resolveAgentConfig } from "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
6
|
+
import { r as resolveAgentConfig } from "./agent-scope-CgUHAtCo.js";
|
|
7
|
+
import "./model-selection-CyFvYcRt.js";
|
|
8
8
|
import "./github-copilot-token-DAu1a6BX.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
10
10
|
import "./boolean-BsqeuxE6.js";
|
|
11
11
|
import "./env-DPCHYPeH.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-aT-I_DTX.js";
|
|
13
|
-
import { H as VERSION, i as loadConfig } from "./config-
|
|
13
|
+
import { H as VERSION, i as loadConfig } from "./config-CHwyw6l5.js";
|
|
14
14
|
import { _ as sanitizeHostExecEnv } from "./manifest-registry-C4BxOMWX.js";
|
|
15
|
-
import "./chrome-
|
|
15
|
+
import "./chrome-DtPkPq9T.js";
|
|
16
16
|
import "./tailscale-D5dKabOc.js";
|
|
17
17
|
import "./auth-B741uFtk.js";
|
|
18
|
-
import { i as resolveBrowserConfig } from "./server-context-
|
|
19
|
-
import "./routes-
|
|
18
|
+
import { i as resolveBrowserConfig } from "./server-context-CEpFjqSk.js";
|
|
19
|
+
import "./routes-Ba9CUQ8M.js";
|
|
20
20
|
import "./redact-f-Q-hFt_.js";
|
|
21
21
|
import "./errors-BF3TeRH2.js";
|
|
22
|
-
import "./fs-safe-
|
|
23
|
-
import "./paths-
|
|
22
|
+
import "./fs-safe-CUjO1ca2.js";
|
|
23
|
+
import "./paths-BBm9fwuG.js";
|
|
24
24
|
import "./ssrf-BCYMnxkM.js";
|
|
25
|
-
import { c as detectMime } from "./image-ops-
|
|
26
|
-
import "./store-
|
|
27
|
-
import "./ports-
|
|
25
|
+
import { c as detectMime } from "./image-ops-1OJMSAUX.js";
|
|
26
|
+
import "./store-r1DJSDq-.js";
|
|
27
|
+
import "./ports-BOmtxoTv.js";
|
|
28
28
|
import "./trash-DcMh1i4B.js";
|
|
29
29
|
import "./logging-w5jq5901.js";
|
|
30
|
-
import { n as createBrowserRouteDispatcher, r as getMachineDisplayName, t as withTimeout } from "./with-timeout-
|
|
31
|
-
import { Xt as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-
|
|
32
|
-
import "./pairing-token-
|
|
30
|
+
import { n as createBrowserRouteDispatcher, r as getMachineDisplayName, t as withTimeout } from "./with-timeout-gmK6RciS.js";
|
|
31
|
+
import { Xt as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-CQSyCS4M.js";
|
|
32
|
+
import "./pairing-token-CX3NN_qj.js";
|
|
33
33
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
34
34
|
import { t as formatHelpExamples } from "./help-format-B_-M23wP.js";
|
|
35
35
|
import { _ as getTrustedSafeBinDirs, a as mergeExecApprovalsSocketDefaults, c as readExecApprovalsSnapshot, d as resolveExecApprovals, g as resolveSafeBins, h as evaluateShellAllowlist, l as recordAllowlistUse, m as evaluateExecAllowlist, n as addAllowlistEntry, p as saveExecApprovals, r as ensureExecApprovals, s as normalizeExecApprovals, u as requiresExecApproval, v as analyzeArgvCommand, x as requestJsonlSocket } from "./exec-approvals-Kn31mBcW.js";
|
|
36
|
-
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-
|
|
36
|
+
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-Bz7rxLWq.js";
|
|
37
37
|
import { g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, m as resolveNodeLaunchAgentLabel, s as formatNodeServiceDescription } from "./constants-C8_BLnaW.js";
|
|
38
38
|
import { t as ensureSymiCliOnPath } from "./path-env-MnzRq6nD.js";
|
|
39
39
|
import "./runtime-guard-B37eizu-.js";
|
|
40
|
-
import { c as buildNodeServiceEnvironment, g as resolveNodeProgramArguments, o as resolveGatewayDevMode, p as resolvePreferredNodePath, r as isGatewayDaemonRuntime, s as emitNodeRuntimeWarning, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime
|
|
41
|
-
import "./systemd-
|
|
42
|
-
import { s as resolveGatewayLogPaths } from "./service
|
|
43
|
-
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-
|
|
44
|
-
import { s as formatRuntimeStatus } from "./systemd-hints-
|
|
40
|
+
import { c as buildNodeServiceEnvironment, g as resolveNodeProgramArguments, o as resolveGatewayDevMode, p as resolvePreferredNodePath, r as isGatewayDaemonRuntime, s as emitNodeRuntimeWarning, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-2mwX-jqj.js";
|
|
41
|
+
import "./systemd-riq8uNJQ.js";
|
|
42
|
+
import { s as resolveGatewayLogPaths } from "./service-Cl74hx8J.js";
|
|
43
|
+
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-D6LYXpFj.js";
|
|
44
|
+
import { s as formatRuntimeStatus } from "./systemd-hints-BR6gChwm.js";
|
|
45
45
|
import { t as parsePort } from "./parse-port-Vm8F7Kus.js";
|
|
46
|
-
import { t as resolveNodeService } from "./node-service-
|
|
46
|
+
import { t as resolveNodeService } from "./node-service-Cxz4e-Qd.js";
|
|
47
47
|
import { t as resolveSystemRunCommand } from "./system-run-command-ByVa3txU.js";
|
|
48
48
|
import fs from "node:fs";
|
|
49
49
|
import path from "node:path";
|
|
50
|
-
import
|
|
50
|
+
import fs$1 from "node:fs/promises";
|
|
51
51
|
import { spawn } from "node:child_process";
|
|
52
52
|
import crypto from "node:crypto";
|
|
53
53
|
|
|
@@ -71,7 +71,7 @@ function normalizeConfig(config) {
|
|
|
71
71
|
async function loadNodeHostConfig() {
|
|
72
72
|
const filePath = resolveNodeHostConfigPath();
|
|
73
73
|
try {
|
|
74
|
-
const raw = await
|
|
74
|
+
const raw = await fs$1.readFile(filePath, "utf8");
|
|
75
75
|
return normalizeConfig(JSON.parse(raw));
|
|
76
76
|
} catch {
|
|
77
77
|
return null;
|
|
@@ -79,11 +79,11 @@ async function loadNodeHostConfig() {
|
|
|
79
79
|
}
|
|
80
80
|
async function saveNodeHostConfig(config) {
|
|
81
81
|
const filePath = resolveNodeHostConfigPath();
|
|
82
|
-
await
|
|
82
|
+
await fs$1.mkdir(path.dirname(filePath), { recursive: true });
|
|
83
83
|
const payload = JSON.stringify(config, null, 2);
|
|
84
|
-
await
|
|
84
|
+
await fs$1.writeFile(filePath, `${payload}\n`, { mode: 384 });
|
|
85
85
|
try {
|
|
86
|
-
await
|
|
86
|
+
await fs$1.chmod(filePath, 384);
|
|
87
87
|
} catch {}
|
|
88
88
|
}
|
|
89
89
|
async function ensureNodeHostConfig() {
|
|
@@ -173,10 +173,10 @@ function collectBrowserProxyPaths(payload) {
|
|
|
173
173
|
return [...paths];
|
|
174
174
|
}
|
|
175
175
|
async function readBrowserProxyFile(filePath) {
|
|
176
|
-
const stat = await
|
|
176
|
+
const stat = await fs$1.stat(filePath).catch(() => null);
|
|
177
177
|
if (!stat || !stat.isFile()) return null;
|
|
178
178
|
if (stat.size > BROWSER_PROXY_MAX_FILE_BYTES) throw new Error(`browser proxy file exceeds ${Math.round(BROWSER_PROXY_MAX_FILE_BYTES / (1024 * 1024))}MB`);
|
|
179
|
-
const buffer = await
|
|
179
|
+
const buffer = await fs$1.readFile(filePath);
|
|
180
180
|
const mimeType = await detectMime({
|
|
181
181
|
buffer,
|
|
182
182
|
filePath
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as NODE_SERVICE_MARKER, g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, i as NODE_SERVICE_KIND, m as resolveNodeLaunchAgentLabel, o as NODE_WINDOWS_TASK_SCRIPT_NAME } from "./constants-C8_BLnaW.js";
|
|
2
|
-
import { t as resolveGatewayService } from "./service
|
|
2
|
+
import { t as resolveGatewayService } from "./service-Cl74hx8J.js";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/node-service.ts
|
|
5
5
|
function withNodeServiceEnv(env) {
|
|
@@ -3,31 +3,31 @@ import { B as theme, S as shortenHomePath, x as shortenHomeInString, z as isRich
|
|
|
3
3
|
import "./registry-Cja8eT7G.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
5
5
|
import "./exec-CWkblSrI.js";
|
|
6
|
-
import { l as resolveDefaultAgentId, r as resolveAgentConfig } from "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
6
|
+
import { l as resolveDefaultAgentId, r as resolveAgentConfig } from "./agent-scope-CgUHAtCo.js";
|
|
7
|
+
import "./model-selection-CyFvYcRt.js";
|
|
8
8
|
import "./github-copilot-token-DAu1a6BX.js";
|
|
9
9
|
import "./boolean-BsqeuxE6.js";
|
|
10
10
|
import "./env-DPCHYPeH.js";
|
|
11
11
|
import "./message-channel-aT-I_DTX.js";
|
|
12
|
-
import { C as parseDurationMs, i as loadConfig } from "./config-
|
|
12
|
+
import { C as parseDurationMs, i as loadConfig } from "./config-CHwyw6l5.js";
|
|
13
13
|
import "./manifest-registry-C4BxOMWX.js";
|
|
14
14
|
import "./redact-f-Q-hFt_.js";
|
|
15
15
|
import "./errors-BF3TeRH2.js";
|
|
16
|
-
import "./client-
|
|
17
|
-
import { a as randomIdempotencyKey } from "./call-
|
|
18
|
-
import "./pairing-token-
|
|
16
|
+
import "./client-CQSyCS4M.js";
|
|
17
|
+
import { a as randomIdempotencyKey } from "./call-CJaS1iRF.js";
|
|
18
|
+
import "./pairing-token-CX3NN_qj.js";
|
|
19
19
|
import { n as formatTimeAgo } from "./format-relative-BXoxEQVN.js";
|
|
20
20
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
21
21
|
import { n as runCommandWithRuntime } from "./cli-utils-DN_hM6ov.js";
|
|
22
22
|
import { t as formatHelpExamples } from "./help-format-B_-M23wP.js";
|
|
23
23
|
import "./progress-jIePzvGA.js";
|
|
24
24
|
import { f as resolveExecApprovalsFromFile, i as maxAsk, o as minSecurity, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-Kn31mBcW.js";
|
|
25
|
-
import { a as canvasSnapshotTempPath, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeUrlToFile, i as parseEnvPairs, l as parseCameraSnapPayload, m as applyPathPrepend, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as buildNodeShellCommand, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile } from "./nodes-screen-
|
|
25
|
+
import { a as canvasSnapshotTempPath, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeUrlToFile, i as parseEnvPairs, l as parseCameraSnapPayload, m as applyPathPrepend, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as buildNodeShellCommand, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile } from "./nodes-screen-VBGXKdLk.js";
|
|
26
26
|
import { n as parseNodeList, r as parsePairingList } from "./node-match-CN8o4Vi3.js";
|
|
27
27
|
import { t as parseTimeoutMs } from "./parse-timeout-C385GCpE.js";
|
|
28
28
|
import { t as renderTable } from "./table-BTgkRafz.js";
|
|
29
|
-
import { a as unauthorizedHintForMessage, i as resolveNodeId, n as callGatewayCli, o as formatPermissions, r as nodesCallOpts, t as buildNodeInvokeParams } from "./rpc-
|
|
30
|
-
import
|
|
29
|
+
import { a as unauthorizedHintForMessage, i as resolveNodeId, n as callGatewayCli, o as formatPermissions, r as nodesCallOpts, t as buildNodeInvokeParams } from "./rpc-BfhojW8g.js";
|
|
30
|
+
import fs from "node:fs/promises";
|
|
31
31
|
|
|
32
32
|
//#region src/cli/nodes-cli/cli-utils.ts
|
|
33
33
|
function getNodesTheme() {
|
|
@@ -369,7 +369,7 @@ function registerNodesCanvasCommands(nodes) {
|
|
|
369
369
|
const hasJsonl = Boolean(opts.jsonl);
|
|
370
370
|
const hasText = typeof opts.text === "string";
|
|
371
371
|
if (hasJsonl === hasText) throw new Error("provide exactly one of --jsonl or --text");
|
|
372
|
-
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await
|
|
372
|
+
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await fs.readFile(String(opts.jsonl), "utf8");
|
|
373
373
|
const { version, messageCount } = validateA2UIJsonl(jsonl);
|
|
374
374
|
if (version === "v0.9") throw new Error("Detected A2UI v0.9 JSONL (createSurface). Symi currently supports v0.8 only.");
|
|
375
375
|
await invokeCanvas(opts, "canvas.a2ui.pushJSONL", { jsonl });
|
|
@@ -3,7 +3,7 @@ import { r as resolveCliName } from "./command-format-COaS-S7B.js";
|
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import * as fs$
|
|
6
|
+
import * as fs$2 from "node:fs/promises";
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
8
8
|
|
|
9
9
|
//#region src/infra/path-prepend.ts
|
|
@@ -138,7 +138,7 @@ async function writeUrlToFile(filePath, url) {
|
|
|
138
138
|
if (typeof contentLength === "number" && Number.isFinite(contentLength) && contentLength > MAX_CAMERA_URL_DOWNLOAD_BYTES) throw new Error(`writeUrlToFile: content-length ${contentLength} exceeds max ${MAX_CAMERA_URL_DOWNLOAD_BYTES}`);
|
|
139
139
|
const body = res.body;
|
|
140
140
|
if (!body) throw new Error(`failed to download ${url}: empty response body`);
|
|
141
|
-
const fileHandle = await fs$
|
|
141
|
+
const fileHandle = await fs$2.open(filePath, "w");
|
|
142
142
|
let bytes = 0;
|
|
143
143
|
let thrown;
|
|
144
144
|
try {
|
|
@@ -157,7 +157,7 @@ async function writeUrlToFile(filePath, url) {
|
|
|
157
157
|
await fileHandle.close();
|
|
158
158
|
}
|
|
159
159
|
if (thrown) {
|
|
160
|
-
await fs$
|
|
160
|
+
await fs$2.unlink(filePath).catch(() => {});
|
|
161
161
|
throw thrown;
|
|
162
162
|
}
|
|
163
163
|
return {
|
|
@@ -167,7 +167,7 @@ async function writeUrlToFile(filePath, url) {
|
|
|
167
167
|
}
|
|
168
168
|
async function writeBase64ToFile(filePath, base64) {
|
|
169
169
|
const buf = Buffer.from(base64, "base64");
|
|
170
|
-
await fs$
|
|
170
|
+
await fs$2.writeFile(filePath, buf);
|
|
171
171
|
return {
|
|
172
172
|
path: filePath,
|
|
173
173
|
bytes: buf.length
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CWkblSrI.js";
|
|
3
|
-
import { c as resolveArchiveKind, o as fileExists } from "./install-safe-path-
|
|
3
|
+
import { c as resolveArchiveKind, o as fileExists } from "./install-safe-path-tCLiMpmO.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fs from "node:fs/promises";
|
|
7
7
|
|
|
8
8
|
//#region src/infra/install-package-dir.ts
|
|
9
9
|
async function installPackageDir(params) {
|
|
@@ -11,18 +11,18 @@ async function installPackageDir(params) {
|
|
|
11
11
|
let backupDir = null;
|
|
12
12
|
if (params.mode === "update" && await fileExists(params.targetDir)) {
|
|
13
13
|
backupDir = `${params.targetDir}.backup-${Date.now()}`;
|
|
14
|
-
await
|
|
14
|
+
await fs.rename(params.targetDir, backupDir);
|
|
15
15
|
}
|
|
16
16
|
const rollback = async () => {
|
|
17
17
|
if (!backupDir) return;
|
|
18
|
-
await
|
|
18
|
+
await fs.rm(params.targetDir, {
|
|
19
19
|
recursive: true,
|
|
20
20
|
force: true
|
|
21
21
|
}).catch(() => void 0);
|
|
22
|
-
await
|
|
22
|
+
await fs.rename(backupDir, params.targetDir).catch(() => void 0);
|
|
23
23
|
};
|
|
24
24
|
try {
|
|
25
|
-
await
|
|
25
|
+
await fs.cp(params.sourceDir, params.targetDir, { recursive: true });
|
|
26
26
|
} catch (err) {
|
|
27
27
|
await rollback();
|
|
28
28
|
return {
|
|
@@ -59,7 +59,7 @@ async function installPackageDir(params) {
|
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
if (backupDir) await
|
|
62
|
+
if (backupDir) await fs.rm(backupDir, {
|
|
63
63
|
recursive: true,
|
|
64
64
|
force: true
|
|
65
65
|
}).catch(() => void 0);
|
|
@@ -69,11 +69,11 @@ async function installPackageDir(params) {
|
|
|
69
69
|
//#endregion
|
|
70
70
|
//#region src/infra/install-source-utils.ts
|
|
71
71
|
async function withTempDir(prefix, fn) {
|
|
72
|
-
const tmpDir = await
|
|
72
|
+
const tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
73
73
|
try {
|
|
74
74
|
return await fn(tmpDir);
|
|
75
75
|
} finally {
|
|
76
|
-
await
|
|
76
|
+
await fs.rm(tmpDir, {
|
|
77
77
|
recursive: true,
|
|
78
78
|
force: true
|
|
79
79
|
}).catch(() => void 0);
|
|
@@ -9,8 +9,8 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
|
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-D7waq_Ho.js";
|
|
10
10
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DlMdyFDY.js";
|
|
11
11
|
import { t as resolveGatewayService } from "./service-Cm9j9WzQ.js";
|
|
12
|
-
import { r as healthCommand } from "./health-
|
|
13
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
12
|
+
import { r as healthCommand } from "./health-Bst5HnLF.js";
|
|
13
|
+
import { t as runOnboardingWizard } from "./onboarding-DWs6tHZ9.js";
|
|
14
14
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-Cmrk2TPo.js";
|
|
15
15
|
import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
|
|
16
16
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-BKXTgyr4.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { S as shortenHomePath, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import { f as defaultRuntime, p as restoreTerminalState } from "./subsystem-D9vIQve0.js";
|
|
4
|
-
import { At as ensureAuthProfileStore, Bt as normalizeSecretInput, Ot as upsertAuthProfile, Y as resolveEnvApiKey, ft as resolveAuthProfileOrder, l as normalizeProviderId, vt as resolveApiKeyForProfile, zt as normalizeOptionalSecretInput } from "./model-selection-
|
|
4
|
+
import { At as ensureAuthProfileStore, Bt as normalizeSecretInput, Ot as upsertAuthProfile, Y as resolveEnvApiKey, ft as resolveAuthProfileOrder, l as normalizeProviderId, vt as resolveApiKeyForProfile, zt as normalizeOptionalSecretInput } from "./model-selection-CyFvYcRt.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
6
|
-
import { C as parseDurationMs, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
7
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE } from "./onboard-helpers-
|
|
6
|
+
import { C as parseDurationMs, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-CHwyw6l5.js";
|
|
7
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE } from "./onboard-helpers-ZmZYzlq3.js";
|
|
8
8
|
import { t as assertSupportedRuntime } from "./runtime-guard-B37eizu-.js";
|
|
9
9
|
import { t as WizardCancelledError } from "./prompts-Xu2Sveka.js";
|
|
10
10
|
import { t as createClackPrompter } from "./clack-prompter-B7pN13HV.js";
|
|
11
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime
|
|
12
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
13
|
-
import { t as resolveGatewayService } from "./service
|
|
14
|
-
import { r as healthCommand } from "./health-
|
|
15
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
16
|
-
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-
|
|
11
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-2mwX-jqj.js";
|
|
12
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-riq8uNJQ.js";
|
|
13
|
+
import { t as resolveGatewayService } from "./service-Cl74hx8J.js";
|
|
14
|
+
import { r as healthCommand } from "./health-CypF_2ZD.js";
|
|
15
|
+
import { t as runOnboardingWizard } from "./onboarding-CXWUjdM5.js";
|
|
16
|
+
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-BnOynwk4.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-BzzwiKjv.js";
|
|
18
18
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-Ch38-Kbr.js";
|
|
19
|
-
import { a as detectZaiEndpoint, i as upsertSharedEnvVar, n as applyOpenAIConfig, s as applyGoogleGeminiModelDefault } from "./openai-model-default-
|
|
20
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
21
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
22
|
-
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-
|
|
19
|
+
import { a as detectZaiEndpoint, i as upsertSharedEnvVar, n as applyOpenAIConfig, s as applyGoogleGeminiModelDefault } from "./openai-model-default-DMjQRsb1.js";
|
|
20
|
+
import { r as applyPrimaryModel } from "./model-picker-Ddo3jHe-.js";
|
|
21
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-aQ75ZlXY.js";
|
|
22
|
+
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-C7O-zfQ1.js";
|
|
23
23
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-DPPsiC8t.js";
|
|
24
24
|
|
|
25
25
|
//#region src/commands/onboard-provider-auth-flags.ts
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { _t as createPluginLoaderLogger, vt as loadSymiPlugins } from "./reply-
|
|
2
|
+
import { _t as createPluginLoaderLogger, vt as loadSymiPlugins } from "./reply-Ca3slrA3.js";
|
|
3
3
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { a as formatChannelSelectionLine, i as formatChannelPrimerLine, s as listChatChannels } from "./registry-Cja8eT7G.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
6
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
6
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CgUHAtCo.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
8
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
8
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DKDeQZF0.js";
|
|
9
9
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
10
10
|
import { r as listChannelPluginCatalogEntries } from "./catalog-RiADx7MA.js";
|
|
11
11
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BcGbMZD1.js";
|
|
12
|
-
import { n as isChannelConfigured } from "./plugin-auto-enable-
|
|
12
|
+
import { n as isChannelConfigured } from "./plugin-auto-enable-BzX1uAKy.js";
|
|
13
13
|
import { t as enablePluginInConfig } from "./enable-HSYin9n7.js";
|
|
14
|
-
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-
|
|
14
|
+
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-C1Cebk97.js";
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
import path from "node:path";
|
|
17
17
|
|
|
@@ -3,7 +3,7 @@ import { E as formatChannelSelectionLine, O as listChatChannels, T as formatChan
|
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-BtYOfWxC.js";
|
|
4
4
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DjZ7Z1hW.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-D-jRCY0d.js";
|
|
6
|
-
import { b as loadSymiPlugins, y as createPluginLoaderLogger } from "./subagent-registry-
|
|
6
|
+
import { b as loadSymiPlugins, y as createPluginLoaderLogger } from "./subagent-registry-CbTbJKLs.js";
|
|
7
7
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-CwSlLxM8.js";
|
|
8
8
|
import { t as formatDocsLink } from "./links-DlWpl9Yv.js";
|
|
9
9
|
import { r as listChannelPluginCatalogEntries } from "./catalog-DLQFKucJ.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Kt as DEFAULT_PROVIDER, r as buildModelAliasIndex, s as modelKey } from "./model-selection-
|
|
2
|
+
import { Kt as DEFAULT_PROVIDER, r as buildModelAliasIndex, s as modelKey } from "./model-selection-CyFvYcRt.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-Db3da8yR.js";
|
|
4
|
-
import { c as normalizeAlias } from "./shared-
|
|
5
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
4
|
+
import { c as normalizeAlias } from "./shared-Knv1hy6h.js";
|
|
5
|
+
import { r as applyPrimaryModel } from "./model-picker-Ddo3jHe-.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/onboard-custom.ts
|
|
8
8
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -2,17 +2,17 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { t as CONFIG_PATH } from "./paths-Cqn-zk3M.js";
|
|
3
3
|
import { C as sleep, S as shortenHomePath, t as CONFIG_DIR, x as shortenHomeInString, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
4
4
|
import { t as runCommandWithTimeout } from "./exec-CWkblSrI.js";
|
|
5
|
-
import { C as ensureAgentWorkspace, m as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-
|
|
5
|
+
import { C as ensureAgentWorkspace, m as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-CgUHAtCo.js";
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-aT-I_DTX.js";
|
|
7
|
-
import { F as isSafeExecutableValue, H as VERSION } from "./config-
|
|
7
|
+
import { F as isSafeExecutableValue, H as VERSION } from "./config-CHwyw6l5.js";
|
|
8
8
|
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-B2SPYrh4.js";
|
|
9
9
|
import { c as pickPrimaryLanIPv4, o as isValidIPv4 } from "./ws-C7EXRv8z.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CyhzMxFA.js";
|
|
11
|
-
import { n as callGateway } from "./call-
|
|
12
|
-
import { t as isWSL } from "./wsl-
|
|
11
|
+
import { n as callGateway } from "./call-CJaS1iRF.js";
|
|
12
|
+
import { t as isWSL } from "./wsl-C4424szg.js";
|
|
13
13
|
import { r as stylePromptTitle } from "./prompt-style-8JqOYj0q.js";
|
|
14
14
|
import path from "node:path";
|
|
15
|
-
import
|
|
15
|
+
import fs from "node:fs/promises";
|
|
16
16
|
import { inspect } from "node:util";
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
import { cancel, isCancel } from "@clack/prompts";
|
|
@@ -247,7 +247,7 @@ async function ensureWorkspaceAndSessions(workspaceDir, runtime, options) {
|
|
|
247
247
|
});
|
|
248
248
|
runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
|
|
249
249
|
const sessionsDir = resolveSessionTranscriptsDirForAgent(options?.agentId);
|
|
250
|
-
await
|
|
250
|
+
await fs.mkdir(sessionsDir, { recursive: true });
|
|
251
251
|
runtime.log(`Sessions OK: ${shortenHomePath(sessionsDir)}`);
|
|
252
252
|
}
|
|
253
253
|
function resolveNodeManagerOptions() {
|
|
@@ -269,7 +269,7 @@ function resolveNodeManagerOptions() {
|
|
|
269
269
|
async function moveToTrash(pathname, runtime) {
|
|
270
270
|
if (!pathname) return;
|
|
271
271
|
try {
|
|
272
|
-
await
|
|
272
|
+
await fs.access(pathname);
|
|
273
273
|
} catch {
|
|
274
274
|
return;
|
|
275
275
|
}
|
|
@@ -292,7 +292,7 @@ async function detectBinary(name) {
|
|
|
292
292
|
if (!isSafeExecutableValue(name)) return false;
|
|
293
293
|
const resolved = name.startsWith("~") ? resolveUserPath(name) : name;
|
|
294
294
|
if (path.isAbsolute(resolved) || resolved.startsWith(".") || resolved.includes("/") || resolved.includes("\\")) try {
|
|
295
|
-
await
|
|
295
|
+
await fs.access(resolved);
|
|
296
296
|
return true;
|
|
297
297
|
} catch {
|
|
298
298
|
return false;
|
|
@@ -3,7 +3,7 @@ import "./utils-B-0b9bGM.js";
|
|
|
3
3
|
import "./registry-Cja8eT7G.js";
|
|
4
4
|
import "./subsystem-D9vIQve0.js";
|
|
5
5
|
import "./exec-CWkblSrI.js";
|
|
6
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
6
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CgUHAtCo.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
8
8
|
import "./boolean-BsqeuxE6.js";
|
|
9
9
|
import "./frontmatter-DWQhtOo7.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
2
|
+
import { r as detectBinary } from "./onboard-helpers-ZmZYzlq3.js";
|
|
3
3
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-DzLerlJb.js";
|
|
4
4
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-BHTF5p0X.js";
|
|
5
5
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Bt as normalizeSecretInput } from "./model-selection-
|
|
2
|
+
import { Bt as normalizeSecretInput } from "./model-selection-CyFvYcRt.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
4
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
5
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
6
|
-
import { t as installSkill } from "./skills-install-
|
|
4
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-ZmZYzlq3.js";
|
|
5
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-CURJKnyY.js";
|
|
6
|
+
import { t as installSkill } from "./skills-install-D67isO1L.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-skills.ts
|
|
9
9
|
var onboard_skills_exports = /* @__PURE__ */ __exportAll({ setupSkills: () => setupSkills });
|
|
@@ -2,7 +2,7 @@ import { n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort } from "./paths-Cqn-
|
|
|
2
2
|
import { y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
5
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
5
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-CHwyw6l5.js";
|
|
6
6
|
import { t as WizardCancelledError } from "./prompts-Xu2Sveka.js";
|
|
7
7
|
|
|
8
8
|
//#region src/wizard/onboarding.ts
|
|
@@ -36,7 +36,7 @@ async function requireRiskAcknowledgement(params) {
|
|
|
36
36
|
})) throw new WizardCancelledError("risk not accepted");
|
|
37
37
|
}
|
|
38
38
|
async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
39
|
-
const onboardHelpers = await import("./onboard-helpers-
|
|
39
|
+
const onboardHelpers = await import("./onboard-helpers-ZmZYzlq3.js").then((n) => n.d);
|
|
40
40
|
onboardHelpers.printWizardHeader(runtime);
|
|
41
41
|
await prompter.intro("Symi onboarding");
|
|
42
42
|
await requireRiskAcknowledgement({
|
|
@@ -204,7 +204,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
204
204
|
}]
|
|
205
205
|
}));
|
|
206
206
|
if (mode === "remote") {
|
|
207
|
-
const { promptRemoteGatewayConfig } = await import("./onboard-remote-
|
|
207
|
+
const { promptRemoteGatewayConfig } = await import("./onboard-remote-zUjD7UtM.js").then((n) => n.t);
|
|
208
208
|
const { logConfigUpdated } = await import("./logging-BzzwiKjv.js").then((n) => n.r);
|
|
209
209
|
let nextConfig = await promptRemoteGatewayConfig(baseConfig, prompter);
|
|
210
210
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
@@ -222,11 +222,11 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
222
222
|
}))).trim() || onboardHelpers.DEFAULT_WORKSPACE);
|
|
223
223
|
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-DPPsiC8t.js").then((n) => n.n);
|
|
224
224
|
let nextConfig = applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir);
|
|
225
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
225
|
+
const { ensureAuthProfileStore } = await import("./model-selection-CyFvYcRt.js").then((n) => n.dt);
|
|
226
226
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-BLzEBA1v.js").then((n) => n.t);
|
|
227
|
-
const { promptCustomApiConfig } = await import("./onboard-custom-
|
|
228
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
229
|
-
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-
|
|
227
|
+
const { promptCustomApiConfig } = await import("./onboard-custom-C7O-zfQ1.js").then((n) => n.r);
|
|
228
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-DuQwRfJc.js").then((n) => n.t);
|
|
229
|
+
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-Ddo3jHe-.js").then((n) => n.i);
|
|
230
230
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
231
231
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
232
232
|
const authChoice = opts.authChoice ?? await promptAuthChoiceGrouped({
|
|
@@ -263,7 +263,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
263
263
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
264
264
|
}
|
|
265
265
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
266
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
266
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-CJUgDC6Y.js");
|
|
267
267
|
const gateway = await configureGatewayForOnboarding({
|
|
268
268
|
flow,
|
|
269
269
|
baseConfig,
|
|
@@ -277,8 +277,8 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
277
277
|
const settings = gateway.settings;
|
|
278
278
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
279
279
|
else {
|
|
280
|
-
const { listChannelPlugins } = await import("./plugins-
|
|
281
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
280
|
+
const { listChannelPlugins } = await import("./plugins-DKDeQZF0.js").then((n) => n.i);
|
|
281
|
+
const { setupChannels } = await import("./onboard-channels-BOBxxhHX.js").then((n) => n.n);
|
|
282
282
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
283
283
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
284
284
|
allowSignalInstall: true,
|
|
@@ -294,17 +294,17 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
294
294
|
await onboardHelpers.ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
295
295
|
if (opts.skipSkills) await prompter.note("Skipping skills setup.", "Skills");
|
|
296
296
|
else {
|
|
297
|
-
const { setupSkills } = await import("./onboard-skills-
|
|
297
|
+
const { setupSkills } = await import("./onboard-skills-BB0YhUmF.js").then((n) => n.t);
|
|
298
298
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
299
299
|
}
|
|
300
|
-
const { setupInternalHooks } = await import("./onboard-hooks-
|
|
300
|
+
const { setupInternalHooks } = await import("./onboard-hooks-BAA8CoVv.js");
|
|
301
301
|
nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
|
|
302
302
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
303
303
|
command: "onboard",
|
|
304
304
|
mode
|
|
305
305
|
});
|
|
306
306
|
await writeConfigFile(nextConfig);
|
|
307
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
307
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-vupGASMK.js");
|
|
308
308
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
309
309
|
flow,
|
|
310
310
|
opts,
|
|
@@ -223,7 +223,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
223
223
|
const { ensureAuthProfileStore } = await import("./auth-profiles-Q1xTr5SX.js").then((n) => n.t);
|
|
224
224
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-DVcYPG2v.js").then((n) => n.t);
|
|
225
225
|
const { promptCustomApiConfig } = await import("./onboard-custom-DdWPfzJO.js").then((n) => n.r);
|
|
226
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
226
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-IiIysHGO.js").then((n) => n.t);
|
|
227
227
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-D5nCutGW.js").then((n) => n.i);
|
|
228
228
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
229
229
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -276,7 +276,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
276
276
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
277
277
|
else {
|
|
278
278
|
const { listChannelPlugins } = await import("./plugins-CwSlLxM8.js").then((n) => n.i);
|
|
279
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
279
|
+
const { setupChannels } = await import("./onboard-channels-g5cvwJpx.js").then((n) => n.n);
|
|
280
280
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
281
281
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
282
282
|
allowSignalInstall: true,
|
|
@@ -302,7 +302,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
302
302
|
mode
|
|
303
303
|
});
|
|
304
304
|
await writeConfigFile(nextConfig);
|
|
305
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
305
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CAYf88mf.js");
|
|
306
306
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
307
307
|
flow,
|
|
308
308
|
opts,
|