@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
package/dist/index.js
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
2
|
+
import { Mt as prepareAgentRun, Tn as composeTurnMiddleware, _ as withContextUsageWarning, b as buildAgentTurnParams, jt as applyTemplate, on as installUnhandledRejectionHandler, t as runAgentTurn, ut as resolveCommitHash, v as withContextOverflowRecovery, x as prepareReplyTurn } from "./unified-runner-Bn9vq7Zy.js";
|
|
3
3
|
import { A as isRich, E as setVerbose, j as theme } from "./registry-DKJLAPDB.js";
|
|
4
4
|
import "./paths-BSzKwaxE.js";
|
|
5
5
|
import { c as escapeRegExp, d as normalizeE164 } from "./utils-BU8jVQFM.js";
|
|
6
6
|
import { f as defaultRuntime, r as enableConsoleCapture, u as visibleWidth } from "./subsystem-CtH6J8AV.js";
|
|
7
|
-
import "./auth-profiles-
|
|
7
|
+
import "./auth-profiles-CPlXilKu.js";
|
|
8
8
|
import { n as replaceCliName, r as resolveCliName } from "./command-format-BvAkTjTI.js";
|
|
9
9
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-DKyLtSjm.js";
|
|
10
|
-
import "./agent-scope-
|
|
10
|
+
import "./agent-scope-B_oqIiaD.js";
|
|
11
11
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
12
12
|
import "./boolean-Wzu0-e0P.js";
|
|
13
13
|
import { r as normalizeEnv, t as isTruthyEnvValue } from "./env-B97Ms861.js";
|
|
14
|
-
import "./pi-embedded-helpers-
|
|
15
|
-
import { F as loadDotEnv, N as VERSION, i as loadConfig } from "./config-
|
|
14
|
+
import "./pi-embedded-helpers-BRM8EM4P.js";
|
|
15
|
+
import { F as loadDotEnv, N as VERSION, i as loadConfig } from "./config-CphS_6eg.js";
|
|
16
16
|
import "./manifest-registry-D7Qup2Vq.js";
|
|
17
|
-
import "./sandbox-
|
|
18
|
-
import "./chrome-
|
|
17
|
+
import "./sandbox-CQU7Gcb9.js";
|
|
18
|
+
import "./chrome-owBWinlj.js";
|
|
19
19
|
import { l as ensureBinary, u as promptYesNo } from "./tailscale-D7dC-5EX.js";
|
|
20
20
|
import "./auth-BbwD4lRX.js";
|
|
21
|
-
import "./server-context-
|
|
21
|
+
import "./server-context-BsMQBnUG.js";
|
|
22
22
|
import "./frontmatter-B6IdJ7UK.js";
|
|
23
|
-
import "./skills-
|
|
24
|
-
import "./routes-
|
|
23
|
+
import "./skills-DL8DjveU.js";
|
|
24
|
+
import "./routes-BJ2iXVJF.js";
|
|
25
25
|
import "./redact-CSc_2Nka.js";
|
|
26
26
|
import { r as formatUncaughtError } from "./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 { i as handlePortError, n as describePortOwner, r as ensurePortAvailable, t as PortInUseError } from "./ports-
|
|
30
|
+
import "./image-ops-C-gIIp7Q.js";
|
|
31
|
+
import { i as handlePortError, n as describePortOwner, r as ensurePortAvailable, t as PortInUseError } from "./ports-DqxP-bXz.js";
|
|
32
32
|
import "./trash-BjVrPcAx.js";
|
|
33
|
-
import { A as deriveSessionKey, j as resolveSessionKey, l as saveSessionStore, o as loadSessionStore } from "./sessions-
|
|
33
|
+
import { A as deriveSessionKey, j as resolveSessionKey, l as saveSessionStore, o as loadSessionStore } from "./sessions-DQMaURzb.js";
|
|
34
34
|
import "./dock-CnGWTXL4.js";
|
|
35
35
|
import "./message-channel-C_V8IAYx.js";
|
|
36
36
|
import "./plugins-DuuHorqi.js";
|
|
37
|
-
import "./send-
|
|
37
|
+
import "./send-BAKkoPOy.js";
|
|
38
38
|
import { c as resolveStorePath } from "./paths-CJcw9nbZ.js";
|
|
39
39
|
import "./thinking-177f26eg.js";
|
|
40
|
-
import "./tokens-
|
|
41
|
-
import "./deliver-
|
|
40
|
+
import "./tokens-BKbemuIk.js";
|
|
41
|
+
import "./deliver-63FtOVMC.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-CFUwiu4W.js";
|
|
45
|
+
import "./pi-auth-json-1Z1j1PDI.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-0F9pB5d6.js";
|
|
48
|
+
import "./with-timeout-C0UtpXBj.js";
|
|
49
|
+
import "./reply-prefix-xaWqfM9m.js";
|
|
50
|
+
import "./memory-2OKjMT7V.js";
|
|
51
|
+
import "./manager-BQ5Wl5r-.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-JhQs5w0I.js";
|
|
57
57
|
import "./commands-B3UrgxIz.js";
|
|
58
|
-
import "./commands-registry-
|
|
59
|
-
import "./client-
|
|
60
|
-
import "./call-
|
|
61
|
-
import "./pairing-token-
|
|
58
|
+
import "./commands-registry-W2GQIywv.js";
|
|
59
|
+
import "./client-ZZqt0H0-.js";
|
|
60
|
+
import "./call-Du4CT1Hp.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-Db5Wwr4s.js";
|
|
64
|
+
import "./workspace-dirs-gn_0yzFP.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-DKBhNiWm.js";
|
|
67
|
+
import "./skill-commands-DP1fshwh.js";
|
|
68
|
+
import "./pairing-store-mmeniyUt.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-CMVDL3Yl.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-DKhx5C-P.js";
|
|
77
77
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
78
78
|
import "./cli-utils-CX1oQ81G.js";
|
|
79
79
|
import "./help-format-BI_G2p1e.js";
|
|
80
80
|
import "./progress-CyPyGCDn.js";
|
|
81
|
-
import "./memory-cli-
|
|
81
|
+
import "./memory-cli-CmPcKzGZ.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-P7jbK6Bo.js";
|
|
84
|
+
import "./pi-tools.policy-BBHbN8Nh.js";
|
|
85
|
+
import "./model-BKtw-Bqs.js";
|
|
86
|
+
import { t as createDefaultDeps } from "./deps-DD_ZCq3v.js";
|
|
87
87
|
import { t as ensureSymiCliOnPath } from "./path-env-DuQralyy.js";
|
|
88
88
|
import { t as assertSupportedRuntime } from "./runtime-guard-BZ3_1QqS.js";
|
|
89
|
-
import "./ports-
|
|
89
|
+
import "./ports-DRHSHvqY.js";
|
|
90
90
|
import { a as hasFlag, i as getVerboseFlag, n as getCommandPath, o as hasHelpOrVersion, s as hasRootVersionAlias } from "./argv-Bt9A9Gfj.js";
|
|
91
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
91
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-GaV454D6.js";
|
|
92
92
|
import "./catalog-BEREnWaa.js";
|
|
93
|
-
import "./plugin-registry-
|
|
94
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
93
|
+
import "./plugin-registry-DSG-0min.js";
|
|
94
|
+
import { n as resolveCliChannelOptions } from "./channel-options-CcGtiy0Q.js";
|
|
95
95
|
import process$1 from "node:process";
|
|
96
96
|
import { fileURLToPath } from "node:url";
|
|
97
97
|
import path from "node:path";
|
|
@@ -551,13 +551,13 @@ function registerPreActionHooks(program, programVersion) {
|
|
|
551
551
|
setVerbose(verbose);
|
|
552
552
|
if (!verbose) process.env.NODE_NO_WARNINGS ??= "1";
|
|
553
553
|
if (commandPath[0] === "doctor" || commandPath[0] === "completion") return;
|
|
554
|
-
const { ensureConfigReady } = await import("./config-guard-
|
|
554
|
+
const { ensureConfigReady } = await import("./config-guard-B5BwQ-AP.js");
|
|
555
555
|
await ensureConfigReady({
|
|
556
556
|
runtime: defaultRuntime,
|
|
557
557
|
commandPath
|
|
558
558
|
});
|
|
559
559
|
if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
|
|
560
|
-
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-
|
|
560
|
+
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-DSG-0min.js").then((n) => n.n);
|
|
561
561
|
ensurePluginRegistryLoaded();
|
|
562
562
|
}
|
|
563
563
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, n as GATEWAY_SERVICE_KIND, r as GATEWAY_SERVICE_MARKER } from "./constants-DsZw7bas.js";
|
|
2
|
-
import { n as execSchtasks } from "./service-
|
|
2
|
+
import { n as execSchtasks } from "./service-AP9pR9R5.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/daemon/inspect.ts
|
|
7
7
|
const EXTRA_MARKERS = [
|
|
@@ -76,14 +76,14 @@ function isLegacyLabel(label) {
|
|
|
76
76
|
}
|
|
77
77
|
async function readDirEntries(dir) {
|
|
78
78
|
try {
|
|
79
|
-
return await
|
|
79
|
+
return await fs.readdir(dir);
|
|
80
80
|
} catch {
|
|
81
81
|
return [];
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
async function readUtf8File(filePath) {
|
|
85
85
|
try {
|
|
86
|
-
return await
|
|
86
|
+
return await fs.readFile(filePath, "utf8");
|
|
87
87
|
} catch {
|
|
88
88
|
return null;
|
|
89
89
|
}
|
|
@@ -2,7 +2,7 @@ import { n as resolveSafeBaseDir } from "./path-safety-pFCZCFPp.js";
|
|
|
2
2
|
import { createHash } from "node:crypto";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { createWriteStream } from "node:fs";
|
|
5
|
-
import
|
|
5
|
+
import fs$1 from "node:fs/promises";
|
|
6
6
|
import { pipeline } from "node:stream/promises";
|
|
7
7
|
import { Readable, Transform } from "node:stream";
|
|
8
8
|
import JSZip from "jszip";
|
|
@@ -69,9 +69,9 @@ function resolveArchiveKind(filePath) {
|
|
|
69
69
|
async function resolvePackedRootDir(extractDir) {
|
|
70
70
|
const direct = path.join(extractDir, "package");
|
|
71
71
|
try {
|
|
72
|
-
if ((await
|
|
72
|
+
if ((await fs$1.stat(direct)).isDirectory()) return direct;
|
|
73
73
|
} catch {}
|
|
74
|
-
const dirs = (await
|
|
74
|
+
const dirs = (await fs$1.readdir(extractDir, { withFileTypes: true })).filter((entry) => entry.isDirectory()).map((entry) => entry.name);
|
|
75
75
|
if (dirs.length !== 1) throw new Error(`unexpected archive layout (dirs: ${dirs.join(", ")})`);
|
|
76
76
|
const onlyDir = dirs[0];
|
|
77
77
|
if (!onlyDir) throw new Error("unexpected archive layout (no package dir found)");
|
|
@@ -144,8 +144,8 @@ async function readZipEntryStream(entry) {
|
|
|
144
144
|
}
|
|
145
145
|
async function extractZip(params) {
|
|
146
146
|
const limits = resolveExtractLimits(params.limits);
|
|
147
|
-
if ((await
|
|
148
|
-
const buffer = await
|
|
147
|
+
if ((await fs$1.stat(params.archivePath)).size > limits.maxArchiveBytes) throw new Error(ERROR_ARCHIVE_SIZE_EXCEEDS_LIMIT);
|
|
148
|
+
const buffer = await fs$1.readFile(params.archivePath);
|
|
149
149
|
const zip = await JSZip.loadAsync(buffer);
|
|
150
150
|
const entries = Object.values(zip.files);
|
|
151
151
|
const strip = Math.max(0, Math.floor(params.stripComponents ?? 0));
|
|
@@ -162,21 +162,21 @@ async function extractZip(params) {
|
|
|
162
162
|
originalPath: entry.name
|
|
163
163
|
});
|
|
164
164
|
if (entry.dir) {
|
|
165
|
-
await
|
|
165
|
+
await fs$1.mkdir(outPath, { recursive: true });
|
|
166
166
|
continue;
|
|
167
167
|
}
|
|
168
|
-
await
|
|
168
|
+
await fs$1.mkdir(path.dirname(outPath), { recursive: true });
|
|
169
169
|
budget.startEntry();
|
|
170
170
|
const readable = await readZipEntryStream(entry);
|
|
171
171
|
try {
|
|
172
172
|
await pipeline(readable, createExtractBudgetTransform({ onChunkBytes: budget.addBytes }), createWriteStream(outPath));
|
|
173
173
|
} catch (err) {
|
|
174
|
-
await
|
|
174
|
+
await fs$1.unlink(outPath).catch(() => void 0);
|
|
175
175
|
throw err;
|
|
176
176
|
}
|
|
177
177
|
if (typeof entry.unixPermissions === "number") {
|
|
178
178
|
const mode = entry.unixPermissions & 511;
|
|
179
|
-
if (mode !== 0) await
|
|
179
|
+
if (mode !== 0) await fs$1.chmod(outPath, mode).catch(() => void 0);
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
}
|
|
@@ -236,14 +236,14 @@ async function extractArchive(params) {
|
|
|
236
236
|
}
|
|
237
237
|
async function fileExists(filePath) {
|
|
238
238
|
try {
|
|
239
|
-
await
|
|
239
|
+
await fs$1.stat(filePath);
|
|
240
240
|
return true;
|
|
241
241
|
} catch {
|
|
242
242
|
return false;
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
async function readJsonFile(filePath) {
|
|
246
|
-
const raw = await
|
|
246
|
+
const raw = await fs$1.readFile(filePath, "utf-8");
|
|
247
247
|
return JSON.parse(raw);
|
|
248
248
|
}
|
|
249
249
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-BU8jVQFM.js";
|
|
2
2
|
import { i as isPathInside, n as MANIFEST_KEY, r as extensionUsesSkippedScannerPath } from "./legacy-names-C0hZiM-7.js";
|
|
3
|
-
import { a as extractArchive, c as resolveArchiveKind, i as unscopedPackageName, l as resolvePackedRootDir, n as safeDirName, o as fileExists, s as readJsonFile, t as resolveSafeInstallDir } from "./install-safe-path-
|
|
4
|
-
import { a as installPackageDir, i as withTempDir, n as installFromNpmSpecArchive, r as resolveArchiveSourcePath, t as validateRegistryNpmSpec } from "./npm-registry-spec-
|
|
5
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
3
|
+
import { a as extractArchive, c as resolveArchiveKind, i as unscopedPackageName, l as resolvePackedRootDir, n as safeDirName, o as fileExists, s as readJsonFile, t as resolveSafeInstallDir } from "./install-safe-path-CQXx3s9R.js";
|
|
4
|
+
import { a as installPackageDir, i as withTempDir, n as installFromNpmSpecArchive, r as resolveArchiveSourcePath, t as validateRegistryNpmSpec } from "./npm-registry-spec-BXw_6vF6.js";
|
|
5
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-qMQf6-FN.js";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fs from "node:fs/promises";
|
|
8
8
|
|
|
9
9
|
//#region src/plugins/install.ts
|
|
10
10
|
const defaultLogger = {};
|
|
@@ -116,7 +116,7 @@ async function installPluginFromPackageDir(params) {
|
|
|
116
116
|
logger.warn?.(`Plugin "${pluginId}" code safety scan failed (${String(err)}). Installation continues; run "symi security audit --deep" after install.`);
|
|
117
117
|
}
|
|
118
118
|
const extensionsDir = params.extensionsDir ? resolveUserPath(params.extensionsDir) : path.join(CONFIG_DIR, "extensions");
|
|
119
|
-
await
|
|
119
|
+
await fs.mkdir(extensionsDir, { recursive: true });
|
|
120
120
|
const targetDirResult = resolveSafeInstallDir({
|
|
121
121
|
baseDir: extensionsDir,
|
|
122
122
|
id: pluginId,
|
|
@@ -180,7 +180,7 @@ async function installPluginFromArchive(params) {
|
|
|
180
180
|
const archivePath = archivePathResult.path;
|
|
181
181
|
return await withTempDir("symi-plugin-", async (tmpDir) => {
|
|
182
182
|
const extractDir = path.join(tmpDir, "extract");
|
|
183
|
-
await
|
|
183
|
+
await fs.mkdir(extractDir, { recursive: true });
|
|
184
184
|
logger.info?.(`Extracting ${archivePath}…`);
|
|
185
185
|
try {
|
|
186
186
|
await extractArchive({
|
|
@@ -221,7 +221,7 @@ async function installPluginFromDir(params) {
|
|
|
221
221
|
ok: false,
|
|
222
222
|
error: `directory not found: ${dirPath}`
|
|
223
223
|
};
|
|
224
|
-
if (!(await
|
|
224
|
+
if (!(await fs.stat(dirPath)).isDirectory()) return {
|
|
225
225
|
ok: false,
|
|
226
226
|
error: `not a directory: ${dirPath}`
|
|
227
227
|
};
|
|
@@ -243,7 +243,7 @@ async function installPluginFromFile(params) {
|
|
|
243
243
|
error: `file not found: ${filePath}`
|
|
244
244
|
};
|
|
245
245
|
const extensionsDir = params.extensionsDir ? resolveUserPath(params.extensionsDir) : path.join(CONFIG_DIR, "extensions");
|
|
246
|
-
await
|
|
246
|
+
await fs.mkdir(extensionsDir, { recursive: true });
|
|
247
247
|
const pluginId = path.basename(filePath, path.extname(filePath)) || "plugin";
|
|
248
248
|
const pluginIdError = validatePluginId(pluginId);
|
|
249
249
|
if (pluginIdError) return {
|
|
@@ -257,7 +257,7 @@ async function installPluginFromFile(params) {
|
|
|
257
257
|
};
|
|
258
258
|
if (dryRun) return buildFileInstallResult(pluginId, targetFile);
|
|
259
259
|
logger.info?.(`Installing to ${targetFile}…`);
|
|
260
|
-
await
|
|
260
|
+
await fs.copyFile(filePath, targetFile);
|
|
261
261
|
return buildFileInstallResult(pluginId, targetFile);
|
|
262
262
|
}
|
|
263
263
|
async function installPluginFromNpmSpec(params) {
|
|
@@ -303,7 +303,7 @@ async function installPluginFromPath(params) {
|
|
|
303
303
|
ok: false,
|
|
304
304
|
error: `path not found: ${resolved}`
|
|
305
305
|
};
|
|
306
|
-
if ((await
|
|
306
|
+
if ((await fs.stat(resolved)).isDirectory()) return await installPluginFromDir({
|
|
307
307
|
dirPath: resolved,
|
|
308
308
|
extensionsDir: params.extensionsDir,
|
|
309
309
|
timeoutMs: params.timeoutMs,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import crypto from "node:crypto";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import fs from "node:fs";
|
|
4
|
-
import
|
|
4
|
+
import fs$1 from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/memory/fs-utils.ts
|
|
7
7
|
function isFileMissingError(err) {
|
|
@@ -10,7 +10,7 @@ function isFileMissingError(err) {
|
|
|
10
10
|
async function statRegularFile(absPath) {
|
|
11
11
|
let stat;
|
|
12
12
|
try {
|
|
13
|
-
stat = await
|
|
13
|
+
stat = await fs$1.lstat(absPath);
|
|
14
14
|
} catch (err) {
|
|
15
15
|
if (isFileMissingError(err)) return { missing: true };
|
|
16
16
|
throw err;
|
|
@@ -86,7 +86,7 @@ function isMemoryPath(relPath) {
|
|
|
86
86
|
return normalized.startsWith("memory/");
|
|
87
87
|
}
|
|
88
88
|
async function walkDir(dir, files) {
|
|
89
|
-
const entries = await
|
|
89
|
+
const entries = await fs$1.readdir(dir, { withFileTypes: true });
|
|
90
90
|
for (const entry of entries) {
|
|
91
91
|
const full = path.join(dir, entry.name);
|
|
92
92
|
if (entry.isSymbolicLink()) continue;
|
|
@@ -106,7 +106,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
106
106
|
const memoryDir = path.join(workspaceDir, "memory");
|
|
107
107
|
const addMarkdownFile = async (absPath) => {
|
|
108
108
|
try {
|
|
109
|
-
const stat = await
|
|
109
|
+
const stat = await fs$1.lstat(absPath);
|
|
110
110
|
if (stat.isSymbolicLink() || !stat.isFile()) return;
|
|
111
111
|
if (!absPath.endsWith(".md")) return;
|
|
112
112
|
result.push(absPath);
|
|
@@ -115,12 +115,12 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
115
115
|
await addMarkdownFile(memoryFile);
|
|
116
116
|
await addMarkdownFile(altMemoryFile);
|
|
117
117
|
try {
|
|
118
|
-
const dirStat = await
|
|
118
|
+
const dirStat = await fs$1.lstat(memoryDir);
|
|
119
119
|
if (!dirStat.isSymbolicLink() && dirStat.isDirectory()) await walkDir(memoryDir, result);
|
|
120
120
|
} catch {}
|
|
121
121
|
const normalizedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
122
122
|
if (normalizedExtraPaths.length > 0) for (const inputPath of normalizedExtraPaths) try {
|
|
123
|
-
const stat = await
|
|
123
|
+
const stat = await fs$1.lstat(inputPath);
|
|
124
124
|
if (stat.isSymbolicLink()) continue;
|
|
125
125
|
if (stat.isDirectory()) {
|
|
126
126
|
await walkDir(inputPath, result);
|
|
@@ -134,7 +134,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
134
134
|
for (const entry of result) {
|
|
135
135
|
let key = entry;
|
|
136
136
|
try {
|
|
137
|
-
key = await
|
|
137
|
+
key = await fs$1.realpath(entry);
|
|
138
138
|
} catch {}
|
|
139
139
|
if (seen.has(key)) continue;
|
|
140
140
|
seen.add(key);
|
|
@@ -148,14 +148,14 @@ function hashText(value) {
|
|
|
148
148
|
async function buildFileEntry(absPath, workspaceDir) {
|
|
149
149
|
let stat;
|
|
150
150
|
try {
|
|
151
|
-
stat = await
|
|
151
|
+
stat = await fs$1.stat(absPath);
|
|
152
152
|
} catch (err) {
|
|
153
153
|
if (isFileMissingError(err)) return null;
|
|
154
154
|
throw err;
|
|
155
155
|
}
|
|
156
156
|
let content;
|
|
157
157
|
try {
|
|
158
|
-
content = await
|
|
158
|
+
content = await fs$1.readFile(absPath, "utf-8");
|
|
159
159
|
} catch (err) {
|
|
160
160
|
if (isFileMissingError(err)) return null;
|
|
161
161
|
throw err;
|
|
@@ -2,13 +2,13 @@ import { A as isRich, P as getResolvedLoggerSettings, j as theme, k as colorize
|
|
|
2
2
|
import { d as resolveIsNixMode } from "./paths-BSzKwaxE.js";
|
|
3
3
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
5
|
-
import { i as loadConfig } from "./config-
|
|
5
|
+
import { i as loadConfig } from "./config-CphS_6eg.js";
|
|
6
6
|
import { c as pickPrimaryLanIPv4 } from "./ws-CahTJvD6.js";
|
|
7
7
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName } from "./constants-DsZw7bas.js";
|
|
8
|
-
import { t as isWSL } from "./wsl-
|
|
9
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
10
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
11
|
-
import { a as checkTokenDrift, n as renderSystemdUnavailableHints } from "./systemd-hints-
|
|
8
|
+
import { t as isWSL } from "./wsl-ZWGwnnKI.js";
|
|
9
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-9LEEqibe.js";
|
|
10
|
+
import { s as resolveGatewayLogPaths } from "./service-AP9pR9R5.js";
|
|
11
|
+
import { a as checkTokenDrift, n as renderSystemdUnavailableHints } from "./systemd-hints-CeavseQh.js";
|
|
12
12
|
import { t as parsePort } from "./parse-port-CykvIgQu.js";
|
|
13
13
|
import { Writable } from "node:stream";
|
|
14
14
|
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import "./paths-CE7eVGHg.js";
|
|
2
|
-
import "./registry-
|
|
3
|
-
import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import { t as runAgentTurn } from "./unified-runner-
|
|
7
|
-
import "./auth-profiles-
|
|
2
|
+
import "./registry-C-JddWwo.js";
|
|
3
|
+
import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-D_MtsuXX.js";
|
|
4
|
+
import "./subsystem-DzRUKS9f.js";
|
|
5
|
+
import "./workspace-CsaDUuDn.js";
|
|
6
|
+
import { t as runAgentTurn } from "./unified-runner-BPyxPZv9.js";
|
|
7
|
+
import "./auth-profiles-duUuQXeC.js";
|
|
8
8
|
import "./github-copilot-token-B31ugq7R.js";
|
|
9
9
|
import "./boolean-mcn6kL0s.js";
|
|
10
|
-
import "./deliver-
|
|
11
|
-
import "./ssrf-
|
|
12
|
-
import "./manifest-registry-
|
|
13
|
-
import "./chrome-
|
|
14
|
-
import "./frontmatter-
|
|
15
|
-
import "./skills-
|
|
10
|
+
import "./deliver-DSv-Z24A.js";
|
|
11
|
+
import "./ssrf-Dcgaqg3U.js";
|
|
12
|
+
import "./manifest-registry-DsTUFMvZ.js";
|
|
13
|
+
import "./chrome-C9mX2mtt.js";
|
|
14
|
+
import "./frontmatter-BzAaXBfE.js";
|
|
15
|
+
import "./skills-D0k4o0Ez.js";
|
|
16
16
|
import "./redact-Dd8jrogi.js";
|
|
17
17
|
import "./errors-BkfLlDKo.js";
|
|
18
|
-
import "./local-roots-
|
|
19
|
-
import "./thinking-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./plugins-
|
|
22
|
-
import "./send-
|
|
18
|
+
import "./local-roots-WWcVq0Ma.js";
|
|
19
|
+
import "./thinking-CMIo8E_E.js";
|
|
20
|
+
import "./chunk-5H33X8qU.js";
|
|
21
|
+
import "./plugins-CcVzjOo_.js";
|
|
22
|
+
import "./send-DulXmWcG.js";
|
|
23
23
|
import "./paths-BeAyfCRg.js";
|
|
24
|
-
import "./tokens-
|
|
25
|
-
import "./diagnostic-
|
|
24
|
+
import "./tokens-BBh6tlmO.js";
|
|
25
|
+
import "./diagnostic-D7z6O7v0.js";
|
|
26
26
|
import "./diagnostic-session-state-BkfiP_y6.js";
|
|
27
|
-
import "./pi-auth-json-
|
|
28
|
-
import "./reply-prefix-
|
|
29
|
-
import "./manager-
|
|
30
|
-
import "./sqlite-
|
|
31
|
-
import "./markdown-tables-
|
|
32
|
-
import "./commands-registry-
|
|
33
|
-
import "./skill-commands-
|
|
27
|
+
import "./pi-auth-json-D4Bl4hBw.js";
|
|
28
|
+
import "./reply-prefix-ChIeKp-P.js";
|
|
29
|
+
import "./manager-D_AVoLu8.js";
|
|
30
|
+
import "./sqlite--aBEq1-J.js";
|
|
31
|
+
import "./markdown-tables-ptfgMe6b.js";
|
|
32
|
+
import "./commands-registry-DaPrWQSe.js";
|
|
33
|
+
import "./skill-commands-Cwrebyvj.js";
|
|
34
34
|
import "./pi-model-discovery-B_aXYZv5.js";
|
|
35
|
-
import "./resolve-route-
|
|
36
|
-
import "./replies-
|
|
35
|
+
import "./resolve-route-CIS2tjpz.js";
|
|
36
|
+
import "./replies-C82xaXm3.js";
|
|
37
37
|
|
|
38
38
|
//#region src/hooks/llm-slug-generator.ts
|
|
39
39
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as resolvePreferredSymiTmpDir } from "./registry-DKJLAPDB.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BSzKwaxE.js";
|
|
3
|
-
import { c as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { c as resolveAgentWorkspaceDir } from "./agent-scope-B_oqIiaD.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
|
|
6
6
|
//#region src/media/local-roots.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as resolveStateDir } from "./paths-CE7eVGHg.js";
|
|
2
|
-
import { R as resolvePreferredSymiTmpDir } from "./registry-
|
|
3
|
-
import { o as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { _ as runExec } from "./workspace-
|
|
2
|
+
import { R as resolvePreferredSymiTmpDir } from "./registry-C-JddWwo.js";
|
|
3
|
+
import { o as resolveAgentWorkspaceDir } from "./agent-scope-D_MtsuXX.js";
|
|
4
|
+
import { _ as runExec } from "./workspace-CsaDUuDn.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { constants } from "node:fs";
|
|
7
7
|
import os from "node:os";
|
|
@@ -2,22 +2,22 @@ import { A as isRich, j as theme, k as colorize } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import "./utils-BU8jVQFM.js";
|
|
4
4
|
import { c as formatLocalIsoWithOffset, m as clearActiveProgressLine } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-CPlXilKu.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-B_oqIiaD.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-CphS_6eg.js";
|
|
13
13
|
import "./manifest-registry-D7Qup2Vq.js";
|
|
14
14
|
import "./message-channel-C_V8IAYx.js";
|
|
15
|
-
import "./client-
|
|
16
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
17
|
-
import "./pairing-token-
|
|
15
|
+
import "./client-ZZqt0H0-.js";
|
|
16
|
+
import { t as buildGatewayConnectionDetails } from "./call-Du4CT1Hp.js";
|
|
17
|
+
import "./pairing-token-CURbSHdi.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
19
19
|
import "./progress-CyPyGCDn.js";
|
|
20
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
20
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-CUIXRk2t.js";
|
|
21
21
|
import { t as parseLogLine } from "./parse-log-line-DLGp7cEA.js";
|
|
22
22
|
import { setTimeout } from "node:timers/promises";
|
|
23
23
|
|
|
@@ -4218,7 +4218,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
4218
4218
|
* to bypass the min-interval guard (CLI use).
|
|
4219
4219
|
*/
|
|
4220
4220
|
async runL3CycleIfDue(params) {
|
|
4221
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-D1GUJ5qq.js"), import("./synthesis-
|
|
4221
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-D1GUJ5qq.js"), import("./synthesis-BSUjIY0v.js")]);
|
|
4222
4222
|
const synthesize = createSynthesizer({
|
|
4223
4223
|
cfg: this.cfg,
|
|
4224
4224
|
agentId: this.agentId,
|