@symerian/symi 3.4.2 → 3.4.7
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-CDUpwXQX.js → agent-BaSGoKPq.js} +8 -8
- package/dist/{agent-BcHmIY_n.js → agent-C8IIjDyn.js} +18 -18
- package/dist/{agent-scope-CKTVXF_1.js → agent-scope-DIjW66iO.js} +18 -18
- package/dist/{agents-Dx_B11LV.js → agents-D6Ygz9ED.js} +8 -8
- package/dist/{agents.config-D6lBCMyT.js → agents.config-D1nFwU81.js} +1 -1
- package/dist/{audit-CMPCYnHv.js → audit-BI8Rbs5q.js} +21 -21
- package/dist/{audit-FMN4BTKc.js → audit-nqP-JeOr.js} +8 -8
- package/dist/{auth-choice-s1SGAS0u.js → auth-choice-BBrEzoy2.js} +8 -8
- package/dist/{auth-choice-BJgf7XV6.js → auth-choice-Bx4Duu6u.js} +6 -6
- package/dist/{auth-choice-options-B5NLwpLs.js → auth-choice-options-BBYiPleR.js} +1 -1
- package/dist/{auth-choice-options-EWUh0VM6.js → auth-choice-options-C5b4PCvw.js} +1 -1
- package/dist/{auth-choice-prompt-BkTmN4sy.js → auth-choice-prompt-D8GvjOBX.js} +1 -1
- package/dist/{auth-choice-prompt-CXcrToaB.js → auth-choice-prompt-DBfm0y9l.js} +1 -1
- package/dist/{auth-profiles-BDvJK1Bg.js → auth-profiles-BFSVvFKy.js} +9 -9
- package/dist/{auth-token-BKp_ClDP.js → auth-token-SebYuqfR.js} +1 -1
- package/dist/{banner-C1DH2kVa.js → banner-l9GjW5Rm.js} +1 -1
- package/dist/{browser-cli-DW3CxkSc.js → browser-cli-BAxOL41p.js} +9 -9
- package/dist/{browser-cli-C6G2Ql9l.js → browser-cli-Bk8DxxeA.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +8 -8
- package/dist/bundled/session-memory/handler.js +7 -7
- package/dist/{call-Dy_T6f6d.js → call-5IE9ycvm.js} +2 -4
- package/dist/{call-BjHvYJx2.js → call-BPJn2_th.js} +9 -11
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-77nGDc70.js → channel-options-COanIUoQ.js} +1 -1
- package/dist/{channel-options-BMZyRh5E.js → channel-options-DGUqfnbP.js} +1 -1
- package/dist/{channels-cli-C048Z7h-.js → channels-cli-B1zmnm5a.js} +54 -54
- package/dist/{channels-cli-CjQ8Rfpv.js → channels-cli-CZ3M3yE1.js} +27 -27
- package/dist/{chrome-BxWRyWC_.js → chrome-B0wRtBRB.js} +1 -1
- package/dist/{chrome-C0vnHDyY.js → chrome-B4P7ycw5.js} +1 -1
- package/dist/{chrome-droANDig.js → chrome-CPSDqbK6.js} +8 -8
- package/dist/{chrome-BQoO4LXq.js → chrome-VbDUdW0_.js} +2 -2
- package/dist/{cli-CXAyZ9dx.js → cli-C7I5uEFC.js} +42 -42
- package/dist/{cli-CpmVizCT.js → cli-CC5GrdTI.js} +23 -23
- package/dist/{client-CAz5aPpp.js → client-Dp8LUTmF.js} +2 -5
- package/dist/{client-Bs2zB0rY.js → client-qjXXRKCO.js} +3 -6
- package/dist/{command-registry-B9TplwzB.js → command-registry-ByBvyNis.js} +11 -11
- package/dist/{commands-registry-CLePPNDW.js → commands-registry-BNCcZy2y.js} +1 -1
- package/dist/{completion-cli-Dv8CNTMW.js → completion-cli-BFBbL-u4.js} +2 -2
- package/dist/{completion-cli-ecfjoaIU.js → completion-cli-rzEsCzmE.js} +12 -12
- package/dist/{config-BEaq2Sb6.js → config-DqMsGcSQ.js} +2 -4
- package/dist/{config-cli-CAwWFZwh.js → config-cli-BqzjDmIH.js} +4 -4
- package/dist/{config-cli-zMpHOTSD.js → config-cli-DSDGwckX.js} +2 -2
- package/dist/{config-guard-29sjAeg8.js → config-guard-CJcSKMuP.js} +6 -6
- package/dist/{config-guard-B2j-KuUQ.js → config-guard-Cu-dwAgi.js} +2 -2
- package/dist/{config-Cw7uo7Dh.js → config-igdtSRrZ.js} +0 -2
- package/dist/{config-validation-Bp2AdKjN.js → config-validation-Bp2wJ610.js} +1 -1
- package/dist/{config-validation-MUkEKwbD.js → config-validation-Bs1Gp2oG.js} +1 -1
- package/dist/{configure-Bh0-A3hM.js → configure-BazJdwKU.js} +15 -15
- package/dist/{configure-DvVtZB1V.js → configure-Dl1f1Den.js} +18 -18
- package/dist/{consolidate-DeA11kIO.js → consolidate-7Usm-b2g.js} +6 -6
- package/dist/{control-service-BTydj9Kk.js → control-service-DO8FjrS6.js} +4 -4
- package/dist/{control-service-DhlgNQGb.js → control-service-Fn3d9AlH.js} +4 -4
- package/dist/{control-ui-assets-D22DSxhv.js → control-ui-assets-DUhvOLUL.js} +1 -1
- package/dist/{cron-cli-5souN2YC.js → cron-cli-DXgI5Lid.js} +7 -10
- package/dist/{cron-cli-Cr8hrEDQ.js → cron-cli-DZyH2BfZ.js} +10 -13
- package/dist/{daemon-cli-OZuuMobs.js → daemon-cli-C6FSROt1.js} +11 -11
- package/dist/{daemon-cli-AVJLjFd5.js → daemon-cli-DmMYx5Uf.js} +6 -6
- package/dist/daemon-cli.js +2 -9
- package/dist/{daemon-runtime-CkBw3gG5.js → daemon-runtime-2Y9RfgcP.js} +1 -1
- package/dist/{daemon-runtime-Dr_xKl0r.js → daemon-runtime-BpfA4d6Q.js} +10 -10
- package/dist/{deliver-BwcK0QD6.js → deliver-BkCYBlzi.js} +5 -5
- package/dist/{deliver-vzAN9mRl.js → deliver-Mqq3tgqB.js} +5 -5
- package/dist/{deliver-ccf_boim.js → deliver-RwovDEDy.js} +2 -2
- package/dist/{deliver-Cl2fWxx4.js → deliver-izdrXPr4.js} +1 -1
- package/dist/{deps-B6QYsl_-.js → deps-bCHNuszw.js} +1 -1
- package/dist/{devices-cli-DN3SH89Z.js → devices-cli-D6xXc9Ym.js} +6 -6
- package/dist/{devices-cli-BXaodSI7.js → devices-cli-IMv-0zor.js} +3 -3
- package/dist/{diagnostics-nLP2i_BY.js → diagnostics-DxdqTfpW.js} +5 -5
- package/dist/{directory-cli-cK6CHm4W.js → directory-cli-3wlYB9In.js} +1 -1
- package/dist/{directory-cli-B72WzWuP.js → directory-cli-ClbYhd6z.js} +3 -3
- package/dist/{dm-policy-shared-DiZ3lMtl.js → dm-policy-shared-5HLej1br.js} +1 -1
- package/dist/{dns-cli-DPO4AuUq.js → dns-cli-CY2voLuR.js} +3 -3
- package/dist/{dns-cli-D6uc55C9.js → dns-cli-CoVIqRWx.js} +1 -1
- package/dist/{docs-cli-C2BEC5yU.js → docs-cli-DjQ3SvBq.js} +1 -1
- package/dist/{doctor-completion-Cvu8koMQ.js → doctor-completion-B8cqL1A0.js} +2 -2
- package/dist/{doctor-completion-DwrIExJJ.js → doctor-completion-BqbhVdbe.js} +1 -1
- package/dist/{doctor-config-flow-Cu1ZuFHd.js → doctor-config-flow-CYDx1U0Z.js} +9 -9
- package/dist/{doctor-config-flow-BayEnbIy.js → doctor-config-flow-wvoEFNeZ.js} +2 -2
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BN5OFwrg.js → exec-approvals-cli-B_P-1zVp.js} +13 -13
- package/dist/{exec-approvals-cli-BI9yAGI5.js → exec-approvals-cli-Dy1jvh2M.js} +5 -5
- package/dist/extensionAPI.js +6 -6
- package/dist/{fs-safe-DjAKGGJ8.js → fs-safe-B6nMaZqV.js} +6 -6
- package/dist/{gateway-cli-C_wDspkm.js → gateway-cli-DYJxZ5dh.js} +377 -9751
- package/dist/{gateway-cli-uquFQTQW.js → gateway-cli-DfRlFuH-.js} +334 -9708
- package/dist/{gateway-rpc-B5_ZCiHW.js → gateway-rpc-C1xjWlxu.js} +1 -1
- package/dist/{gateway-rpc-fQLZhzRK.js → gateway-rpc-DD_aXogj.js} +1 -1
- package/dist/glass-ui-ws-BNJkhJrL.js +346 -0
- package/dist/glass-ui-ws-BZvH4MBO.js +341 -0
- package/dist/{health-DUulgHFK.js → health-D8cKia4i.js} +5 -61
- package/dist/{health-D2CsIdFz.js → health-DdzNc1yA.js} +4 -60
- package/dist/{hooks-cli-6UBBpeAz.js → hooks-cli-DkP3Y4ou.js} +58 -58
- package/dist/{hooks-cli-C6XdXNdl.js → hooks-cli-qO421UdO.js} +26 -26
- package/dist/{hooks-status-DGjgoBZt.js → hooks-status-COU9Cw9_.js} +1 -1
- package/dist/{hooks-status-BQAuzmwT.js → hooks-status-uaFS2SUa.js} +1 -1
- package/dist/{image-ops-c7_of0HT.js → image-ops-C-gIIp7Q.js} +10 -10
- package/dist/index.js +49 -49
- package/dist/{inspect-op0Ov-v4.js → inspect-BDzd6yBs.js} +4 -4
- package/dist/{install-safe-path-B73BkVO3.js → install-safe-path-CQXx3s9R.js} +11 -11
- package/dist/{installs-BzgwvqqQ.js → installs-DhSLZRT7.js} +10 -10
- package/dist/{internal-C3o_xyzP.js → internal-CHnZdvRy.js} +9 -9
- package/dist/{lifecycle-core-BmGPBj_P.js → lifecycle-core-BEmljRfh.js} +5 -5
- package/dist/{lifecycle-core-Dark4HHr.js → lifecycle-core-uN2bsrZs.js} +2 -2
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{local-roots-CUKhHNCV.js → local-roots-BnDnugq3.js} +1 -1
- package/dist/{logs-cli-Dg7J424l.js → logs-cli-BB0Mq8D1.js} +4 -4
- package/dist/{logs-cli-BXBN6_Kf.js → logs-cli-Dbmzz8m_.js} +7 -7
- package/dist/{manager-WHZtXzz0.js → manager-BD_cpL9b.js} +1 -1
- package/dist/{manager-tYTYy-pH.js → manager-BQaZlWzK.js} +1 -1
- package/dist/{manager-C_5p8DxF.js → manager-DOiW-Koo.js} +14 -14
- package/dist/{manager-DOfc0hW0.js → manager-MbrGCH4o.js} +1 -1
- package/dist/{memory-CjpS9o50.js → memory-Cl4I_45k.js} +4 -4
- package/dist/{memory-cli-CbV91o_X.js → memory-cli-CszP57Ee.js} +3 -3
- package/dist/{memory-cli-4vj-LpgO.js → memory-cli-DkD_OD70.js} +12 -12
- package/dist/{memory-BZPO-RoX.js → memory-kIYeV9aO.js} +5 -5
- package/dist/{model-CbRy_3xW.js → model-BRcKPW49.js} +1 -1
- package/dist/{model-catalog-Ba4R_zVe.js → model-catalog-C2rNhRI4.js} +2 -2
- package/dist/{model-catalog-BrW9BL1p.js → model-catalog-CaGfL-2g.js} +4 -4
- package/dist/{model-picker-DAOOfQUH.js → model-picker-4NUXHy8M.js} +2 -2
- package/dist/{model-picker-UrQQVAuN.js → model-picker-CV56GE8A.js} +3 -3
- package/dist/{models-EthIDORJ.js → models-BYi0Fo1a.js} +13 -13
- package/dist/{models-cli-BRnmApgY.js → models-cli-Bn9M1TgO.js} +55 -55
- package/dist/{models-cli-DSW-aLCj.js → models-cli-EdjvkvFO.js} +29 -29
- package/dist/{models-config-Dh1tABIl.js → models-config-Unnduxgs.js} +7 -7
- package/dist/{models-config-C2OLw8vc.js → models-config-yKxNCn4V.js} +1 -1
- package/dist/{node-cli-DXCDRV3y.js → node-cli-39H0MZ8q.js} +28 -28
- package/dist/{node-cli-SMqarSas.js → node-cli-C8FYMIjN.js} +12 -12
- package/dist/{node-service-n6G8Ybbk.js → node-service-tPO_yUk7.js} +1 -1
- package/dist/{nodes-cli-Fyv-oG6A.js → nodes-cli-C-03nIJ0.js} +10 -10
- package/dist/{nodes-cli-BpG8jU6q.js → nodes-cli-CqxQexTU.js} +4 -4
- package/dist/{nodes-screen-CT94yu_w.js → nodes-screen-JELuBMBi.js} +4 -4
- package/dist/{npm-registry-spec-B8X06AqB.js → npm-registry-spec-BXw_6vF6.js} +9 -9
- package/dist/{onboard-CLSFAKKt.js → onboard-_3W1qIFk.js} +13 -13
- package/dist/{onboard-channels-LkgOp2vs.js → onboard-channels-B2l6OoMg.js} +1 -1
- package/dist/{onboard-channels-DqhDDHZ3.js → onboard-channels-D_uUQbem.js} +4 -4
- package/dist/{onboard-custom-BRFhBogJ.js → onboard-custom-B2fJvyxt.js} +3 -3
- package/dist/{onboard-custom-BD_6SIA8.js → onboard-custom-DcZ2SEUv.js} +2 -2
- package/dist/{onboard-helpers-C5YryU1N.js → onboard-helpers-Bm-oyLWy.js} +2 -2
- package/dist/{onboard-helpers-wgkj6qF2.js → onboard-helpers-CHfdRdZR.js} +8 -8
- package/dist/{onboard-hooks-CknstfLG.js → onboard-hooks-DBYkemjF.js} +3 -3
- package/dist/{onboard-hooks-DotvaUqG.js → onboard-hooks-DgRzMz0E.js} +2 -2
- package/dist/{onboard-CEyd79t_.js → onboard-kDOde8WJ.js} +16 -16
- package/dist/{onboard-remote-DR9mcFjZ.js → onboard-remote-ecyetiyL.js} +1 -1
- package/dist/{onboard-remote-B5rlIYUq.js → onboard-remote-z8XLK4M0.js} +1 -1
- package/dist/{onboard-skills-_6kHqhHz.js → onboard-skills-BLvL0KPR.js} +4 -4
- package/dist/{onboard-skills-5rA5bRSG.js → onboard-skills-C53RGq_5.js} +2 -2
- package/dist/{onboarding-CJuG6AyD.js → onboarding-BJ27gXxY.js} +15 -15
- package/dist/{onboarding-CREA0oQK.js → onboarding-CXaQnqxR.js} +16 -16
- package/dist/{onboarding.finalize-CkgL8Zde.js → onboarding.finalize-CSgYg74M.js} +32 -32
- package/dist/{onboarding.finalize-7iPylQyi.js → onboarding.finalize-CsyhJcuq.js} +19 -19
- package/dist/{onboarding.gateway-config-DtNG0As8.js → onboarding.gateway-config-3JMN1xRf.js} +9 -9
- package/dist/{onboarding.gateway-config-BzM2v2U5.js → onboarding.gateway-config-Ft3f6Jba.js} +6 -6
- package/dist/{openai-model-default-CSl0PZzK.js → openai-model-default-BVPmAuXK.js} +1 -1
- package/dist/{openai-model-default-DeTAMJKz.js → openai-model-default-CDDFpxUr.js} +2 -2
- package/dist/{outbound-send-deps-CBRh4LsL.js → outbound-send-deps-Dmc3B-LK.js} +1 -1
- package/dist/{pairing-cli-MwIIeBee.js → pairing-cli-B_icqS8Y.js} +1 -1
- package/dist/{pairing-cli-BvP6MoPZ.js → pairing-cli-CJGA4j6G.js} +4 -4
- package/dist/{pairing-store-S9CXOhSG.js → pairing-store-BGf29nPx.js} +1 -1
- package/dist/{pairing-token-DorpwP8O.js → pairing-token-CURbSHdi.js} +7 -7
- package/dist/{paths-DaQrPPet.js → paths-Dc6A9_vI.js} +1 -1
- package/dist/{pi-auth-json-CVwNh4rb.js → pi-auth-json-SHGGQzOL.js} +5 -5
- package/dist/{pi-embedded-B7_uthwZ.js → pi-embedded-8Zh_Y5ur.js} +20 -41
- package/dist/{pi-embedded-helpers-BbBfO9m_.js → pi-embedded-helpers-BwBjqJM5.js} +1 -1
- package/dist/{pi-embedded-helpers-DGW2untm.js → pi-embedded-helpers-CAdI9wJ5.js} +6 -6
- package/dist/{pi-tools.policy--USPnaLr.js → pi-tools.policy-BaRznBvu.js} +2 -2
- package/dist/{pi-tools.policy-BcTgKDG6.js → pi-tools.policy-Dyx3nBmp.js} +3 -3
- package/dist/{plugin-auto-enable-BDPdHiLS.js → plugin-auto-enable-D2TNEv3x.js} +1 -1
- package/dist/{plugin-registry-5aIoUu-O.js → plugin-registry-D7ACpV2Y.js} +2 -2
- package/dist/{plugin-registry-bskbnEuW.js → plugin-registry-d4hMhLLZ.js} +3 -3
- package/dist/plugin-sdk/agents/system-prompt.d.ts +1 -1
- package/dist/plugin-sdk/agents/unified-runner.d.ts +5 -5
- package/dist/plugin-sdk/auto-reply/reply/turn-middleware.d.ts +2 -2
- package/dist/plugin-sdk/channels/plugins/types.adapters.d.ts +1 -21
- package/dist/plugin-sdk/channels/plugins/types.core.d.ts +1 -5
- package/dist/plugin-sdk/channels/plugins/types.d.ts +2 -2
- package/dist/plugin-sdk/channels/plugins/types.plugin.d.ts +1 -2
- package/dist/plugin-sdk/commands/health.d.ts +0 -12
- package/dist/plugin-sdk/config/types.base.d.ts +0 -1
- package/dist/plugin-sdk/config/types.hooks.d.ts +0 -1
- package/dist/plugin-sdk/config/types.tools.d.ts +1 -1
- package/dist/plugin-sdk/config/zod-schema.d.ts +0 -2
- package/dist/plugin-sdk/config/zod-schema.hooks.d.ts +0 -1
- package/dist/plugin-sdk/cron/service/ops.d.ts +0 -1
- package/dist/plugin-sdk/cron/service/state.d.ts +1 -1
- package/dist/plugin-sdk/cron/service/timer.d.ts +0 -1
- package/dist/plugin-sdk/cron/service.d.ts +0 -1
- package/dist/plugin-sdk/cron/types.d.ts +1 -1
- package/dist/plugin-sdk/gateway/protocol/index.d.ts +1 -2
- package/dist/plugin-sdk/gateway/protocol/schema/agent.d.ts +0 -1
- package/dist/plugin-sdk/gateway/protocol/schema/cron.d.ts +3 -3
- package/dist/plugin-sdk/index.js +6 -8
- package/dist/plugin-sdk/plugin-sdk/index.d.ts +1 -1
- package/dist/{plugins-cli-LQUO7D2v.js → plugins-cli-CPf1hMaZ.js} +51 -51
- package/dist/{plugins-cli-DMCWSACj.js → plugins-cli-D1gd8p9T.js} +25 -25
- package/dist/{ports-ChuJYhEL.js → ports-DRHSHvqY.js} +1 -1
- package/dist/{ports-EAVAOFyK.js → ports-DqxP-bXz.js} +2 -2
- package/dist/{program-BgrmtnFn.js → program-BPcy7UBj.js} +31 -31
- package/dist/{program-context-C_uJXnZV.js → program-context-DYS38Clb.js} +39 -39
- package/dist/{prompt-select-styled-B3nTSykf.js → prompt-select-styled-Kgvc0-w2.js} +38 -37
- package/dist/{prompt-select-styled-CuGBQ9LO.js → prompt-select-styled-uUOSg6Qq.js} +20 -19
- package/dist/{provider-auth-helpers-MMYRbW_U.js → provider-auth-helpers-BUC4xGK9.js} +4 -4
- package/dist/{provider-auth-helpers-IsZNkaS0.js → provider-auth-helpers-DpRoNr_8.js} +6 -6
- package/dist/{push-apns-C7t2qAZ6.js → push-apns-Bm39oOO9.js} +4 -4
- package/dist/{push-apns-qCbh6Vhl.js → push-apns-DqmFEcqh.js} +1 -1
- package/dist/{pw-ai-DuPDo_Ia.js → pw-ai-B0-pgbYu.js} +2 -2
- package/dist/{pw-ai-YJhl5L-z.js → pw-ai-B2NuWIL7.js} +7 -7
- package/dist/{pw-ai-Bc5uzn_J.js → pw-ai-BsEf8C15.js} +2 -2
- package/dist/{pw-ai-Tm3pd-HP.js → pw-ai-w6Qalz1W.js} +2 -2
- package/dist/{qmd-manager-CrRvB46v.js → qmd-manager-358OTDns.js} +19 -19
- package/dist/{qr-cli-Bv4zF-WM.js → qr-cli-Cx7DYTSk.js} +1 -1
- package/dist/{qr-cli-D1U-qIkG.js → qr-cli-hPIeUYAT.js} +3 -3
- package/dist/{redact-identifier-QYENCXvy.js → redact-identifier-Cm1VfV7E.js} +1 -1
- package/dist/{register.agent-BblNQlzT.js → register.agent-CCKcgAXs.js} +66 -66
- package/dist/{register.agent-BWcxonR9.js → register.agent-DZuxoC0a.js} +37 -37
- package/dist/register.configure-CJErdFO_.js +129 -0
- package/dist/{register.configure-D0T0kOp7.js → register.configure-JT8T7HO5.js} +41 -41
- package/dist/{register.maintenance-DLJpeuc4.js → register.maintenance-BMswbbSL.js} +66 -66
- package/dist/{register.maintenance-w7sKxODf.js → register.maintenance-CNcd1-Vv.js} +38 -38
- package/dist/{register.message-CXEwBJ1O.js → register.message-CpOXi1rz.js} +45 -45
- package/dist/{register.message-C3dCPjVc.js → register.message-_bfhetTg.js} +25 -25
- package/dist/{register.onboard-DJmVC_6h.js → register.onboard-CRNjEhnQ.js} +19 -19
- package/dist/{register.onboard-B520Ixsd.js → register.onboard-DR2Wu59i.js} +24 -24
- package/dist/{register.setup-BTse4F3a.js → register.setup-Crrj2t2B.js} +26 -26
- package/dist/{register.setup-Br-aZ0qD.js → register.setup-Dbe-Z2xu.js} +18 -18
- package/dist/{register.status-health-sessions-Dbizirr2.js → register.status-health-sessions-DZnebsxZ.js} +38 -38
- package/dist/{register.status-health-sessions-4dxLj6hJ.js → register.status-health-sessions-DmX0DLAt.js} +22 -22
- package/dist/{register.subclis-CSJZQox4.js → register.subclis-BRPnstmu.js} +28 -28
- package/dist/{replies-CbipVshj.js → replies-B2O2eRh6.js} +1 -1
- package/dist/{replies-CH1VlYZQ.js → replies-Bnh0owwH.js} +1 -1
- package/dist/{replies-DIWartyA.js → replies-DIHkSwoW.js} +1 -1
- package/dist/{replies-CjSfYK97.js → replies-DU-fXkSk.js} +1 -1
- package/dist/{reply-prefix-DZQBodKF.js → reply-prefix-BOdARKaY.js} +1 -1
- package/dist/{resolve-route-BbUl3Hi7.js → resolve-route-CRWE36h5.js} +1 -1
- package/dist/{routes-DiqMB1cp.js → routes-BMShi_eY.js} +10 -10
- package/dist/{routes-CWYyvbxi.js → routes-Cio8is5Y.js} +3 -3
- package/dist/{rpc-DLfjbTSu.js → rpc-CEhoSTGo.js} +1 -1
- package/dist/{rpc-BcPBUUXl.js → rpc-D0Ldc6Hv.js} +1 -1
- package/dist/{run-main-DISYU1dh.js → run-main-CMQVjdht.js} +41 -41
- package/dist/{sandbox-B6P9-J8g.js → sandbox-B4RfQ7k1.js} +5 -5
- package/dist/{sandbox-DPn-s_K5.js → sandbox-C-UeHmuJ.js} +18 -18
- package/dist/{sandbox-cli-bOFig9Jd.js → sandbox-cli-B43FqqPT.js} +6 -6
- package/dist/{sandbox-cli-Bl5CMRjH.js → sandbox-cli-CNAPNXJ4.js} +13 -13
- package/dist/{security-cli-DuxEuSGr.js → security-cli-BSd8_Gsq.js} +28 -28
- package/dist/{security-cli-C7LBaB0e.js → security-cli-DDM0Z6IW.js} +11 -11
- package/dist/{send-6IYv-yRp.js → send-CGXxBSKh.js} +1 -1
- package/dist/{send-CYJucYob.js → send-DSK6O8SC.js} +7 -7
- package/dist/{send-C3ZXgOXw.js → send-EluKytgO.js} +1 -1
- package/dist/{server-context-Vd9sEFb9.js → server-context-CDTuNR-O.js} +5 -5
- package/dist/{server-context-BUbuOgNz.js → server-context-DFO6o83F.js} +5 -5
- package/dist/server-methods-Dz6NGEg3.js +9414 -0
- package/dist/server-methods-vp5zi6v5.js +9416 -0
- package/dist/{server-node-events-BH4-UlAH.js → server-node-events-4ufB_olv.js} +26 -26
- package/dist/{server-node-events-7ToqdaU5.js → server-node-events-B7UtUhkC.js} +46 -46
- package/dist/{service-9ItKCWWS.js → service-AP9pR9R5.js} +15 -15
- package/dist/session-dirs-Chh7bBGo.js +18 -0
- package/dist/session-dirs-Sl_x6tjD.js +18 -0
- package/dist/{session-utils-CqSXwGYa.js → session-utils-CgGDr4eh.js} +14 -14
- package/dist/{session-utils-CJfEkQQQ.js → session-utils-D1VcHni_.js} +5 -5
- package/dist/{sessions-BHrlpR92.js → sessions-BNEDanZO.js} +1 -1
- package/dist/{sessions-DorP6zY8.js → sessions-Dh88Kqd6.js} +11 -11
- package/dist/{sessions-Chjdz1Gx.js → sessions-iLfSd6VD.js} +3 -3
- package/dist/{shared-B-64oefu.js → shared-CIeW3aWF.js} +1 -1
- package/dist/{shared-ot5_jkpP.js → shared-DmYHvtn2.js} +1 -1
- package/dist/{shared-Z3KjnA8n.js → shared-_wwqvx84.js} +3 -3
- package/dist/{skill-commands-RbglvrSW.js → skill-commands-5QB5E8bv.js} +4 -4
- package/dist/{skill-scanner-CZK0TG9g.js → skill-scanner-YF2jR4RY.js} +5 -5
- package/dist/{skills-DS1Vdylm.js → skills-Bmjf5nFv.js} +4 -4
- package/dist/{skills-cli-DbhEEC78.js → skills-cli-BJDvUT_e.js} +1 -1
- package/dist/{skills-cli-BmIb-9--.js → skills-cli-Byp9MfZh.js} +7 -7
- package/dist/{skills-install-DcX1Txvp.js → skills-install-BB27sD4d.js} +3 -3
- package/dist/{skills-remote-BDSyRdyX.js → skills-remote-CqwR3Zvp.js} +3 -3
- package/dist/{skills-status-F7nlolZZ.js → skills-status-BNDqwHkP.js} +1 -1
- package/dist/{sqlite-BUXBg2yu.js → sqlite-DBEvS-Ne.js} +5 -5
- package/dist/{ssrf-CJor4ewC.js → ssrf-CBajKNWO.js} +0 -2
- package/dist/{ssrf-BzPY2FrA.js → ssrf-CeQ2Aub-.js} +0 -2
- package/dist/{status-CR4VgVZ0.js → status-B0HecH1s.js} +3 -3
- package/dist/{status-dHYcVtbb.js → status-BD8gFYKH.js} +14 -45
- package/dist/{status-Hf__QNbH.js → status-DEXnB1sw.js} +26 -57
- package/dist/{status-CeaJlVQK.js → status-MMLxoRgQ.js} +2 -2
- package/dist/{status.update-lna4Lub4.js → status.update-Be8PuHCh.js} +1 -1
- package/dist/{status.update-DOj5ifHZ.js → status.update-CB9e3eWW.js} +3 -3
- package/dist/{subagent-registry-BbQL79Gk.js → subagent-registry-C57PFGHU.js} +30 -46
- package/dist/{symi-root-0MUhiNlM.js → symi-root-DueRHNOE.js} +2 -2
- package/dist/{synthesis-CK0K7wFk.js → synthesis-CjsIBd8X.js} +42 -42
- package/dist/{synthesis-B4G0BnU5.js → synthesis-DSdF0vsi.js} +7 -7
- package/dist/{synthesis-C-IePZG6.js → synthesis-iB7TWRW4.js} +6 -6
- package/dist/{synthesis-DiPl8Usv.js → synthesis-j_kjlFo1.js} +23 -23
- package/dist/system-cli-BM8KbtUc.js +48 -0
- package/dist/system-cli-CQFH_HwX.js +43 -0
- package/dist/{systemd-8KKQdTO_.js → systemd-9LEEqibe.js} +5 -5
- package/dist/{systemd-hints-BefHB3bX.js → systemd-hints-A1W3AdVo.js} +6 -6
- package/dist/{systemd-hints-DQKA3tTS.js → systemd-hints-BejQ6J2Y.js} +1 -1
- package/dist/{systemd-linger-C0-G8yq4.js → systemd-linger-PqG8iGCt.js} +1 -1
- package/dist/{tui-C_yv1hvy.js → tui-B4Pd0T9l.js} +5 -15
- package/dist/{tui-BheB3rbE.js → tui-DBrpAw57.js} +7 -17
- package/dist/{tui-cli-D7wYLESM.js → tui-cli-B-obcHoZ.js} +10 -10
- package/dist/{tui-cli-BDcU-VgA.js → tui-cli-tbUaY-Pu.js} +19 -19
- package/dist/{unified-runner-BSdnT6eM.js → unified-runner-BNt7TQKM.js} +18 -39
- package/dist/{unified-runner-D6p4N2vu.js → unified-runner-DCiPB--z.js} +104 -120
- package/dist/{update-Djvyvehx.js → update-CjZgU686.js} +3 -3
- package/dist/{update-check-BdSIMYWq.js → update-check-CZxZhEXr.js} +5 -5
- package/dist/{update-cli-BmQuYKTw.js → update-cli-CUgElk5d.js} +42 -42
- package/dist/{update-cli-CwznFR5g.js → update-cli-Mpq0iwGk.js} +76 -76
- package/dist/{session-dirs-DONOhYc3.js → update-runner-Dq5UYQbo.js} +16 -30
- package/dist/{session-dirs-6atzU47U.js → update-runner-ENJw0Mco.js} +2 -16
- package/dist/{webhooks-cli-D_wAaLOU.js → webhooks-cli-Clx8DGfA.js} +5 -5
- package/dist/{webhooks-cli-B2_nrbvn.js → webhooks-cli-UfO_WffC.js} +2 -2
- package/dist/{with-timeout-CAUWEPmp.js → with-timeout-BE7lxhxW.js} +1 -1
- package/dist/{with-timeout-BhDKgIeU.js → with-timeout-BcL6qAbd.js} +1 -1
- package/dist/{workspace-dirs-QmSWJptJ.js → workspace-dirs-D5OnUmvw.js} +1 -1
- package/dist/{wsl-DO9usEVV.js → wsl-ZWGwnnKI.js} +2 -2
- package/package.json +1 -1
- package/dist/register.configure-BJ7xtOUZ.js +0 -129
- package/dist/system-cli-BKp2K0sb.js +0 -85
- package/dist/system-cli-C9uTFA4c.js +0 -80
- /package/dist/{agents.config-gkq5o5Hy.js → agents.config-D7cHU-OU.js} +0 -0
- /package/dist/{auth-choice-legacy-DlTku0W1.js → auth-choice-legacy-CsjluQCN.js} +0 -0
- /package/dist/{auth-choice-legacy-y8ZXjhDq.js → auth-choice-legacy-D9WcUI_J.js} +0 -0
- /package/dist/{auth-token-2yjfGFTo.js → auth-token-Brb1Askz.js} +0 -0
- /package/dist/{consolidate-CTKMVS1l.js → consolidate-D1GUJ5qq.js} +0 -0
- /package/dist/{dm-policy-shared-BcYwq7H9.js → dm-policy-shared-CSF4Tw_F.js} +0 -0
- /package/dist/{format-CUJQOEUj.js → format-BGzoTHhD.js} +0 -0
- /package/dist/{format-Cj8gNX2r.js → format-C-0EAOjI.js} +0 -0
- /package/dist/{gmail-setup-utils-C5QXoiTl.js → gmail-setup-utils-B1BYpISg.js} +0 -0
- /package/dist/{gmail-setup-utils-DO0-mXYp.js → gmail-setup-utils-fA1VaWLv.js} +0 -0
- /package/dist/{health-format-BQdYy0nL.js → health-format-39e76m9p.js} +0 -0
- /package/dist/{health-format-OIqaDZ2V.js → health-format-DaP03FBk.js} +0 -0
- /package/dist/{ipv4-CFw4fYIH.js → ipv4-CfVqgiTN.js} +0 -0
- /package/dist/{ipv4-DBwTCOBu.js → ipv4-DK4xoUQ-.js} +0 -0
- /package/dist/{logging-BA2NbxMy.js → logging-B96FQvnn.js} +0 -0
- /package/dist/{logging-Dt9kBzoO.js → logging-BeA4q4J_.js} +0 -0
- /package/dist/{model-param-b-CErLzOT8.js → model-param-b-B34yvxBN.js} +0 -0
- /package/dist/{model-param-b-DnsFCAGo.js → model-param-b-CmgmcGoJ.js} +0 -0
- /package/dist/{node-service-B7zf4WFE.js → node-service-DDDCEDdv.js} +0 -0
- /package/dist/{onboard-config-CIBKQuYV.js → onboard-config-Barp7MT9.js} +0 -0
- /package/dist/{onboard-config-D6L72_zg.js → onboard-config-DQkZqcyq.js} +0 -0
- /package/dist/{outbound-send-deps-pzO0D6kV.js → outbound-send-deps-BpziI1pC.js} +0 -0
- /package/dist/{ports-B3NnaSHu.js → ports-BAzQoIw0.js} +0 -0
- /package/dist/{qmd-manager-CX0jtKS5.js → qmd-manager--kGuC39q.js} +0 -0
- /package/dist/{skills-install-Q5hgZITy.js → skills-install-BzqoHn0x.js} +0 -0
- /package/dist/{system-run-command-XG1_P_la.js → system-run-command-QikSIqYG.js} +0 -0
- /package/dist/{systemd-linger-CoyAJEZx.js → systemd-linger-BM4qvprK.js} +0 -0
- /package/dist/{update-CbkItCeC.js → update-C1rkPV1C.js} +0 -0
- /package/dist/{workspace-2m2BLIbx.js → workspace-B3sO7QlN.js} +0 -0
- /package/dist/{workspace-CxAs2tsz.js → workspace-Bb1HX2I0.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { L as normalizeProviderId, b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-Bs5D0GUv.js";
|
|
3
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
3
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-C57PFGHU.js";
|
|
4
4
|
import { r as stylePromptTitle } from "./prompt-style-Z2ZizQap.js";
|
|
5
5
|
import { n as isWSLEnv } from "./wsl-DehumVkT.js";
|
|
6
|
-
import { f as updateConfig } from "./shared-
|
|
7
|
-
import { d as applyAuthProfileConfig } from "./auth-token-
|
|
8
|
-
import { n as logConfigUpdated } from "./logging-
|
|
6
|
+
import { f as updateConfig } from "./shared-CIeW3aWF.js";
|
|
7
|
+
import { d as applyAuthProfileConfig } from "./auth-token-Brb1Askz.js";
|
|
8
|
+
import { n as logConfigUpdated } from "./logging-BeA4q4J_.js";
|
|
9
9
|
import { intro, note, outro, spinner } from "@clack/prompts";
|
|
10
10
|
|
|
11
11
|
//#region src/providers/github-copilot-auth.ts
|
|
@@ -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-DCiPB--z.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
3
|
-
import { L as normalizeProviderId, b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-
|
|
3
|
+
import { L as normalizeProviderId, b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-BFSVvFKy.js";
|
|
4
4
|
import { r as stylePromptTitle } from "./prompt-style-Cad0BDRS.js";
|
|
5
|
-
import { n as isWSLEnv } from "./wsl-
|
|
6
|
-
import { f as updateConfig } from "./shared-
|
|
7
|
-
import { d as applyAuthProfileConfig } from "./auth-token-
|
|
8
|
-
import { n as logConfigUpdated } from "./logging-
|
|
5
|
+
import { n as isWSLEnv } from "./wsl-ZWGwnnKI.js";
|
|
6
|
+
import { f as updateConfig } from "./shared-_wwqvx84.js";
|
|
7
|
+
import { d as applyAuthProfileConfig } from "./auth-token-SebYuqfR.js";
|
|
8
|
+
import { n as logConfigUpdated } from "./logging-B96FQvnn.js";
|
|
9
9
|
import { intro, note, outro, spinner } from "@clack/prompts";
|
|
10
10
|
|
|
11
11
|
//#region src/providers/github-copilot-auth.ts
|
|
@@ -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-DCiPB--z.js";
|
|
2
2
|
import { S as isVerbose } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import { g as resolveStateDir } from "./paths-BSzKwaxE.js";
|
|
4
4
|
import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
5
5
|
import { x as parseAgentSessionKey } from "./session-key-B_ZVH1kE.js";
|
|
6
6
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-CSc_2Nka.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-CURbSHdi.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) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { U as isVerbose, f as shouldLogSubsystemToConsole, o as createSubsystemLogger, vt as resolveStateDir } from "./entry.js";
|
|
2
2
|
import { x as parseAgentSessionKey } from "./session-key-BfskPVEs.js";
|
|
3
3
|
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-Bnr7QjVF.js";
|
|
4
|
-
import { $t as estimateBase64DecodedBytes, d as sniffMimeFromBase64 } from "./subagent-registry-
|
|
4
|
+
import { $t as estimateBase64DecodedBytes, d as sniffMimeFromBase64 } from "./subagent-registry-C57PFGHU.js";
|
|
5
5
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-KvsGzUFH.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import chalk from "chalk";
|
|
@@ -5,8 +5,8 @@ import "./exec-B6oWJSJW.js";
|
|
|
5
5
|
import "./agent-scope-B6p555mP.js";
|
|
6
6
|
import "./github-copilot-token-a6a53zx_.js";
|
|
7
7
|
import "./manifest-registry-DJcKcUQ9.js";
|
|
8
|
-
import "./config-
|
|
9
|
-
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-
|
|
8
|
+
import "./config-igdtSRrZ.js";
|
|
9
|
+
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-B0wRtBRB.js";
|
|
10
10
|
import "./redact-KvsGzUFH.js";
|
|
11
11
|
import { n as formatErrorMessage } from "./errors-TVUWuVoP.js";
|
|
12
12
|
import "./ssrf-jKt8PSDl.js";
|
|
@@ -2,23 +2,23 @@ import { B as resolvePreferredSymiTmpDir } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import "./utils-BU8jVQFM.js";
|
|
4
4
|
import "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-BFSVvFKy.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
7
7
|
import "./exec-DKyLtSjm.js";
|
|
8
|
-
import "./agent-scope-
|
|
8
|
+
import "./agent-scope-DIjW66iO.js";
|
|
9
9
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
10
10
|
import "./boolean-Wzu0-e0P.js";
|
|
11
11
|
import "./env-B97Ms861.js";
|
|
12
|
-
import "./config-
|
|
12
|
+
import "./config-DqMsGcSQ.js";
|
|
13
13
|
import "./manifest-registry-D_LsBSyt.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-VbDUdW0_.js";
|
|
15
15
|
import "./redact-CSc_2Nka.js";
|
|
16
16
|
import { n as formatErrorMessage } from "./errors-Z-WkF18Q.js";
|
|
17
17
|
import "./ssrf-CC9kEPCT.js";
|
|
18
|
-
import "./ports-
|
|
18
|
+
import "./ports-DqxP-bXz.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?.() || "",
|
|
@@ -6,9 +6,9 @@ import "./workspace-CsaDUuDn.js";
|
|
|
6
6
|
import { tt as formatCliCommand } from "./auth-profiles-Boy_KMd1.js";
|
|
7
7
|
import "./github-copilot-token-B31ugq7R.js";
|
|
8
8
|
import "./boolean-mcn6kL0s.js";
|
|
9
|
-
import "./ssrf-
|
|
9
|
+
import "./ssrf-CeQ2Aub-.js";
|
|
10
10
|
import "./manifest-registry-C0nJ3Ja3.js";
|
|
11
|
-
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-
|
|
11
|
+
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-B4P7ycw5.js";
|
|
12
12
|
import "./redact-Dd8jrogi.js";
|
|
13
13
|
import { n as formatErrorMessage } from "./errors-BkfLlDKo.js";
|
|
14
14
|
import path from "node:path";
|
|
@@ -4,9 +4,9 @@ import "./agent-scope-DZEuQYrq.js";
|
|
|
4
4
|
import "./subsystem-Bzq1QhtO.js";
|
|
5
5
|
import { Q as formatCliCommand } from "./model-selection-DUQlsUfk.js";
|
|
6
6
|
import "./github-copilot-token-BbsJ0Qbo.js";
|
|
7
|
-
import "./ssrf-
|
|
7
|
+
import "./ssrf-CBajKNWO.js";
|
|
8
8
|
import "./manifest-registry-CAWGTwb5.js";
|
|
9
|
-
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-
|
|
9
|
+
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-CPSDqbK6.js";
|
|
10
10
|
import "./redact-ojHFHOAb.js";
|
|
11
11
|
import { n as formatErrorMessage } from "./errors-C6sHIFo_.js";
|
|
12
12
|
import path from "node:path";
|
|
@@ -4,14 +4,14 @@ import "./utils-BU8jVQFM.js";
|
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
5
5
|
import { x as parseAgentSessionKey } from "./session-key-B_ZVH1kE.js";
|
|
6
6
|
import "./exec-DKyLtSjm.js";
|
|
7
|
-
import { c as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
+
import { c as resolveAgentWorkspaceDir } from "./agent-scope-DIjW66iO.js";
|
|
8
8
|
import "./redact-CSc_2Nka.js";
|
|
9
9
|
import "./paths-CJcw9nbZ.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-CHnZdvRy.js";
|
|
11
|
+
import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-DBEvS-Ne.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
|
}
|
|
@@ -4,7 +4,7 @@ import { t as runCommandWithTimeout } from "./exec-B6oWJSJW.js";
|
|
|
4
4
|
import "./agent-scope-B6p555mP.js";
|
|
5
5
|
import "./github-copilot-token-a6a53zx_.js";
|
|
6
6
|
import "./manifest-registry-DJcKcUQ9.js";
|
|
7
|
-
import { i as loadConfig } from "./config-
|
|
7
|
+
import { i as loadConfig } from "./config-igdtSRrZ.js";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import qrcode from "qrcode-terminal";
|
|
10
10
|
|
|
@@ -2,13 +2,13 @@ import { j as theme } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import "./utils-BU8jVQFM.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-BFSVvFKy.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-DKyLtSjm.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-DIjW66iO.js";
|
|
8
8
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
9
9
|
import "./boolean-Wzu0-e0P.js";
|
|
10
10
|
import "./env-B97Ms861.js";
|
|
11
|
-
import { i as loadConfig } from "./config-
|
|
11
|
+
import { i as loadConfig } from "./config-DqMsGcSQ.js";
|
|
12
12
|
import "./manifest-registry-D_LsBSyt.js";
|
|
13
13
|
import os from "node:os";
|
|
14
14
|
import qrcode from "qrcode-terminal";
|
|
@@ -3,7 +3,7 @@ import { Et as normalizeSecretInput, L as normalizeProviderId, b as ensureAuthPr
|
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-Xm6vX3qJ.js";
|
|
4
4
|
import { p as DEFAULT_ACCOUNT_ID } from "./session-key-BfskPVEs.js";
|
|
5
5
|
import { i as logDebug } from "./exec-B6oWJSJW.js";
|
|
6
|
-
import { i as loadConfig } from "./config-
|
|
6
|
+
import { i as loadConfig } from "./config-igdtSRrZ.js";
|
|
7
7
|
import { n as listChannelPlugins } from "./plugins-Bq-Msc8Z.js";
|
|
8
8
|
import { t as bindAbortRelay } from "./fetch-timeout-PV2_ySyb.js";
|
|
9
9
|
import { n as formatTimeAgo } from "./format-relative-Cyq001S7.js";
|
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
import "./unified-runner-
|
|
1
|
+
import "./unified-runner-DCiPB--z.js";
|
|
2
2
|
import { E as setVerbose, j as theme, r as DEFAULT_CHAT_CHANNEL } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import "./paths-BSzKwaxE.js";
|
|
4
4
|
import { h as resolveUserPath, v as shortenHomePath } from "./utils-BU8jVQFM.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
6
|
-
import { C as resolveAuthStorePath, b as ensureAuthProfileStore } from "./auth-profiles-
|
|
6
|
+
import { C as resolveAuthStorePath, b as ensureAuthProfileStore } from "./auth-profiles-BFSVvFKy.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
8
8
|
import { o as normalizeAgentId, p as DEFAULT_ACCOUNT_ID, t as DEFAULT_AGENT_ID } from "./session-key-B_ZVH1kE.js";
|
|
9
9
|
import "./exec-DKyLtSjm.js";
|
|
10
|
-
import { c as resolveAgentWorkspaceDir, g as DEFAULT_IDENTITY_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, n as listAgentIds, t as listAgentEntries } from "./agent-scope-
|
|
10
|
+
import { c as resolveAgentWorkspaceDir, g as DEFAULT_IDENTITY_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, n as listAgentIds, t as listAgentEntries } from "./agent-scope-DIjW66iO.js";
|
|
11
11
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
12
12
|
import "./boolean-Wzu0-e0P.js";
|
|
13
13
|
import "./env-B97Ms861.js";
|
|
14
|
-
import "./pi-embedded-helpers-
|
|
15
|
-
import { i as loadConfig, l as writeConfigFile } from "./config-
|
|
14
|
+
import "./pi-embedded-helpers-CAdI9wJ5.js";
|
|
15
|
+
import { i as loadConfig, l as writeConfigFile } from "./config-DqMsGcSQ.js";
|
|
16
16
|
import "./manifest-registry-D_LsBSyt.js";
|
|
17
|
-
import "./sandbox-
|
|
18
|
-
import "./chrome-
|
|
17
|
+
import "./sandbox-C-UeHmuJ.js";
|
|
18
|
+
import "./chrome-VbDUdW0_.js";
|
|
19
19
|
import "./tailscale-D7dC-5EX.js";
|
|
20
20
|
import "./auth-BbwD4lRX.js";
|
|
21
|
-
import "./server-context-
|
|
21
|
+
import "./server-context-DFO6o83F.js";
|
|
22
22
|
import "./frontmatter-CHu3sfCM.js";
|
|
23
|
-
import "./skills-
|
|
24
|
-
import "./routes-
|
|
23
|
+
import "./skills-Bmjf5nFv.js";
|
|
24
|
+
import "./routes-BMShi_eY.js";
|
|
25
25
|
import "./redact-CSc_2Nka.js";
|
|
26
26
|
import "./errors-Z-WkF18Q.js";
|
|
27
|
-
import "./fs-safe-
|
|
28
|
-
import "./paths-
|
|
27
|
+
import "./fs-safe-B6nMaZqV.js";
|
|
28
|
+
import "./paths-Dc6A9_vI.js";
|
|
29
29
|
import "./ssrf-CC9kEPCT.js";
|
|
30
|
-
import "./image-ops-
|
|
31
|
-
import "./ports-
|
|
30
|
+
import "./image-ops-C-gIIp7Q.js";
|
|
31
|
+
import "./ports-DqxP-bXz.js";
|
|
32
32
|
import "./trash-BjVrPcAx.js";
|
|
33
|
-
import "./sessions-
|
|
33
|
+
import "./sessions-Dh88Kqd6.js";
|
|
34
34
|
import "./dock-CnGWTXL4.js";
|
|
35
35
|
import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-C_V8IAYx.js";
|
|
36
36
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DuuHorqi.js";
|
|
37
|
-
import "./send-
|
|
37
|
+
import "./send-DSK6O8SC.js";
|
|
38
38
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CJcw9nbZ.js";
|
|
39
39
|
import "./thinking-177f26eg.js";
|
|
40
40
|
import "./tokens-BKbemuIk.js";
|
|
41
|
-
import "./deliver-
|
|
41
|
+
import "./deliver-RwovDEDy.js";
|
|
42
42
|
import "./diagnostic-CwF3MnBL.js";
|
|
43
43
|
import "./diagnostic-session-state-I4x9gPY4.js";
|
|
44
|
-
import "./models-config-
|
|
45
|
-
import "./pi-auth-json-
|
|
44
|
+
import "./models-config-Unnduxgs.js";
|
|
45
|
+
import "./pi-auth-json-SHGGQzOL.js";
|
|
46
46
|
import "./session-cost-usage-DYcv40ss.js";
|
|
47
|
-
import "./session-utils-
|
|
48
|
-
import "./with-timeout-
|
|
49
|
-
import "./reply-prefix-
|
|
50
|
-
import "./memory-
|
|
51
|
-
import "./manager-
|
|
52
|
-
import "./sqlite-
|
|
47
|
+
import "./session-utils-CgGDr4eh.js";
|
|
48
|
+
import "./with-timeout-BE7lxhxW.js";
|
|
49
|
+
import "./reply-prefix-BOdARKaY.js";
|
|
50
|
+
import "./memory-kIYeV9aO.js";
|
|
51
|
+
import "./manager-DOiW-Koo.js";
|
|
52
|
+
import "./sqlite-DBEvS-Ne.js";
|
|
53
53
|
import "./chunk-DQGU0F8t.js";
|
|
54
54
|
import "./markdown-tables-GTLvbzuR.js";
|
|
55
55
|
import "./fetch-guard-DG6T0ZdL.js";
|
|
56
|
-
import "./local-roots-
|
|
56
|
+
import "./local-roots-BnDnugq3.js";
|
|
57
57
|
import "./commands-B3UrgxIz.js";
|
|
58
|
-
import "./commands-registry-
|
|
59
|
-
import "./client-
|
|
60
|
-
import { a as randomIdempotencyKey, n as callGateway } from "./call-
|
|
61
|
-
import "./pairing-token-
|
|
58
|
+
import "./commands-registry-BNCcZy2y.js";
|
|
59
|
+
import "./client-qjXXRKCO.js";
|
|
60
|
+
import { a as randomIdempotencyKey, n as callGateway } from "./call-BPJn2_th.js";
|
|
61
|
+
import "./pairing-token-CURbSHdi.js";
|
|
62
62
|
import "./tool-display-Dr6VaTg5.js";
|
|
63
|
-
import "./skills-remote-
|
|
64
|
-
import "./workspace-dirs-
|
|
63
|
+
import "./skills-remote-CqwR3Zvp.js";
|
|
64
|
+
import "./workspace-dirs-D5OnUmvw.js";
|
|
65
65
|
import "./pi-model-discovery-DdkUSfiI.js";
|
|
66
|
-
import "./model-catalog-
|
|
67
|
-
import "./skill-commands-
|
|
68
|
-
import "./pairing-store-
|
|
66
|
+
import "./model-catalog-CaGfL-2g.js";
|
|
67
|
+
import "./skill-commands-5QB5E8bv.js";
|
|
68
|
+
import "./pairing-store-BGf29nPx.js";
|
|
69
69
|
import "./exec-approvals-CZOc8M5w.js";
|
|
70
|
-
import "./nodes-screen-
|
|
71
|
-
import "./control-service-
|
|
70
|
+
import "./nodes-screen-JELuBMBi.js";
|
|
71
|
+
import "./control-service-Fn3d9AlH.js";
|
|
72
72
|
import "./stagger-BhvnarfO.js";
|
|
73
73
|
import "./channel-selection-BvIcXQLj.js";
|
|
74
74
|
import "./delivery-queue-DDs84baU.js";
|
|
75
75
|
import "./bindings-9LSA3Jr1.js";
|
|
76
|
-
import "./resolve-route-
|
|
76
|
+
import "./resolve-route-CRWE36h5.js";
|
|
77
77
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
78
78
|
import { n as runCommandWithRuntime } from "./cli-utils-CX1oQ81G.js";
|
|
79
79
|
import { t as formatHelpExamples } from "./help-format-BI_G2p1e.js";
|
|
80
80
|
import { n as withProgress } from "./progress-CyPyGCDn.js";
|
|
81
|
-
import "./memory-cli-
|
|
81
|
+
import "./memory-cli-DkD_OD70.js";
|
|
82
82
|
import "./logging-B5YNzZB9.js";
|
|
83
|
-
import "./replies-
|
|
84
|
-
import "./pi-tools.policy-
|
|
85
|
-
import "./model-
|
|
86
|
-
import { t as createDefaultDeps } from "./deps-
|
|
83
|
+
import "./replies-B2O2eRh6.js";
|
|
84
|
+
import "./pi-tools.policy-Dyx3nBmp.js";
|
|
85
|
+
import "./model-BRcKPW49.js";
|
|
86
|
+
import { t as createDefaultDeps } from "./deps-bCHNuszw.js";
|
|
87
87
|
import { t as collectOption } from "./helpers-BER76F_2.js";
|
|
88
88
|
import "./catalog-CSgSg5Gp.js";
|
|
89
89
|
import { t as hasExplicitOptions } from "./command-options-ChiIn6Na.js";
|
|
@@ -92,26 +92,26 @@ import "./note-CHrtEumO.js";
|
|
|
92
92
|
import { t as WizardCancelledError } from "./prompts-CPtDKw-j.js";
|
|
93
93
|
import { t as createClackPrompter } from "./clack-prompter-CWQQn_CK.js";
|
|
94
94
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BBypnAYf.js";
|
|
95
|
-
import "./plugin-auto-enable-
|
|
96
|
-
import "./install-safe-path-
|
|
97
|
-
import "./npm-registry-spec-
|
|
98
|
-
import "./skill-scanner-
|
|
99
|
-
import "./installs-
|
|
100
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
101
|
-
import { t as requireValidConfigSnapshot } from "./config-validation-
|
|
102
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-
|
|
103
|
-
import { n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-
|
|
104
|
-
import { a as pruneAgentConfig, c as parseIdentityMarkdown, i as loadAgentIdentity, n as buildAgentSummaries, o as identityHasValues, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
105
|
-
import "./shared-
|
|
106
|
-
import "./auth-token-
|
|
107
|
-
import { n as logConfigUpdated } from "./logging-
|
|
108
|
-
import "./provider-auth-helpers-
|
|
109
|
-
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-
|
|
110
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
111
|
-
import "./openai-model-default-
|
|
112
|
-
import "./model-picker-
|
|
95
|
+
import "./plugin-auto-enable-D2TNEv3x.js";
|
|
96
|
+
import "./install-safe-path-CQXx3s9R.js";
|
|
97
|
+
import "./npm-registry-spec-BXw_6vF6.js";
|
|
98
|
+
import "./skill-scanner-YF2jR4RY.js";
|
|
99
|
+
import "./installs-DhSLZRT7.js";
|
|
100
|
+
import { r as setupChannels } from "./onboard-channels-D_uUQbem.js";
|
|
101
|
+
import { t as requireValidConfigSnapshot } from "./config-validation-Bp2wJ610.js";
|
|
102
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-CHfdRdZR.js";
|
|
103
|
+
import { n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-C8IIjDyn.js";
|
|
104
|
+
import { a as pruneAgentConfig, c as parseIdentityMarkdown, i as loadAgentIdentity, n as buildAgentSummaries, o as identityHasValues, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-D1nFwU81.js";
|
|
105
|
+
import "./shared-_wwqvx84.js";
|
|
106
|
+
import "./auth-token-SebYuqfR.js";
|
|
107
|
+
import { n as logConfigUpdated } from "./logging-B96FQvnn.js";
|
|
108
|
+
import "./provider-auth-helpers-DpRoNr_8.js";
|
|
109
|
+
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-D8GvjOBX.js";
|
|
110
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-BBrEzoy2.js";
|
|
111
|
+
import "./openai-model-default-CDDFpxUr.js";
|
|
112
|
+
import "./model-picker-CV56GE8A.js";
|
|
113
113
|
import path from "node:path";
|
|
114
|
-
import
|
|
114
|
+
import fs from "node:fs/promises";
|
|
115
115
|
|
|
116
116
|
//#region src/commands/agent-via-gateway.ts
|
|
117
117
|
const NO_GATEWAY_TIMEOUT_MS = 2147e6;
|
|
@@ -349,7 +349,7 @@ async function requireValidConfig(runtime) {
|
|
|
349
349
|
//#region src/commands/agents.commands.add.ts
|
|
350
350
|
async function fileExists(pathname) {
|
|
351
351
|
try {
|
|
352
|
-
await
|
|
352
|
+
await fs.stat(pathname);
|
|
353
353
|
return true;
|
|
354
354
|
} catch {
|
|
355
355
|
return false;
|
|
@@ -489,8 +489,8 @@ async function agentsAddCommand(opts, runtime = defaultRuntime, params) {
|
|
|
489
489
|
message: `Copy auth profiles from "${defaultAgentId}"?`,
|
|
490
490
|
initialValue: false
|
|
491
491
|
})) {
|
|
492
|
-
await
|
|
493
|
-
await
|
|
492
|
+
await fs.mkdir(path.dirname(destAuthPath), { recursive: true });
|
|
493
|
+
await fs.copyFile(sourceAuthPath, destAuthPath);
|
|
494
494
|
await prompter.note(`Copied auth profiles from "${defaultAgentId}".`, "Auth profiles");
|
|
495
495
|
}
|
|
496
496
|
}
|
|
@@ -638,7 +638,7 @@ const coerceTrimmed = (value) => {
|
|
|
638
638
|
};
|
|
639
639
|
async function loadIdentityFromFile(filePath) {
|
|
640
640
|
try {
|
|
641
|
-
const parsed = parseIdentityMarkdown(await
|
|
641
|
+
const parsed = parseIdentityMarkdown(await fs.readFile(filePath, "utf-8"));
|
|
642
642
|
if (!identityHasValues(parsed)) return null;
|
|
643
643
|
return parsed;
|
|
644
644
|
} catch {
|