@symerian/symi 3.4.27 → 3.4.29
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-DOOj3Gzb.js → agent-CQlyTNu-.js} +1 -1
- package/dist/{agent-CiqPWDUd.js → agent-N_J2cDO6.js} +18 -18
- package/dist/{agent-scope-Bnsyyeci.js → agent-scope-DOrZjOnW.js} +18 -18
- package/dist/{agents-BBQfFoen.js → agents-1xmRO246.js} +2 -2
- package/dist/{agents.config-Dm3oLpYK.js → agents.config-BJ9RIQlb.js} +1 -1
- package/dist/{audit-BSX7fMfc.js → audit-DCwHws4M.js} +20 -20
- package/dist/{auth-choice-rhBmet5i.js → auth-choice-DwXdS4c2.js} +11 -11
- package/dist/{auth-choice-BYbTjWcs.js → auth-choice-Ryx7oj6G.js} +1 -1
- package/dist/{auth-profiles-D5nYBj_Z.js → auth-profiles-Ce7R_25e.js} +2 -2
- package/dist/{auth-token-CAV1oLQG.js → auth-token-DgRRSbEX.js} +3 -3
- package/dist/{banner-C1qG5Rm9.js → banner-CxMQaUgh.js} +1 -1
- package/dist/{browser-cli-De8jg4-F.js → browser-cli-C3hfJNZy.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/{call-CW8U1BPq.js → call-BouPakqe.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-CJD7jwYg.js → channel-options-WR29vfWK.js} +1 -1
- package/dist/{channel-options-BsXUgCMq.js → channel-options-n9C_ovb1.js} +1 -1
- package/dist/{channels-cli-Dxn5n9e4.js → channels-cli-Cs-Uq67O.js} +7 -7
- package/dist/{channels-cli-Bao4VNbH.js → channels-cli-DbFGI3vF.js} +57 -57
- package/dist/{chrome-pFBxO63W.js → chrome-rzK8edU7.js} +2 -2
- package/dist/{cli-WP38F9C5.js → cli-7ceDvtPc.js} +45 -45
- package/dist/{cli-CrhLSz3t.js → cli-D55pCJ8Q.js} +4 -4
- package/dist/{client-T5P9umyG.js → client-BzUAFrla.js} +1 -1
- package/dist/{command-registry-DoXcG7FZ.js → command-registry-DAy62yhH.js} +10 -10
- package/dist/{commands-registry-BjcGLk4v.js → commands-registry-VfAQOVZO.js} +1 -1
- package/dist/{completion-cli-C0SXi7ya.js → completion-cli-Bc1jojml.js} +12 -12
- package/dist/{completion-cli-DaWi3_ux.js → completion-cli-Bh-Y2NVp.js} +2 -2
- package/dist/{config-D-PYSlE8.js → config-D7SS4vdk.js} +2 -2
- package/dist/{config-cli-DXKm0pS5.js → config-cli-BxRcn2oD.js} +1 -1
- package/dist/{config-cli-DS67KtKf.js → config-cli-DupKETmw.js} +4 -4
- package/dist/{config-guard-xLTTFANi.js → config-guard-BGAQzX2K.js} +6 -6
- package/dist/{config-validation-C4wGq3rz.js → config-validation-COcIIMNe.js} +1 -1
- package/dist/{configure-B99YJJb0.js → configure-0XYm59w7.js} +14 -14
- package/dist/{configure-CzO4_jJJ.js → configure-BilM_Fgn.js} +2 -2
- package/dist/{consolidate-BB4BOQIN.js → consolidate-DI20-Wtn.js} +6 -6
- package/dist/{control-service-y53w3Jzy.js → control-service-Ry7Le68N.js} +4 -4
- package/dist/{control-ui-assets-Dryy7mCE.js → control-ui-assets-DuDhl0co.js} +1 -1
- package/dist/{cron-cli-BMblAFRK.js → cron-cli-DHFgjr_X.js} +7 -7
- package/dist/{daemon-cli-BJGNf5qV.js → daemon-cli-fC2R9YZd.js} +11 -11
- package/dist/{daemon-runtime-u4p9jsEF.js → daemon-runtime-tZgIbDPz.js} +10 -10
- package/dist/{deliver-C79-Umbk.js → deliver-DB4v0Tyl.js} +2 -2
- package/dist/{deps-UA1UBhl7.js → deps-BlmO-MfQ.js} +1 -1
- package/dist/{devices-cli-wsTs-nti.js → devices-cli-DtkKN4l0.js} +6 -6
- package/dist/{diagnostics-oW0LBW-t.js → diagnostics-tVJR9V0_.js} +5 -5
- package/dist/{directory-cli-D8As6t8Z.js → directory-cli-Bfy_ejW2.js} +3 -3
- package/dist/{dm-policy-shared-DRJrFKqJ.js → dm-policy-shared-CBlUyDSX.js} +1 -1
- package/dist/{dns-cli-BKOTBn3n.js → dns-cli-DzKaV6NZ.js} +3 -3
- package/dist/{docs-cli-D5j7Nmz2.js → docs-cli-a90_8wuN.js} +1 -1
- package/dist/{doctor-completion-mev5PRjN.js → doctor-completion-B6OPl_GZ.js} +2 -2
- package/dist/{doctor-completion-B1YCzbvi.js → doctor-completion-BZJWX3Dr.js} +1 -1
- package/dist/{doctor-config-flow-Uv41seME.js → doctor-config-flow-30ZEvATb.js} +9 -9
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-B4ry9s5r.js → exec-approvals-cli-C3gZAwV8.js} +13 -13
- package/dist/extensionAPI.js +2 -2
- package/dist/{file-lock-2AecMjCa.js → file-lock-BVUYnlQv.js} +8 -8
- package/dist/{fs-safe-B0Is-oLk.js → fs-safe-BdejYjW8.js} +6 -6
- package/dist/{gateway-cli-B3JVj_dv.js → gateway-cli-CyhLb-zS.js} +98 -98
- package/dist/{gateway-cli-Chnp6icp.js → gateway-cli-DQhYa6AL.js} +10 -10
- package/dist/{gateway-rpc-CLzM6ugo.js → gateway-rpc-DNq7EMhm.js} +1 -1
- package/dist/{glass-ui-ws-5o8dvEZO.js → glass-ui-ws-CLDbMDPk.js} +8 -8
- package/dist/{glass-ui-ws--GjxFRyX.js → glass-ui-ws-SJVljtUx.js} +67 -67
- package/dist/{health-D2th0Ip6.js → health-DZ0aipDZ.js} +4 -4
- package/dist/{hooks-cli-B4Nvp9AV.js → hooks-cli-BMRj13QU.js} +59 -59
- package/dist/{hooks-cli-B_sZth4r.js → hooks-cli-BVtdP5x7.js} +5 -5
- package/dist/{image-ops-BzCBIakN.js → image-ops-L70xVnpG.js} +10 -10
- package/dist/index.js +52 -52
- package/dist/{inspect-U3g9owQ8.js → inspect-CXsOujVt.js} +4 -4
- package/dist/{install-safe-path-BwMMOh9z.js → install-safe-path-D5gi-nfu.js} +11 -11
- package/dist/{installs-vdi1BESF.js → installs-DF_LhGX6.js} +10 -10
- package/dist/{internal-csqU78gW.js → internal-DVCddhhN.js} +9 -9
- package/dist/{lifecycle-core-BfmNlC-k.js → lifecycle-core-Bvdl2ShM.js} +5 -5
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{local-roots-2Jb79HZ8.js → local-roots-CgDCgCuM.js} +1 -1
- package/dist/{logs-cli-COZzdFu6.js → logs-cli-mdSEYBKS.js} +7 -7
- package/dist/{manager-DyYRwHZt.js → manager-BLg6zbeA.js} +15 -15
- package/dist/{manager-BfbQb9qM.js → manager-BhIaahpm.js} +1 -1
- package/dist/{manager-Bryhc0Ip.js → manager-BsQIpjy1.js} +1 -1
- package/dist/{manager-C5FGNRjL.js → manager-CtDuNn2T.js} +1 -1
- package/dist/{memory-DgDnTEcB.js → memory-B4DsKRSc.js} +5 -5
- package/dist/{memory-Cypj1lBQ.js → memory-BENbCb4f.js} +2 -2
- package/dist/{memory-cli-DB7UIev4.js → memory-cli-BIjwqjBx.js} +2 -2
- package/dist/{memory-cli-CfJkD7mO.js → memory-cli-DotHyA76.js} +12 -12
- package/dist/{model-DbILYCfo.js → model-DsMHOvMn.js} +1 -1
- package/dist/{model-auth-_C07_3Yr.js → model-auth-1EAQvYRv.js} +2 -2
- package/dist/{model-catalog-CeqDEWGz.js → model-catalog-DQTmHZK7.js} +3 -3
- package/dist/{model-picker-C_f6MALt.js → model-picker-D4TY_tPx.js} +5 -5
- package/dist/{model-selection-CCTzD29o.js → model-selection-7wdmO-Iw.js} +1 -1
- package/dist/{models-Bpqeds64.js → models-CmToZKBp.js} +2 -2
- package/dist/{models-cli-BUWfj5iJ.js → models-cli-CZgkOUZB.js} +55 -55
- package/dist/{models-cli-Bc47WFhD.js → models-cli-Di7iKhD4.js} +6 -6
- package/dist/{models-config-Dp5-tBqs.js → models-config-CRnTzdFs.js} +8 -8
- package/dist/{node-cli-BdjmGI32.js → node-cli-BXv9SEDG.js} +27 -27
- package/dist/{node-service-DphkTjBV.js → node-service-CrDVFWQl.js} +1 -1
- package/dist/{nodes-cli-BChJzcKY.js → nodes-cli-Cim3ANNU.js} +10 -10
- package/dist/{nodes-screen-Cp5QP3ET.js → nodes-screen-De9ma6e1.js} +4 -4
- package/dist/{npm-registry-spec-CqVgiBCf.js → npm-registry-spec-YMWTMnm_.js} +9 -9
- package/dist/{onboard-BbfERyKU.js → onboard-BXI02b3e.js} +1 -1
- package/dist/{onboard-C0nMMiiS.js → onboard-CuLvp4Ds.js} +15 -15
- package/dist/{onboard-channels-CMp9YXHC.js → onboard-channels-A6_QP7MR.js} +1 -1
- package/dist/{onboard-channels-CmsfVut5.js → onboard-channels-E5NIYGJz.js} +4 -4
- package/dist/{onboard-custom-BfHczxx0.js → onboard-custom-BrtjWDlX.js} +3 -3
- package/dist/{onboard-helpers-OB_xKQze.js → onboard-helpers---sZ9pdZ.js} +8 -8
- package/dist/{onboard-hooks-BA22KYCG.js → onboard-hooks-CtIRdncr.js} +1 -1
- package/dist/{onboard-remote-Dv2Uz8Ru.js → onboard-remote-BUB3VPBP.js} +1 -1
- package/dist/{onboard-skills-BzxofI4T.js → onboard-skills-Cs3BZ4VJ.js} +3 -3
- package/dist/{onboarding-vgZFhH5N.js → onboarding-BWMBA6cP.js} +12 -12
- package/dist/{onboarding-DoYMfCjS.js → onboarding-BeYl1Egj.js} +3 -3
- package/dist/{onboarding.finalize-Dj0xG8pk.js → onboarding.finalize-Bk-XW8b3.js} +4 -4
- package/dist/{onboarding.finalize-BYHDzz2i.js → onboarding.finalize-CH8dBgA2.js} +31 -31
- package/dist/{onboarding.gateway-config-CDRLfIZM.js → onboarding.gateway-config-arRNxrI9.js} +8 -8
- package/dist/{openai-model-default-Dl21Ivjc.js → openai-model-default-XudD4Xik.js} +2 -2
- package/dist/{pairing-cli-C2_Zobhz.js → pairing-cli-NDavTm1_.js} +5 -5
- package/dist/{pairing-store-Be-ZQK87.js → pairing-store-BNhJOnWn.js} +1 -1
- package/dist/{pairing-token-B703A1U3.js → pairing-token-Dcy37-4s.js} +7 -7
- package/dist/{paths-BWqg8NZT.js → paths-DObzwe08.js} +1 -1
- package/dist/{pi-auth-json-D-vdh-nY.js → pi-auth-json-Db8XJVGL.js} +6 -6
- package/dist/{pi-embedded-C7mJzGIf.js → pi-embedded-BL3_b-H_.js} +6 -52
- package/dist/{pi-embedded-helpers-y3vJmW6T.js → pi-embedded-helpers-B5cWV7_y.js} +6 -6
- package/dist/{pi-tools.policy-ji-L-Mpv.js → pi-tools.policy-BdGVEMZn.js} +3 -3
- package/dist/{plugin-auto-enable-Ctbn2w4Q.js → plugin-auto-enable-B_lNp6yM.js} +1 -1
- package/dist/{plugin-registry-pKaJ4ltN.js → plugin-registry-CAdIrLmG.js} +1 -1
- package/dist/{plugin-registry-D2ZbwBU_.js → plugin-registry-DovNSdK0.js} +3 -3
- package/dist/plugin-sdk/agents/pi-tools.types.d.ts +2 -1
- package/dist/plugin-sdk/agents/tools/common.d.ts +0 -30
- package/dist/{plugins-cli-uo8lcB7v.js → plugins-cli-JzKO-vmR.js} +5 -5
- package/dist/{plugins-cli-CoHiV4BX.js → plugins-cli-ZG4PxNTC.js} +54 -54
- package/dist/{ports-ukrEAkOP.js → ports-C3ZSkRGq.js} +1 -1
- package/dist/{ports-CB_Iu83U.js → ports-gxLM5ahL.js} +2 -2
- package/dist/{program-rzYjZKRz.js → program-BbfU4idg.js} +10 -10
- package/dist/{program-context-B1ZbQmLL.js → program-context-ByiEP1Lk.js} +38 -38
- package/dist/{prompt-select-styled-F6P-rvFI.js → prompt-select-styled-CWH2Mcrb.js} +4 -4
- package/dist/{prompt-select-styled-CX0v66wx.js → prompt-select-styled-DvrG_zWV.js} +38 -38
- package/dist/{provider-auth-helpers-_jn9PngO.js → provider-auth-helpers-2x7YxT5F.js} +6 -6
- package/dist/{provider-auth-helpers-Ck98bkHV.js → provider-auth-helpers-CMQexdSl.js} +1 -1
- package/dist/{push-apns-BtMtpzEm.js → push-apns-CtWwPxRj.js} +1 -1
- package/dist/{push-apns-CmeoBcIQ.js → push-apns-eGdGU3r7.js} +4 -4
- package/dist/{pw-ai-CQJsGI1b.js → pw-ai-tgngV3iZ.js} +7 -7
- package/dist/{qmd-manager-DawTY2mB.js → qmd-manager-qV_04VKG.js} +19 -19
- package/dist/{qr-cli-DKowtQcM.js → qr-cli-Vo1XL6B2.js} +3 -3
- package/dist/{register.agent-_UqSBmt5.js → register.agent-DZE9NBNx.js} +9 -9
- package/dist/{register.agent-0hWBZXD7.js → register.agent-Dwkya1rv.js} +67 -67
- package/dist/{register.configure-KrTtvKSp.js → register.configure-CD8WkXo8.js} +8 -8
- package/dist/{register.configure-CgQ6sqtQ.js → register.configure-DCpbCHR0.js} +70 -70
- package/dist/{register.maintenance-DjZeknO6.js → register.maintenance-Bqjj77CZ.js} +67 -67
- package/dist/{register.maintenance-DDSfzFoo.js → register.maintenance-CxVeo_7j.js} +9 -9
- package/dist/{register.message-DSwwDcGi.js → register.message-tcJN7-E3.js} +5 -5
- package/dist/{register.message-DTZJ5OiL.js → register.message-uhAmNxoO.js} +47 -47
- package/dist/{register.onboard-B8k5phG7.js → register.onboard-F6d_Wrv1.js} +25 -25
- package/dist/{register.onboard-BToIZTIS.js → register.onboard-Rm5t0yxX.js} +2 -2
- package/dist/{register.setup-BdUewOo1.js → register.setup-C2datfZK.js} +2 -2
- package/dist/{register.setup-1fexz2oW.js → register.setup-CcHxpsUT.js} +28 -28
- package/dist/{register.status-health-sessions-eBaeXIvo.js → register.status-health-sessions-DFVjS9Hy.js} +3 -3
- package/dist/{register.status-health-sessions-0RyA2cXf.js → register.status-health-sessions-DIUDRMqm.js} +41 -41
- package/dist/{register.subclis-tX3BslaT.js → register.subclis-D9uGnVGm.js} +9 -9
- package/dist/{replies-D3cffD5N.js → replies-DzsYQ8Md.js} +1 -1
- package/dist/{reply-prefix-CtZtkTJK.js → reply-prefix-BFNeXT65.js} +1 -1
- package/dist/{resolve-route-B0i_o4Fo.js → resolve-route-Zww0Y-HJ.js} +1 -1
- package/dist/{routes-zpAUwtCG.js → routes-C-rIjd8Z.js} +10 -10
- package/dist/{rpc-DhsDKVo-.js → rpc-BkFkeuJ6.js} +1 -1
- package/dist/{run-main-DIl_Kl0B.js → run-main-HkbyvIDy.js} +17 -17
- package/dist/{sandbox-DQCaejcD.js → sandbox-Dx8IMw-E.js} +18 -18
- package/dist/{sandbox-cli-CbvyZs1z.js → sandbox-cli-BFkLKdlk.js} +13 -13
- package/dist/{security-cli-CbJxNYZx.js → security-cli-BEpQ_rO1.js} +29 -29
- package/dist/{send-QscYkkNh.js → send-Cxu1tl56.js} +7 -7
- package/dist/{server-context-CXVq7gZ7.js → server-context--mmXXEkE.js} +5 -5
- package/dist/{server-methods-CpFBGxWI.js → server-methods-DJ8eiTu1.js} +6 -6
- package/dist/{server-methods-DPxjPGr0.js → server-methods-RtjWUhkv.js} +58 -58
- package/dist/{server-node-events-2SUW10k3.js → server-node-events-CT8fFtBQ.js} +6 -6
- package/dist/{server-node-events-B_BPbi7z.js → server-node-events-DQ1iCUgY.js} +48 -48
- package/dist/{service-Cm4-5AH9.js → service-CyEDtYLq.js} +15 -15
- package/dist/{session-dirs-BypCYFN3.js → session-dirs-CXErIzZq.js} +2 -2
- package/dist/{session-utils-lXjJoBxe.js → session-utils-BZnPW904.js} +14 -14
- package/dist/{sessions-aSo5jsmg.js → sessions-optZRB57.js} +10 -10
- package/dist/{shared-DDX_4ypC.js → shared-Ctok0Bcs.js} +1 -1
- package/dist/{shared-BI-gOZsD.js → shared-DJFwvlUi.js} +3 -3
- package/dist/{skill-commands-C9WuAfb2.js → skill-commands-yPirQFOb.js} +4 -4
- package/dist/{skill-scanner-CFqMkfZW.js → skill-scanner-BBwesm0w.js} +5 -5
- package/dist/{skills-CYcBtLGH.js → skills-BwDmcZdt.js} +4 -4
- package/dist/{skills-cli-BgyaAQoj.js → skills-cli-gC5ETdly.js} +7 -7
- package/dist/{skills-install-MGsx6q5Z.js → skills-install-CLN_Ks5r.js} +3 -3
- package/dist/{skills-remote-BcRQTDsZ.js → skills-remote-bz71Bstn.js} +3 -3
- package/dist/{skills-status-CbSdFlvm.js → skills-status-iltfI_bO.js} +1 -1
- package/dist/{sqlite-BpogPlQW.js → sqlite-Cod7C5ba.js} +5 -5
- package/dist/{status-DbNNmkNB.js → status-CoqGtHXq.js} +1 -1
- package/dist/{status-BVYDUlnp.js → status-Cpz64Vy_.js} +1 -1
- package/dist/{status-C-r9JpJf.js → status-CuMBp54T.js} +23 -23
- package/dist/{status-DIJvpgEm.js → status-EAjzyREy.js} +3 -3
- package/dist/{status.update-EyslEZkn.js → status.update-F4CbQCxF.js} +3 -3
- package/dist/{subagent-registry-DWemyjbN.js → subagent-registry-Dkif1XYO.js} +6 -52
- package/dist/{symi-root-DeCVdZB4.js → symi-root-BQ0IpoW2.js} +2 -2
- package/dist/{synthesis-BdTiornP.js → synthesis-B6tq6-9G.js} +2 -2
- package/dist/{synthesis-C7RlvHEs.js → synthesis-CKKZrrYd.js} +45 -45
- package/dist/{synthesis-BxYzOZUA.js → synthesis-CpsURf9J.js} +4 -4
- package/dist/{synthesis-DQ7Y6OE0.js → synthesis-mgcCKSzl.js} +2 -2
- package/dist/{system-cli-DgOvK_kU.js → system-cli-DMKzffe3.js} +7 -7
- package/dist/{systemd-B2nTr3Y2.js → systemd-DRpQb_L1.js} +5 -5
- package/dist/{systemd-hints-DtOWJT_2.js → systemd-hints-DR4u43WA.js} +6 -6
- package/dist/{systemd-linger-CWi5l8Nt.js → systemd-linger-BQQl5RXN.js} +1 -1
- package/dist/{tui-D7ms_iQ4.js → tui-CqrM_Fj2.js} +7 -7
- package/dist/{tui-cli-DNvAqIYN.js → tui-cli-BsqRmqTX.js} +19 -19
- package/dist/{unified-runner-DPWNhQQA.js → unified-runner-DAWxqcS9.js} +6 -52
- package/dist/{unified-runner-BIUJm_Iv.js → unified-runner-DZAjU6aB.js} +104 -150
- package/dist/{update-pddgyV7i.js → update-CWEjB8uS.js} +3 -3
- package/dist/{update-check-CduiCxPo.js → update-check-CxBGAP1E.js} +5 -5
- package/dist/{update-cli-BM-A3cIZ.js → update-cli-Bgk30eoA.js} +9 -9
- package/dist/{update-cli-GKXF83cS.js → update-cli-t7W6vcQY.js} +77 -77
- package/dist/{update-runner-BMYqz1dl.js → update-runner-C4Uy75eP.js} +15 -15
- package/dist/{webhooks-cli-BPPmnDCj.js → webhooks-cli-Dp-pp0Sf.js} +4 -4
- package/dist/{with-timeout-D1qzvPE0.js → with-timeout-B5zAsivw.js} +1 -1
- package/dist/{workspace-dirs-DCICLTHx.js → workspace-dirs-jKFQf7of.js} +1 -1
- package/dist/{wsl-Sed675xh.js → wsl-DMA0sTvh.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/agents/tools/availability-filter.d.ts +0 -10
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { _t as buildAuthHealthSummary, gt as DEFAULT_OAUTH_WARN_MS, s as loadSymiPlugins, vt as formatRemainingShort } from "./unified-runner-
|
|
1
|
+
import { _t as buildAuthHealthSummary, gt as DEFAULT_OAUTH_WARN_MS, s as loadSymiPlugins, vt as formatRemainingShort } from "./unified-runner-DZAjU6aB.js";
|
|
2
2
|
import { P as getResolvedLoggerSettings } from "./registry-Sbac4a4z.js";
|
|
3
3
|
import { _ as resolveStateDir, b as resolveRequiredHomeDir, d as resolveIsNixMode, h as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-By0XjHBk.js";
|
|
4
4
|
import { h as resolveUserPath, v as shortenHomePath, y as sleep } from "./utils-CTPsqyE_.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-CHbO_DkH.js";
|
|
6
|
-
import { D as CODEX_CLI_PROFILE_ID, E as CLAUDE_CLI_PROFILE_ID, S as updateAuthProfileStoreWithLock, b as ensureAuthProfileStore, c as resolveApiKeyForProfile, p as repairOAuthProfileIdMismatch, s as resolveProfileUnusableUntilForDisplay } from "./auth-profiles-
|
|
6
|
+
import { D as CODEX_CLI_PROFILE_ID, E as CLAUDE_CLI_PROFILE_ID, S as updateAuthProfileStoreWithLock, b as ensureAuthProfileStore, c as resolveApiKeyForProfile, p as repairOAuthProfileIdMismatch, s as resolveProfileUnusableUntilForDisplay } from "./auth-profiles-Ce7R_25e.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
8
|
-
import { t as resolveSymiPackageRoot } from "./symi-root-
|
|
8
|
+
import { t as resolveSymiPackageRoot } from "./symi-root-BQ0IpoW2.js";
|
|
9
9
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-DuYbft0z.js";
|
|
10
|
-
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, p as DEFAULT_AGENTS_FILENAME } from "./agent-scope-
|
|
11
|
-
import { C as DEFAULT_MODEL, g as resolveHooksGmailModel, m as resolveConfiguredModelRef, o as getModelRefStatus, w as DEFAULT_PROVIDER } from "./model-selection-
|
|
12
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
10
|
+
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, p as DEFAULT_AGENTS_FILENAME } from "./agent-scope-DOrZjOnW.js";
|
|
11
|
+
import { C as DEFAULT_MODEL, g as resolveHooksGmailModel, m as resolveConfiguredModelRef, o as getModelRefStatus, w as DEFAULT_PROVIDER } from "./model-selection-7wdmO-Iw.js";
|
|
12
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-D7SS4vdk.js";
|
|
13
13
|
import { t as isTruthyEnvValue } from "./env-BRnPI9sO.js";
|
|
14
|
-
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-
|
|
14
|
+
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-Dx8IMw-E.js";
|
|
15
15
|
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./ws-C7Ktmt-R.js";
|
|
16
16
|
import { a as resolveGatewayAuth } from "./auth-Bkx-QuRN.js";
|
|
17
|
-
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-
|
|
18
|
-
import { H as resolveMainSessionKey, Y as cleanStaleLockFiles, o as loadSessionStore } from "./sessions-
|
|
17
|
+
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-gxLM5ahL.js";
|
|
18
|
+
import { H as resolveMainSessionKey, Y as cleanStaleLockFiles, o as loadSessionStore } from "./sessions-optZRB57.js";
|
|
19
19
|
import { n as listChannelPlugins } from "./plugins-CF5skkHh.js";
|
|
20
20
|
import { c as resolveStorePath, n as resolveSessionFilePath, s as resolveSessionTranscriptsDirForAgent } from "./paths-BtvQ7JvU.js";
|
|
21
|
-
import { i as resolveApiKeyForProvider } from "./model-auth-
|
|
22
|
-
import { n as resolveMemoryBackendConfig } from "./memory-
|
|
23
|
-
import { c as resolveMemorySearchConfig } from "./manager-
|
|
24
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
25
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
21
|
+
import { i as resolveApiKeyForProvider } from "./model-auth-1EAQvYRv.js";
|
|
22
|
+
import { n as resolveMemoryBackendConfig } from "./memory-B4DsKRSc.js";
|
|
23
|
+
import { c as resolveMemorySearchConfig } from "./manager-BLg6zbeA.js";
|
|
24
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BouPakqe.js";
|
|
25
|
+
import { n as loadModelCatalog } from "./model-catalog-DQTmHZK7.js";
|
|
26
26
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, m as resolveNodeLaunchAgentLabel } from "./constants-ChnKXZKi.js";
|
|
27
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
27
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-iltfI_bO.js";
|
|
28
28
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-BEDZROvQ.js";
|
|
29
29
|
import { t as note$1 } from "./note-DlaPViz1.js";
|
|
30
30
|
import { t as resolveChannelDefaultAccountId } from "./helpers-DgsKk072.js";
|
|
31
31
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-mROqdfm_.js";
|
|
32
|
-
import { a as gatewayInstallErrorHint, f as renderSystemNodeWarning, i as buildGatewayInstallPlan, m as resolveSystemNodeInfo, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
33
|
-
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers
|
|
34
|
-
import { n as isWSLEnv, t as isWSL } from "./wsl-
|
|
35
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
36
|
-
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
37
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
38
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
39
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
40
|
-
import { r as healthCommand } from "./health-
|
|
41
|
-
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-
|
|
42
|
-
import { t as resolveDmAllowState } from "./dm-policy-shared-
|
|
43
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
44
|
-
import { t as resolveAgentSessionDirs } from "./session-dirs-
|
|
32
|
+
import { a as gatewayInstallErrorHint, f as renderSystemNodeWarning, i as buildGatewayInstallPlan, m as resolveSystemNodeInfo, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-tZgIbDPz.js";
|
|
33
|
+
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers---sZ9pdZ.js";
|
|
34
|
+
import { n as isWSLEnv, t as isWSL } from "./wsl-DMA0sTvh.js";
|
|
35
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-DRpQb_L1.js";
|
|
36
|
+
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-CyEDtYLq.js";
|
|
37
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-DR4u43WA.js";
|
|
38
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-tVJR9V0_.js";
|
|
39
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-CXsOujVt.js";
|
|
40
|
+
import { r as healthCommand } from "./health-DZ0aipDZ.js";
|
|
41
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-DuDhl0co.js";
|
|
42
|
+
import { t as resolveDmAllowState } from "./dm-policy-shared-CBlUyDSX.js";
|
|
43
|
+
import { t as runGatewayUpdate } from "./update-runner-C4Uy75eP.js";
|
|
44
|
+
import { t as resolveAgentSessionDirs } from "./session-dirs-CXErIzZq.js";
|
|
45
45
|
import { n as logConfigUpdated } from "./logging-CoYSc9bY.js";
|
|
46
|
-
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
47
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
46
|
+
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-30ZEvATb.js";
|
|
47
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BQQl5RXN.js";
|
|
48
48
|
import { t as formatHealthCheckFailure } from "./health-format-CUEM0lJl.js";
|
|
49
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
49
|
+
import { n as doctorShellCompletion } from "./doctor-completion-B6OPl_GZ.js";
|
|
50
50
|
import path from "node:path";
|
|
51
51
|
import fs from "node:fs";
|
|
52
52
|
import os from "node:os";
|
|
53
53
|
import { promisify } from "node:util";
|
|
54
|
-
import
|
|
54
|
+
import fs$1 from "node:fs/promises";
|
|
55
55
|
import { execFile } from "node:child_process";
|
|
56
56
|
import { confirm, intro, outro, select } from "@clack/prompts";
|
|
57
57
|
|
|
@@ -517,16 +517,16 @@ async function cleanupLegacyLaunchdService(params) {
|
|
|
517
517
|
await execFileAsync$1("launchctl", ["unload", params.plistPath]).catch(() => void 0);
|
|
518
518
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
519
519
|
try {
|
|
520
|
-
await
|
|
520
|
+
await fs$1.mkdir(trashDir, { recursive: true });
|
|
521
521
|
} catch {}
|
|
522
522
|
try {
|
|
523
|
-
await
|
|
523
|
+
await fs$1.access(params.plistPath);
|
|
524
524
|
} catch {
|
|
525
525
|
return null;
|
|
526
526
|
}
|
|
527
527
|
const dest = path.join(trashDir, `${params.label}-${Date.now()}.plist`);
|
|
528
528
|
try {
|
|
529
|
-
await
|
|
529
|
+
await fs$1.rename(params.plistPath, dest);
|
|
530
530
|
return dest;
|
|
531
531
|
} catch {
|
|
532
532
|
return null;
|
|
@@ -1486,11 +1486,11 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
1486
1486
|
argv1: process.argv[1]
|
|
1487
1487
|
})).indexPath ?? resolveControlUiDistIndexPathForRoot(root);
|
|
1488
1488
|
try {
|
|
1489
|
-
const [schemaStats, uiStats] = await Promise.all([
|
|
1489
|
+
const [schemaStats, uiStats] = await Promise.all([fs$1.stat(schemaPath).catch(() => null), fs$1.stat(uiIndexPath).catch(() => null)]);
|
|
1490
1490
|
if (schemaStats && !uiStats) {
|
|
1491
1491
|
note$1(["- Control UI assets are missing.", "- Run: pnpm ui:build"].join("\n"), "UI");
|
|
1492
1492
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
1493
|
-
if (!await
|
|
1493
|
+
if (!await fs$1.stat(uiSourcesPath).catch(() => null)) {
|
|
1494
1494
|
note$1("Skipping UI build: ui/ sources not present.", "UI");
|
|
1495
1495
|
return;
|
|
1496
1496
|
}
|
|
@@ -1535,7 +1535,7 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
1535
1535
|
initialValue: true
|
|
1536
1536
|
})) {
|
|
1537
1537
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
1538
|
-
if (!await
|
|
1538
|
+
if (!await fs$1.stat(uiSourcesPath).catch(() => null)) {
|
|
1539
1539
|
note$1("Skipping UI rebuild: ui/ sources not present.", "UI");
|
|
1540
1540
|
return;
|
|
1541
1541
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-
|
|
1
|
+
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-DZAjU6aB.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
3
|
-
import { b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-
|
|
4
|
-
import { u as normalizeProviderId } from "./model-selection-
|
|
3
|
+
import { b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-Ce7R_25e.js";
|
|
4
|
+
import { u as normalizeProviderId } from "./model-selection-7wdmO-Iw.js";
|
|
5
5
|
import { r as stylePromptTitle } from "./prompt-style-BEDZROvQ.js";
|
|
6
|
-
import { n as isWSLEnv } from "./wsl-
|
|
7
|
-
import { f as updateConfig } from "./shared-
|
|
8
|
-
import { d as applyAuthProfileConfig } from "./auth-token-
|
|
6
|
+
import { n as isWSLEnv } from "./wsl-DMA0sTvh.js";
|
|
7
|
+
import { f as updateConfig } from "./shared-DJFwvlUi.js";
|
|
8
|
+
import { d as applyAuthProfileConfig } from "./auth-token-DgRRSbEX.js";
|
|
9
9
|
import { n as logConfigUpdated } from "./logging-CoYSc9bY.js";
|
|
10
10
|
import { intro, note, outro, spinner } from "@clack/prompts";
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-D11Xw15i.js";
|
|
3
3
|
import { u as normalizeProviderId } from "./model-selection-CMx1evaF.js";
|
|
4
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-Dkif1XYO.js";
|
|
5
5
|
import { r as stylePromptTitle } from "./prompt-style-BIa9VCNS.js";
|
|
6
6
|
import { n as isWSLEnv } from "./wsl-CAxwzmL8.js";
|
|
7
7
|
import { f as updateConfig } from "./shared-DJ_GXCp1.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { U as isVerbose, f as shouldLogSubsystemToConsole, o as createSubsystemLogger, yt as resolveStateDir } from "./entry.js";
|
|
2
2
|
import { x as parseAgentSessionKey } from "./session-key-CFxFgYxM.js";
|
|
3
3
|
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-B-OTYROz.js";
|
|
4
|
-
import { $t as estimateBase64DecodedBytes, d as sniffMimeFromBase64 } from "./subagent-registry-
|
|
4
|
+
import { $t as estimateBase64DecodedBytes, d as sniffMimeFromBase64 } from "./subagent-registry-Dkif1XYO.js";
|
|
5
5
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-Dj3r1_tS.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import chalk from "chalk";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { At as estimateBase64DecodedBytes, i as sniffMimeFromBase64 } from "./unified-runner-
|
|
1
|
+
import { At as estimateBase64DecodedBytes, i as sniffMimeFromBase64 } from "./unified-runner-DZAjU6aB.js";
|
|
2
2
|
import { S as isVerbose } from "./registry-Sbac4a4z.js";
|
|
3
3
|
import { _ as resolveStateDir } from "./paths-By0XjHBk.js";
|
|
4
4
|
import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import { x as parseAgentSessionKey } from "./session-key-DUSb7CCb.js";
|
|
6
6
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-B3O-RBO1.js";
|
|
7
|
-
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-
|
|
7
|
+
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-Dcy37-4s.js";
|
|
8
8
|
import { createHash, createPrivateKey, sign } from "node:crypto";
|
|
9
9
|
import chalk from "chalk";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import fs from "node:fs/promises";
|
|
12
12
|
import http2 from "node:http2";
|
|
13
13
|
|
|
14
14
|
//#region src/gateway/ws-logging.ts
|
|
@@ -525,7 +525,7 @@ async function resolveApnsAuthConfigFromEnv(env = process.env) {
|
|
|
525
525
|
value: {
|
|
526
526
|
teamId,
|
|
527
527
|
keyId,
|
|
528
|
-
privateKey: normalizePrivateKey(await
|
|
528
|
+
privateKey: normalizePrivateKey(await fs.readFile(keyPath, "utf8"))
|
|
529
529
|
}
|
|
530
530
|
};
|
|
531
531
|
} catch (err) {
|
|
@@ -4,21 +4,21 @@ 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 "./agent-scope-
|
|
8
|
-
import "./model-selection-
|
|
9
|
-
import "./config-
|
|
7
|
+
import "./agent-scope-DOrZjOnW.js";
|
|
8
|
+
import "./model-selection-7wdmO-Iw.js";
|
|
9
|
+
import "./config-D7SS4vdk.js";
|
|
10
10
|
import "./boolean-CbZoNRMn.js";
|
|
11
11
|
import "./env-BRnPI9sO.js";
|
|
12
12
|
import "./shell-env-Dc3iU7HK.js";
|
|
13
13
|
import "./manifest-registry-D1MLZEjS.js";
|
|
14
|
-
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-
|
|
14
|
+
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-rzK8edU7.js";
|
|
15
15
|
import "./redact-B3O-RBO1.js";
|
|
16
16
|
import { n as formatErrorMessage } from "./errors-bI7Tdx75.js";
|
|
17
17
|
import "./ssrf-DOZRI5XH.js";
|
|
18
|
-
import "./ports-
|
|
18
|
+
import "./ports-gxLM5ahL.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
import path from "node:path";
|
|
21
|
-
import
|
|
21
|
+
import fs from "node:fs/promises";
|
|
22
22
|
import { chromium, devices } from "playwright-core";
|
|
23
23
|
|
|
24
24
|
//#region src/browser/pw-ai-state.ts
|
|
@@ -897,7 +897,7 @@ function createPageDownloadWaiter(page, timeoutMs) {
|
|
|
897
897
|
async function saveDownloadPayload(download, outPath) {
|
|
898
898
|
const suggested = download.suggestedFilename?.() || "download.bin";
|
|
899
899
|
const resolvedOutPath = outPath?.trim() || buildTempDownloadPath(suggested);
|
|
900
|
-
await
|
|
900
|
+
await fs.mkdir(path.dirname(resolvedOutPath), { recursive: true });
|
|
901
901
|
await download.saveAs?.(resolvedOutPath);
|
|
902
902
|
return {
|
|
903
903
|
url: download.url?.() || "",
|
|
@@ -4,14 +4,14 @@ import "./utils-CTPsqyE_.js";
|
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import { x as parseAgentSessionKey } from "./session-key-DUSb7CCb.js";
|
|
6
6
|
import "./exec-DuYbft0z.js";
|
|
7
|
-
import { c as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
+
import { c as resolveAgentWorkspaceDir } from "./agent-scope-DOrZjOnW.js";
|
|
8
8
|
import "./redact-B3O-RBO1.js";
|
|
9
9
|
import "./paths-BtvQ7JvU.js";
|
|
10
|
-
import { m as statRegularFile, p as isFileMissingError } from "./internal-
|
|
11
|
-
import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-
|
|
10
|
+
import { m as statRegularFile, p as isFileMissingError } from "./internal-DVCddhhN.js";
|
|
11
|
+
import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-Cod7C5ba.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import os from "node:os";
|
|
14
|
-
import
|
|
14
|
+
import fs from "node:fs/promises";
|
|
15
15
|
import { spawn } from "node:child_process";
|
|
16
16
|
import readline from "node:readline";
|
|
17
17
|
|
|
@@ -243,10 +243,10 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
243
243
|
async initialize(mode) {
|
|
244
244
|
this.bootstrapCollections();
|
|
245
245
|
if (mode === "status") return;
|
|
246
|
-
await
|
|
247
|
-
await
|
|
248
|
-
await
|
|
249
|
-
if (this.sessionExporter) await
|
|
246
|
+
await fs.mkdir(this.xdgConfigHome, { recursive: true });
|
|
247
|
+
await fs.mkdir(this.xdgCacheHome, { recursive: true });
|
|
248
|
+
await fs.mkdir(path.dirname(this.indexPath), { recursive: true });
|
|
249
|
+
if (this.sessionExporter) await fs.mkdir(this.sessionExporter.dir, { recursive: true });
|
|
250
250
|
await this.symlinkSharedModels();
|
|
251
251
|
await this.ensureCollections();
|
|
252
252
|
if (this.qmd.update.onBoot) {
|
|
@@ -322,7 +322,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
322
322
|
}
|
|
323
323
|
async ensureCollectionPath(collection) {
|
|
324
324
|
if (!this.isDirectoryGlobPattern(collection.pattern)) return;
|
|
325
|
-
await
|
|
325
|
+
await fs.mkdir(collection.path, { recursive: true });
|
|
326
326
|
}
|
|
327
327
|
isDirectoryGlobPattern(pattern) {
|
|
328
328
|
return pattern.includes("*") || pattern.includes("?") || pattern.includes("[");
|
|
@@ -658,19 +658,19 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
658
658
|
const defaultModelsDir = path.join(defaultCacheHome, "qmd", "models");
|
|
659
659
|
const targetModelsDir = path.join(this.xdgCacheHome, "qmd", "models");
|
|
660
660
|
try {
|
|
661
|
-
if (!(await
|
|
661
|
+
if (!(await fs.stat(defaultModelsDir).catch((err) => {
|
|
662
662
|
if (err.code === "ENOENT") return null;
|
|
663
663
|
throw err;
|
|
664
664
|
}))?.isDirectory()) return;
|
|
665
665
|
try {
|
|
666
|
-
await
|
|
666
|
+
await fs.lstat(targetModelsDir);
|
|
667
667
|
return;
|
|
668
668
|
} catch {}
|
|
669
669
|
try {
|
|
670
|
-
await
|
|
670
|
+
await fs.symlink(defaultModelsDir, targetModelsDir, "dir");
|
|
671
671
|
} catch (symlinkErr) {
|
|
672
672
|
const code = symlinkErr.code;
|
|
673
|
-
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await
|
|
673
|
+
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await fs.symlink(defaultModelsDir, targetModelsDir, "junction");
|
|
674
674
|
else throw symlinkErr;
|
|
675
675
|
}
|
|
676
676
|
log.debug(`symlinked qmd models: ${defaultModelsDir} → ${targetModelsDir}`);
|
|
@@ -725,7 +725,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
725
725
|
const count = Math.max(1, lines ?? Number.POSITIVE_INFINITY);
|
|
726
726
|
let handle;
|
|
727
727
|
try {
|
|
728
|
-
handle = await
|
|
728
|
+
handle = await fs.open(absPath);
|
|
729
729
|
} catch (err) {
|
|
730
730
|
if (isFileMissingError(err)) return { missing: true };
|
|
731
731
|
throw err;
|
|
@@ -757,7 +757,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
757
757
|
try {
|
|
758
758
|
return {
|
|
759
759
|
missing: false,
|
|
760
|
-
text: await
|
|
760
|
+
text: await fs.readFile(absPath, "utf-8")
|
|
761
761
|
};
|
|
762
762
|
} catch (err) {
|
|
763
763
|
if (isFileMissingError(err)) return { missing: true };
|
|
@@ -774,7 +774,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
774
774
|
async exportSessions() {
|
|
775
775
|
if (!this.sessionExporter) return;
|
|
776
776
|
const exportDir = this.sessionExporter.dir;
|
|
777
|
-
await
|
|
777
|
+
await fs.mkdir(exportDir, { recursive: true });
|
|
778
778
|
const files = await listSessionFilesForAgent(this.agentId);
|
|
779
779
|
const keep = /* @__PURE__ */ new Set();
|
|
780
780
|
const tracked = /* @__PURE__ */ new Set();
|
|
@@ -786,7 +786,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
786
786
|
const target = path.join(exportDir, `${path.basename(sessionFile, ".jsonl")}.md`);
|
|
787
787
|
tracked.add(sessionFile);
|
|
788
788
|
const state = this.exportedSessionState.get(sessionFile);
|
|
789
|
-
if (!state || state.hash !== entry.hash || state.mtimeMs !== entry.mtimeMs) await
|
|
789
|
+
if (!state || state.hash !== entry.hash || state.mtimeMs !== entry.mtimeMs) await fs.writeFile(target, this.renderSessionMarkdown(entry), "utf-8");
|
|
790
790
|
this.exportedSessionState.set(sessionFile, {
|
|
791
791
|
hash: entry.hash,
|
|
792
792
|
mtimeMs: entry.mtimeMs,
|
|
@@ -794,11 +794,11 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
794
794
|
});
|
|
795
795
|
keep.add(target);
|
|
796
796
|
}
|
|
797
|
-
const exported = await
|
|
797
|
+
const exported = await fs.readdir(exportDir).catch(() => []);
|
|
798
798
|
for (const name of exported) {
|
|
799
799
|
if (!name.endsWith(".md")) continue;
|
|
800
800
|
const full = path.join(exportDir, name);
|
|
801
|
-
if (!keep.has(full)) await
|
|
801
|
+
if (!keep.has(full)) await fs.rm(full, { force: true });
|
|
802
802
|
}
|
|
803
803
|
for (const [sessionFile, state] of this.exportedSessionState) if (!tracked.has(sessionFile) || !state.target.startsWith(exportDir + path.sep)) this.exportedSessionState.delete(sessionFile);
|
|
804
804
|
}
|
|
@@ -3,9 +3,9 @@ import "./paths-By0XjHBk.js";
|
|
|
3
3
|
import "./utils-CTPsqyE_.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import { t as runCommandWithTimeout } from "./exec-DuYbft0z.js";
|
|
6
|
-
import "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
6
|
+
import "./agent-scope-DOrZjOnW.js";
|
|
7
|
+
import "./model-selection-7wdmO-Iw.js";
|
|
8
|
+
import { i as loadConfig } from "./config-D7SS4vdk.js";
|
|
9
9
|
import "./boolean-CbZoNRMn.js";
|
|
10
10
|
import "./env-BRnPI9sO.js";
|
|
11
11
|
import "./shell-env-Dc3iU7HK.js";
|
|
@@ -19,7 +19,7 @@ import "./client-BqT7xONl.js";
|
|
|
19
19
|
import { a as randomIdempotencyKey, n as callGateway } from "./call-GzGqMHAx.js";
|
|
20
20
|
import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-DXToSaWK.js";
|
|
21
21
|
import "./pairing-token-B-OTYROz.js";
|
|
22
|
-
import "./subagent-registry-
|
|
22
|
+
import "./subagent-registry-Dkif1XYO.js";
|
|
23
23
|
import "./sessions-DHPf5TzB.js";
|
|
24
24
|
import "./plugins-BsEhWvLn.js";
|
|
25
25
|
import "./send-BBfSp-8Q.js";
|
|
@@ -49,8 +49,8 @@ import "./model-auth-Byr7Gic_.js";
|
|
|
49
49
|
import "./github-copilot-token-B5y4__YM.js";
|
|
50
50
|
import "./models-config-Br7EjqgG.js";
|
|
51
51
|
import "./reply-prefix-DV3KhOhL.js";
|
|
52
|
-
import "./memory-
|
|
53
|
-
import "./manager-
|
|
52
|
+
import "./memory-BENbCb4f.js";
|
|
53
|
+
import "./manager-BhIaahpm.js";
|
|
54
54
|
import "./sqlite-9jF_eajd.js";
|
|
55
55
|
import "./chunk-B2lBXhR0.js";
|
|
56
56
|
import "./markdown-tables-BEdkErjm.js";
|
|
@@ -80,7 +80,7 @@ import { t as formatDocsLink } from "./links-BDe4dm1J.js";
|
|
|
80
80
|
import { n as runCommandWithRuntime } from "./cli-utils-BhfE5XS2.js";
|
|
81
81
|
import { t as formatHelpExamples } from "./help-format-CbgFRc-H.js";
|
|
82
82
|
import { n as withProgress } from "./progress-CqV5lJkt.js";
|
|
83
|
-
import "./memory-cli-
|
|
83
|
+
import "./memory-cli-BIjwqjBx.js";
|
|
84
84
|
import "./logging-BeW3kpQA.js";
|
|
85
85
|
import "./replies-LM-arXEE.js";
|
|
86
86
|
import "./pi-tools.policy-4gtz_Ipq.js";
|
|
@@ -94,19 +94,19 @@ import "./install-safe-path-tUtnFnYm.js";
|
|
|
94
94
|
import "./npm-registry-spec-B5KYXHyZ.js";
|
|
95
95
|
import "./skill-scanner-CH9qofCG.js";
|
|
96
96
|
import "./installs-CylGJ0W4.js";
|
|
97
|
-
import "./onboard-channels-
|
|
97
|
+
import "./onboard-channels-A6_QP7MR.js";
|
|
98
98
|
import "./config-validation-HXl5srHm.js";
|
|
99
99
|
import { t as collectOption } from "./helpers-B0WawhZc.js";
|
|
100
100
|
import "./onboard-helpers-Cut7JJgz.js";
|
|
101
101
|
import { n as createDefaultDeps } from "./outbound-send-deps-Bms6Lw6N.js";
|
|
102
|
-
import { n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-
|
|
102
|
+
import { n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-CQlyTNu-.js";
|
|
103
103
|
import "./agents.config-DJ6HOh-6.js";
|
|
104
104
|
import "./shared-DJ_GXCp1.js";
|
|
105
105
|
import "./auth-token-DUIqGPhx.js";
|
|
106
106
|
import "./logging-BqCc-3Ld.js";
|
|
107
|
-
import "./provider-auth-helpers-
|
|
108
|
-
import { a as agentsAddCommand, i as agentsDeleteCommand, n as agentsListCommand, r as agentsSetIdentityCommand } from "./agents-
|
|
109
|
-
import "./auth-choice-
|
|
107
|
+
import "./provider-auth-helpers-CMQexdSl.js";
|
|
108
|
+
import { a as agentsAddCommand, i as agentsDeleteCommand, n as agentsListCommand, r as agentsSetIdentityCommand } from "./agents-1xmRO246.js";
|
|
109
|
+
import "./auth-choice-Ryx7oj6G.js";
|
|
110
110
|
import "./openai-model-default-CROL7CWb.js";
|
|
111
111
|
import "./model-picker-BAKALONd.js";
|
|
112
112
|
|