@symerian/symi 3.4.25 → 3.4.27
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-N_J2cDO6.js → agent-CiqPWDUd.js} +18 -18
- package/dist/{agent-CQlyTNu-.js → agent-DOOj3Gzb.js} +1 -1
- package/dist/{agent-scope-DOrZjOnW.js → agent-scope-Bnsyyeci.js} +18 -18
- package/dist/{agents-1xmRO246.js → agents-BBQfFoen.js} +2 -2
- package/dist/{agents.config-BJ9RIQlb.js → agents.config-Dm3oLpYK.js} +1 -1
- package/dist/{audit-DCwHws4M.js → audit-BSX7fMfc.js} +20 -20
- package/dist/{auth-choice-Ryx7oj6G.js → auth-choice-BYbTjWcs.js} +1 -1
- package/dist/{auth-choice-DwXdS4c2.js → auth-choice-rhBmet5i.js} +11 -11
- package/dist/{auth-profiles-Ce7R_25e.js → auth-profiles-D5nYBj_Z.js} +2 -2
- package/dist/{auth-token-DgRRSbEX.js → auth-token-CAV1oLQG.js} +3 -3
- package/dist/{banner-CxMQaUgh.js → banner-C1qG5Rm9.js} +1 -1
- package/dist/{browser-cli-C3hfJNZy.js → browser-cli-De8jg4-F.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-BouPakqe.js → call-CW8U1BPq.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-n9C_ovb1.js → channel-options-BsXUgCMq.js} +1 -1
- package/dist/{channel-options-WR29vfWK.js → channel-options-CJD7jwYg.js} +1 -1
- package/dist/{channels-cli-DbFGI3vF.js → channels-cli-Bao4VNbH.js} +57 -57
- package/dist/{channels-cli-Cs-Uq67O.js → channels-cli-Dxn5n9e4.js} +7 -7
- package/dist/{chrome-B7-rO4i9.js → chrome-BKUACyeO.js} +7 -7
- package/dist/{chrome-C_I81hbq.js → chrome-DPjznJQ-.js} +7 -7
- package/dist/{chrome-rzK8edU7.js → chrome-pFBxO63W.js} +2 -2
- package/dist/{cli-D55pCJ8Q.js → cli-CrhLSz3t.js} +4 -4
- package/dist/{cli-7ceDvtPc.js → cli-WP38F9C5.js} +45 -45
- package/dist/{client-BzUAFrla.js → client-T5P9umyG.js} +1 -1
- package/dist/{command-registry-DAy62yhH.js → command-registry-DoXcG7FZ.js} +10 -10
- package/dist/{commands-registry-VfAQOVZO.js → commands-registry-BjcGLk4v.js} +1 -1
- package/dist/{completion-cli-Bc1jojml.js → completion-cli-C0SXi7ya.js} +12 -12
- package/dist/{completion-cli-Bh-Y2NVp.js → completion-cli-DaWi3_ux.js} +2 -2
- package/dist/{config-D7SS4vdk.js → config-D-PYSlE8.js} +2 -2
- package/dist/{config-cli-DupKETmw.js → config-cli-DS67KtKf.js} +4 -4
- package/dist/{config-cli-BxRcn2oD.js → config-cli-DXKm0pS5.js} +1 -1
- package/dist/{config-guard-BGAQzX2K.js → config-guard-xLTTFANi.js} +6 -6
- package/dist/{config-validation-COcIIMNe.js → config-validation-C4wGq3rz.js} +1 -1
- package/dist/{configure-0XYm59w7.js → configure-B99YJJb0.js} +14 -14
- package/dist/{configure-BilM_Fgn.js → configure-CzO4_jJJ.js} +2 -2
- package/dist/{consolidate-DI20-Wtn.js → consolidate-BB4BOQIN.js} +6 -6
- package/dist/{control-service-Ry7Le68N.js → control-service-y53w3Jzy.js} +4 -4
- package/dist/{control-ui-assets-DuDhl0co.js → control-ui-assets-Dryy7mCE.js} +1 -1
- package/dist/{cron-cli-DHFgjr_X.js → cron-cli-BMblAFRK.js} +7 -7
- package/dist/{daemon-cli-fC2R9YZd.js → daemon-cli-BJGNf5qV.js} +11 -11
- package/dist/{daemon-runtime-tZgIbDPz.js → daemon-runtime-u4p9jsEF.js} +10 -10
- package/dist/{deliver-DB4v0Tyl.js → deliver-C79-Umbk.js} +2 -2
- package/dist/{deliver-oWGJwzFf.js → deliver-Cjyb6h4g.js} +4 -4
- package/dist/{deliver-DyO3QD8O.js → deliver-DTRkeYm3.js} +4 -4
- package/dist/{deps-BlmO-MfQ.js → deps-UA1UBhl7.js} +1 -1
- package/dist/{devices-cli-DtkKN4l0.js → devices-cli-wsTs-nti.js} +6 -6
- package/dist/{diagnostics-tVJR9V0_.js → diagnostics-oW0LBW-t.js} +5 -5
- package/dist/{directory-cli-Bfy_ejW2.js → directory-cli-D8As6t8Z.js} +3 -3
- package/dist/{dm-policy-shared-CBlUyDSX.js → dm-policy-shared-DRJrFKqJ.js} +1 -1
- package/dist/{dns-cli-DzKaV6NZ.js → dns-cli-BKOTBn3n.js} +3 -3
- package/dist/{docs-cli-a90_8wuN.js → docs-cli-D5j7Nmz2.js} +1 -1
- package/dist/{doctor-completion-BZJWX3Dr.js → doctor-completion-B1YCzbvi.js} +1 -1
- package/dist/{doctor-completion-B6OPl_GZ.js → doctor-completion-mev5PRjN.js} +2 -2
- package/dist/{doctor-config-flow-30ZEvATb.js → doctor-config-flow-Uv41seME.js} +9 -9
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-C3gZAwV8.js → exec-approvals-cli-B4ry9s5r.js} +13 -13
- package/dist/extensionAPI.js +4 -4
- 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-CyhLb-zS.js → gateway-cli-B3JVj_dv.js} +98 -98
- package/dist/{gateway-cli-DQhYa6AL.js → gateway-cli-Chnp6icp.js} +10 -10
- package/dist/{gateway-rpc-DNq7EMhm.js → gateway-rpc-CLzM6ugo.js} +1 -1
- package/dist/{glass-ui-ws-SJVljtUx.js → glass-ui-ws--GjxFRyX.js} +67 -67
- package/dist/{glass-ui-ws-CLDbMDPk.js → glass-ui-ws-5o8dvEZO.js} +8 -8
- package/dist/{health-DZ0aipDZ.js → health-D2th0Ip6.js} +4 -4
- package/dist/{hooks-cli-BMRj13QU.js → hooks-cli-B4Nvp9AV.js} +59 -59
- package/dist/{hooks-cli-BVtdP5x7.js → hooks-cli-B_sZth4r.js} +5 -5
- package/dist/{image-ops-L70xVnpG.js → image-ops-BzCBIakN.js} +10 -10
- package/dist/index.js +52 -52
- package/dist/{inspect-CXsOujVt.js → inspect-U3g9owQ8.js} +4 -4
- package/dist/{install-safe-path-D5gi-nfu.js → install-safe-path-BwMMOh9z.js} +11 -11
- package/dist/{installs-DF_LhGX6.js → installs-vdi1BESF.js} +10 -10
- package/dist/{internal-DVCddhhN.js → internal-csqU78gW.js} +9 -9
- package/dist/{lifecycle-core-Bvdl2ShM.js → lifecycle-core-BfmNlC-k.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-mdSEYBKS.js → logs-cli-COZzdFu6.js} +7 -7
- package/dist/{manager-BhIaahpm.js → manager-BfbQb9qM.js} +1 -1
- package/dist/{manager-DhHNnMyK.js → manager-Bryhc0Ip.js} +1 -1
- package/dist/{manager-BIt2_nlu.js → manager-C5FGNRjL.js} +1 -1
- package/dist/{manager-BLg6zbeA.js → manager-DyYRwHZt.js} +15 -15
- package/dist/{memory-BENbCb4f.js → memory-Cypj1lBQ.js} +2 -2
- package/dist/{memory-B4DsKRSc.js → memory-DgDnTEcB.js} +5 -5
- package/dist/{memory-cli-DotHyA76.js → memory-cli-CfJkD7mO.js} +12 -12
- package/dist/{memory-cli-BIjwqjBx.js → memory-cli-DB7UIev4.js} +2 -2
- package/dist/{model-DsMHOvMn.js → model-DbILYCfo.js} +1 -1
- package/dist/{model-auth-1EAQvYRv.js → model-auth-_C07_3Yr.js} +2 -2
- package/dist/{model-catalog-DQTmHZK7.js → model-catalog-CeqDEWGz.js} +3 -3
- package/dist/{model-picker-D4TY_tPx.js → model-picker-C_f6MALt.js} +5 -5
- package/dist/{model-selection-7wdmO-Iw.js → model-selection-CCTzD29o.js} +1 -1
- package/dist/{models-CmToZKBp.js → models-Bpqeds64.js} +2 -2
- package/dist/{models-cli-CZgkOUZB.js → models-cli-BUWfj5iJ.js} +55 -55
- package/dist/{models-cli-Di7iKhD4.js → models-cli-Bc47WFhD.js} +6 -6
- package/dist/{models-config-CRnTzdFs.js → models-config-Dp5-tBqs.js} +8 -8
- package/dist/{node-cli-BXv9SEDG.js → node-cli-BdjmGI32.js} +27 -27
- package/dist/{node-service-CrDVFWQl.js → node-service-DphkTjBV.js} +1 -1
- package/dist/{nodes-cli-Cim3ANNU.js → nodes-cli-BChJzcKY.js} +10 -10
- package/dist/{nodes-screen-De9ma6e1.js → nodes-screen-Cp5QP3ET.js} +4 -4
- package/dist/{npm-registry-spec-YMWTMnm_.js → npm-registry-spec-CqVgiBCf.js} +9 -9
- package/dist/{onboard-BXI02b3e.js → onboard-BbfERyKU.js} +1 -1
- package/dist/{onboard-CuLvp4Ds.js → onboard-C0nMMiiS.js} +15 -15
- package/dist/{onboard-channels-A6_QP7MR.js → onboard-channels-CMp9YXHC.js} +1 -1
- package/dist/{onboard-channels-E5NIYGJz.js → onboard-channels-CmsfVut5.js} +4 -4
- package/dist/{onboard-custom-BrtjWDlX.js → onboard-custom-BfHczxx0.js} +3 -3
- package/dist/{onboard-helpers---sZ9pdZ.js → onboard-helpers-OB_xKQze.js} +8 -8
- package/dist/{onboard-hooks-CtIRdncr.js → onboard-hooks-BA22KYCG.js} +1 -1
- package/dist/{onboard-remote-BUB3VPBP.js → onboard-remote-Dv2Uz8Ru.js} +1 -1
- package/dist/{onboard-skills-Cs3BZ4VJ.js → onboard-skills-BzxofI4T.js} +3 -3
- package/dist/{onboarding-BeYl1Egj.js → onboarding-DoYMfCjS.js} +3 -3
- package/dist/{onboarding-BWMBA6cP.js → onboarding-vgZFhH5N.js} +12 -12
- package/dist/{onboarding.finalize-CH8dBgA2.js → onboarding.finalize-BYHDzz2i.js} +31 -31
- package/dist/{onboarding.finalize-Bk-XW8b3.js → onboarding.finalize-Dj0xG8pk.js} +4 -4
- package/dist/{onboarding.gateway-config-arRNxrI9.js → onboarding.gateway-config-CDRLfIZM.js} +8 -8
- package/dist/{openai-model-default-XudD4Xik.js → openai-model-default-Dl21Ivjc.js} +2 -2
- package/dist/{pairing-cli-NDavTm1_.js → pairing-cli-C2_Zobhz.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-0I7WdtRz.js → pi-embedded-C7mJzGIf.js} +59 -13
- package/dist/{pi-embedded-helpers-B5cWV7_y.js → pi-embedded-helpers-y3vJmW6T.js} +6 -6
- package/dist/{pi-tools.policy-BdGVEMZn.js → pi-tools.policy-ji-L-Mpv.js} +3 -3
- package/dist/{plugin-auto-enable-B_lNp6yM.js → plugin-auto-enable-Ctbn2w4Q.js} +1 -1
- package/dist/{plugin-registry-DovNSdK0.js → plugin-registry-D2ZbwBU_.js} +3 -3
- package/dist/{plugin-registry-CAdIrLmG.js → plugin-registry-pKaJ4ltN.js} +1 -1
- package/dist/plugin-sdk/agents/pi-tools.types.d.ts +1 -2
- package/dist/plugin-sdk/agents/tools/availability-filter.d.ts +10 -0
- package/dist/plugin-sdk/agents/tools/common.d.ts +30 -0
- package/dist/{plugins-cli-ZG4PxNTC.js → plugins-cli-CoHiV4BX.js} +54 -54
- package/dist/{plugins-cli-JzKO-vmR.js → plugins-cli-uo8lcB7v.js} +5 -5
- package/dist/{ports-gxLM5ahL.js → ports-CB_Iu83U.js} +2 -2
- package/dist/{ports-C3ZSkRGq.js → ports-ukrEAkOP.js} +1 -1
- package/dist/{program-context-ByiEP1Lk.js → program-context-B1ZbQmLL.js} +38 -38
- package/dist/{program-BbfU4idg.js → program-rzYjZKRz.js} +10 -10
- package/dist/{prompt-select-styled-DvrG_zWV.js → prompt-select-styled-CX0v66wx.js} +38 -38
- package/dist/{prompt-select-styled-CWH2Mcrb.js → prompt-select-styled-F6P-rvFI.js} +4 -4
- package/dist/{provider-auth-helpers-CMQexdSl.js → provider-auth-helpers-Ck98bkHV.js} +1 -1
- package/dist/{provider-auth-helpers-2x7YxT5F.js → provider-auth-helpers-_jn9PngO.js} +6 -6
- package/dist/{push-apns-CtWwPxRj.js → push-apns-BtMtpzEm.js} +1 -1
- package/dist/{push-apns-eGdGU3r7.js → push-apns-CmeoBcIQ.js} +4 -4
- package/dist/{pw-ai-BOOB8qoi.js → pw-ai-BFS9ezWe.js} +1 -1
- package/dist/{pw-ai-tgngV3iZ.js → pw-ai-CQJsGI1b.js} +7 -7
- package/dist/{pw-ai-Cx-Ko_FL.js → pw-ai-D2pEVS5n.js} +1 -1
- package/dist/{qmd-manager-qV_04VKG.js → qmd-manager-DawTY2mB.js} +19 -19
- package/dist/{qr-cli-Vo1XL6B2.js → qr-cli-DKowtQcM.js} +3 -3
- package/dist/{register.agent-Dwkya1rv.js → register.agent-0hWBZXD7.js} +67 -67
- package/dist/{register.agent-DZE9NBNx.js → register.agent-_UqSBmt5.js} +9 -9
- package/dist/{register.configure-DCpbCHR0.js → register.configure-CgQ6sqtQ.js} +70 -70
- package/dist/{register.configure-CD8WkXo8.js → register.configure-KrTtvKSp.js} +8 -8
- package/dist/{register.maintenance-CxVeo_7j.js → register.maintenance-DDSfzFoo.js} +9 -9
- package/dist/{register.maintenance-Bqjj77CZ.js → register.maintenance-DjZeknO6.js} +67 -67
- package/dist/{register.message-tcJN7-E3.js → register.message-DSwwDcGi.js} +5 -5
- package/dist/{register.message-uhAmNxoO.js → register.message-DTZJ5OiL.js} +47 -47
- package/dist/{register.onboard-F6d_Wrv1.js → register.onboard-B8k5phG7.js} +25 -25
- package/dist/{register.onboard-Rm5t0yxX.js → register.onboard-BToIZTIS.js} +2 -2
- package/dist/{register.setup-CcHxpsUT.js → register.setup-1fexz2oW.js} +28 -28
- package/dist/{register.setup-C2datfZK.js → register.setup-BdUewOo1.js} +2 -2
- package/dist/{register.status-health-sessions-DIUDRMqm.js → register.status-health-sessions-0RyA2cXf.js} +41 -41
- package/dist/{register.status-health-sessions-DFVjS9Hy.js → register.status-health-sessions-eBaeXIvo.js} +3 -3
- package/dist/{register.subclis-D9uGnVGm.js → register.subclis-tX3BslaT.js} +9 -9
- package/dist/{replies-DzsYQ8Md.js → replies-D3cffD5N.js} +1 -1
- package/dist/{reply-prefix-BFNeXT65.js → reply-prefix-CtZtkTJK.js} +1 -1
- package/dist/{resolve-route-Zww0Y-HJ.js → resolve-route-B0i_o4Fo.js} +1 -1
- package/dist/{routes-C-rIjd8Z.js → routes-zpAUwtCG.js} +10 -10
- package/dist/{rpc-BkFkeuJ6.js → rpc-DhsDKVo-.js} +1 -1
- package/dist/{run-main-HkbyvIDy.js → run-main-DIl_Kl0B.js} +17 -17
- package/dist/{sandbox-Dx8IMw-E.js → sandbox-DQCaejcD.js} +18 -18
- package/dist/{sandbox-cli-BFkLKdlk.js → sandbox-cli-CbvyZs1z.js} +13 -13
- package/dist/{security-cli-BEpQ_rO1.js → security-cli-CbJxNYZx.js} +29 -29
- package/dist/{send-Cxu1tl56.js → send-QscYkkNh.js} +7 -7
- package/dist/{server-context--mmXXEkE.js → server-context-CXVq7gZ7.js} +5 -5
- package/dist/{server-methods-DJ8eiTu1.js → server-methods-CpFBGxWI.js} +6 -6
- package/dist/{server-methods-RtjWUhkv.js → server-methods-DPxjPGr0.js} +58 -58
- package/dist/{server-node-events-CT8fFtBQ.js → server-node-events-2SUW10k3.js} +6 -6
- package/dist/{server-node-events-DQ1iCUgY.js → server-node-events-B_BPbi7z.js} +48 -48
- package/dist/{service-CyEDtYLq.js → service-Cm4-5AH9.js} +15 -15
- package/dist/{session-dirs-CXErIzZq.js → session-dirs-BypCYFN3.js} +2 -2
- package/dist/{session-utils-BZnPW904.js → session-utils-lXjJoBxe.js} +14 -14
- package/dist/{sessions-optZRB57.js → sessions-aSo5jsmg.js} +10 -10
- package/dist/{shared-DJFwvlUi.js → shared-BI-gOZsD.js} +3 -3
- package/dist/{shared-Ctok0Bcs.js → shared-DDX_4ypC.js} +1 -1
- package/dist/{skill-commands-yPirQFOb.js → skill-commands-C9WuAfb2.js} +4 -4
- package/dist/{skill-scanner-BBwesm0w.js → skill-scanner-CFqMkfZW.js} +5 -5
- package/dist/{skills-BwDmcZdt.js → skills-CYcBtLGH.js} +4 -4
- package/dist/{skills-cli-gC5ETdly.js → skills-cli-BgyaAQoj.js} +7 -7
- package/dist/{skills-install-CLN_Ks5r.js → skills-install-MGsx6q5Z.js} +3 -3
- package/dist/{skills-remote-bz71Bstn.js → skills-remote-BcRQTDsZ.js} +3 -3
- package/dist/{skills-status-iltfI_bO.js → skills-status-CbSdFlvm.js} +1 -1
- package/dist/{sqlite-Cod7C5ba.js → sqlite-BpogPlQW.js} +5 -5
- package/dist/{status-Cpz64Vy_.js → status-BVYDUlnp.js} +1 -1
- package/dist/{status-CuMBp54T.js → status-C-r9JpJf.js} +23 -23
- package/dist/{status-EAjzyREy.js → status-DIJvpgEm.js} +3 -3
- package/dist/{status-CoqGtHXq.js → status-DbNNmkNB.js} +1 -1
- package/dist/{status.update-F4CbQCxF.js → status.update-EyslEZkn.js} +3 -3
- package/dist/{subagent-registry-Dkif1XYO.js → subagent-registry-DWemyjbN.js} +52 -6
- package/dist/{symi-root-BQ0IpoW2.js → symi-root-DeCVdZB4.js} +2 -2
- package/dist/{synthesis-D3fpp3Vu.js → synthesis-BdTiornP.js} +4 -4
- package/dist/{synthesis-CpsURf9J.js → synthesis-BxYzOZUA.js} +4 -4
- package/dist/{synthesis-CKKZrrYd.js → synthesis-C7RlvHEs.js} +45 -45
- package/dist/{synthesis-B0PXRiiM.js → synthesis-DQ7Y6OE0.js} +4 -4
- package/dist/{system-cli-DMKzffe3.js → system-cli-DgOvK_kU.js} +7 -7
- package/dist/{systemd-DRpQb_L1.js → systemd-B2nTr3Y2.js} +5 -5
- package/dist/{systemd-hints-DR4u43WA.js → systemd-hints-DtOWJT_2.js} +6 -6
- package/dist/{systemd-linger-BQQl5RXN.js → systemd-linger-CWi5l8Nt.js} +1 -1
- package/dist/{tui-CqrM_Fj2.js → tui-D7ms_iQ4.js} +7 -7
- package/dist/{tui-cli-BsqRmqTX.js → tui-cli-DNvAqIYN.js} +19 -19
- package/dist/{unified-runner-DZAjU6aB.js → unified-runner-BIUJm_Iv.js} +150 -104
- package/dist/{unified-runner-DkPztkL8.js → unified-runner-DPWNhQQA.js} +59 -13
- package/dist/{update-check-CxBGAP1E.js → update-check-CduiCxPo.js} +5 -5
- package/dist/{update-cli-Bgk30eoA.js → update-cli-BM-A3cIZ.js} +9 -9
- package/dist/{update-cli-t7W6vcQY.js → update-cli-GKXF83cS.js} +77 -77
- package/dist/{update-CWEjB8uS.js → update-pddgyV7i.js} +3 -3
- package/dist/{update-runner-C4Uy75eP.js → update-runner-BMYqz1dl.js} +15 -15
- package/dist/{webhooks-cli-Dp-pp0Sf.js → webhooks-cli-BPPmnDCj.js} +4 -4
- package/dist/{with-timeout-B5zAsivw.js → with-timeout-D1qzvPE0.js} +1 -1
- package/dist/{workspace-dirs-jKFQf7of.js → workspace-dirs-DCICLTHx.js} +1 -1
- package/dist/{wsl-DMA0sTvh.js → wsl-Sed675xh.js} +2 -2
- package/package.json +1 -1
|
@@ -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-BIUJm_Iv.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-D5nYBj_Z.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-DeCVdZB4.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-Bnsyyeci.js";
|
|
11
|
+
import { C as DEFAULT_MODEL, g as resolveHooksGmailModel, m as resolveConfiguredModelRef, o as getModelRefStatus, w as DEFAULT_PROVIDER } from "./model-selection-CCTzD29o.js";
|
|
12
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-D-PYSlE8.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-DQCaejcD.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-CB_Iu83U.js";
|
|
18
|
+
import { H as resolveMainSessionKey, Y as cleanStaleLockFiles, o as loadSessionStore } from "./sessions-aSo5jsmg.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-_C07_3Yr.js";
|
|
22
|
+
import { n as resolveMemoryBackendConfig } from "./memory-DgDnTEcB.js";
|
|
23
|
+
import { c as resolveMemorySearchConfig } from "./manager-DyYRwHZt.js";
|
|
24
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-CW8U1BPq.js";
|
|
25
|
+
import { n as loadModelCatalog } from "./model-catalog-CeqDEWGz.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-CbSdFlvm.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-u4p9jsEF.js";
|
|
33
|
+
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-OB_xKQze.js";
|
|
34
|
+
import { n as isWSLEnv, t as isWSL } from "./wsl-Sed675xh.js";
|
|
35
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-B2nTr3Y2.js";
|
|
36
|
+
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-Cm4-5AH9.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-DtOWJT_2.js";
|
|
38
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-oW0LBW-t.js";
|
|
39
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-U3g9owQ8.js";
|
|
40
|
+
import { r as healthCommand } from "./health-D2th0Ip6.js";
|
|
41
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-Dryy7mCE.js";
|
|
42
|
+
import { t as resolveDmAllowState } from "./dm-policy-shared-DRJrFKqJ.js";
|
|
43
|
+
import { t as runGatewayUpdate } from "./update-runner-BMYqz1dl.js";
|
|
44
|
+
import { t as resolveAgentSessionDirs } from "./session-dirs-BypCYFN3.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-Uv41seME.js";
|
|
47
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-CWi5l8Nt.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-mev5PRjN.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 fsPromises 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 fsPromises.mkdir(trashDir, { recursive: true });
|
|
521
521
|
} catch {}
|
|
522
522
|
try {
|
|
523
|
-
await
|
|
523
|
+
await fsPromises.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 fsPromises.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([fsPromises.stat(schemaPath).catch(() => null), fsPromises.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 fsPromises.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 fsPromises.stat(uiSourcesPath).catch(() => null)) {
|
|
1539
1539
|
note$1("Skipping UI rebuild: ui/ sources not present.", "UI");
|
|
1540
1540
|
return;
|
|
1541
1541
|
}
|
|
@@ -9,7 +9,7 @@ import { t as buildWorkspaceSkillStatus } from "./skills-status-g3ssrjuX.js";
|
|
|
9
9
|
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-_DaupjQd.js";
|
|
10
10
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-GzGqMHAx.js";
|
|
11
11
|
import { l as resolveGatewayBindHost, n as isLoopbackHost } from "./net-TZUXtwGR.js";
|
|
12
|
-
import { Lt as DEFAULT_OAUTH_WARN_MS, Rt as buildAuthHealthSummary, m as loadSymiPlugins, zt as formatRemainingShort } from "./subagent-registry-
|
|
12
|
+
import { Lt as DEFAULT_OAUTH_WARN_MS, Rt as buildAuthHealthSummary, m as loadSymiPlugins, zt as formatRemainingShort } from "./subagent-registry-DWemyjbN.js";
|
|
13
13
|
import { F as resolveMainSessionKey, H as cleanStaleLockFiles, o as loadSessionStore } from "./sessions-DHPf5TzB.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-BsEhWvLn.js";
|
|
15
15
|
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-DBY8ri7U.js";
|
|
@@ -17,8 +17,8 @@ import { a as resolveGatewayAuth } from "./auth-pHRwjgkx.js";
|
|
|
17
17
|
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-uA7P2qIK.js";
|
|
18
18
|
import { c as resolveStorePath, n as resolveSessionFilePath, s as resolveSessionTranscriptsDirForAgent } from "./paths-DtiEyjsC.js";
|
|
19
19
|
import { i as resolveApiKeyForProvider } from "./model-auth-Byr7Gic_.js";
|
|
20
|
-
import { n as resolveMemoryBackendConfig } from "./memory-
|
|
21
|
-
import { c as resolveMemorySearchConfig } from "./manager-
|
|
20
|
+
import { n as resolveMemoryBackendConfig } from "./memory-Cypj1lBQ.js";
|
|
21
|
+
import { c as resolveMemorySearchConfig } from "./manager-BfbQb9qM.js";
|
|
22
22
|
import { n as loadModelCatalog } from "./model-catalog-MHTLXFwi.js";
|
|
23
23
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, m as resolveNodeLaunchAgentLabel } from "./constants-B4wXIPMk.js";
|
|
24
24
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-BIa9VCNS.js";
|
|
@@ -42,7 +42,7 @@ import { n as logConfigUpdated } from "./logging-BqCc-3Ld.js";
|
|
|
42
42
|
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-B0pP_wcc.js";
|
|
43
43
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-C6G2nDWK.js";
|
|
44
44
|
import { t as formatHealthCheckFailure } from "./health-format-y74JTiFu.js";
|
|
45
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
45
|
+
import { n as doctorShellCompletion } from "./doctor-completion-B1YCzbvi.js";
|
|
46
46
|
import { execFile } from "node:child_process";
|
|
47
47
|
import os from "node:os";
|
|
48
48
|
import path from "node:path";
|
|
@@ -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-DWemyjbN.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,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-BIUJm_Iv.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-D5nYBj_Z.js";
|
|
4
|
+
import { u as normalizeProviderId } from "./model-selection-CCTzD29o.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-Sed675xh.js";
|
|
7
|
+
import { f as updateConfig } from "./shared-BI-gOZsD.js";
|
|
8
|
+
import { d as applyAuthProfileConfig } from "./auth-token-CAV1oLQG.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 { 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-DWemyjbN.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-BIUJm_Iv.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-B703A1U3.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 fsPromises 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 fsPromises.readFile(keyPath, "utf8"))
|
|
529
529
|
}
|
|
530
530
|
};
|
|
531
531
|
} catch (err) {
|
|
@@ -7,7 +7,7 @@ import "./ssrf-q6hBiAOi.js";
|
|
|
7
7
|
import "./boolean-BW6OTjPi.js";
|
|
8
8
|
import "./shell-env-DgjeObDZ.js";
|
|
9
9
|
import "./manifest-registry-CAWGTwb5.js";
|
|
10
|
-
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-
|
|
10
|
+
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-BKUACyeO.js";
|
|
11
11
|
import { t as formatCliCommand } from "./command-format-DPd9RN2g.js";
|
|
12
12
|
import "./redact-DSOAcWMe.js";
|
|
13
13
|
import { n as formatErrorMessage } from "./errors-BEU7IHU6.js";
|
|
@@ -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-Bnsyyeci.js";
|
|
8
|
+
import "./model-selection-CCTzD29o.js";
|
|
9
|
+
import "./config-D-PYSlE8.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-pFBxO63W.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-CB_Iu83U.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
import path from "node:path";
|
|
21
|
-
import
|
|
21
|
+
import fsPromises 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 fsPromises.mkdir(path.dirname(resolvedOutPath), { recursive: true });
|
|
901
901
|
await download.saveAs?.(resolvedOutPath);
|
|
902
902
|
return {
|
|
903
903
|
url: download.url?.() || "",
|
|
@@ -9,7 +9,7 @@ import "./ssrf-oI58TMOb.js";
|
|
|
9
9
|
import "./boolean-BsqeuxE6.js";
|
|
10
10
|
import "./shell-env-B1lDWz4t.js";
|
|
11
11
|
import "./manifest-registry-BGJu2aC-.js";
|
|
12
|
-
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-
|
|
12
|
+
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-DPjznJQ-.js";
|
|
13
13
|
import "./redact-CSGZUFxa.js";
|
|
14
14
|
import { n as formatErrorMessage } from "./errors-C89ppfp9.js";
|
|
15
15
|
import path from "node:path";
|
|
@@ -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-Bnsyyeci.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-csqU78gW.js";
|
|
11
|
+
import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-BpogPlQW.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import os from "node:os";
|
|
14
|
-
import
|
|
14
|
+
import fsPromises 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 fsPromises.mkdir(this.xdgConfigHome, { recursive: true });
|
|
247
|
+
await fsPromises.mkdir(this.xdgCacheHome, { recursive: true });
|
|
248
|
+
await fsPromises.mkdir(path.dirname(this.indexPath), { recursive: true });
|
|
249
|
+
if (this.sessionExporter) await fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.lstat(targetModelsDir);
|
|
667
667
|
return;
|
|
668
668
|
} catch {}
|
|
669
669
|
try {
|
|
670
|
-
await
|
|
670
|
+
await fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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 fsPromises.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-Bnsyyeci.js";
|
|
7
|
+
import "./model-selection-CCTzD29o.js";
|
|
8
|
+
import { i as loadConfig } from "./config-D-PYSlE8.js";
|
|
9
9
|
import "./boolean-CbZoNRMn.js";
|
|
10
10
|
import "./env-BRnPI9sO.js";
|
|
11
11
|
import "./shell-env-Dc3iU7HK.js";
|