@symerian/symi 3.5.20 → 3.5.21
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/{agent-D0Z4r5fr.js → agent-DgVWcnlD.js} +1 -1
- package/dist/{agent-DCDT-MPE.js → agent-NT0EKnK_.js} +18 -18
- package/dist/{agent-scope-DOrZjOnW.js → agent-scope-Bnsyyeci.js} +18 -18
- package/dist/{agents-CdkBeP0d.js → agents-Dlcpc1K3.js} +3 -3
- package/dist/{agents.config-B7sNDvhz.js → agents.config-DA0ISLi7.js} +1 -1
- package/dist/{audit-B7deV4Lp.js → audit-CPloCzEZ.js} +2 -2
- package/dist/{audit-BCStg-Hv.js → audit-CXIXYDRx.js} +20 -20
- package/dist/{auth-choice-BIGcxSzP.js → auth-choice--DymOp5O.js} +2 -2
- package/dist/{auth-choice-B3DU-aBr.js → auth-choice-BtXIQPTU.js} +11 -11
- package/dist/{auth-profiles-Ce7R_25e.js → auth-profiles-D5nYBj_Z.js} +2 -2
- package/dist/{auth-token-Cr28IDKY.js → auth-token-fgnCQEHT.js} +3 -3
- package/dist/{banner-ChNdzPjD.js → banner-CY_9VW7E.js} +1 -1
- package/dist/{browser-cli-C9xaKW8l.js → browser-cli-C5VVk6C9.js} +3 -3
- package/dist/{browser-cli-BTg8SVs-.js → browser-cli-DOTM7UBC.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +4 -4
- package/dist/bundled/session-memory/handler.js +4 -4
- package/dist/{call-BccaLPi8.js → call-Bpjj5p7I.js} +9 -9
- package/dist/{call-DZg43vv8.js → call-C2urR5Fj.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-CUptVX8c.js → channel-options-XRJiHUm5.js} +1 -1
- package/dist/{channel-options-LLmAnD_L.js → channel-options-rFgJaKzJ.js} +1 -1
- package/dist/{channels-cli-xoromnio.js → channels-cli-CQ4M05oy.js} +57 -57
- package/dist/{channels-cli-B0OQvVUL.js → channels-cli-QMHCRAb5.js} +9 -9
- package/dist/{chrome-DJChpTwP.js → chrome-38OnGyuN.js} +2 -2
- package/dist/{chrome-CmQwGAuL.js → chrome-OTJg3QKn.js} +7 -7
- package/dist/{cli-C7v-sID8.js → cli-B-uoiYP2.js} +45 -45
- package/dist/{cli-CMNR7ULk.js → cli-BafqEuaj.js} +6 -6
- package/dist/{client-k0MT6NBw.js → client-CTrfpKT3.js} +7 -2
- package/dist/{client-DCxeV1bw.js → client-yVTJ5jx5.js} +6 -1
- package/dist/{command-registry-CXcvXjUR.js → command-registry-CLm8TAH3.js} +11 -11
- package/dist/{commands-registry-Ca5hh7nh.js → commands-registry-CwXsDVuO.js} +1 -1
- package/dist/{completion-cli-DJ1YCeSg.js → completion-cli-Cn_81QBb.js} +12 -12
- package/dist/{completion-cli-B1Fg6Lmg.js → completion-cli-DOBXkVwG.js} +2 -2
- package/dist/{config-B4jkreCN.js → config-BngIfn5l.js} +2 -2
- package/dist/{config-cli-D5DlWt6T.js → config-cli-B1cPkJ4p.js} +4 -4
- package/dist/{config-cli-CQ1FAvY_.js → config-cli-BgHYqFH1.js} +1 -1
- package/dist/{config-guard-BRm3RiOi.js → config-guard-DStz4_V2.js} +6 -6
- package/dist/{config-validation-Cdyg1BZB.js → config-validation-Dxj9LRzr.js} +1 -1
- package/dist/{configure-bhJB2Dti.js → configure-C7zmSgvC.js} +14 -14
- package/dist/{configure-DG1lf0Ld.js → configure-DmzM0S7L.js} +6 -6
- package/dist/{consolidate-DymnvvYm.js → consolidate-CO32_TEx.js} +6 -6
- package/dist/{control-service-D8kKOts5.js → control-service-CUreKVeY.js} +4 -4
- package/dist/control-ui/css/style.css +270 -0
- package/dist/control-ui/index.html +44 -114
- package/dist/control-ui/js/scheduling.js +85 -224
- package/dist/control-ui/js/subagents.js +78 -394
- package/dist/control-ui/js/symframe-awaiting.js +301 -0
- package/dist/control-ui/js/symframe-pin-store.js +104 -0
- package/dist/control-ui/js/symframe.js +238 -2
- package/dist/{control-ui-assets-CJQ97d4u.js → control-ui-assets-B8B9z_Ll.js} +1 -1
- package/dist/{cost-cli-DWiVCOCx.js → cost-cli-D-ssjcRF.js} +3 -3
- package/dist/{cron-cli-8RaBr1CM.js → cron-cli-BNBs3zue.js} +3 -3
- package/dist/{cron-cli-fW3wtftG.js → cron-cli-otPeKxmi.js} +7 -7
- package/dist/{daemon-cli-Y6clFgva.js → daemon-cli-DDqeG2nd.js} +2 -2
- package/dist/{daemon-cli-0EiZTQ2A.js → daemon-cli-qDdMg615.js} +11 -11
- package/dist/daemon-cli.js +6 -1
- package/dist/{daemon-runtime-DlQla_dA.js → daemon-runtime-CKn0wmCk.js} +10 -10
- package/dist/{deliver-B04yNX82.js → deliver-BiWlR84Y.js} +4 -4
- package/dist/{deliver-lTZLIQqf.js → deliver-CWMFmMCv.js} +2 -2
- package/dist/{deps-Bf9dt2UO.js → deps-CdibsPMx.js} +1 -1
- package/dist/{devices-cli-C2gQTsB0.js → devices-cli-BJ3rVWOw.js} +2 -2
- package/dist/{devices-cli-DfiSkZ7k.js → devices-cli-DDPwF2Nx.js} +6 -6
- package/dist/{diagnostics-DlZODdRf.js → diagnostics-CYkqD5lP.js} +5 -5
- package/dist/{directory-cli-Bm5QYEo-.js → directory-cli-giqTe8Yg.js} +3 -3
- package/dist/{dm-policy-shared-CeFt0nch.js → dm-policy-shared-B61_yf6G.js} +1 -1
- package/dist/{dns-cli-CubLq4j9.js → dns-cli-Dssz4RqF.js} +3 -3
- package/dist/{docs-cli-PS8m1er7.js → docs-cli-Ct1STieY.js} +1 -1
- package/dist/{doctor-completion-CfF0J8fs.js → doctor-completion-CL7MyXlo.js} +2 -2
- package/dist/{doctor-completion-ScxFfN93.js → doctor-completion-k0HiL05o.js} +1 -1
- package/dist/{doctor-config-flow-C52W1uUK.js → doctor-config-flow-ljVnQJjo.js} +9 -9
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-Cl-vWA1q.js → exec-approvals-cli-Cau1vPQI.js} +4 -4
- package/dist/{exec-approvals-cli-BaKWIf56.js → exec-approvals-cli-DsBoQu5H.js} +13 -13
- package/dist/extensionAPI.js +2 -2
- package/dist/{file-lock-BVUYnlQv.js → file-lock-2AecMjCa.js} +8 -8
- package/dist/{fs-safe-BdejYjW8.js → fs-safe-B0Is-oLk.js} +6 -6
- package/dist/{gateway-cli-kq5EWlnF.js → gateway-cli-DG_2YZ8B.js} +98 -98
- package/dist/{gateway-cli-CK-5nguV.js → gateway-cli-DgmGygc6.js} +16 -16
- package/dist/{gateway-rpc-Bzg_TTKP.js → gateway-rpc-Kv0-8W2E.js} +1 -1
- package/dist/{gateway-rpc-D12UaJS5.js → gateway-rpc-gaoD882s.js} +1 -1
- package/dist/{glass-ui-ws-B6p0iPsO.js → glass-ui-ws-Bof7krDJ.js} +67 -67
- package/dist/{glass-ui-ws-CVr0_1gT.js → glass-ui-ws-Dl45d7eU.js} +13 -13
- package/dist/{health-CPU9rQGj.js → health-CMbUI4aN.js} +4 -4
- package/dist/{health-CJb2CYtg.js → health-znS85U-F.js} +1 -1
- package/dist/{hooks-cli-DbgVZaP4.js → hooks-cli-Cb9BzCOY.js} +7 -7
- package/dist/{hooks-cli-13HCu5Xs.js → hooks-cli-Cgjor7F-.js} +59 -59
- package/dist/{image-ops-L70xVnpG.js → image-ops-BzCBIakN.js} +10 -10
- package/dist/index.js +52 -52
- package/dist/{inspect-CGKsaVZ4.js → inspect-DzYUb_Dl.js} +4 -4
- package/dist/{install-safe-path-B2JrFspY.js → install-safe-path-BrpA09f2.js} +11 -11
- package/dist/{installs-D890uIIW.js → installs-bnDlOSq2.js} +10 -10
- package/dist/{internal-DVCddhhN.js → internal-csqU78gW.js} +9 -9
- package/dist/{lifecycle-core-wFwnK_mD.js → lifecycle-core-cSR_xiIO.js} +5 -5
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{local-roots-CgDCgCuM.js → local-roots-2Jb79HZ8.js} +1 -1
- package/dist/{logs-cli-R16VTptK.js → logs-cli-Kr145PO_.js} +7 -7
- package/dist/{logs-cli-CQeK5fn7.js → logs-cli-LiAjkog2.js} +3 -3
- package/dist/{manager-CxFs8Z_F.js → manager-CceVgXHV.js} +1 -1
- package/dist/{manager-B2SWSuad.js → manager-Cv4xI8sP.js} +1 -1
- package/dist/{manager-CHLdCC6u.js → manager-DG6PODgu.js} +15 -15
- package/dist/{manager-LPPGAsqn.js → manager-V4UCf0Av.js} +1 -1
- package/dist/{memory-DFpqcIst.js → memory-A2D5e8dL.js} +2 -2
- package/dist/{memory-DavRjdTi.js → memory-BFnx3v3_.js} +5 -5
- package/dist/{memory-cli-DZnq3S6s.js → memory-cli-1zjVJITN.js} +2 -2
- package/dist/{memory-cli-B-Cp1Sb1.js → memory-cli-CHNghdrm.js} +12 -12
- package/dist/{model-MUMSB_7d.js → model-Cwbcw-km.js} +1 -1
- package/dist/{model-auth-1EAQvYRv.js → model-auth-_C07_3Yr.js} +2 -2
- package/dist/{model-catalog-IWi6-nY9.js → model-catalog-BWurV7gl.js} +3 -3
- package/dist/{model-picker-Cf6UgQEh.js → model-picker-Dpkr5xBW.js} +5 -5
- package/dist/{model-selection-7wdmO-Iw.js → model-selection-CCTzD29o.js} +1 -1
- package/dist/{models-Cht7Mzvs.js → models-BYev6YAG.js} +3 -3
- package/dist/{models-cli-B_motPDX.js → models-cli-BbK8HMKa.js} +55 -55
- package/dist/{models-cli-DXswzgUR.js → models-cli-Fa5r1QYP.js} +9 -9
- package/dist/{models-config-B5Xxy-c-.js → models-config-DlXge3Sd.js} +8 -8
- package/dist/{node-cli-D-gsjRXY.js → node-cli-BPnBosC4.js} +27 -27
- package/dist/{node-cli-VmKhIXuP.js → node-cli-Cv7x1gGu.js} +1 -1
- package/dist/{node-service-BH08wY5j.js → node-service-Cc18m-uk.js} +1 -1
- package/dist/{nodes-cli-BMvxQGCp.js → nodes-cli-CN_m6PO5.js} +10 -10
- package/dist/{nodes-cli-D199d74o.js → nodes-cli-DaHOBbd4.js} +3 -3
- package/dist/{nodes-screen-De9ma6e1.js → nodes-screen-Cp5QP3ET.js} +4 -4
- package/dist/{npm-registry-spec-DTqn-NXZ.js → npm-registry-spec-C-muP97-.js} +9 -9
- package/dist/{onboard-DFJcbABp.js → onboard-B2IcTMv-.js} +15 -15
- package/dist/{onboard-CdRA8BRG.js → onboard-D-m6WTZl.js} +3 -3
- package/dist/{onboard-channels-fadyQGBK.js → onboard-channels-Z-Jkrk5-.js} +1 -1
- package/dist/{onboard-channels-Ca7ZFQ2Y.js → onboard-channels-wfGO5Zlh.js} +4 -4
- package/dist/{onboard-custom-BcRYreNG.js → onboard-custom-DnDrvxSg.js} +3 -3
- package/dist/{onboard-helpers-CQBpac8h.js → onboard-helpers-BKejzolA.js} +8 -8
- package/dist/{onboard-helpers-BcLPSb5N.js → onboard-helpers-Dhr98nj8.js} +1 -1
- package/dist/{onboard-hooks-2SCajRKc.js → onboard-hooks-D9jHwImb.js} +1 -1
- package/dist/{onboard-remote-Bo3tpC9N.js → onboard-remote-DZdMxd1Q.js} +1 -1
- package/dist/{onboard-remote-BWK5Ths4.js → onboard-remote-y3ZmP90U.js} +1 -1
- package/dist/{onboard-skills-BLl8HPJO.js → onboard-skills-2SUv-W7i.js} +1 -1
- package/dist/{onboard-skills-DvacccqZ.js → onboard-skills-BFhHfrt9.js} +3 -3
- package/dist/{onboarding-ojb2rFkA.js → onboarding-BckHLQMV.js} +7 -7
- package/dist/{onboarding-BywueA1d.js → onboarding-DqlPV372.js} +12 -12
- package/dist/{onboarding.finalize-DdxBQpUU.js → onboarding.finalize-Bwjv3jew.js} +31 -31
- package/dist/{onboarding.finalize-DHvlZi9G.js → onboarding.finalize-CbH_ShIW.js} +9 -9
- package/dist/{onboarding.gateway-config-DPBNWNV6.js → onboarding.gateway-config-CiRo9EMt.js} +8 -8
- package/dist/{onboarding.gateway-config-ZK9517uR.js → onboarding.gateway-config-sNSeEykB.js} +3 -3
- package/dist/{openai-model-default-BkuuK-Di.js → openai-model-default-De-UAjwg.js} +2 -2
- package/dist/{pairing-cli-Rsae0KnN.js → pairing-cli-CBMMCNnx.js} +5 -5
- package/dist/{pairing-store-BNhJOnWn.js → pairing-store-Be-ZQK87.js} +1 -1
- package/dist/{pairing-token-Dcy37-4s.js → pairing-token-B703A1U3.js} +7 -7
- package/dist/{paths-DObzwe08.js → paths-BWqg8NZT.js} +1 -1
- package/dist/{pi-auth-json-Db8XJVGL.js → pi-auth-json-D-vdh-nY.js} +6 -6
- package/dist/{pi-embedded-Da0QRlM0.js → pi-embedded-B9rtlNMc.js} +25 -9
- package/dist/{pi-embedded-helpers-D-OFjhdI.js → pi-embedded-helpers-j1JrlsI0.js} +6 -6
- package/dist/{pi-tools.policy-H2t-Xkfc.js → pi-tools.policy-CvAqjEH9.js} +3 -3
- package/dist/{plugin-auto-enable-DJBhDIMq.js → plugin-auto-enable-BXSJTxI7.js} +1 -1
- package/dist/{plugin-registry-tG7NXc3Y.js → plugin-registry-B43UosQh.js} +3 -3
- package/dist/{plugin-registry-Tlmjr-LX.js → plugin-registry-CS4WgHbu.js} +1 -1
- package/dist/plugin-sdk/gateway/protocol/schema/logs-chat.d.ts +1 -1
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/plugin-sdk/infra/symframe-broadcast.d.ts +18 -6
- package/dist/{plugins-cli-CRKD8aho.js → plugins-cli-BV2wbjfI.js} +54 -54
- package/dist/{plugins-cli-Cm0G_-Y5.js → plugins-cli-BY42hyHP.js} +7 -7
- package/dist/{ports-r7LBic2V.js → ports-Bi3V_3n9.js} +1 -1
- package/dist/{ports-gxLM5ahL.js → ports-CB_Iu83U.js} +2 -2
- package/dist/{program-DEmAlwmD.js → program-P9F1DxBa.js} +12 -12
- package/dist/{program-context-DRCRbDpu.js → program-context-BmXxHUKe.js} +40 -40
- package/dist/{prompt-select-styled-pomsR-zf.js → prompt-select-styled-B2ah467m.js} +7 -7
- package/dist/{prompt-select-styled-B41Tx9aC.js → prompt-select-styled-BlQZX6pK.js} +38 -38
- package/dist/{provider-auth-helpers-rKWs_r7a.js → provider-auth-helpers-Bgb_Bfp9.js} +1 -1
- package/dist/{provider-auth-helpers-CdQwOam7.js → provider-auth-helpers-WLwb6tL4.js} +6 -6
- package/dist/{push-apns-eCM0qmrY.js → push-apns-CBGvXev_.js} +4 -4
- package/dist/{push-apns-CZPUHftn.js → push-apns-DnSCjFu7.js} +1 -1
- package/dist/{pw-ai-BiBvIJzd.js → pw-ai-CP5pn3eU.js} +7 -7
- package/dist/{pw-ai-DLsdzdgc.js → pw-ai-DY_6l11g.js} +1 -1
- package/dist/{qmd-manager-C8-M4Pru.js → qmd-manager-Dxyue7B1.js} +19 -19
- package/dist/{qr-cli-1sCVaPcF.js → qr-cli-DHw6muwK.js} +3 -3
- package/dist/{register.agent-BQPvYYdn.js → register.agent-BuEcmVg0.js} +12 -12
- package/dist/{register.agent-N1hoqMFR.js → register.agent-CXdTiqyP.js} +67 -67
- package/dist/{register.configure-BHHZ44xB.js → register.configure-DVcn-gCO.js} +70 -70
- package/dist/{register.configure-BAc3P4Z-.js → register.configure-YDKJ-KQg.js} +14 -14
- package/dist/{register.maintenance-lX0a3Hzl.js → register.maintenance-BiGvpEj-.js} +13 -13
- package/dist/{register.maintenance-DDgy5Iyy.js → register.maintenance-cpspl8D6.js} +67 -67
- package/dist/{register.message-Br-IH_0z.js → register.message-BIuLbESM.js} +7 -7
- package/dist/{register.message-B4lDhHpE.js → register.message-BjcYy5UG.js} +47 -47
- package/dist/{register.onboard-B-GoYJIc.js → register.onboard-C4vIASed.js} +6 -6
- package/dist/{register.onboard-Bv0s2_KV.js → register.onboard-D4RN92s2.js} +25 -25
- package/dist/{register.setup-DQ6KLkAI.js → register.setup-BvoXF0xl.js} +28 -28
- package/dist/{register.setup-4lNdC98i.js → register.setup-D-Jt2e1d.js} +6 -6
- package/dist/{register.status-health-sessions-Cg7bK5K2.js → register.status-health-sessions-BY9hMD1s.js} +8 -8
- package/dist/{register.status-health-sessions-ByGn71_M.js → register.status-health-sessions-DjDvCXBn.js} +41 -41
- package/dist/{register.subclis-FMlcLBX0.js → register.subclis-Cibmeapc.js} +20 -20
- package/dist/{replies-CbXXjn9X.js → replies-B_3j7R_Q.js} +1 -1
- package/dist/{reply-prefix-BFNeXT65.js → reply-prefix-CtZtkTJK.js} +1 -1
- package/dist/{resolve-route-C1IIA6kH.js → resolve-route-Du0VftVs.js} +1 -1
- package/dist/{routes-ivqbutvM.js → routes-BwTUoI5h.js} +10 -10
- package/dist/{rpc-Dk1Az_d8.js → rpc-BnAKPQDB.js} +1 -1
- package/dist/{rpc-JAmDaTYt.js → rpc-CwxSZZOx.js} +1 -1
- package/dist/{run-main-DSyeVDsT.js → run-main-BhEQjKtM.js} +20 -20
- package/dist/{sandbox-BkznAPKO.js → sandbox-CZGTCone.js} +18 -18
- package/dist/{sandbox-cli-Bb9cBtBH.js → sandbox-cli-DEtGT_4y.js} +13 -13
- package/dist/{security-cli-DmgGLP83.js → security-cli-CS-ZT1LE.js} +3 -3
- package/dist/{security-cli-D47LQbpf.js → security-cli-DJd7Fcdy.js} +29 -29
- package/dist/{send-B0jHSNMF.js → send-CxjvucMO.js} +7 -7
- package/dist/{server-context-ChcbJgNo.js → server-context-DXdk410X.js} +5 -5
- package/dist/{server-methods-DGBBt49x.js → server-methods-CWxr5b-w.js} +19 -13
- package/dist/{server-methods-BkHB2MOW.js → server-methods-DfVfzYqq.js} +68 -62
- package/dist/{server-node-events-C186LRm0.js → server-node-events-B0yC6hi1.js} +48 -48
- package/dist/{server-node-events-D-Akk3uq.js → server-node-events-ClDEcUTJ.js} +8 -8
- package/dist/{service-e6MzlLCd.js → service-CRZoXO_n.js} +15 -15
- package/dist/{session-dirs-C9E2G0yZ.js → session-dirs-a00Ad2SO.js} +2 -2
- package/dist/{session-utils-Cs1jlD-q.js → session-utils-CJhcRx3E.js} +14 -14
- package/dist/{sessions-Dxf5Kjig.js → sessions-BCc3THTm.js} +10 -10
- package/dist/{shared-1xPo9ygd.js → shared-C39SiDDJ.js} +1 -1
- package/dist/{shared-COtpr3Ad.js → shared-Dh-O8nRd.js} +3 -3
- package/dist/{skill-commands-DDGGlq68.js → skill-commands-DWvXs3lz.js} +4 -4
- package/dist/{skill-scanner-BCgVcIwi.js → skill-scanner-CIlHPszT.js} +5 -5
- package/dist/{skills-BwDmcZdt.js → skills-CYcBtLGH.js} +4 -4
- package/dist/{skills-cli-B-7TY-vS.js → skills-cli-CD9s3cgm.js} +7 -7
- package/dist/{skills-install-Dwzsjoc8.js → skills-install-BTa9IuQ6.js} +3 -3
- package/dist/{skills-remote-bz71Bstn.js → skills-remote-BcRQTDsZ.js} +3 -3
- package/dist/{skills-status-BKX1PjCc.js → skills-status-DLnCHUZ2.js} +1 -1
- package/dist/{sqlite-Cod7C5ba.js → sqlite-BpogPlQW.js} +5 -5
- package/dist/{status-CFgCSaDq.js → status-BWxLtb3D.js} +23 -23
- package/dist/{status-poPDyC8O.js → status-Doq8T1zj.js} +3 -3
- package/dist/{status-Bahhq7OQ.js → status-K1k4g3Ai.js} +1 -1
- package/dist/{status-D9LC5P_Y.js → status-ojZB_Lrf.js} +5 -5
- package/dist/{status.update-DGJi0OLl.js → status.update-CKfyV6zw.js} +3 -3
- package/dist/{subagent-registry-V2o45tIn.js → subagent-registry-BOt7g9hn.js} +21 -10
- package/dist/{symframe-cli-bxdpivve.js → symframe-cli-CrUtJw_7.js} +31 -7
- package/dist/{symframe-cli-ppdMo15M.js → symframe-cli-D1CtN3pf.js} +37 -13
- package/dist/{symi-root-BQ0IpoW2.js → symi-root-DeCVdZB4.js} +2 -2
- package/dist/{synthesis-B2EyHFXy.js → synthesis-BIQLrbys.js} +6 -6
- package/dist/{synthesis-DGau1ONT.js → synthesis-Bc2QkGvt.js} +2 -2
- package/dist/{synthesis-CPSq83PP.js → synthesis-VZNnlUTf.js} +45 -45
- package/dist/{synthesis-C2WbvLOI.js → synthesis-yl24Ovw4.js} +4 -4
- package/dist/{system-cli-nPyjUPBH.js → system-cli-CvN-Wq9U.js} +3 -3
- package/dist/{system-cli-BroqLjZ6.js → system-cli-r7WJj0Xh.js} +7 -7
- package/dist/{systemd-CUIM0n5P.js → systemd-CsoVnIbM.js} +5 -5
- package/dist/{systemd-hints-CsrzMCTD.js → systemd-hints-QISwLlFU.js} +6 -6
- package/dist/{systemd-linger-BzYk7A6M.js → systemd-linger-BnhuRdbt.js} +1 -1
- package/dist/{tui-Bp9k5skv.js → tui-BxgdImL_.js} +2 -2
- package/dist/{tui-DzROrE20.js → tui-J7Jxp-FF.js} +7 -7
- package/dist/{tui-cli-BHBF8O-3.js → tui-cli-DR48dU_C.js} +19 -19
- package/dist/{tui-cli-Dv4hBFdc.js → tui-cli-DqvgN5ng.js} +3 -3
- package/dist/{unified-runner-CIQIkbvi.js → unified-runner-BV5TdNFv.js} +32 -16
- package/dist/{unified-runner-CduaBH_0.js → unified-runner-DXjH-prv.js} +117 -106
- package/dist/{update-yYduAjKd.js → update-Cb0Fmxic.js} +3 -3
- package/dist/{update-check-BCL_K7kx.js → update-check-u6Jgr1cz.js} +5 -5
- package/dist/{update-cli-WcLxjBiY.js → update-cli-CKpjWtlv.js} +77 -77
- package/dist/{update-cli-BKnHBe8a.js → update-cli-Dn6QQZLd.js} +14 -14
- package/dist/{update-runner-BLV8SI96.js → update-runner-G2YgEATs.js} +15 -15
- package/dist/{webhooks-cli-D5k-Y2A8.js → webhooks-cli-DjUITimx.js} +4 -4
- package/dist/{with-timeout-DPR4A2dx.js → with-timeout-CLrF-Yr_.js} +1 -1
- package/dist/{workspace-dirs-jKFQf7of.js → workspace-dirs-DCICLTHx.js} +1 -1
- package/dist/{wsl-CglTdtlb.js → wsl-DTi7eX-V.js} +2 -2
- package/extensions/memory-core/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { u as isRecord } from "./utils-CTPsqyE_.js";
|
|
2
|
-
import { b as ensureAuthProfileStore, h as listProfilesForProvider } from "./auth-profiles-
|
|
2
|
+
import { b as ensureAuthProfileStore, h as listProfilesForProvider } from "./auth-profiles-D5nYBj_Z.js";
|
|
3
3
|
import { t as resolveSymiAgentDir } from "./agent-paths-BbZSGrUA.js";
|
|
4
|
-
import { i as loadConfig } from "./config-
|
|
5
|
-
import { a as resolveAwsSdkEnvVarName, o as resolveEnvApiKey } from "./model-auth-
|
|
4
|
+
import { i as loadConfig } from "./config-BngIfn5l.js";
|
|
5
|
+
import { a as resolveAwsSdkEnvVarName, o as resolveEnvApiKey } from "./model-auth-_C07_3Yr.js";
|
|
6
6
|
import { r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-D-FdDfee.js";
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fsPromises from "node:fs/promises";
|
|
10
10
|
import { createAssistantMessageEventStream } from "@mariozechner/pi-ai";
|
|
11
11
|
import { BedrockClient, ListFoundationModelsCommand } from "@aws-sdk/client-bedrock";
|
|
12
12
|
|
|
@@ -2416,7 +2416,7 @@ function mergeProviders(params) {
|
|
|
2416
2416
|
}
|
|
2417
2417
|
async function readJson(pathname) {
|
|
2418
2418
|
try {
|
|
2419
|
-
const raw = await
|
|
2419
|
+
const raw = await fsPromises.readFile(pathname, "utf8");
|
|
2420
2420
|
return JSON.parse(raw);
|
|
2421
2421
|
} catch {
|
|
2422
2422
|
return null;
|
|
@@ -2464,7 +2464,7 @@ async function ensureSymiModelsJson(config, agentDirOverride) {
|
|
|
2464
2464
|
});
|
|
2465
2465
|
const next = `${JSON.stringify({ providers: normalizedProviders }, null, 2)}\n`;
|
|
2466
2466
|
try {
|
|
2467
|
-
existingRaw = await
|
|
2467
|
+
existingRaw = await fsPromises.readFile(targetPath, "utf8");
|
|
2468
2468
|
} catch {
|
|
2469
2469
|
existingRaw = "";
|
|
2470
2470
|
}
|
|
@@ -2472,11 +2472,11 @@ async function ensureSymiModelsJson(config, agentDirOverride) {
|
|
|
2472
2472
|
agentDir,
|
|
2473
2473
|
wrote: false
|
|
2474
2474
|
};
|
|
2475
|
-
await
|
|
2475
|
+
await fsPromises.mkdir(agentDir, {
|
|
2476
2476
|
recursive: true,
|
|
2477
2477
|
mode: 448
|
|
2478
2478
|
});
|
|
2479
|
-
await
|
|
2479
|
+
await fsPromises.writeFile(targetPath, next, { mode: 384 });
|
|
2480
2480
|
return {
|
|
2481
2481
|
agentDir,
|
|
2482
2482
|
wrote: true
|
|
@@ -4,50 +4,50 @@ import "./utils-CTPsqyE_.js";
|
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
6
6
|
import "./exec-DuYbft0z.js";
|
|
7
|
-
import { r as resolveAgentConfig } from "./agent-scope-
|
|
8
|
-
import "./model-selection-
|
|
9
|
-
import { N as VERSION, i as loadConfig } from "./config-
|
|
7
|
+
import { r as resolveAgentConfig } from "./agent-scope-Bnsyyeci.js";
|
|
8
|
+
import "./model-selection-CCTzD29o.js";
|
|
9
|
+
import { N as VERSION, i as loadConfig } from "./config-BngIfn5l.js";
|
|
10
10
|
import "./boolean-CbZoNRMn.js";
|
|
11
11
|
import "./env-BRnPI9sO.js";
|
|
12
12
|
import "./shell-env-Dc3iU7HK.js";
|
|
13
13
|
import { _ as sanitizeHostExecEnv } from "./manifest-registry-D1MLZEjS.js";
|
|
14
|
-
import "./chrome-
|
|
14
|
+
import "./chrome-38OnGyuN.js";
|
|
15
15
|
import "./tailscale-DpKBMIvx.js";
|
|
16
16
|
import "./auth-Bkx-QuRN.js";
|
|
17
|
-
import { i as resolveBrowserConfig } from "./server-context-
|
|
18
|
-
import "./routes-
|
|
17
|
+
import { i as resolveBrowserConfig } from "./server-context-DXdk410X.js";
|
|
18
|
+
import "./routes-BwTUoI5h.js";
|
|
19
19
|
import "./redact-B3O-RBO1.js";
|
|
20
20
|
import "./errors-bI7Tdx75.js";
|
|
21
|
-
import "./fs-safe-
|
|
22
|
-
import "./paths-
|
|
21
|
+
import "./fs-safe-B0Is-oLk.js";
|
|
22
|
+
import "./paths-BWqg8NZT.js";
|
|
23
23
|
import "./ssrf-DOZRI5XH.js";
|
|
24
|
-
import { c as detectMime } from "./image-ops-
|
|
25
|
-
import "./ports-
|
|
24
|
+
import { c as detectMime } from "./image-ops-BzCBIakN.js";
|
|
25
|
+
import "./ports-CB_Iu83U.js";
|
|
26
26
|
import "./trash-_YhavPQI.js";
|
|
27
27
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DgjXWzf-.js";
|
|
28
|
-
import { n as createBrowserRouteDispatcher, r as getMachineDisplayName, t as withTimeout } from "./with-timeout-
|
|
29
|
-
import { on as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-
|
|
30
|
-
import "./pairing-token-
|
|
28
|
+
import { n as createBrowserRouteDispatcher, r as getMachineDisplayName, t as withTimeout } from "./with-timeout-CLrF-Yr_.js";
|
|
29
|
+
import { on as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-CTrfpKT3.js";
|
|
30
|
+
import "./pairing-token-B703A1U3.js";
|
|
31
31
|
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-DioSaIeH.js";
|
|
32
32
|
import { g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, m as resolveNodeLaunchAgentLabel, s as formatNodeServiceDescription } from "./constants-BLIhifCJ.js";
|
|
33
|
-
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-
|
|
33
|
+
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-CUreKVeY.js";
|
|
34
34
|
import { t as formatDocsLink } from "./links-Bqr0FxXx.js";
|
|
35
35
|
import { t as formatHelpExamples } from "./help-format-7hFcsqss.js";
|
|
36
36
|
import "./logging-BWknayJl.js";
|
|
37
37
|
import { t as ensureSymiCliOnPath } from "./path-env-BY88zbPR.js";
|
|
38
38
|
import "./runtime-guard-CWA00ZXa.js";
|
|
39
|
-
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-
|
|
40
|
-
import "./systemd-
|
|
41
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
42
|
-
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-
|
|
43
|
-
import { s as formatRuntimeStatus } from "./systemd-hints-
|
|
39
|
+
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-CKn0wmCk.js";
|
|
40
|
+
import "./systemd-CsoVnIbM.js";
|
|
41
|
+
import { s as resolveGatewayLogPaths } from "./service-CRZoXO_n.js";
|
|
42
|
+
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-cSR_xiIO.js";
|
|
43
|
+
import { s as formatRuntimeStatus } from "./systemd-hints-QISwLlFU.js";
|
|
44
44
|
import { t as parsePort } from "./parse-port-CMRD6fhd.js";
|
|
45
|
-
import { t as resolveNodeService } from "./node-service-
|
|
45
|
+
import { t as resolveNodeService } from "./node-service-Cc18m-uk.js";
|
|
46
46
|
import { t as resolveSystemRunCommand } from "./system-run-command-olPQqEUJ.js";
|
|
47
47
|
import crypto from "node:crypto";
|
|
48
48
|
import path from "node:path";
|
|
49
49
|
import fs from "node:fs";
|
|
50
|
-
import
|
|
50
|
+
import fsPromises from "node:fs/promises";
|
|
51
51
|
import { spawn } from "node:child_process";
|
|
52
52
|
|
|
53
53
|
//#region src/node-host/config.ts
|
|
@@ -70,7 +70,7 @@ function normalizeConfig(config) {
|
|
|
70
70
|
async function loadNodeHostConfig() {
|
|
71
71
|
const filePath = resolveNodeHostConfigPath();
|
|
72
72
|
try {
|
|
73
|
-
const raw = await
|
|
73
|
+
const raw = await fsPromises.readFile(filePath, "utf8");
|
|
74
74
|
return normalizeConfig(JSON.parse(raw));
|
|
75
75
|
} catch {
|
|
76
76
|
return null;
|
|
@@ -78,11 +78,11 @@ async function loadNodeHostConfig() {
|
|
|
78
78
|
}
|
|
79
79
|
async function saveNodeHostConfig(config) {
|
|
80
80
|
const filePath = resolveNodeHostConfigPath();
|
|
81
|
-
await
|
|
81
|
+
await fsPromises.mkdir(path.dirname(filePath), { recursive: true });
|
|
82
82
|
const payload = JSON.stringify(config, null, 2);
|
|
83
|
-
await
|
|
83
|
+
await fsPromises.writeFile(filePath, `${payload}\n`, { mode: 384 });
|
|
84
84
|
try {
|
|
85
|
-
await
|
|
85
|
+
await fsPromises.chmod(filePath, 384);
|
|
86
86
|
} catch {}
|
|
87
87
|
}
|
|
88
88
|
async function ensureNodeHostConfig() {
|
|
@@ -172,10 +172,10 @@ function collectBrowserProxyPaths(payload) {
|
|
|
172
172
|
return [...paths];
|
|
173
173
|
}
|
|
174
174
|
async function readBrowserProxyFile(filePath) {
|
|
175
|
-
const stat = await
|
|
175
|
+
const stat = await fsPromises.stat(filePath).catch(() => null);
|
|
176
176
|
if (!stat || !stat.isFile()) return null;
|
|
177
177
|
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`);
|
|
178
|
-
const buffer = await
|
|
178
|
+
const buffer = await fsPromises.readFile(filePath);
|
|
179
179
|
const mimeType = await detectMime({
|
|
180
180
|
buffer,
|
|
181
181
|
filePath
|
|
@@ -6,7 +6,7 @@ import "./model-selection-CMx1evaF.js";
|
|
|
6
6
|
import { _ as sanitizeHostExecEnv } from "./manifest-registry-CVLmi8rz.js";
|
|
7
7
|
import { N as VERSION, i as loadConfig } from "./config-D7TcU4qN.js";
|
|
8
8
|
import "./shell-env-CTYaxUs_.js";
|
|
9
|
-
import { on as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-
|
|
9
|
+
import { on as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-yVTJ5jx5.js";
|
|
10
10
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DXToSaWK.js";
|
|
11
11
|
import "./pairing-token-B-OTYROz.js";
|
|
12
12
|
import { n as createBrowserRouteDispatcher, r as getMachineDisplayName, t as withTimeout } from "./with-timeout-B9GM8DPj.js";
|
|
@@ -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-BLIhifCJ.js";
|
|
2
|
-
import { t as resolveGatewayService } from "./service-
|
|
2
|
+
import { t as resolveGatewayService } from "./service-CRZoXO_n.js";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/node-service.ts
|
|
5
5
|
function withNodeServiceEnv(env) {
|
|
@@ -3,9 +3,9 @@ import "./paths-By0XjHBk.js";
|
|
|
3
3
|
import { _ as shortenHomeInString, v as shortenHomePath } from "./utils-CTPsqyE_.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import "./exec-DuYbft0z.js";
|
|
6
|
-
import { l as resolveDefaultAgentId, r as resolveAgentConfig } from "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import { f as parseDurationMs, i as loadConfig } from "./config-
|
|
6
|
+
import { l as resolveDefaultAgentId, r as resolveAgentConfig } from "./agent-scope-Bnsyyeci.js";
|
|
7
|
+
import "./model-selection-CCTzD29o.js";
|
|
8
|
+
import { f as parseDurationMs, i as loadConfig } from "./config-BngIfn5l.js";
|
|
9
9
|
import "./boolean-CbZoNRMn.js";
|
|
10
10
|
import "./env-BRnPI9sO.js";
|
|
11
11
|
import "./shell-env-Dc3iU7HK.js";
|
|
@@ -13,12 +13,12 @@ import "./manifest-registry-D1MLZEjS.js";
|
|
|
13
13
|
import "./redact-B3O-RBO1.js";
|
|
14
14
|
import "./errors-bI7Tdx75.js";
|
|
15
15
|
import "./message-channel-DgjXWzf-.js";
|
|
16
|
-
import "./client-
|
|
17
|
-
import { a as randomIdempotencyKey } from "./call-
|
|
18
|
-
import "./pairing-token-
|
|
16
|
+
import "./client-CTrfpKT3.js";
|
|
17
|
+
import { a as randomIdempotencyKey } from "./call-Bpjj5p7I.js";
|
|
18
|
+
import "./pairing-token-B703A1U3.js";
|
|
19
19
|
import { n as formatTimeAgo } from "./format-relative-D4GQsWlP.js";
|
|
20
20
|
import { f as resolveExecApprovalsFromFile, i as maxAsk, o as minSecurity, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-DioSaIeH.js";
|
|
21
|
-
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-
|
|
21
|
+
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-Cp5QP3ET.js";
|
|
22
22
|
import { n as parseNodeList, r as parsePairingList } from "./node-match-N7nsmfM6.js";
|
|
23
23
|
import { t as parseTimeoutMs } from "./parse-timeout-DmEcHIsV.js";
|
|
24
24
|
import { t as formatDocsLink } from "./links-Bqr0FxXx.js";
|
|
@@ -26,8 +26,8 @@ import { n as runCommandWithRuntime } from "./cli-utils-CuyGL3rq.js";
|
|
|
26
26
|
import { t as formatHelpExamples } from "./help-format-7hFcsqss.js";
|
|
27
27
|
import "./progress-swt2y17x.js";
|
|
28
28
|
import { t as renderTable } from "./table-0A3xKJVC.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-CwxSZZOx.js";
|
|
30
|
+
import fsPromises 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 fsPromises.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 });
|
|
@@ -5,8 +5,8 @@ import "./model-selection-CMx1evaF.js";
|
|
|
5
5
|
import "./manifest-registry-CVLmi8rz.js";
|
|
6
6
|
import { f as parseDurationMs, i as loadConfig } from "./config-D7TcU4qN.js";
|
|
7
7
|
import "./shell-env-CTYaxUs_.js";
|
|
8
|
-
import "./client-
|
|
9
|
-
import { a as randomIdempotencyKey } from "./call-
|
|
8
|
+
import "./client-yVTJ5jx5.js";
|
|
9
|
+
import { a as randomIdempotencyKey } from "./call-C2urR5Fj.js";
|
|
10
10
|
import "./message-channel-DXToSaWK.js";
|
|
11
11
|
import "./pairing-token-B-OTYROz.js";
|
|
12
12
|
import "./redact-Dj3r1_tS.js";
|
|
@@ -21,7 +21,7 @@ import { n as runCommandWithRuntime } from "./cli-utils-DXfA5936.js";
|
|
|
21
21
|
import { t as formatHelpExamples } from "./help-format-Dbp8yEhl.js";
|
|
22
22
|
import "./progress-CI19Xh3z.js";
|
|
23
23
|
import { t as renderTable } from "./table-D0JXlEhQ.js";
|
|
24
|
-
import { a as unauthorizedHintForMessage, i as resolveNodeId, n as callGatewayCli, o as formatPermissions, r as nodesCallOpts, t as buildNodeInvokeParams } from "./rpc-
|
|
24
|
+
import { a as unauthorizedHintForMessage, i as resolveNodeId, n as callGatewayCli, o as formatPermissions, r as nodesCallOpts, t as buildNodeInvokeParams } from "./rpc-BnAKPQDB.js";
|
|
25
25
|
import fs from "node:fs/promises";
|
|
26
26
|
|
|
27
27
|
//#region src/cli/nodes-cli/cli-utils.ts
|
|
@@ -4,7 +4,7 @@ import { randomUUID } from "node:crypto";
|
|
|
4
4
|
import * as path$1 from "node:path";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
7
|
-
import * as fs$
|
|
7
|
+
import * as fs$1 from "node:fs/promises";
|
|
8
8
|
|
|
9
9
|
//#region src/infra/path-prepend.ts
|
|
10
10
|
function normalizePathPrepend(entries) {
|
|
@@ -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$1.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$1.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$1.writeFile(filePath, buf);
|
|
171
171
|
return {
|
|
172
172
|
path: filePath,
|
|
173
173
|
bytes: buf.length
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h as resolveUserPath } from "./utils-CTPsqyE_.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-DuYbft0z.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-BrpA09f2.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
|
-
import
|
|
6
|
+
import fsPromises 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 fsPromises.rename(params.targetDir, backupDir);
|
|
15
15
|
}
|
|
16
16
|
const rollback = async () => {
|
|
17
17
|
if (!backupDir) return;
|
|
18
|
-
await
|
|
18
|
+
await fsPromises.rm(params.targetDir, {
|
|
19
19
|
recursive: true,
|
|
20
20
|
force: true
|
|
21
21
|
}).catch(() => void 0);
|
|
22
|
-
await
|
|
22
|
+
await fsPromises.rename(backupDir, params.targetDir).catch(() => void 0);
|
|
23
23
|
};
|
|
24
24
|
try {
|
|
25
|
-
await
|
|
25
|
+
await fsPromises.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 fsPromises.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 fsPromises.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
73
73
|
try {
|
|
74
74
|
return await fn(tmpDir);
|
|
75
75
|
} finally {
|
|
76
|
-
await
|
|
76
|
+
await fsPromises.rm(tmpDir, {
|
|
77
77
|
recursive: true,
|
|
78
78
|
force: true
|
|
79
79
|
}).catch(() => void 0);
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-By0XjHBk.js";
|
|
2
2
|
import { h as resolveUserPath, v as shortenHomePath } from "./utils-CTPsqyE_.js";
|
|
3
3
|
import { f as defaultRuntime, p as restoreTerminalState } from "./subsystem-CHbO_DkH.js";
|
|
4
|
-
import { b as ensureAuthProfileStore, c as resolveApiKeyForProfile, n as resolveAuthProfileOrder, v as upsertAuthProfile } from "./auth-profiles-
|
|
4
|
+
import { b as ensureAuthProfileStore, c as resolveApiKeyForProfile, n as resolveAuthProfileOrder, v as upsertAuthProfile } from "./auth-profiles-D5nYBj_Z.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
6
|
-
import { u as normalizeProviderId } from "./model-selection-
|
|
6
|
+
import { u as normalizeProviderId } from "./model-selection-CCTzD29o.js";
|
|
7
7
|
import { n as normalizeSecretInput, t as normalizeOptionalSecretInput } from "./normalize-secret-input-DjGU5EXe.js";
|
|
8
|
-
import { f as parseDurationMs, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
9
|
-
import { o as resolveEnvApiKey } from "./model-auth-
|
|
8
|
+
import { f as parseDurationMs, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-BngIfn5l.js";
|
|
9
|
+
import { o as resolveEnvApiKey } from "./model-auth-_C07_3Yr.js";
|
|
10
10
|
import { t as assertSupportedRuntime } from "./runtime-guard-CWA00ZXa.js";
|
|
11
11
|
import { t as WizardCancelledError } from "./prompts-CNzp9M83.js";
|
|
12
12
|
import { t as createClackPrompter } from "./clack-prompter-BpcKjPIh.js";
|
|
13
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
14
|
-
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-
|
|
15
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
16
|
-
import { t as resolveGatewayService } from "./service-
|
|
17
|
-
import { r as healthCommand } from "./health-
|
|
18
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
19
|
-
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-
|
|
13
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CKn0wmCk.js";
|
|
14
|
+
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-BKejzolA.js";
|
|
15
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-CsoVnIbM.js";
|
|
16
|
+
import { t as resolveGatewayService } from "./service-CRZoXO_n.js";
|
|
17
|
+
import { r as healthCommand } from "./health-CMbUI4aN.js";
|
|
18
|
+
import { t as runOnboardingWizard } from "./onboarding-DqlPV372.js";
|
|
19
|
+
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-fgnCQEHT.js";
|
|
20
20
|
import { n as logConfigUpdated } from "./logging-DDnP1BTp.js";
|
|
21
21
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-CsL_9IlL.js";
|
|
22
|
-
import { a as detectZaiEndpoint, i as upsertSharedEnvVar, n as applyOpenAIConfig, s as applyGoogleGeminiModelDefault } from "./openai-model-default-
|
|
23
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
24
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
25
|
-
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-
|
|
22
|
+
import { a as detectZaiEndpoint, i as upsertSharedEnvVar, n as applyOpenAIConfig, s as applyGoogleGeminiModelDefault } from "./openai-model-default-De-UAjwg.js";
|
|
23
|
+
import { r as applyPrimaryModel } from "./model-picker-Dpkr5xBW.js";
|
|
24
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-BnhuRdbt.js";
|
|
25
|
+
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-DnDrvxSg.js";
|
|
26
26
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-DrMJycgG.js";
|
|
27
27
|
|
|
28
28
|
//#region src/commands/onboard-provider-auth-flags.ts
|
|
@@ -9,11 +9,11 @@ import { t as WizardCancelledError } from "./prompts-D4yOwSll.js";
|
|
|
9
9
|
import { t as createClackPrompter } from "./clack-prompter-BMQT37oC.js";
|
|
10
10
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-AkgOtHR6.js";
|
|
11
11
|
import { t as assertSupportedRuntime } from "./runtime-guard-LRRZ73eX.js";
|
|
12
|
-
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-
|
|
12
|
+
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-Dhr98nj8.js";
|
|
13
13
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CNnW7Chw.js";
|
|
14
14
|
import { t as resolveGatewayService } from "./service-DYpU1ajf.js";
|
|
15
|
-
import { r as healthCommand } from "./health-
|
|
16
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
15
|
+
import { r as healthCommand } from "./health-znS85U-F.js";
|
|
16
|
+
import { t as runOnboardingWizard } from "./onboarding-BckHLQMV.js";
|
|
17
17
|
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-YTHu2ftn.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-Ev3fNJEG.js";
|
|
19
19
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-D9d98wkI.js";
|
|
@@ -3,7 +3,7 @@ import { E as formatChannelSelectionLine, O as listChatChannels, T as formatChan
|
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-B3nkKRhC.js";
|
|
4
4
|
import { m as normalizeAccountId, p as DEFAULT_ACCOUNT_ID } from "./session-key-CFxFgYxM.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-C-Jte08L.js";
|
|
6
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
6
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-BOt7g9hn.js";
|
|
7
7
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BsEhWvLn.js";
|
|
8
8
|
import { t as formatDocsLink } from "./links-Dnmd-RS-.js";
|
|
9
9
|
import { r as listChannelPluginCatalogEntries } from "./catalog-BQgWCFTH.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-
|
|
2
|
+
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-DXjH-prv.js";
|
|
3
3
|
import { a as formatChannelSelectionLine, i as formatChannelPrimerLine, s as listChatChannels } from "./registry-Sbac4a4z.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
6
6
|
import { m as normalizeAccountId, p as DEFAULT_ACCOUNT_ID } from "./session-key-DUSb7CCb.js";
|
|
7
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
7
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-Bnsyyeci.js";
|
|
8
8
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-CF5skkHh.js";
|
|
9
9
|
import { t as formatDocsLink } from "./links-Bqr0FxXx.js";
|
|
10
10
|
import { r as listChannelPluginCatalogEntries } from "./catalog-BptA-dUv.js";
|
|
11
11
|
import { t as resolveChannelDefaultAccountId } from "./helpers-G6zuddmF.js";
|
|
12
|
-
import { n as isChannelConfigured } from "./plugin-auto-enable-
|
|
12
|
+
import { n as isChannelConfigured } from "./plugin-auto-enable-BXSJTxI7.js";
|
|
13
13
|
import { t as enablePluginInConfig } from "./enable-B8TbkmWU.js";
|
|
14
|
-
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-
|
|
14
|
+
import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-bnDlOSq2.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import fs from "node:fs";
|
|
17
17
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as modelKey, r as buildModelAliasIndex, w as DEFAULT_PROVIDER } from "./model-selection-
|
|
2
|
+
import { c as modelKey, r as buildModelAliasIndex, w as DEFAULT_PROVIDER } from "./model-selection-CCTzD29o.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-BhdrdVp5.js";
|
|
4
|
-
import { c as normalizeAlias } from "./shared-
|
|
5
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
4
|
+
import { c as normalizeAlias } from "./shared-Dh-O8nRd.js";
|
|
5
|
+
import { r as applyPrimaryModel } from "./model-picker-Dpkr5xBW.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/onboard-custom.ts
|
|
8
8
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -2,19 +2,19 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { t as CONFIG_PATH } from "./paths-By0XjHBk.js";
|
|
3
3
|
import { _ as shortenHomeInString, h as resolveUserPath, t as CONFIG_DIR, v as shortenHomePath, y as sleep } from "./utils-CTPsqyE_.js";
|
|
4
4
|
import { t as runCommandWithTimeout } from "./exec-DuYbft0z.js";
|
|
5
|
-
import { C as ensureAgentWorkspace, m as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-
|
|
6
|
-
import { E as isSafeExecutableValue, N as VERSION } from "./config-
|
|
5
|
+
import { C as ensureAgentWorkspace, m as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-Bnsyyeci.js";
|
|
6
|
+
import { E as isSafeExecutableValue, N as VERSION } from "./config-BngIfn5l.js";
|
|
7
7
|
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-XKACsamF.js";
|
|
8
8
|
import { c as pickPrimaryLanIPv4, o as isValidIPv4 } from "./ws-C7Ktmt-R.js";
|
|
9
9
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DgjXWzf-.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-BtvQ7JvU.js";
|
|
11
|
-
import { n as callGateway } from "./call-
|
|
11
|
+
import { n as callGateway } from "./call-Bpjj5p7I.js";
|
|
12
12
|
import { r as stylePromptTitle } from "./prompt-style-olk5zI5k.js";
|
|
13
|
-
import { t as isWSL } from "./wsl-
|
|
13
|
+
import { t as isWSL } from "./wsl-DTi7eX-V.js";
|
|
14
14
|
import crypto from "node:crypto";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import { inspect } from "node:util";
|
|
17
|
-
import
|
|
17
|
+
import fsPromises from "node:fs/promises";
|
|
18
18
|
import { cancel, isCancel } from "@clack/prompts";
|
|
19
19
|
|
|
20
20
|
//#region src/gateway/control-ui-shared.ts
|
|
@@ -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 fsPromises.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 fsPromises.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 fsPromises.access(resolved);
|
|
296
296
|
return true;
|
|
297
297
|
} catch {
|
|
298
298
|
return false;
|
|
@@ -3,7 +3,7 @@ import { Ft as resolveUserPath, Lt as shortenHomeInString, Rt as shortenHomePath
|
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-CzwIUObA.js";
|
|
4
4
|
import { C as ensureAgentWorkspace, m as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-C-Jte08L.js";
|
|
5
5
|
import { E as isSafeExecutableValue, N as VERSION } from "./config-D7TcU4qN.js";
|
|
6
|
-
import { n as callGateway } from "./call-
|
|
6
|
+
import { n as callGateway } from "./call-C2urR5Fj.js";
|
|
7
7
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DXToSaWK.js";
|
|
8
8
|
import { a as isValidIPv4, s as pickPrimaryLanIPv4 } from "./net-TZUXtwGR.js";
|
|
9
9
|
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-B2SPYrh4.js";
|
|
@@ -4,7 +4,7 @@ import "./utils-CTPsqyE_.js";
|
|
|
4
4
|
import "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
6
6
|
import "./exec-DuYbft0z.js";
|
|
7
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
7
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-Bnsyyeci.js";
|
|
8
8
|
import "./boolean-CbZoNRMn.js";
|
|
9
9
|
import "./frontmatter-B_jqcova.js";
|
|
10
10
|
import "./workspace-dN7eNg6n.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-Dhr98nj8.js";
|
|
3
3
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-CKKGWxWC.js";
|
|
4
4
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-XbH0AYJ4.js";
|
|
5
5
|
|
|
@@ -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-BKejzolA.js";
|
|
3
3
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-DHO-Mc6G.js";
|
|
4
4
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-CWTnBKX8.js";
|
|
5
5
|
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-B3nkKRhC.js";
|
|
3
3
|
import { n as normalizeSecretInput } from "./normalize-secret-input-8lcBtVEy.js";
|
|
4
4
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-g3ssrjuX.js";
|
|
5
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
5
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-Dhr98nj8.js";
|
|
6
6
|
import { t as installSkill } from "./skills-install-CZE8W7lV.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-skills.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
3
3
|
import { n as normalizeSecretInput } from "./normalize-secret-input-DjGU5EXe.js";
|
|
4
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
5
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
6
|
-
import { t as installSkill } from "./skills-install-
|
|
4
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-DLnCHUZ2.js";
|
|
5
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-BKejzolA.js";
|
|
6
|
+
import { t as installSkill } from "./skills-install-BTa9IuQ6.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-skills.ts
|
|
9
9
|
var onboard_skills_exports = /* @__PURE__ */ __exportAll({ setupSkills: () => setupSkills });
|