@symerian/symi 3.3.1 → 3.3.3
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-BI1-UXxQ.js → agent-9zPi5Bip.js} +2 -5
- package/dist/{agent-DeLysRUa.js → agent-M9EC02CI.js} +17 -20
- package/dist/{agent-scope-BjEBQhs0.js → agent-scope-B_oqIiaD.js} +18 -18
- package/dist/{agent-scope-DE5eEsvh.js → agent-scope-D_MtsuXX.js} +2 -2
- package/dist/{agents-BMRZpxNt.js → agents-CW9uf_n0.js} +2 -2
- package/dist/{agents.config-BFKM-a83.js → agents.config-B_LFeRQS.js} +1 -1
- package/dist/{audit-DQ_p2Pbq.js → audit-B_HL4UJ_.js} +20 -20
- package/dist/{auth-choice-BGZsmh6a.js → auth-choice-Bio1-QUP.js} +8 -8
- package/dist/{auth-choice-T77Ymi34.js → auth-choice-DS5oaUTz.js} +1 -1
- package/dist/{auth-profiles-BVtpxYtY.js → auth-profiles-CPlXilKu.js} +9 -9
- package/dist/{auth-profiles-B6ISm3Th.js → auth-profiles-duUuQXeC.js} +3 -3
- package/dist/{auth-token-CPluo60n.js → auth-token-DTj2WrbV.js} +1 -1
- package/dist/{banner-BJHky-bq.js → banner-0vT1O9w2.js} +1 -1
- package/dist/{browser-cli-O7Ic8DI3.js → browser-cli-C-Q0t9y_.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +29 -32
- package/dist/bundled/bootstrap-extra-files/handler.js +4 -4
- package/dist/bundled/session-memory/handler.js +28 -28
- package/dist/{call-CdXXPXpo.js → call-Du4CT1Hp.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-BrDTgiiV.js → channel-options-CcGtiy0Q.js} +1 -1
- package/dist/{channel-options-C1yi5h7A.js → channel-options-DZ17japQ.js} +1 -1
- package/dist/{channels-cli-BYeGzy-G.js → channels-cli-BSvEpjOV.js} +10 -10
- package/dist/{channels-cli-Pxe1OINS.js → channels-cli-DxSXTCCh.js} +55 -55
- package/dist/{chrome-FAf5DZL2.js → chrome-C9mX2mtt.js} +3 -3
- package/dist/{chrome-NUKborg3.js → chrome-owBWinlj.js} +2 -2
- package/dist/{chunk-DX6VtywY.js → chunk-5H33X8qU.js} +1 -1
- package/dist/{cli-Dt-wfm_7.js → cli-CHk4wR-F.js} +7 -7
- package/dist/{cli-DFNOC2Ad.js → cli-Dn9ylBb2.js} +43 -43
- package/dist/{client-Bs2zB0rY.js → client-ZZqt0H0-.js} +1 -1
- package/dist/{command-registry-BwbT4ll7.js → command-registry-UxY6jjeo.js} +10 -10
- package/dist/{commands-registry-C5IdtVVy.js → commands-registry-DaPrWQSe.js} +4 -4
- package/dist/{commands-registry-DYk02tmt.js → commands-registry-W2GQIywv.js} +1 -1
- package/dist/{completion-cli-DiNUqrNY.js → completion-cli-DebZ6nSb.js} +12 -12
- package/dist/{completion-cli-CyOSA5xZ.js → completion-cli-m9L2Gv9t.js} +2 -2
- package/dist/{config-CW8aDVM0.js → config-CphS_6eg.js} +2 -2
- package/dist/{config-cli-DBU_S417.js → config-cli-D4_gO3Pd.js} +4 -4
- package/dist/{config-cli-DfG0nukz.js → config-cli-D9YdRiN2.js} +1 -1
- package/dist/{config-guard-CNmD3-IC.js → config-guard-B5BwQ-AP.js} +6 -6
- package/dist/{config-validation-Bz5CV181.js → config-validation-A2rXGvVY.js} +1 -1
- package/dist/{configure-BkH4ueot.js → configure-BXjJQG1p.js} +14 -14
- package/dist/{configure-BYu2DI_6.js → configure-D9NeIMjP.js} +2 -2
- package/dist/{consolidate-Cx7qF5Ht.js → consolidate-7Usm-b2g.js} +6 -6
- package/dist/{consolidate-dh1m3X1s.js → consolidate-C-HKdAJo.js} +2 -2
- package/dist/{control-service-Drd2sr2o.js → control-service-CMVDL3Yl.js} +4 -4
- package/dist/{control-ui-assets-D22DSxhv.js → control-ui-assets-DUhvOLUL.js} +1 -1
- package/dist/{cron-cli-BTAdnRhX.js → cron-cli-DR4W075u.js} +7 -7
- package/dist/{daemon-cli-BY9BFNuw.js → daemon-cli-B__05b-d.js} +11 -11
- package/dist/{daemon-runtime-BH3ZBZXS.js → daemon-runtime-BD-3XS8R.js} +10 -10
- package/dist/{deliver-DZ7ynJYH.js → deliver-63FtOVMC.js} +3 -3
- package/dist/{deliver-Dlq2X0K5.js → deliver-DSMNXd9k.js} +1 -1
- package/dist/{deliver-kmnOOp9j.js → deliver-DSv-Z24A.js} +16 -16
- package/dist/{deliver-CRqS1O8w.js → deliver-DcP6aVt4.js} +1 -1
- package/dist/{deps-i1g0Zpz4.js → deps-DD_ZCq3v.js} +1 -1
- package/dist/{devices-cli-Cqi6L8PH.js → devices-cli-CJom2K8b.js} +6 -6
- package/dist/{diagnostic-CQLyE7_n.js → diagnostic-D7z6O7v0.js} +1 -1
- package/dist/{diagnostics-nLP2i_BY.js → diagnostics-DxdqTfpW.js} +5 -5
- package/dist/{directory-cli-B0XsBWso.js → directory-cli-BwhEj1FE.js} +3 -3
- package/dist/{dm-policy-shared-CnKffdt_.js → dm-policy-shared-C1TQOlkZ.js} +1 -1
- package/dist/{dns-cli-BHWlCG31.js → dns-cli-DzQDEQM2.js} +3 -3
- package/dist/{docs-cli-DASNErN-.js → docs-cli--T-77Ujn.js} +1 -1
- package/dist/{doctor-completion-DqvmZZEo.js → doctor-completion--AgLv0kV.js} +1 -1
- package/dist/{doctor-completion-D_cwpDAq.js → doctor-completion-D1ImH_eM.js} +2 -2
- package/dist/{doctor-config-flow-BvHSaiFy.js → doctor-config-flow-4UT3396o.js} +9 -9
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-CyHTywue.js → exec-approvals-cli-D-MLmhzh.js} +13 -13
- package/dist/extensionAPI.js +5 -5
- package/dist/{frontmatter-BW7tVmn4.js → frontmatter-BzAaXBfE.js} +2 -2
- package/dist/{fs-safe-DjAKGGJ8.js → fs-safe-B6nMaZqV.js} +6 -6
- package/dist/{gateway-cli-BBqSqFGV.js → gateway-cli-5KVJJGFm.js} +97 -117
- package/dist/{gateway-cli-BYGA5ex3.js → gateway-cli-BjGvnfU3.js} +15 -35
- package/dist/{gateway-rpc-BJF1iDnx.js → gateway-rpc-CUIXRk2t.js} +1 -1
- package/dist/{glass-ui-ws-NJNiRFL3.js → glass-ui-ws-CwJdwqn6.js} +65 -65
- package/dist/{glass-ui-ws-DJnV8nJK.js → glass-ui-ws-f_OPXcN2.js} +11 -11
- package/dist/{health-D59E1VfO.js → health-BdxlhiXA.js} +4 -4
- package/dist/{hooks-cli-Bidz8ACz.js → hooks-cli-BfVq5C1p.js} +57 -57
- package/dist/{hooks-cli-CyjEjDSY.js → hooks-cli-CQ6rF_LQ.js} +8 -8
- package/dist/{image-ops-c7_of0HT.js → image-ops-C-gIIp7Q.js} +10 -10
- package/dist/index.js +50 -50
- 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-ZXEjR9Sp.js → installs-CLp95gcX.js} +10 -10
- package/dist/{internal-C3o_xyzP.js → internal-CHnZdvRy.js} +9 -9
- package/dist/{lifecycle-core-zhQYm_ni.js → lifecycle-core-_BlNODTH.js} +5 -5
- package/dist/llm-slug-generator.js +28 -28
- package/dist/{local-roots-CTriU02e.js → local-roots-JhQs5w0I.js} +1 -1
- package/dist/{local-roots-Dm8-ErgQ.js → local-roots-WWcVq0Ma.js} +3 -3
- package/dist/{logs-cli-B7RJ57Dc.js → logs-cli-BEWOyW5R.js} +7 -7
- package/dist/{manager-CpBl-VGg.js → manager-BI8o6AGu.js} +1 -1
- package/dist/{manager-9dNT9kNF.js → manager-BQ5Wl5r-.js} +14 -14
- package/dist/{manager-t4GthPGw.js → manager-BUS2wGkQ.js} +1 -1
- package/dist/{manager-Dsdh0rGn.js → manager-D_AVoLu8.js} +6 -6
- package/dist/{manifest-registry-B2vClvK5.js → manifest-registry-DsTUFMvZ.js} +1 -1
- package/dist/{markdown-tables-BaWa2kOe.js → markdown-tables-ptfgMe6b.js} +1 -1
- package/dist/{memory-DcWXMzOH.js → memory-2OKjMT7V.js} +5 -5
- package/dist/{memory-B7TJXpqS.js → memory-CMKSFx1T.js} +2 -2
- package/dist/{memory-cli-xBZPEOeL.js → memory-cli-CmPcKzGZ.js} +12 -12
- package/dist/{memory-cli-C0WA_nRS.js → memory-cli-rdfaJrCS.js} +2 -2
- package/dist/{model-BXWgh5eZ.js → model-BKtw-Bqs.js} +1 -1
- package/dist/{model-catalog-BGVslwAT.js → model-catalog-DKBhNiWm.js} +4 -4
- package/dist/{model-picker-aTfyp_mP.js → model-picker-DKzvan7c.js} +3 -3
- package/dist/{models-IfAFy9bK.js → models-DRtgYyTB.js} +2 -2
- package/dist/{models-cli-h8h_qu3F.js → models-cli-183sPHZO.js} +53 -53
- package/dist/{models-cli-DiB4JqF2.js → models-cli-DN2zTFw9.js} +9 -9
- package/dist/{models-config-DRgHv7Ss.js → models-config-CFUwiu4W.js} +7 -7
- package/dist/{node-cli-BPkbqgRt.js → node-cli-CgWAxe-K.js} +27 -27
- package/dist/{node-service-DuN9eBL6.js → node-service-tPO_yUk7.js} +1 -1
- package/dist/{nodes-cli-C09c6nCf.js → nodes-cli-CprJ5K63.js} +10 -10
- 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-sMgEOBjV.js → onboard-CPHA8CdV.js} +13 -13
- package/dist/{onboard-iL7Z0wKJ.js → onboard-bTgNnEHK.js} +1 -1
- package/dist/{onboard-channels-Deq8QGnM.js → onboard-channels-B_iyN1qL.js} +4 -4
- package/dist/{onboard-channels-BfzW-9vo.js → onboard-channels-D5ugcgBE.js} +1 -1
- package/dist/{onboard-custom-DEdRdzNq.js → onboard-custom-Cla8O-Tv.js} +3 -3
- package/dist/{onboard-helpers-DZKHFY2J.js → onboard-helpers-D2mWJnFB.js} +8 -8
- package/dist/{onboard-hooks-DZZM8goM.js → onboard-hooks-DZD-nGLB.js} +1 -1
- package/dist/{onboard-remote-dn4L5WdE.js → onboard-remote-Bi2BNRnh.js} +1 -1
- package/dist/{onboard-skills-DGHye9Q3.js → onboard-skills-C0XDXvWw.js} +4 -4
- package/dist/{onboarding-BjXYbWlg.js → onboarding-D2SLzcWH.js} +12 -12
- package/dist/{onboarding-70YKbZi6.js → onboarding-ii3ok0Ih.js} +3 -3
- package/dist/{onboarding.finalize-dU_CtL43.js → onboarding.finalize-DOHv_Xe8.js} +31 -31
- package/dist/{onboarding.finalize-Ch3V08eY.js → onboarding.finalize-g-_d-wVY.js} +4 -4
- package/dist/{onboarding.gateway-config-DfF8Rxvn.js → onboarding.gateway-config-BmaAH8uo.js} +8 -8
- package/dist/{openai-model-default-D1NFHFF_.js → openai-model-default-BeRT9S75.js} +2 -2
- package/dist/{pairing-cli-CJv8LQfb.js → pairing-cli-DdtW6Nu-.js} +4 -4
- package/dist/{pairing-store-CxT0UGxd.js → pairing-store-mmeniyUt.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-DGZH6URT.js → pi-auth-json-1Z1j1PDI.js} +5 -5
- package/dist/{pi-auth-json-BzuhVcKu.js → pi-auth-json-D4Bl4hBw.js} +1 -1
- package/dist/{pi-embedded-DOCVZrmx.js → pi-embedded-CvGL6bij.js} +39 -212
- package/dist/{pi-embedded-helpers-Be-EeyzH.js → pi-embedded-helpers-BRM8EM4P.js} +6 -6
- package/dist/{pi-tools.policy-qwS9SXOa.js → pi-tools.policy-BBHbN8Nh.js} +3 -3
- package/dist/{plugin-auto-enable-zDUaiaf2.js → plugin-auto-enable-BCwyDNSP.js} +1 -1
- package/dist/{plugin-registry-BgGVB3kW.js → plugin-registry-DSG-0min.js} +3 -3
- package/dist/{plugin-registry-CP2mbhwk.js → plugin-registry-Dl3HqI5J.js} +1 -1
- package/dist/plugin-sdk/agents/{symipulse-timeout.d.ts → idle-timeout.d.ts} +3 -3
- package/dist/plugin-sdk/agents/pi-embedded-runner/system-prompt.d.ts +0 -2
- package/dist/plugin-sdk/agents/system-prompt.d.ts +1 -2
- package/dist/plugin-sdk/auto-reply/reply/middleware-transcript-update.d.ts +1 -8
- package/dist/plugin-sdk/auto-reply/reply/normalize-reply.d.ts +1 -3
- package/dist/plugin-sdk/auto-reply/reply/reply-dispatcher.d.ts +0 -1
- package/dist/plugin-sdk/auto-reply/tokens.d.ts +0 -3
- package/dist/plugin-sdk/gateway/outbound-filter.d.ts +2 -4
- package/dist/{plugins-yymezpEd.js → plugins-CcVzjOo_.js} +1 -1
- package/dist/{plugins-cli-1wkCRsFe.js → plugins-cli-CEj-qNus.js} +8 -8
- package/dist/{plugins-cli-B_Gtx3LU.js → plugins-cli-CUTyMzoz.js} +52 -52
- package/dist/{ports-ChuJYhEL.js → ports-DRHSHvqY.js} +1 -1
- package/dist/{ports-EAVAOFyK.js → ports-DqxP-bXz.js} +2 -2
- package/dist/{program-UyCr49qs.js → program-CjZ65fN4.js} +13 -13
- package/dist/{program-context-C7uCS8z7.js → program-context-GaV454D6.js} +38 -38
- package/dist/{prompt-select-styled-DcMra8CK.js → prompt-select-styled-BkowcFQR.js} +36 -36
- package/dist/{prompt-select-styled-BRcRFLzB.js → prompt-select-styled-CwXc8EFB.js} +4 -4
- package/dist/{provider-auth-helpers-Xn1TAPPY.js → provider-auth-helpers-Bo1_RSEb.js} +5 -5
- package/dist/{provider-auth-helpers-BJTb9xI0.js → provider-auth-helpers-CRobCJR_.js} +1 -1
- package/dist/{push-apns-Aaqf9WKI.js → push-apns-BBym2pAw.js} +4 -4
- package/dist/{push-apns-Bfqnchj6.js → push-apns-Bv16DYOL.js} +1 -1
- package/dist/{pw-ai-C-ddUgTA.js → pw-ai-BW5obXRK.js} +7 -7
- package/dist/{pw-ai-DJrnU1ja.js → pw-ai-GICi0s74.js} +8 -8
- package/dist/{qmd-manager-D5kqCz-Y.js → qmd-manager-C-J9Sfjk.js} +19 -19
- package/dist/{qmd-manager-DrM6m9z1.js → qmd-manager-CTHJcHPq.js} +5 -5
- package/dist/{qr-cli-B_mw4i0R.js → qr-cli-BIdgVMK1.js} +3 -3
- package/dist/{register.agent-vAJ0_4m0.js → register.agent-QXqsCc-q.js} +12 -12
- package/dist/{register.agent-BqKNzdaW.js → register.agent-z4GJgPr-.js} +65 -65
- package/dist/{register.configure-BzgavjpU.js → register.configure-CYXErdjF.js} +11 -11
- package/dist/{register.configure-7TmTqCgU.js → register.configure-DaMmDTaj.js} +68 -68
- package/dist/{register.maintenance-BJO0RCk9.js → register.maintenance-CBGhJ5R9.js} +12 -12
- package/dist/{register.maintenance-6Wz4HXlm.js → register.maintenance-CcWTycM4.js} +65 -65
- package/dist/{register.message-XYivyrQJ.js → register.message-Bcvdcd3v.js} +45 -45
- package/dist/{register.message-CW9PahRi.js → register.message-EMkIi8Ga.js} +8 -8
- package/dist/{register.onboard-BgwkmP4D.js → register.onboard-CtcLKgR4.js} +22 -22
- package/dist/{register.onboard-MWRC29wD.js → register.onboard-lmLaYYZl.js} +2 -2
- package/dist/{register.setup-V-arsKvb.js → register.setup-Cu8R_HaH.js} +2 -2
- package/dist/{register.setup-7OoAqQG_.js → register.setup-D47FYXH2.js} +25 -25
- package/dist/{register.status-health-sessions-1VnuXhGM.js → register.status-health-sessions--q6ddHX9.js} +3 -3
- package/dist/{register.status-health-sessions-Bgg1sdY_.js → register.status-health-sessions-B9CINBWm.js} +38 -38
- package/dist/{register.subclis-DpPYIqkP.js → register.subclis-CHTY5PYx.js} +9 -9
- package/dist/{registry-9AaJQms1.js → registry-C-JddWwo.js} +2 -2
- package/dist/{replies-CgVOirGF.js → replies-BOy28KVL.js} +1 -1
- package/dist/{replies-pnMj7AtP.js → replies-BeK3uuQ8.js} +1 -1
- package/dist/{replies-BZN1LuJP.js → replies-C82xaXm3.js} +3 -3
- package/dist/{replies-Dqft-42v.js → replies-P7jbK6Bo.js} +2 -2
- package/dist/{reply-prefix-DkDTGwTs.js → reply-prefix-ChIeKp-P.js} +1 -1
- package/dist/{reply-prefix-CyLplifX.js → reply-prefix-xaWqfM9m.js} +1 -1
- package/dist/{resolve-route-CIA0TSsF.js → resolve-route-CIS2tjpz.js} +3 -3
- package/dist/{resolve-route-xpyI3enn.js → resolve-route-DKhx5C-P.js} +1 -1
- package/dist/{routes-xZZ99jJJ.js → routes-BJ2iXVJF.js} +10 -10
- package/dist/{rpc-BzR2wLkc.js → rpc-CSI4uFgj.js} +1 -1
- package/dist/{run-main-n0fjk-o5.js → run-main-Bzub4qvZ.js} +20 -20
- package/dist/{sandbox-DGG12SGo.js → sandbox-CQU7Gcb9.js} +18 -18
- package/dist/{sandbox-cli--d2MJPM2.js → sandbox-cli-Ci90LP_X.js} +13 -13
- package/dist/{security-cli-CeP9ss1g.js → security-cli-BfOZ_cJN.js} +28 -28
- package/dist/{send-BzUWmgQ9.js → send-BAKkoPOy.js} +7 -7
- package/dist/{send-BQJKg0bU.js → send-DulXmWcG.js} +7 -7
- package/dist/{server-context-BNbx1tUD.js → server-context-BsMQBnUG.js} +5 -5
- package/dist/{server-methods-BHg4GltA.js → server-methods-C2UnIkWU.js} +57 -57
- package/dist/{server-methods-DkZ2XtEo.js → server-methods-THO5vDXZ.js} +7 -7
- package/dist/{server-node-events-BXviL2UH.js → server-node-events-j4AWHS1m.js} +9 -9
- package/dist/{server-node-events-6dZ22EGj.js → server-node-events-mBi614x_.js} +46 -46
- package/dist/{service-9ItKCWWS.js → service-AP9pR9R5.js} +15 -15
- package/dist/{session-dirs-B6PWqKEf.js → session-dirs-Chh7bBGo.js} +2 -2
- package/dist/{session-utils-BVC8mmBv.js → session-utils-0F9pB5d6.js} +12 -12
- package/dist/{sessions-BaFVKzC2.js → sessions-DQMaURzb.js} +11 -11
- package/dist/{shared-DUmy8R4n.js → shared-4Z8Ut8Cs.js} +3 -3
- package/dist/{shared-ot5_jkpP.js → shared-DmYHvtn2.js} +1 -1
- package/dist/{skill-commands-DaNhP2Jb.js → skill-commands-Cwrebyvj.js} +5 -5
- package/dist/{skill-commands-X3T9Y9lT.js → skill-commands-DP1fshwh.js} +4 -4
- package/dist/{skill-scanner-DVq7ZopF.js → skill-scanner-qMQf6-FN.js} +5 -5
- package/dist/{skills-BMTJ2Tiq.js → skills-D0k4o0Ez.js} +6 -6
- package/dist/{skills-C_KgxpBD.js → skills-DL8DjveU.js} +4 -4
- package/dist/{skills-cli-DwYoPwkG.js → skills-cli-BkIH3HKr.js} +7 -7
- package/dist/{skills-install-U4FmCP8u.js → skills-install-C9uT4MR2.js} +3 -3
- package/dist/{skills-remote-C0gcKYWX.js → skills-remote-Db5Wwr4s.js} +3 -3
- package/dist/{skills-status-CdfQvU1h.js → skills-status-Dx3Lf5iU.js} +1 -1
- package/dist/{sqlite-C6MZhX4c.js → sqlite--aBEq1-J.js} +1 -1
- package/dist/{sqlite-BUXBg2yu.js → sqlite-DBEvS-Ne.js} +5 -5
- package/dist/{ssrf-BvjSIOlZ.js → ssrf-Dcgaqg3U.js} +9 -9
- package/dist/{status-CmoBgZ99.js → status-BtAHzMLu.js} +1 -1
- package/dist/{status-BK-ZK7SP.js → status-BuHx0FXI.js} +23 -23
- package/dist/{status-J_gR_zbh.js → status-FKqnkO3K.js} +1 -1
- package/dist/{status-BAnT_4qI.js → status-MkJRgsTJ.js} +3 -3
- package/dist/{status.update-Cvj7y384.js → status.update-CQ1vKrEg.js} +3 -3
- package/dist/{subagent-registry-CWolsN8K.js → subagent-registry-B1RgR3-0.js} +41 -218
- package/dist/{subsystem-DhOo2FZn.js → subsystem-DzRUKS9f.js} +1 -1
- package/dist/{symi-root-0MUhiNlM.js → symi-root-DueRHNOE.js} +2 -2
- package/dist/{synthesis-DTZGPpj5.js → synthesis-BEaISjwW.js} +5 -5
- package/dist/{synthesis-BSKiS446.js → synthesis-BSUjIY0v.js} +7 -7
- package/dist/{synthesis-CRQp5mTx.js → synthesis-BtlmxJ7w.js} +43 -43
- package/dist/{synthesis-D3wZX5g3.js → synthesis-DsYfiC2s.js} +28 -28
- package/dist/{system-cli-CUGyogmP.js → system-cli-5_JOcUt0.js} +7 -7
- package/dist/{systemd-8KKQdTO_.js → systemd-9LEEqibe.js} +5 -5
- package/dist/{systemd-hints-_ghBqtKo.js → systemd-hints-CeavseQh.js} +6 -6
- package/dist/{systemd-linger-CnKJZBUr.js → systemd-linger-PqG8iGCt.js} +1 -1
- package/dist/{thinking-BYtE7_UC.js → thinking-CMIo8E_E.js} +2 -2
- package/dist/{tokens-wW7opugV.js → tokens-BBh6tlmO.js} +2 -5
- package/dist/{tokens-DvvjOTxN.js → tokens-BKbemuIk.js} +1 -4
- package/dist/{tokens-CGqnWNmv.js → tokens-CJgPtOxz.js} +1 -4
- package/dist/{tokens-DJQ4rO24.js → tokens-K3kGchJA.js} +1 -4
- package/dist/{tool-loop-detection-DyZ0TWGh.js → tool-loop-detection-BR52lwOt.js} +2 -2
- package/dist/{tui-fKWqWqeq.js → tui-Bnusp3Vd.js} +7 -7
- package/dist/{tui-cli-BPOcMJ-f.js → tui-cli-BY8W9Yjm.js} +19 -19
- package/dist/{unified-runner-DftrstdI.js → unified-runner-BPyxPZv9.js} +75 -248
- package/dist/{unified-runner-Cdj1nLUh.js → unified-runner-Bn9vq7Zy.js} +132 -309
- package/dist/{update-XJWQZpV7.js → update-BvDXKE6K.js} +3 -3
- package/dist/{update-check-BdSIMYWq.js → update-check-CZxZhEXr.js} +5 -5
- package/dist/{update-cli-jQo-vg6S.js → update-cli-BXtHo0ox.js} +12 -12
- package/dist/{update-cli-D_MLjj6j.js → update-cli-DLx7LNVB.js} +75 -75
- package/dist/{update-runner-D_UHlPN0.js → update-runner-C8L4XRQb.js} +15 -15
- package/dist/{webhooks-cli-DgRLVVrD.js → webhooks-cli-CXbv4eB6.js} +4 -4
- package/dist/{with-timeout-DwVWQ2sN.js → with-timeout-C0UtpXBj.js} +1 -1
- package/dist/{workspace-OBnI5mKu.js → workspace-CsaDUuDn.js} +2 -2
- package/dist/{workspace-dirs-DStsDXra.js → workspace-dirs-gn_0yzFP.js} +1 -1
- package/dist/{wsl-DO9usEVV.js → wsl-ZWGwnnKI.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/auto-reply/heartbeat.d.ts +0 -26
- package/dist/plugin-sdk/auto-reply/reply/middleware-heartbeat-strip.d.ts +0 -25
|
@@ -2,19 +2,19 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BSzKwaxE.js";
|
|
3
3
|
import { h as resolveUserPath, i as clampNumber$1, r as clampInt, x as truncateUtf16Safe, y as sleep } from "./utils-BU8jVQFM.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import { L as normalizeProviderId, bt as requireApiKey, xt as resolveApiKeyForProvider } from "./auth-profiles-
|
|
6
|
-
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, r as resolveAgentConfig } from "./agent-scope-
|
|
5
|
+
import { L as normalizeProviderId, bt as requireApiKey, xt as resolveApiKeyForProvider } from "./auth-profiles-CPlXilKu.js";
|
|
6
|
+
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, r as resolveAgentConfig } from "./agent-scope-B_oqIiaD.js";
|
|
7
7
|
import { t as isTruthyEnvValue } from "./env-B97Ms861.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-Z-WkF18Q.js";
|
|
9
9
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CJcw9nbZ.js";
|
|
10
10
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-Ch7wLX-j.js";
|
|
11
|
-
import { a as hashText, c as normalizeExtraMemoryPaths, d as runWithConcurrency, i as ensureDir, l as parseEmbedding, m as statRegularFile, n as chunkMarkdown, o as isMemoryPath, p as isFileMissingError, r as cosineSimilarity, s as listMemoryFiles, t as buildFileEntry, u as remapChunkLines } from "./internal-
|
|
12
|
-
import { i as sessionPathForFile, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-
|
|
11
|
+
import { a as hashText, c as normalizeExtraMemoryPaths, d as runWithConcurrency, i as ensureDir, l as parseEmbedding, m as statRegularFile, n as chunkMarkdown, o as isMemoryPath, p as isFileMissingError, r as cosineSimilarity, s as listMemoryFiles, t as buildFileEntry, u as remapChunkLines } from "./internal-CHnZdvRy.js";
|
|
12
|
+
import { i as sessionPathForFile, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-DBEvS-Ne.js";
|
|
13
13
|
import { randomUUID } from "node:crypto";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
import os from "node:os";
|
|
17
|
-
import
|
|
17
|
+
import fs$1 from "node:fs/promises";
|
|
18
18
|
import { createInterface } from "node:readline";
|
|
19
19
|
import { Readable } from "node:stream";
|
|
20
20
|
import chokidar from "chokidar";
|
|
@@ -1114,7 +1114,7 @@ async function extractTimestamp(params) {
|
|
|
1114
1114
|
if (!params.workspaceDir) return null;
|
|
1115
1115
|
const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
|
|
1116
1116
|
try {
|
|
1117
|
-
const stat = await
|
|
1117
|
+
const stat = await fs$1.stat(absolutePath);
|
|
1118
1118
|
if (!Number.isFinite(stat.mtimeMs)) return null;
|
|
1119
1119
|
return new Date(stat.mtimeMs);
|
|
1120
1120
|
} catch {
|
|
@@ -2299,7 +2299,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2299
2299
|
const source = `${sourceBase}${suffix}`;
|
|
2300
2300
|
const target = `${targetBase}${suffix}`;
|
|
2301
2301
|
try {
|
|
2302
|
-
await
|
|
2302
|
+
await fs$1.rename(source, target);
|
|
2303
2303
|
} catch (err) {
|
|
2304
2304
|
if (err.code !== "ENOENT") throw err;
|
|
2305
2305
|
}
|
|
@@ -2310,7 +2310,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2310
2310
|
"",
|
|
2311
2311
|
"-wal",
|
|
2312
2312
|
"-shm"
|
|
2313
|
-
].map((suffix) =>
|
|
2313
|
+
].map((suffix) => fs$1.rm(`${basePath}${suffix}`, { force: true })));
|
|
2314
2314
|
}
|
|
2315
2315
|
ensureSchema() {
|
|
2316
2316
|
const result = ensureMemoryIndexSchema({
|
|
@@ -2405,7 +2405,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2405
2405
|
if (!thresholds) return null;
|
|
2406
2406
|
let stat;
|
|
2407
2407
|
try {
|
|
2408
|
-
stat = await
|
|
2408
|
+
stat = await fs$1.stat(sessionFile);
|
|
2409
2409
|
} catch {
|
|
2410
2410
|
return null;
|
|
2411
2411
|
}
|
|
@@ -2447,7 +2447,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2447
2447
|
if (end <= start) return 0;
|
|
2448
2448
|
let handle;
|
|
2449
2449
|
try {
|
|
2450
|
-
handle = await
|
|
2450
|
+
handle = await fs$1.open(absPath, "r");
|
|
2451
2451
|
} catch (err) {
|
|
2452
2452
|
if (isFileMissingError(err)) return 0;
|
|
2453
2453
|
throw err;
|
|
@@ -3379,7 +3379,7 @@ var MemoryManagerEmbeddingOps = class extends MemoryManagerSyncOps {
|
|
|
3379
3379
|
});
|
|
3380
3380
|
return;
|
|
3381
3381
|
}
|
|
3382
|
-
const content = options.content ?? await
|
|
3382
|
+
const content = options.content ?? await fs$1.readFile(entry.absPath, "utf-8");
|
|
3383
3383
|
const chunks = enforceEmbeddingMaxInputTokens(this.provider, chunkMarkdown(content, this.settings.chunking).filter((chunk) => chunk.text.trim().length > 0));
|
|
3384
3384
|
if (options.source === "sessions" && "lineMap" in entry) remapChunkLines(chunks, entry.lineMap);
|
|
3385
3385
|
const embeddings = this.batch.enabled ? await this.embedChunksWithBatch(chunks, entry, options.source) : await this.embedChunksInBatches(chunks);
|
|
@@ -3997,7 +3997,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3997
3997
|
if (!allowedWorkspace && this.settings.extraPaths.length > 0) {
|
|
3998
3998
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
3999
3999
|
for (const additionalPath of additionalPaths) try {
|
|
4000
|
-
const stat = await
|
|
4000
|
+
const stat = await fs$1.lstat(additionalPath);
|
|
4001
4001
|
if (stat.isSymbolicLink()) continue;
|
|
4002
4002
|
if (stat.isDirectory()) {
|
|
4003
4003
|
if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
|
|
@@ -4022,7 +4022,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
4022
4022
|
};
|
|
4023
4023
|
let content;
|
|
4024
4024
|
try {
|
|
4025
|
-
content = await
|
|
4025
|
+
content = await fs$1.readFile(absPath, "utf-8");
|
|
4026
4026
|
} catch (err) {
|
|
4027
4027
|
if (isFileMissingError(err)) return {
|
|
4028
4028
|
text: "",
|
|
@@ -4221,7 +4221,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
4221
4221
|
* to bypass the min-interval guard (CLI use).
|
|
4222
4222
|
*/
|
|
4223
4223
|
async runL3CycleIfDue(params) {
|
|
4224
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-
|
|
4224
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-7Usm-b2g.js"), import("./synthesis-BtlmxJ7w.js")]);
|
|
4225
4225
|
const synthesize = createSynthesizer({
|
|
4226
4226
|
cfg: this.cfg,
|
|
4227
4227
|
agentId: this.agentId,
|
|
@@ -4220,7 +4220,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
4220
4220
|
* to bypass the min-interval guard (CLI use).
|
|
4221
4221
|
*/
|
|
4222
4222
|
async runL3CycleIfDue(params) {
|
|
4223
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-QhuD5a9e.js"), import("./synthesis-
|
|
4223
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-QhuD5a9e.js"), import("./synthesis-BEaISjwW.js")]);
|
|
4224
4224
|
const synthesize = createSynthesizer({
|
|
4225
4225
|
cfg: this.cfg,
|
|
4226
4226
|
agentId: this.agentId,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-CE7eVGHg.js";
|
|
3
|
-
import { $ as sleep, B as clampInt, V as clampNumber$1, Y as resolveUserPath, tt as truncateUtf16Safe } from "./registry-
|
|
4
|
-
import { n as resolveAgentConfig, o as resolveAgentWorkspaceDir, r as resolveAgentDir } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { B as requireApiKey, V as resolveApiKeyForProvider, Z as isTruthyEnvValue, w as normalizeProviderId } from "./auth-profiles-
|
|
3
|
+
import { $ as sleep, B as clampInt, V as clampNumber$1, Y as resolveUserPath, tt as truncateUtf16Safe } from "./registry-C-JddWwo.js";
|
|
4
|
+
import { n as resolveAgentConfig, o as resolveAgentWorkspaceDir, r as resolveAgentDir } from "./agent-scope-D_MtsuXX.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-DzRUKS9f.js";
|
|
6
|
+
import { B as requireApiKey, V as resolveApiKeyForProvider, Z as isTruthyEnvValue, w as normalizeProviderId } from "./auth-profiles-duUuQXeC.js";
|
|
7
7
|
import { n as formatErrorMessage } from "./errors-BkfLlDKo.js";
|
|
8
8
|
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-BeAyfCRg.js";
|
|
9
9
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-JGGQViao.js";
|
|
10
10
|
import { a as hashText, c as normalizeExtraMemoryPaths, d as runWithConcurrency, i as ensureDir, l as parseEmbedding, m as statRegularFile, n as chunkMarkdown, o as isMemoryPath, p as isFileMissingError, r as cosineSimilarity, s as listMemoryFiles, t as buildFileEntry, u as remapChunkLines } from "./internal-Crkye5gI.js";
|
|
11
|
-
import { i as sessionPathForFile, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-
|
|
11
|
+
import { i as sessionPathForFile, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite--aBEq1-J.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs";
|
|
14
14
|
import os from "node:os";
|
|
@@ -4220,7 +4220,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
4220
4220
|
* to bypass the min-interval guard (CLI use).
|
|
4221
4221
|
*/
|
|
4222
4222
|
async runL3CycleIfDue(params) {
|
|
4223
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-
|
|
4223
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-C-HKdAJo.js"), import("./synthesis-DsYfiC2s.js")]);
|
|
4224
4224
|
const synthesize = createSynthesizer({
|
|
4225
4225
|
cfg: this.cfg,
|
|
4226
4226
|
agentId: this.agentId,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as isRecord, J as resolveConfigDir, Y as resolveUserPath } from "./registry-
|
|
1
|
+
import { G as isRecord, J as resolveConfigDir, Y as resolveUserPath } from "./registry-C-JddWwo.js";
|
|
2
2
|
import { n as MANIFEST_KEY } from "./legacy-names-sghWmXe3.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { f as normalizeAccountId } from "./session-key-BmQ2R1ev.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-CcVzjOo_.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as resolveUserPath } from "./utils-BU8jVQFM.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
3
|
-
import { c as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { m as parseDurationMs } from "./config-
|
|
3
|
+
import { c as resolveAgentWorkspaceDir } from "./agent-scope-B_oqIiaD.js";
|
|
4
|
+
import { m as parseDurationMs } from "./config-CphS_6eg.js";
|
|
5
5
|
import { t as splitShellArgs } from "./shell-argv-DwnLS0Tf.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -200,7 +200,7 @@ async function getMemorySearchManager(params) {
|
|
|
200
200
|
if (cached) return { manager: cached };
|
|
201
201
|
}
|
|
202
202
|
try {
|
|
203
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
203
|
+
const { QmdMemoryManager } = await import("./qmd-manager-C-J9Sfjk.js");
|
|
204
204
|
const primary = await QmdMemoryManager.create({
|
|
205
205
|
cfg: params.cfg,
|
|
206
206
|
agentId: params.agentId,
|
|
@@ -212,7 +212,7 @@ async function getMemorySearchManager(params) {
|
|
|
212
212
|
const wrapper = new FallbackMemoryManager({
|
|
213
213
|
primary,
|
|
214
214
|
fallbackFactory: async () => {
|
|
215
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
215
|
+
const { MemoryIndexManager } = await import("./manager-BQ5Wl5r-.js").then((n) => n.t);
|
|
216
216
|
return await MemoryIndexManager.get(params);
|
|
217
217
|
}
|
|
218
218
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -225,7 +225,7 @@ async function getMemorySearchManager(params) {
|
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
try {
|
|
228
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
228
|
+
const { MemoryIndexManager } = await import("./manager-BQ5Wl5r-.js").then((n) => n.t);
|
|
229
229
|
return { manager: await MemoryIndexManager.get(params) };
|
|
230
230
|
} catch (err) {
|
|
231
231
|
return {
|
|
@@ -211,7 +211,7 @@ async function getMemorySearchManager(params) {
|
|
|
211
211
|
const wrapper = new FallbackMemoryManager({
|
|
212
212
|
primary,
|
|
213
213
|
fallbackFactory: async () => {
|
|
214
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
214
|
+
const { MemoryIndexManager } = await import("./manager-BI8o6AGu.js").then((n) => n.t);
|
|
215
215
|
return await MemoryIndexManager.get(params);
|
|
216
216
|
}
|
|
217
217
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -224,7 +224,7 @@ async function getMemorySearchManager(params) {
|
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
try {
|
|
227
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
227
|
+
const { MemoryIndexManager } = await import("./manager-BI8o6AGu.js").then((n) => n.t);
|
|
228
228
|
return { manager: await MemoryIndexManager.get(params) };
|
|
229
229
|
} catch (err) {
|
|
230
230
|
return {
|
|
@@ -3,14 +3,14 @@ import { A as isRich, E as setVerbose, j as theme, k as colorize } from "./regis
|
|
|
3
3
|
import { g as resolveStateDir } from "./paths-BSzKwaxE.js";
|
|
4
4
|
import { _ as shortenHomeInString, v as shortenHomePath } from "./utils-BU8jVQFM.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
6
|
-
import { xt as resolveApiKeyForProvider } from "./auth-profiles-
|
|
7
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
8
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
6
|
+
import { xt as resolveApiKeyForProvider } from "./auth-profiles-CPlXilKu.js";
|
|
7
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-B_oqIiaD.js";
|
|
8
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-CphS_6eg.js";
|
|
9
9
|
import { n as formatErrorMessage } from "./errors-Z-WkF18Q.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CJcw9nbZ.js";
|
|
11
|
-
import { t as getMemorySearchManager } from "./memory-
|
|
12
|
-
import { i as resolveOllamaBaseUrl, r as probeOllamaEmbeddingModels } from "./manager-
|
|
13
|
-
import { c as normalizeExtraMemoryPaths, s as listMemoryFiles } from "./internal-
|
|
11
|
+
import { t as getMemorySearchManager } from "./memory-2OKjMT7V.js";
|
|
12
|
+
import { i as resolveOllamaBaseUrl, r as probeOllamaEmbeddingModels } from "./manager-BQ5Wl5r-.js";
|
|
13
|
+
import { c as normalizeExtraMemoryPaths, s as listMemoryFiles } from "./internal-CHnZdvRy.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
15
15
|
import { r as withManager } from "./cli-utils-CX1oQ81G.js";
|
|
16
16
|
import { t as formatHelpExamples } from "./help-format-BI_G2p1e.js";
|
|
@@ -18,7 +18,7 @@ import { n as withProgress, r as withProgressTotals } from "./progress-CyPyGCDn.
|
|
|
18
18
|
import path from "node:path";
|
|
19
19
|
import fs from "node:fs";
|
|
20
20
|
import os from "node:os";
|
|
21
|
-
import
|
|
21
|
+
import fs$1 from "node:fs/promises";
|
|
22
22
|
|
|
23
23
|
//#region src/cli/memory-cli.ts
|
|
24
24
|
var memory_cli_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -66,7 +66,7 @@ async function withMemoryManagerForAgent(params) {
|
|
|
66
66
|
}
|
|
67
67
|
async function checkReadableFile(pathname) {
|
|
68
68
|
try {
|
|
69
|
-
await
|
|
69
|
+
await fs$1.access(pathname, fs.constants.R_OK);
|
|
70
70
|
return { exists: true };
|
|
71
71
|
} catch (err) {
|
|
72
72
|
const code = err.code;
|
|
@@ -83,7 +83,7 @@ async function scanSessionFiles(agentId) {
|
|
|
83
83
|
try {
|
|
84
84
|
return {
|
|
85
85
|
source: "sessions",
|
|
86
|
-
totalFiles: (await
|
|
86
|
+
totalFiles: (await fs$1.readdir(sessionsDir, { withFileTypes: true })).filter((entry) => entry.isFile() && entry.name.endsWith(".jsonl")).length,
|
|
87
87
|
issues
|
|
88
88
|
};
|
|
89
89
|
} catch (err) {
|
|
@@ -115,7 +115,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
115
115
|
if (alt.issue) issues.push(alt.issue);
|
|
116
116
|
const resolvedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
117
117
|
for (const extraPath of resolvedExtraPaths) try {
|
|
118
|
-
if ((await
|
|
118
|
+
if ((await fs$1.lstat(extraPath)).isSymbolicLink()) continue;
|
|
119
119
|
const extraCheck = await checkReadableFile(extraPath);
|
|
120
120
|
if (extraCheck.issue) issues.push(extraCheck.issue);
|
|
121
121
|
} catch (err) {
|
|
@@ -125,7 +125,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
125
125
|
}
|
|
126
126
|
let dirReadable = null;
|
|
127
127
|
try {
|
|
128
|
-
await
|
|
128
|
+
await fs$1.access(memoryDir, fs.constants.R_OK);
|
|
129
129
|
dirReadable = true;
|
|
130
130
|
} catch (err) {
|
|
131
131
|
const code = err.code;
|
|
@@ -173,7 +173,7 @@ async function summarizeQmdIndexArtifact(manager) {
|
|
|
173
173
|
if (!dbPath) return null;
|
|
174
174
|
let stat;
|
|
175
175
|
try {
|
|
176
|
-
stat = await
|
|
176
|
+
stat = await fs$1.stat(dbPath);
|
|
177
177
|
} catch (err) {
|
|
178
178
|
const code = err.code;
|
|
179
179
|
if (code === "ENOENT") throw new Error(`QMD index file not found: ${shortenHomePath(dbPath)}`, { cause: err });
|
|
@@ -5,8 +5,8 @@ import { l as resolveDefaultAgentId } from "./agent-scope-8LjCKvga.js";
|
|
|
5
5
|
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-B91360jE.js";
|
|
6
6
|
import { n as formatErrorMessage } from "./errors-TVUWuVoP.js";
|
|
7
7
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CNexk5_o.js";
|
|
8
|
-
import { t as getMemorySearchManager } from "./memory-
|
|
9
|
-
import { i as resolveOllamaBaseUrl, r as probeOllamaEmbeddingModels } from "./manager-
|
|
8
|
+
import { t as getMemorySearchManager } from "./memory-CMKSFx1T.js";
|
|
9
|
+
import { i as resolveOllamaBaseUrl, r as probeOllamaEmbeddingModels } from "./manager-BI8o6AGu.js";
|
|
10
10
|
import { c as normalizeExtraMemoryPaths, s as listMemoryFiles } from "./internal-BuBDa4KX.js";
|
|
11
11
|
import { t as formatDocsLink } from "./links-Db3Rw0Tg.js";
|
|
12
12
|
import { r as withManager } from "./cli-utils-BqMwAlgf.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { L as normalizeProviderId, T as resolveSymiAgentDir, Vt as DEFAULT_CONTEXT_TOKENS } from "./auth-profiles-
|
|
2
|
+
import { L as normalizeProviderId, T as resolveSymiAgentDir, Vt as DEFAULT_CONTEXT_TOKENS } from "./auth-profiles-CPlXilKu.js";
|
|
3
3
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DdkUSfiI.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-alias-lines.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as resolveSymiAgentDir } from "./auth-profiles-
|
|
2
|
-
import { i as loadConfig } from "./config-
|
|
3
|
-
import { t as ensureSymiModelsJson } from "./models-config-
|
|
1
|
+
import { T as resolveSymiAgentDir } from "./auth-profiles-CPlXilKu.js";
|
|
2
|
+
import { i as loadConfig } from "./config-CphS_6eg.js";
|
|
3
|
+
import { t as ensureSymiModelsJson } from "./models-config-CFUwiu4W.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-catalog.ts
|
|
6
6
|
let modelCatalogPromise = null;
|
|
@@ -38,7 +38,7 @@ async function loadModelCatalog(params) {
|
|
|
38
38
|
try {
|
|
39
39
|
const cfg = params?.config ?? loadConfig();
|
|
40
40
|
await ensureSymiModelsJson(cfg);
|
|
41
|
-
await (await import("./pi-auth-json-
|
|
41
|
+
await (await import("./pi-auth-json-1Z1j1PDI.js").then((n) => n.n)).ensurePiAuthJsonFromAuthProfiles(resolveSymiAgentDir(), { config: cfg });
|
|
42
42
|
const piSdk = await importPiSdk();
|
|
43
43
|
const agentDir = resolveSymiAgentDir();
|
|
44
44
|
const { join } = await import("node:path");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ct as resolveEnvApiKey, F as modelKey, Ht as DEFAULT_MODEL, L as normalizeProviderId, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, b as ensureAuthProfileStore, h as listProfilesForProvider, j as buildModelAliasIndex, k as buildAllowedModelSet, y as upsertAuthProfileWithLock, yt as getCustomProviderApiKey } from "./auth-profiles-
|
|
3
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
4
|
-
import { i as formatTokenK } from "./shared-
|
|
2
|
+
import { Ct as resolveEnvApiKey, F as modelKey, Ht as DEFAULT_MODEL, L as normalizeProviderId, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, b as ensureAuthProfileStore, h as listProfilesForProvider, j as buildModelAliasIndex, k as buildAllowedModelSet, y as upsertAuthProfileWithLock, yt as getCustomProviderApiKey } from "./auth-profiles-CPlXilKu.js";
|
|
3
|
+
import { n as loadModelCatalog } from "./model-catalog-DKBhNiWm.js";
|
|
4
|
+
import { i as formatTokenK } from "./shared-4Z8Ut8Cs.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/openai-codex-model-default.ts
|
|
7
7
|
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.3-codex";
|
|
@@ -7,7 +7,7 @@ import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-D-ycHv8o.j
|
|
|
7
7
|
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-BgG_n_kc.js";
|
|
8
8
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Do3xMEtM.js";
|
|
9
9
|
import { i as loadConfig, m as parseDurationMs } from "./config-B91360jE.js";
|
|
10
|
-
import { It as maskApiKey, Lt as DEFAULT_OAUTH_WARN_MS, Rt as buildAuthHealthSummary, T as runAgentTurn, X as describeFailoverError, zt as formatRemainingShort } from "./subagent-registry-
|
|
10
|
+
import { It as maskApiKey, Lt as DEFAULT_OAUTH_WARN_MS, Rt as buildAuthHealthSummary, T as runAgentTurn, X as describeFailoverError, zt as formatRemainingShort } from "./subagent-registry-B1RgR3-0.js";
|
|
11
11
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CNexk5_o.js";
|
|
12
12
|
import { t as ensureSymiModelsJson } from "./models-config-BfmuswQ_.js";
|
|
13
13
|
import { f as formatUsageWindowSummary, p as resolveUsageProviderId, u as loadProviderUsageSummary } from "./redact-identifier-gZfj5mH2.js";
|
|
@@ -22,7 +22,7 @@ import { n as redactSecrets } from "./format-BGzoTHhD.js";
|
|
|
22
22
|
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-BIUt7Xoj.js";
|
|
23
23
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-DS3MIrxf.js";
|
|
24
24
|
import { n as logConfigUpdated } from "./logging-BeA4q4J_.js";
|
|
25
|
-
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
25
|
+
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-CRobCJR_.js";
|
|
26
26
|
import path from "node:path";
|
|
27
27
|
import fs from "node:fs/promises";
|
|
28
28
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { On as describeFailoverError, _t as buildAuthHealthSummary, gt as DEFAULT_OAUTH_WARN_MS, ht as maskApiKey, t as runAgentTurn, vt as formatRemainingShort } from "./unified-runner-Bn9vq7Zy.js";
|
|
2
2
|
import { A as isRich$1, j as theme, k as colorize } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import { t as CONFIG_PATH } from "./paths-BSzKwaxE.js";
|
|
4
4
|
import { v as shortenHomePath } from "./utils-BU8jVQFM.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
6
|
-
import { Ct as resolveEnvApiKey, Dt as getShellEnvAppliedKeys, F as modelKey, H as resolveDefaultModelForAgent, Ht as DEFAULT_MODEL, L as normalizeProviderId, M as findNormalizedProviderValue, Mt as shouldEnableShellEnvFallback, R as parseModelRef, St as resolveAwsSdkEnvVarName, T as resolveSymiAgentDir, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, W as resolveModelRefFromString, Wt as resolveAuthProfileDisplayLabel, _ as setAuthProfileOrder, b as ensureAuthProfileStore, h as listProfilesForProvider, j as buildModelAliasIndex, n as resolveAuthProfileOrder, s as resolveProfileUnusableUntilForDisplay, v as upsertAuthProfile, w as resolveAuthStorePathForDisplay, xt as resolveApiKeyForProvider, yt as getCustomProviderApiKey } from "./auth-profiles-
|
|
6
|
+
import { Ct as resolveEnvApiKey, Dt as getShellEnvAppliedKeys, F as modelKey, H as resolveDefaultModelForAgent, Ht as DEFAULT_MODEL, L as normalizeProviderId, M as findNormalizedProviderValue, Mt as shouldEnableShellEnvFallback, R as parseModelRef, St as resolveAwsSdkEnvVarName, T as resolveSymiAgentDir, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, W as resolveModelRefFromString, Wt as resolveAuthProfileDisplayLabel, _ as setAuthProfileOrder, b as ensureAuthProfileStore, h as listProfilesForProvider, j as buildModelAliasIndex, n as resolveAuthProfileOrder, s as resolveProfileUnusableUntilForDisplay, v as upsertAuthProfile, w as resolveAuthStorePathForDisplay, xt as resolveApiKeyForProvider, yt as getCustomProviderApiKey } from "./auth-profiles-CPlXilKu.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
8
8
|
import "./exec-DKyLtSjm.js";
|
|
9
|
-
import { D as resolveDefaultAgentWorkspaceDir, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, o as resolveAgentModelPrimary } from "./agent-scope-
|
|
9
|
+
import { D as resolveDefaultAgentWorkspaceDir, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId, o as resolveAgentModelPrimary } from "./agent-scope-B_oqIiaD.js";
|
|
10
10
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
11
11
|
import "./boolean-Wzu0-e0P.js";
|
|
12
12
|
import "./env-B97Ms861.js";
|
|
13
|
-
import "./pi-embedded-helpers-
|
|
14
|
-
import { i as loadConfig, m as parseDurationMs } from "./config-
|
|
13
|
+
import "./pi-embedded-helpers-BRM8EM4P.js";
|
|
14
|
+
import { i as loadConfig, m as parseDurationMs } from "./config-CphS_6eg.js";
|
|
15
15
|
import "./manifest-registry-D7Qup2Vq.js";
|
|
16
|
-
import "./sandbox-
|
|
17
|
-
import "./chrome-
|
|
16
|
+
import "./sandbox-CQU7Gcb9.js";
|
|
17
|
+
import "./chrome-owBWinlj.js";
|
|
18
18
|
import "./tailscale-D7dC-5EX.js";
|
|
19
19
|
import "./auth-BbwD4lRX.js";
|
|
20
|
-
import "./server-context-
|
|
20
|
+
import "./server-context-BsMQBnUG.js";
|
|
21
21
|
import "./frontmatter-B6IdJ7UK.js";
|
|
22
|
-
import "./skills-
|
|
23
|
-
import "./routes-
|
|
22
|
+
import "./skills-DL8DjveU.js";
|
|
23
|
+
import "./routes-BJ2iXVJF.js";
|
|
24
24
|
import "./redact-CSc_2Nka.js";
|
|
25
25
|
import "./errors-Z-WkF18Q.js";
|
|
26
|
-
import "./fs-safe-
|
|
27
|
-
import "./paths-
|
|
26
|
+
import "./fs-safe-B6nMaZqV.js";
|
|
27
|
+
import "./paths-Dc6A9_vI.js";
|
|
28
28
|
import "./ssrf-CC9kEPCT.js";
|
|
29
|
-
import "./image-ops-
|
|
30
|
-
import "./ports-
|
|
29
|
+
import "./image-ops-C-gIIp7Q.js";
|
|
30
|
+
import "./ports-DqxP-bXz.js";
|
|
31
31
|
import "./trash-BjVrPcAx.js";
|
|
32
|
-
import "./sessions-
|
|
32
|
+
import "./sessions-DQMaURzb.js";
|
|
33
33
|
import "./dock-CnGWTXL4.js";
|
|
34
34
|
import "./message-channel-C_V8IAYx.js";
|
|
35
35
|
import "./plugins-DuuHorqi.js";
|
|
36
|
-
import "./send-
|
|
36
|
+
import "./send-BAKkoPOy.js";
|
|
37
37
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CJcw9nbZ.js";
|
|
38
38
|
import "./thinking-177f26eg.js";
|
|
39
|
-
import "./tokens-
|
|
40
|
-
import "./deliver-
|
|
39
|
+
import "./tokens-BKbemuIk.js";
|
|
40
|
+
import "./deliver-63FtOVMC.js";
|
|
41
41
|
import "./diagnostic-CwF3MnBL.js";
|
|
42
42
|
import "./diagnostic-session-state-I4x9gPY4.js";
|
|
43
|
-
import { t as ensureSymiModelsJson } from "./models-config-
|
|
44
|
-
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-
|
|
43
|
+
import { t as ensureSymiModelsJson } from "./models-config-CFUwiu4W.js";
|
|
44
|
+
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-1Z1j1PDI.js";
|
|
45
45
|
import "./session-cost-usage-DYcv40ss.js";
|
|
46
|
-
import { _ as loadProviderUsageSummary, b as resolveUsageProviderId, y as formatUsageWindowSummary } from "./session-utils-
|
|
47
|
-
import "./with-timeout-
|
|
48
|
-
import "./reply-prefix-
|
|
49
|
-
import "./memory-
|
|
50
|
-
import "./manager-
|
|
51
|
-
import "./sqlite-
|
|
46
|
+
import { _ as loadProviderUsageSummary, b as resolveUsageProviderId, y as formatUsageWindowSummary } from "./session-utils-0F9pB5d6.js";
|
|
47
|
+
import "./with-timeout-C0UtpXBj.js";
|
|
48
|
+
import "./reply-prefix-xaWqfM9m.js";
|
|
49
|
+
import "./memory-2OKjMT7V.js";
|
|
50
|
+
import "./manager-BQ5Wl5r-.js";
|
|
51
|
+
import "./sqlite-DBEvS-Ne.js";
|
|
52
52
|
import "./chunk-DQGU0F8t.js";
|
|
53
53
|
import "./markdown-tables-GTLvbzuR.js";
|
|
54
54
|
import "./fetch-guard-DG6T0ZdL.js";
|
|
55
|
-
import "./local-roots-
|
|
55
|
+
import "./local-roots-JhQs5w0I.js";
|
|
56
56
|
import "./commands-B3UrgxIz.js";
|
|
57
|
-
import "./commands-registry-
|
|
58
|
-
import "./client-
|
|
59
|
-
import "./call-
|
|
60
|
-
import "./pairing-token-
|
|
57
|
+
import "./commands-registry-W2GQIywv.js";
|
|
58
|
+
import "./client-ZZqt0H0-.js";
|
|
59
|
+
import "./call-Du4CT1Hp.js";
|
|
60
|
+
import "./pairing-token-CURbSHdi.js";
|
|
61
61
|
import "./tool-display-Dr6VaTg5.js";
|
|
62
|
-
import "./skills-remote-
|
|
63
|
-
import "./workspace-dirs-
|
|
62
|
+
import "./skills-remote-Db5Wwr4s.js";
|
|
63
|
+
import "./workspace-dirs-gn_0yzFP.js";
|
|
64
64
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DdkUSfiI.js";
|
|
65
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
66
|
-
import "./skill-commands-
|
|
67
|
-
import "./pairing-store-
|
|
65
|
+
import { n as loadModelCatalog } from "./model-catalog-DKBhNiWm.js";
|
|
66
|
+
import "./skill-commands-DP1fshwh.js";
|
|
67
|
+
import "./pairing-store-mmeniyUt.js";
|
|
68
68
|
import "./exec-approvals-CZOc8M5w.js";
|
|
69
|
-
import "./nodes-screen-
|
|
70
|
-
import "./control-service-
|
|
69
|
+
import "./nodes-screen-JELuBMBi.js";
|
|
70
|
+
import "./control-service-CMVDL3Yl.js";
|
|
71
71
|
import "./stagger-BhvnarfO.js";
|
|
72
72
|
import "./channel-selection-BvIcXQLj.js";
|
|
73
73
|
import "./delivery-queue-DDs84baU.js";
|
|
74
74
|
import "./bindings-9LSA3Jr1.js";
|
|
75
|
-
import "./resolve-route-
|
|
75
|
+
import "./resolve-route-DKhx5C-P.js";
|
|
76
76
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
77
77
|
import { n as runCommandWithRuntime, t as resolveOptionFromCommand } from "./cli-utils-CX1oQ81G.js";
|
|
78
78
|
import "./help-format-BI_G2p1e.js";
|
|
79
79
|
import { r as withProgressTotals } from "./progress-CyPyGCDn.js";
|
|
80
|
-
import "./memory-cli-
|
|
80
|
+
import "./memory-cli-CmPcKzGZ.js";
|
|
81
81
|
import "./logging-B5YNzZB9.js";
|
|
82
|
-
import "./replies-
|
|
83
|
-
import "./pi-tools.policy-
|
|
84
|
-
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-
|
|
82
|
+
import "./replies-P7jbK6Bo.js";
|
|
83
|
+
import "./pi-tools.policy-BBHbN8Nh.js";
|
|
84
|
+
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-BKtw-Bqs.js";
|
|
85
85
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-Cad0BDRS.js";
|
|
86
86
|
import "./note-CHrtEumO.js";
|
|
87
87
|
import { t as createClackPrompter } from "./clack-prompter-CWQQn_CK.js";
|
|
88
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
88
|
+
import { f as openUrl } from "./onboard-helpers-D2mWJnFB.js";
|
|
89
89
|
import { t as renderTable } from "./table-DkAQzCOR.js";
|
|
90
90
|
import { t as inferParamBFromIdOrName } from "./model-param-b-B34yvxBN.js";
|
|
91
91
|
import { n as redactSecrets } from "./format-C-0EAOjI.js";
|
|
92
|
-
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-
|
|
93
|
-
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-
|
|
92
|
+
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-4Z8Ut8Cs.js";
|
|
93
|
+
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-DTj2WrbV.js";
|
|
94
94
|
import { n as logConfigUpdated } from "./logging-B96FQvnn.js";
|
|
95
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
95
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-Bo1_RSEb.js";
|
|
96
96
|
import crypto from "node:crypto";
|
|
97
97
|
import path from "node:path";
|
|
98
|
-
import
|
|
98
|
+
import fs from "node:fs/promises";
|
|
99
99
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
100
100
|
import { Type } from "@sinclair/typebox";
|
|
101
101
|
import { cancel, confirm, isCancel, multiselect, select, text } from "@clack/prompts";
|
|
@@ -928,8 +928,8 @@ function printModelTable(rows, runtime, opts = {}) {
|
|
|
928
928
|
//#region src/commands/models/list.list-command.ts
|
|
929
929
|
async function modelsListCommand(opts, runtime) {
|
|
930
930
|
ensureFlagCompatibility(opts);
|
|
931
|
-
const { loadConfig } = await import("./config-
|
|
932
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
931
|
+
const { loadConfig } = await import("./config-CphS_6eg.js").then((n) => n.t);
|
|
932
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-CPlXilKu.js").then((n) => n.t);
|
|
933
933
|
const cfg = loadConfig();
|
|
934
934
|
const authStore = ensureAuthProfileStore();
|
|
935
935
|
const providerFilter = (() => {
|
|
@@ -989,7 +989,7 @@ async function modelsListCommand(opts, runtime) {
|
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
if (!model) {
|
|
992
|
-
const { resolveModel } = await import("./model-
|
|
992
|
+
const { resolveModel } = await import("./model-BKtw-Bqs.js").then((n) => n.t);
|
|
993
993
|
model = resolveModel(entry.ref.provider, entry.ref.model, void 0, cfg).model;
|
|
994
994
|
}
|
|
995
995
|
if (opts.local && model && !isLocalBaseUrl(model.baseUrl)) continue;
|
|
@@ -1246,7 +1246,7 @@ async function probeTarget(params) {
|
|
|
1246
1246
|
error: "No model available for probe"
|
|
1247
1247
|
};
|
|
1248
1248
|
const sessionId = `probe-${target.provider}-${crypto.randomUUID()}`;
|
|
1249
|
-
await
|
|
1249
|
+
await fs.mkdir(sessionDir, { recursive: true });
|
|
1250
1250
|
const start = Date.now();
|
|
1251
1251
|
try {
|
|
1252
1252
|
await runAgentTurn({
|
|
@@ -1301,7 +1301,7 @@ async function runTargetsWithConcurrency(params) {
|
|
|
1301
1301
|
const agentDir = resolveSymiAgentDir();
|
|
1302
1302
|
const workspaceDir = resolveAgentWorkspaceDir(cfg, agentId) ?? resolveDefaultAgentWorkspaceDir();
|
|
1303
1303
|
const sessionDir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
1304
|
-
await
|
|
1304
|
+
await fs.mkdir(workspaceDir, { recursive: true });
|
|
1305
1305
|
let completed = 0;
|
|
1306
1306
|
const results = Array.from({ length: targets.length });
|
|
1307
1307
|
let cursor = 0;
|
|
@@ -14,12 +14,12 @@ import "./client-CAz5aPpp.js";
|
|
|
14
14
|
import "./call-BocrIanP.js";
|
|
15
15
|
import "./message-channel-CNPAq1Tl.js";
|
|
16
16
|
import "./pairing-token-Bnr7QjVF.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-B1RgR3-0.js";
|
|
18
18
|
import "./sessions-7jk0D1BI.js";
|
|
19
19
|
import "./plugins-Bq-Msc8Z.js";
|
|
20
20
|
import "./send-CLJ2KPVT.js";
|
|
21
21
|
import "./with-timeout-BsavN1IH.js";
|
|
22
|
-
import "./deliver-
|
|
22
|
+
import "./deliver-DcP6aVt4.js";
|
|
23
23
|
import "./diagnostic-BevbDWGa.js";
|
|
24
24
|
import "./diagnostic-session-state-Zw87xFym.js";
|
|
25
25
|
import "./pi-embedded-helpers-DnAXWUyj.js";
|
|
@@ -42,8 +42,8 @@ import "./paths-CNexk5_o.js";
|
|
|
42
42
|
import "./thinking-BDh5LPh-.js";
|
|
43
43
|
import "./models-config-BfmuswQ_.js";
|
|
44
44
|
import "./reply-prefix-CRdCnS44.js";
|
|
45
|
-
import "./memory-
|
|
46
|
-
import "./manager-
|
|
45
|
+
import "./memory-CMKSFx1T.js";
|
|
46
|
+
import "./manager-BI8o6AGu.js";
|
|
47
47
|
import "./sqlite-l3CZYU6t.js";
|
|
48
48
|
import "./chunk-BySyfaEr.js";
|
|
49
49
|
import "./markdown-tables-CCOfinlW.js";
|
|
@@ -52,7 +52,7 @@ import "./local-roots-CkcUju_2.js";
|
|
|
52
52
|
import "./commands-CHkx0oTl.js";
|
|
53
53
|
import "./commands-registry-CY-QAK3n.js";
|
|
54
54
|
import "./tool-display-wSdT0Ynz.js";
|
|
55
|
-
import "./tokens-
|
|
55
|
+
import "./tokens-K3kGchJA.js";
|
|
56
56
|
import "./skills-remote-DEkSSz2R.js";
|
|
57
57
|
import "./redact-identifier-gZfj5mH2.js";
|
|
58
58
|
import "./workspace-dirs-B6EAh6SV.js";
|
|
@@ -73,9 +73,9 @@ import { t as formatDocsLink } from "./links-Db3Rw0Tg.js";
|
|
|
73
73
|
import { n as runCommandWithRuntime, t as resolveOptionFromCommand } from "./cli-utils-BqMwAlgf.js";
|
|
74
74
|
import "./help-format-DbbIlOje.js";
|
|
75
75
|
import "./progress-C4ck6JXh.js";
|
|
76
|
-
import "./memory-cli-
|
|
76
|
+
import "./memory-cli-rdfaJrCS.js";
|
|
77
77
|
import "./logging-D0L9TWhE.js";
|
|
78
|
-
import "./replies-
|
|
78
|
+
import "./replies-BOy28KVL.js";
|
|
79
79
|
import "./pi-tools.policy-D-WJTlz8.js";
|
|
80
80
|
import "./prompt-style-Z2ZizQap.js";
|
|
81
81
|
import "./note-DKRm9hYC.js";
|
|
@@ -85,8 +85,8 @@ import "./table-CSEp22Mk.js";
|
|
|
85
85
|
import "./shared-BIUt7Xoj.js";
|
|
86
86
|
import "./auth-token-DS3MIrxf.js";
|
|
87
87
|
import "./logging-BeA4q4J_.js";
|
|
88
|
-
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-
|
|
89
|
-
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-
|
|
88
|
+
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-CRobCJR_.js";
|
|
89
|
+
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-DRtgYyTB.js";
|
|
90
90
|
|
|
91
91
|
//#region src/cli/models-cli.ts
|
|
92
92
|
function runModelsCommand(action) {
|