@symerian/symi 3.3.1 → 3.3.2
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-BED0HDsS.js} +2 -5
- package/dist/{agent-DeLysRUa.js → agent-pDOR_idq.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-mZX2a3hp.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-BgCnInKE.js} +8 -8
- package/dist/{auth-choice-T77Ymi34.js → auth-choice-nKtOJ3wF.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-C2jUZyMq.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-DBKd8H2k.js} +1 -1
- package/dist/{channel-options-C1yi5h7A.js → channel-options-DRzIcaL1.js} +1 -1
- package/dist/{channels-cli-Pxe1OINS.js → channels-cli-CdfROBlW.js} +55 -55
- package/dist/{channels-cli-BYeGzy-G.js → channels-cli-CxUB3oX1.js} +10 -10
- package/dist/{chrome-FAf5DZL2.js → chrome-CejiigNy.js} +10 -10
- package/dist/{chrome-CQnRgvJz.js → chrome-b556dOQ6.js} +7 -7
- 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-CzEP9cIM.js} +7 -7
- package/dist/{cli-DFNOC2Ad.js → cli-DWcoPSRG.js} +43 -43
- package/dist/{client-Bs2zB0rY.js → client-ZZqt0H0-.js} +1 -1
- package/dist/{command-registry-BwbT4ll7.js → command-registry-5O5dCHsD.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-D4wYjxBG.js} +12 -12
- package/dist/{completion-cli-CyOSA5xZ.js → completion-cli-DqrFJhG4.js} +2 -2
- package/dist/{config-CW8aDVM0.js → config-CphS_6eg.js} +2 -2
- package/dist/{config-cli-DBU_S417.js → config-cli-BE2vvf40.js} +4 -4
- package/dist/{config-cli-DfG0nukz.js → config-cli-CfA5xnD-.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-CPY4n9mx.js} +14 -14
- package/dist/{configure-BYu2DI_6.js → configure-DYDsHAWF.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-kmnOOp9j.js → deliver-BY0HHHHB.js} +16 -16
- package/dist/{deliver-CRqS1O8w.js → deliver-DcP6aVt4.js} +1 -1
- package/dist/{deliver-Dlq2X0K5.js → deliver-i5knkyHl.js} +5 -5
- 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-D_cwpDAq.js → doctor-completion-C6M7eRb_.js} +2 -2
- package/dist/{doctor-completion-DqvmZZEo.js → doctor-completion-DkwAZ_yS.js} +1 -1
- 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 +6 -6
- 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-Dm5RZoKM.js} +97 -117
- package/dist/{gateway-cli-BYGA5ex3.js → gateway-cli-K_XVNWQc.js} +15 -35
- package/dist/{gateway-rpc-BJF1iDnx.js → gateway-rpc-CUIXRk2t.js} +1 -1
- package/dist/{glass-ui-ws-DJnV8nJK.js → glass-ui-ws-B_7JgOGU.js} +11 -11
- package/dist/{glass-ui-ws-NJNiRFL3.js → glass-ui-ws-BbsrTxei.js} +65 -65
- package/dist/{health-D59E1VfO.js → health-BdxlhiXA.js} +4 -4
- package/dist/{hooks-cli-Bidz8ACz.js → hooks-cli-D5S_h70_.js} +57 -57
- package/dist/{hooks-cli-CyjEjDSY.js → hooks-cli-DyiztpNG.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-Dsdh0rGn.js → manager-BT2SbOdg.js} +6 -6
- package/dist/{manager-9dNT9kNF.js → manager-BTtaJXdu.js} +14 -14
- package/dist/{manager-CpBl-VGg.js → manager-TrK63P2M.js} +1 -1
- package/dist/{manager-t4GthPGw.js → manager-ue49bRVP.js} +1 -1
- 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-Czxk_hJw.js} +5 -5
- package/dist/{memory-B7TJXpqS.js → memory-DJN1Q1jq.js} +2 -2
- package/dist/{memory-cli-xBZPEOeL.js → memory-cli-B-nQp5HP.js} +12 -12
- package/dist/{memory-cli-C0WA_nRS.js → memory-cli-C9ZqpaaB.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-cli-DiB4JqF2.js → models-cli-CuHQFbs7.js} +9 -9
- package/dist/{models-cli-h8h_qu3F.js → models-cli-D8rsqzuW.js} +53 -53
- package/dist/{models-config-DRgHv7Ss.js → models-config-CFUwiu4W.js} +7 -7
- package/dist/{models-IfAFy9bK.js → models-oqT-RVMM.js} +2 -2
- 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-BICXrIV1.js} +13 -13
- package/dist/{onboard-iL7Z0wKJ.js → onboard-D-xPcbdk.js} +1 -1
- package/dist/{onboard-channels-Deq8QGnM.js → onboard-channels-CiLPgwMl.js} +4 -4
- package/dist/{onboard-channels-BfzW-9vo.js → onboard-channels-IZ52XV8A.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-70YKbZi6.js → onboarding-B-jxZvC2.js} +3 -3
- package/dist/{onboarding-BjXYbWlg.js → onboarding-BmB9v20h.js} +12 -12
- package/dist/{onboarding.finalize-dU_CtL43.js → onboarding.finalize-BejpUEVe.js} +31 -31
- package/dist/{onboarding.finalize-Ch3V08eY.js → onboarding.finalize-DufFKTf4.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-DoWU3tbW.js} +17 -190
- 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-BybhOEu2.js} +3 -3
- package/dist/{plugin-registry-CP2mbhwk.js → plugin-registry-CFRFz2CF.js} +1 -1
- 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/plugin-sdk/index.js +6 -6
- package/dist/{plugins-yymezpEd.js → plugins-CcVzjOo_.js} +1 -1
- package/dist/{plugins-cli-1wkCRsFe.js → plugins-cli-D9jv4SGt.js} +8 -8
- package/dist/{plugins-cli-B_Gtx3LU.js → plugins-cli-Dw_F4XTt.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-BijlJds3.js} +13 -13
- package/dist/{program-context-C7uCS8z7.js → program-context-f_krhr6H.js} +38 -38
- package/dist/{prompt-select-styled-DcMra8CK.js → prompt-select-styled-D4Dl6PAx.js} +36 -36
- package/dist/{prompt-select-styled-BRcRFLzB.js → prompt-select-styled-wUs9hOXT.js} +4 -4
- package/dist/{provider-auth-helpers-BJTb9xI0.js → provider-auth-helpers-B0LgxUJm.js} +1 -1
- package/dist/{provider-auth-helpers-Xn1TAPPY.js → provider-auth-helpers-Dqg9CSy6.js} +5 -5
- package/dist/{push-apns-Bfqnchj6.js → push-apns-C8U43QIp.js} +1 -1
- package/dist/{push-apns-Aaqf9WKI.js → push-apns-DBG95KxK.js} +4 -4
- package/dist/{pw-ai-B3qisJP1.js → pw-ai-BFZrohva.js} +1 -1
- package/dist/{pw-ai-DJrnU1ja.js → pw-ai-BHSw4eGG.js} +8 -8
- package/dist/{pw-ai-C-ddUgTA.js → pw-ai-BW5obXRK.js} +7 -7
- 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-BqKNzdaW.js → register.agent-B0UZREcL.js} +65 -65
- package/dist/{register.agent-vAJ0_4m0.js → register.agent-BQa36aBT.js} +12 -12
- package/dist/{register.configure-7TmTqCgU.js → register.configure-C2da871z.js} +68 -68
- package/dist/{register.configure-BzgavjpU.js → register.configure-DXxKMVFv.js} +11 -11
- package/dist/{register.maintenance-6Wz4HXlm.js → register.maintenance-CU2sJOVr.js} +65 -65
- package/dist/{register.maintenance-BJO0RCk9.js → register.maintenance-DUuHNER1.js} +12 -12
- package/dist/{register.message-XYivyrQJ.js → register.message-DIDXm7JJ.js} +45 -45
- package/dist/{register.message-CW9PahRi.js → register.message-zAQ9mzwS.js} +8 -8
- package/dist/{register.onboard-BgwkmP4D.js → register.onboard-BQrBlJMk.js} +22 -22
- package/dist/{register.onboard-MWRC29wD.js → register.onboard-xApCQkav.js} +2 -2
- package/dist/{register.setup-7OoAqQG_.js → register.setup-C3DgnQee.js} +25 -25
- package/dist/{register.setup-V-arsKvb.js → register.setup-CfJlyVIU.js} +2 -2
- package/dist/{register.status-health-sessions-Bgg1sdY_.js → register.status-health-sessions-CZKtQH3R.js} +38 -38
- package/dist/{register.status-health-sessions-1VnuXhGM.js → register.status-health-sessions-D7eQHV4A.js} +3 -3
- package/dist/{register.subclis-DpPYIqkP.js → register.subclis-DBKLQ-vk.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-C_9MD69x.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-B4kcazJq.js} +57 -57
- package/dist/{server-methods-DkZ2XtEo.js → server-methods-BLH71I9g.js} +7 -7
- package/dist/{server-node-events-6dZ22EGj.js → server-node-events-BercSdmp.js} +46 -46
- package/dist/{server-node-events-BXviL2UH.js → server-node-events-DO4ug_A0.js} +9 -9
- 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-BAnT_4qI.js → status-3CIcz22o.js} +3 -3
- package/dist/{status-J_gR_zbh.js → status-BdrH4P1l.js} +1 -1
- package/dist/{status-BK-ZK7SP.js → status-DA_sl7Yp.js} +23 -23
- package/dist/{status-CmoBgZ99.js → status-uVc7h7PN.js} +1 -1
- package/dist/{status.update-Cvj7y384.js → status.update-CQ1vKrEg.js} +3 -3
- package/dist/{subagent-registry-CWolsN8K.js → subagent-registry-CgZDo35C.js} +15 -192
- 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-D3wZX5g3.js → synthesis-B_K7BSX3.js} +28 -28
- package/dist/{synthesis-DTZGPpj5.js → synthesis-DmdaBp-J.js} +6 -6
- package/dist/{synthesis-BSKiS446.js → synthesis-DwfzSD3_.js} +7 -7
- package/dist/{synthesis-CRQp5mTx.js → synthesis-w1oM0_-6.js} +43 -43
- 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-BPgxfuKU.js} +52 -225
- package/dist/{unified-runner-Cdj1nLUh.js → unified-runner-DzycRpag.js} +106 -283
- 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-C4I2k2u9.js} +12 -12
- package/dist/{update-cli-D_MLjj6j.js → update-cli-DYYKfrbM.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
|
@@ -10,7 +10,7 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
10
10
|
import { t as note$1 } from "./note-DKRm9hYC.js";
|
|
11
11
|
import { t as WizardCancelledError } from "./prompts-fhztJPuZ.js";
|
|
12
12
|
import { t as createClackPrompter } from "./clack-prompter-Cm3OvXXT.js";
|
|
13
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
13
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-IZ52XV8A.js";
|
|
14
14
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Y8XS0WGP.js";
|
|
15
15
|
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-LbRPhqLj.js";
|
|
16
16
|
import { t as resolveGatewayService } from "./service-BIixwO-v.js";
|
|
@@ -18,7 +18,7 @@ import { r as healthCommand } from "./health-CvdEEMPS.js";
|
|
|
18
18
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-B5BrwGRs.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-BeA4q4J_.js";
|
|
20
20
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DBfm0y9l.js";
|
|
21
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
21
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-nKtOJ3wF.js";
|
|
22
22
|
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-DCkIP0W7.js";
|
|
23
23
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BM4qvprK.js";
|
|
24
24
|
import { a as promptCustomApiConfig } from "./onboard-custom-C0GtEEDP.js";
|
|
@@ -2,10 +2,10 @@ import "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import "./utils-BU8jVQFM.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import { l as parseEmbedding, r as cosineSimilarity } from "./internal-
|
|
5
|
+
import { l as parseEmbedding, r as cosineSimilarity } from "./internal-CHnZdvRy.js";
|
|
6
6
|
import crypto from "node:crypto";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fs from "node:fs/promises";
|
|
9
9
|
|
|
10
10
|
//#region src/memory/consolidate.ts
|
|
11
11
|
const log = createSubsystemLogger("memory/consolidate");
|
|
@@ -346,7 +346,7 @@ async function stagePromote(params) {
|
|
|
346
346
|
};
|
|
347
347
|
const now = params.now ?? Date.now();
|
|
348
348
|
const memoryDir = path.join(params.workspaceDir, "memory");
|
|
349
|
-
await
|
|
349
|
+
await fs.mkdir(memoryDir, { recursive: true }).catch(() => {});
|
|
350
350
|
const corePath = path.join(memoryDir, "symi-core.md");
|
|
351
351
|
const beliefsPath = path.join(memoryDir, "symi-beliefs.md");
|
|
352
352
|
params.db.prepare(`UPDATE chunks SET promoted_to = NULL WHERE promoted_to = ?`).run(SYMI_CORE_PATH);
|
|
@@ -386,7 +386,7 @@ async function stagePromote(params) {
|
|
|
386
386
|
sections: sectionLines,
|
|
387
387
|
now
|
|
388
388
|
});
|
|
389
|
-
await
|
|
389
|
+
await fs.writeFile(corePath, symiCoreContent, "utf-8");
|
|
390
390
|
const merged = mergeBeliefs({
|
|
391
391
|
existing: await readExistingBeliefs(beliefsPath),
|
|
392
392
|
fresh: params.synthesizedBeliefs ?? [],
|
|
@@ -396,7 +396,7 @@ async function stagePromote(params) {
|
|
|
396
396
|
beliefs: merged,
|
|
397
397
|
now
|
|
398
398
|
});
|
|
399
|
-
await
|
|
399
|
+
await fs.writeFile(beliefsPath, symiBeliefsContent, "utf-8");
|
|
400
400
|
log.debug("consolidate.promote", {
|
|
401
401
|
promoted,
|
|
402
402
|
sections: CORE_SECTIONS.length,
|
|
@@ -596,7 +596,7 @@ function mergeBeliefs(params) {
|
|
|
596
596
|
return [...byHash.values()].toSorted((a, b) => b.confidence - a.confidence).slice(0, params.cap);
|
|
597
597
|
}
|
|
598
598
|
async function readExistingBeliefs(filePath) {
|
|
599
|
-
const content = await
|
|
599
|
+
const content = await fs.readFile(filePath, "utf-8").catch(() => "");
|
|
600
600
|
if (!content) return [];
|
|
601
601
|
const out = [];
|
|
602
602
|
for (const rawLine of content.split("\n")) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./paths-CE7eVGHg.js";
|
|
2
|
-
import "./registry-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import "./registry-C-JddWwo.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-DzRUKS9f.js";
|
|
4
4
|
import { l as parseEmbedding, r as cosineSimilarity } from "./internal-Crkye5gI.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
4
|
-
import { x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
5
|
-
import { a as resolveProfile, i as resolveBrowserConfig, n as listKnownProfileNames, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-
|
|
3
|
+
import { i as loadConfig } from "./config-CphS_6eg.js";
|
|
4
|
+
import { x as ensureChromeExtensionRelayServer } from "./chrome-owBWinlj.js";
|
|
5
|
+
import { a as resolveProfile, i as resolveBrowserConfig, n as listKnownProfileNames, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-BsMQBnUG.js";
|
|
6
6
|
|
|
7
7
|
//#region src/browser/server-lifecycle.ts
|
|
8
8
|
async function ensureExtensionRelayForProfiles(params) {
|
|
@@ -80,7 +80,7 @@ async function stopBrowserControlService() {
|
|
|
80
80
|
});
|
|
81
81
|
state = null;
|
|
82
82
|
try {
|
|
83
|
-
await (await import("./pw-ai-
|
|
83
|
+
await (await import("./pw-ai-BW5obXRK.js")).closePlaywrightBrowserConnection();
|
|
84
84
|
} catch {}
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
2
|
-
import { n as resolveSymiPackageRootSync, t as resolveSymiPackageRoot } from "./symi-root-
|
|
2
|
+
import { n as resolveSymiPackageRootSync, t as resolveSymiPackageRoot } from "./symi-root-DueRHNOE.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-DKyLtSjm.js";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
import path from "node:path";
|
|
@@ -2,26 +2,26 @@ import { A as isRich, b as danger, j as theme, k as colorize } from "./registry-
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import "./utils-BU8jVQFM.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-CPlXilKu.js";
|
|
6
6
|
import { u as sanitizeAgentId } from "./session-key-B_ZVH1kE.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
15
|
import { n as listChannelPlugins } from "./plugins-DuuHorqi.js";
|
|
16
|
-
import "./client-
|
|
17
|
-
import "./call-
|
|
18
|
-
import "./pairing-token-
|
|
16
|
+
import "./client-ZZqt0H0-.js";
|
|
17
|
+
import "./call-Du4CT1Hp.js";
|
|
18
|
+
import "./pairing-token-CURbSHdi.js";
|
|
19
19
|
import { n as formatDurationHuman } from "./format-duration-DbZRICyO.js";
|
|
20
20
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-BhvnarfO.js";
|
|
21
21
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
22
22
|
import "./progress-CyPyGCDn.js";
|
|
23
23
|
import { n as parsePositiveIntOrUndefined } from "./helpers-BER76F_2.js";
|
|
24
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
24
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-CUIXRk2t.js";
|
|
25
25
|
|
|
26
26
|
//#region src/cli/cron-cli/shared.ts
|
|
27
27
|
const getCronChannelOptions = () => ["last", ...listChannelPlugins().map((plugin) => plugin.id)].join("|");
|
|
@@ -4,26 +4,26 @@ import { d as resolveIsNixMode, g as resolveStateDir, o as resolveConfigPath, u
|
|
|
4
4
|
import { v as shortenHomePath } from "./utils-BU8jVQFM.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
7
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, r as createConfigIO } from "./config-
|
|
7
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, r as createConfigIO } from "./config-CphS_6eg.js";
|
|
8
8
|
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-LYvn9g3I.js";
|
|
9
9
|
import { u as resolveGatewayBindHost } from "./ws-CahTJvD6.js";
|
|
10
10
|
import { a as resolveGatewayAuth } from "./auth-BbwD4lRX.js";
|
|
11
|
-
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-
|
|
11
|
+
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-DqxP-bXz.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-C_V8IAYx.js";
|
|
13
|
-
import { n as callGateway } from "./call-
|
|
13
|
+
import { n as callGateway } from "./call-Du4CT1Hp.js";
|
|
14
14
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName } from "./constants-DsZw7bas.js";
|
|
15
15
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
16
16
|
import { n as withProgress } from "./progress-CyPyGCDn.js";
|
|
17
17
|
import { n as inheritOptionFromParent } from "./command-options-ChiIn6Na.js";
|
|
18
|
-
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
19
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
20
|
-
import { n as isWSLEnv } from "./wsl-
|
|
21
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
22
|
-
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-
|
|
23
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
18
|
+
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BD-3XS8R.js";
|
|
19
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-D2mWJnFB.js";
|
|
20
|
+
import { n as isWSLEnv } from "./wsl-ZWGwnnKI.js";
|
|
21
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-AP9pR9R5.js";
|
|
22
|
+
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-_BlNODTH.js";
|
|
23
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-CeavseQh.js";
|
|
24
24
|
import { t as parsePort } from "./parse-port-CykvIgQu.js";
|
|
25
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
26
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
25
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-DxdqTfpW.js";
|
|
26
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-BDzd6yBs.js";
|
|
27
27
|
|
|
28
28
|
//#region src/cli/daemon-cli/install.ts
|
|
29
29
|
async function runDaemonInstall(opts) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
2
|
-
import { N as VERSION, k as collectConfigServiceEnvVars } from "./config-
|
|
2
|
+
import { N as VERSION, k as collectConfigServiceEnvVars } from "./config-CphS_6eg.js";
|
|
3
3
|
import { a as NODE_SERVICE_MARKER, c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, i as NODE_SERVICE_KIND, m as resolveNodeLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, o as NODE_WINDOWS_TASK_SCRIPT_NAME, r as GATEWAY_SERVICE_MARKER } from "./constants-DsZw7bas.js";
|
|
4
4
|
import { n as isSupportedNodeVersion } from "./runtime-guard-BZ3_1QqS.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import { promisify } from "node:util";
|
|
8
|
-
import
|
|
8
|
+
import fs from "node:fs/promises";
|
|
9
9
|
import { execFile } from "node:child_process";
|
|
10
10
|
|
|
11
11
|
//#region src/daemon/program-args.ts
|
|
@@ -23,23 +23,23 @@ async function resolveCliEntrypointPathForService() {
|
|
|
23
23
|
const normalized = path.resolve(argv1);
|
|
24
24
|
const resolvedPath = await resolveRealpathSafe(normalized);
|
|
25
25
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(resolvedPath)) {
|
|
26
|
-
await
|
|
26
|
+
await fs.access(resolvedPath);
|
|
27
27
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(normalized) && normalized !== resolvedPath) try {
|
|
28
|
-
await
|
|
28
|
+
await fs.access(normalized);
|
|
29
29
|
return normalized;
|
|
30
30
|
} catch {}
|
|
31
31
|
return resolvedPath;
|
|
32
32
|
}
|
|
33
33
|
const distCandidates = buildDistCandidates(resolvedPath, normalized);
|
|
34
34
|
for (const candidate of distCandidates) try {
|
|
35
|
-
await
|
|
35
|
+
await fs.access(candidate);
|
|
36
36
|
return candidate;
|
|
37
37
|
} catch {}
|
|
38
38
|
throw new Error(`Cannot find built CLI at ${distCandidates.join(" or ")}. Run "pnpm build" first, or use dev mode.`);
|
|
39
39
|
}
|
|
40
40
|
async function resolveRealpathSafe(inputPath) {
|
|
41
41
|
try {
|
|
42
|
-
return await
|
|
42
|
+
return await fs.realpath(inputPath);
|
|
43
43
|
} catch {
|
|
44
44
|
return inputPath;
|
|
45
45
|
}
|
|
@@ -99,7 +99,7 @@ async function resolveBinaryPath(binary) {
|
|
|
99
99
|
try {
|
|
100
100
|
const resolved = execFileSync(cmd, [binary], { encoding: "utf8" }).trim().split(/\r?\n/)[0]?.trim();
|
|
101
101
|
if (!resolved) throw new Error("empty");
|
|
102
|
-
await
|
|
102
|
+
await fs.access(resolved);
|
|
103
103
|
return resolved;
|
|
104
104
|
} catch {
|
|
105
105
|
if (binary === "bun") throw new Error("Bun not found in PATH. Install bun: https://bun.sh");
|
|
@@ -118,7 +118,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
118
118
|
if (params.dev) {
|
|
119
119
|
const repoRoot = resolveRepoRootForDev();
|
|
120
120
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
121
|
-
await
|
|
121
|
+
await fs.access(devCliPath);
|
|
122
122
|
return {
|
|
123
123
|
programArguments: [
|
|
124
124
|
isBunRuntime(execPath) ? execPath : await resolveBunPath(),
|
|
@@ -146,7 +146,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
146
146
|
}
|
|
147
147
|
const repoRoot = resolveRepoRootForDev();
|
|
148
148
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
149
|
-
await
|
|
149
|
+
await fs.access(devCliPath);
|
|
150
150
|
if (isBunRuntime(execPath)) return {
|
|
151
151
|
programArguments: [
|
|
152
152
|
execPath,
|
|
@@ -259,7 +259,7 @@ function isSystemNodePath(nodePath, env = process.env, platform = process.platfo
|
|
|
259
259
|
async function resolveSystemNodePath(env = process.env, platform = process.platform) {
|
|
260
260
|
const candidates = buildSystemNodeCandidates(env, platform);
|
|
261
261
|
for (const candidate of candidates) try {
|
|
262
|
-
await
|
|
262
|
+
await fs.access(candidate);
|
|
263
263
|
return candidate;
|
|
264
264
|
} catch {}
|
|
265
265
|
return null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { H as createInternalHookEvent, W as triggerInternalHook, d as getActivePluginRegistry } from "./registry-DKJLAPDB.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
|
|
4
|
-
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-
|
|
4
|
+
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-DQMaURzb.js";
|
|
5
5
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DuuHorqi.js";
|
|
6
|
-
import {
|
|
6
|
+
import { n as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-BKbemuIk.js";
|
|
7
7
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-DQGU0F8t.js";
|
|
8
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
8
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-JhQs5w0I.js";
|
|
9
9
|
import { i as failDelivery, r as enqueueDelivery, t as ackDelivery } from "./delivery-queue-DDs84baU.js";
|
|
10
10
|
|
|
11
11
|
//#region src/plugins/hooks.ts
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { i as resolveGatewayPort, s as resolveStateDir, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-CE7eVGHg.js";
|
|
3
3
|
import { c as resolveAgentIdFromSessionKey, o as normalizeAgentId, p as normalizeOptionalAccountId, r as buildAgentMainSessionKey, s as normalizeMainKey, t as DEFAULT_AGENT_ID } from "./session-key-BmQ2R1ev.js";
|
|
4
|
-
import { J as resolveConfigDir, K as normalizeE164, R as resolvePreferredSymiTmpDir, Y as resolveUserPath, c as getActivePluginRegistry, g as createInternalHookEvent, t as CHANNEL_IDS, tt as truncateUtf16Safe, y as triggerInternalHook } from "./registry-
|
|
5
|
-
import { l as resolveSessionAgentId, n as resolveAgentConfig } from "./agent-scope-
|
|
6
|
-
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { _ as runExec, a as DEFAULT_SYMICORE_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_IDENTITY_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SYMIPULSE_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-
|
|
8
|
-
import { g as isPidAlive, h as resolveProcessScopedMap, tt as formatCliCommand } from "./auth-profiles-
|
|
4
|
+
import { J as resolveConfigDir, K as normalizeE164, R as resolvePreferredSymiTmpDir, Y as resolveUserPath, c as getActivePluginRegistry, g as createInternalHookEvent, t as CHANNEL_IDS, tt as truncateUtf16Safe, y as triggerInternalHook } from "./registry-C-JddWwo.js";
|
|
5
|
+
import { l as resolveSessionAgentId, n as resolveAgentConfig } from "./agent-scope-D_MtsuXX.js";
|
|
6
|
+
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DzRUKS9f.js";
|
|
7
|
+
import { _ as runExec, a as DEFAULT_SYMICORE_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_IDENTITY_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SYMIPULSE_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-CsaDUuDn.js";
|
|
8
|
+
import { g as isPidAlive, h as resolveProcessScopedMap, tt as formatCliCommand } from "./auth-profiles-duUuQXeC.js";
|
|
9
9
|
import { t as parseBooleanValue } from "./boolean-mcn6kL0s.js";
|
|
10
|
-
import { c as loadConfig, d as writeConfigFile, m as parseDurationMs, p as parseByteSize, s as createConfigIO, t as SsrFBlockedError } from "./ssrf-
|
|
11
|
-
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
12
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
10
|
+
import { c as loadConfig, d as writeConfigFile, m as parseDurationMs, p as parseByteSize, s as createConfigIO, t as SsrFBlockedError } from "./ssrf-Dcgaqg3U.js";
|
|
11
|
+
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-CejiigNy.js";
|
|
12
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-D0k4o0Ez.js";
|
|
13
13
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-BkfLlDKo.js";
|
|
14
|
-
import { b as SafeOpenError, d as extensionForMime, i as buildImageResizeSideGrid, l as resizeToJpeg, o as getImageMetadata, r as IMAGE_REDUCE_QUALITY_STEPS, t as getAgentScopedMediaLocalRoots, u as detectMime, x as openFileWithinRoot } from "./local-roots-
|
|
15
|
-
import { _ as normalizeHyphenSlug, d as getChannelDock, o as normalizeThinkLevel } from "./thinking-
|
|
16
|
-
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, v as listDeliverableMessageChannels, y as normalizeMessageChannel } from "./chunk-
|
|
14
|
+
import { b as SafeOpenError, d as extensionForMime, i as buildImageResizeSideGrid, l as resizeToJpeg, o as getImageMetadata, r as IMAGE_REDUCE_QUALITY_STEPS, t as getAgentScopedMediaLocalRoots, u as detectMime, x as openFileWithinRoot } from "./local-roots-WWcVq0Ma.js";
|
|
15
|
+
import { _ as normalizeHyphenSlug, d as getChannelDock, o as normalizeThinkLevel } from "./thinking-CMIo8E_E.js";
|
|
16
|
+
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, v as listDeliverableMessageChannels, y as normalizeMessageChannel } from "./chunk-5H33X8qU.js";
|
|
17
17
|
import { t as normalizeChatType } from "./chat-type-BPBtOjer.js";
|
|
18
18
|
import { n as resolveConversationLabel } from "./conversation-label-tLwAlqLf.js";
|
|
19
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
19
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CcVzjOo_.js";
|
|
20
20
|
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-BeAyfCRg.js";
|
|
21
21
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-JGGQViao.js";
|
|
22
|
-
import {
|
|
22
|
+
import { n as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-BBh6tlmO.js";
|
|
23
23
|
import path, { posix } from "node:path";
|
|
24
24
|
import fs, { existsSync, realpathSync } from "node:fs";
|
|
25
25
|
import os from "node:os";
|
|
@@ -938,7 +938,7 @@ function isModuleNotFoundError(err) {
|
|
|
938
938
|
}
|
|
939
939
|
async function loadPwAiModule(mode) {
|
|
940
940
|
try {
|
|
941
|
-
return await import("./pw-ai-
|
|
941
|
+
return await import("./pw-ai-BHSw4eGG.js");
|
|
942
942
|
} catch (err) {
|
|
943
943
|
if (mode === "soft") return null;
|
|
944
944
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3535,11 +3535,11 @@ function createProfileContext(opts, profile) {
|
|
|
3535
3535
|
const userDataDir = resolveSymiUserDataDir(profile.name);
|
|
3536
3536
|
const profileState = getProfileState();
|
|
3537
3537
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3538
|
-
await (await import("./pw-ai-
|
|
3538
|
+
await (await import("./pw-ai-BHSw4eGG.js")).closePlaywrightBrowserConnection();
|
|
3539
3539
|
} catch {}
|
|
3540
3540
|
if (profileState.running) await stopRunningBrowser();
|
|
3541
3541
|
try {
|
|
3542
|
-
await (await import("./pw-ai-
|
|
3542
|
+
await (await import("./pw-ai-BHSw4eGG.js")).closePlaywrightBrowserConnection();
|
|
3543
3543
|
} catch {}
|
|
3544
3544
|
if (!fs.existsSync(userDataDir)) return {
|
|
3545
3545
|
moved: false,
|
|
@@ -4,7 +4,7 @@ import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessio
|
|
|
4
4
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Bq-Msc8Z.js";
|
|
5
5
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-BySyfaEr.js";
|
|
6
6
|
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-CkcUju_2.js";
|
|
7
|
-
import {
|
|
7
|
+
import { n as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-K3kGchJA.js";
|
|
8
8
|
import { i as failDelivery, r as enqueueDelivery, t as ackDelivery } from "./delivery-queue-nheCYaMd.js";
|
|
9
9
|
|
|
10
10
|
//#region src/plugins/hooks.ts
|
|
@@ -9,10 +9,10 @@ import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
|
|
|
9
9
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Cp39v6b_.js";
|
|
10
10
|
import { _ as listDeliverableMessageChannels, c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, v as normalizeMessageChannel } from "./chunk-BjnT3w_x.js";
|
|
11
11
|
import { c as loadConfig, d as writeConfigFile, m as parseDurationMs, p as parseByteSize, s as createConfigIO, t as SsrFBlockedError } from "./ssrf-BJZIZ4yo.js";
|
|
12
|
-
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
12
|
+
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-b556dOQ6.js";
|
|
13
13
|
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-xmXjOnAV.js";
|
|
14
14
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-C6sHIFo_.js";
|
|
15
|
-
import {
|
|
15
|
+
import { C as openFileWithinRoot, S as SafeOpenError, a as IMAGE_REDUCE_QUALITY_STEPS, c as getImageMetadata, d as resizeToJpeg, f as detectMime, n as isSilentReplyText, o as buildImageResizeSideGrid, p as extensionForMime, r as getAgentScopedMediaLocalRoots, t as SILENT_REPLY_TOKEN } from "./tokens-CJgPtOxz.js";
|
|
16
16
|
import { _ as normalizeHyphenSlug, d as getChannelDock, o as normalizeThinkLevel } from "./thinking-BKsvyjWX.js";
|
|
17
17
|
import { n as resolveConversationLabel } from "./conversation-label-CPUfoQmh.js";
|
|
18
18
|
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-N698mtPE.js";
|
|
@@ -1329,7 +1329,7 @@ function isModuleNotFoundError(err) {
|
|
|
1329
1329
|
}
|
|
1330
1330
|
async function loadPwAiModule(mode) {
|
|
1331
1331
|
try {
|
|
1332
|
-
return await import("./pw-ai-
|
|
1332
|
+
return await import("./pw-ai-BFZrohva.js");
|
|
1333
1333
|
} catch (err) {
|
|
1334
1334
|
if (mode === "soft") return null;
|
|
1335
1335
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3926,11 +3926,11 @@ function createProfileContext(opts, profile) {
|
|
|
3926
3926
|
const userDataDir = resolveSymiUserDataDir(profile.name);
|
|
3927
3927
|
const profileState = getProfileState();
|
|
3928
3928
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3929
|
-
await (await import("./pw-ai-
|
|
3929
|
+
await (await import("./pw-ai-BFZrohva.js")).closePlaywrightBrowserConnection();
|
|
3930
3930
|
} catch {}
|
|
3931
3931
|
if (profileState.running) await stopRunningBrowser();
|
|
3932
3932
|
try {
|
|
3933
|
-
await (await import("./pw-ai-
|
|
3933
|
+
await (await import("./pw-ai-BFZrohva.js")).closePlaywrightBrowserConnection();
|
|
3934
3934
|
} catch {}
|
|
3935
3935
|
if (!fs.existsSync(userDataDir)) return {
|
|
3936
3936
|
moved: false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region src/cli/deps.ts
|
|
2
2
|
function createDefaultDeps() {
|
|
3
3
|
return { sendMessageSlack: async (...args) => {
|
|
4
|
-
const { sendMessageSlack } = await import("./send-
|
|
4
|
+
const { sendMessageSlack } = await import("./send-BAKkoPOy.js").then((n) => n.n);
|
|
5
5
|
return await sendMessageSlack(...args);
|
|
6
6
|
} };
|
|
7
7
|
}
|
|
@@ -2,19 +2,19 @@ import { j as theme } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import "./utils-BU8jVQFM.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-CPlXilKu.js";
|
|
6
6
|
import "./exec-DKyLtSjm.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-B_oqIiaD.js";
|
|
8
8
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
9
9
|
import "./boolean-Wzu0-e0P.js";
|
|
10
10
|
import "./env-B97Ms861.js";
|
|
11
|
-
import "./config-
|
|
11
|
+
import "./config-CphS_6eg.js";
|
|
12
12
|
import "./manifest-registry-D7Qup2Vq.js";
|
|
13
13
|
import { r as isLoopbackHost } from "./ws-CahTJvD6.js";
|
|
14
14
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-C_V8IAYx.js";
|
|
15
|
-
import { Vt as approveDevicePairing, Wt as listDevicePairing, Xt as summarizeDeviceTokens } from "./client-
|
|
16
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
17
|
-
import "./pairing-token-
|
|
15
|
+
import { Vt as approveDevicePairing, Wt as listDevicePairing, Xt as summarizeDeviceTokens } from "./client-ZZqt0H0-.js";
|
|
16
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-Du4CT1Hp.js";
|
|
17
|
+
import "./pairing-token-CURbSHdi.js";
|
|
18
18
|
import { n as formatTimeAgo } from "./format-relative-Vm-Tqk0h.js";
|
|
19
19
|
import { n as withProgress } from "./progress-CyPyGCDn.js";
|
|
20
20
|
import { t as renderTable } from "./table-DkAQzCOR.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-DzRUKS9f.js";
|
|
3
3
|
import { n as getDiagnosticSessionState } from "./diagnostic-session-state-BkfiP_y6.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
2
|
-
import
|
|
1
|
+
import { s as resolveGatewayLogPaths } from "./service-AP9pR9R5.js";
|
|
2
|
+
import fs from "node:fs/promises";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/diagnostics.ts
|
|
5
5
|
const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
@@ -11,7 +11,7 @@ const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
|
11
11
|
];
|
|
12
12
|
async function readLastLogLine(filePath) {
|
|
13
13
|
try {
|
|
14
|
-
const lines = (await
|
|
14
|
+
const lines = (await fs.readFile(filePath, "utf8")).split(/\r?\n/).map((line) => line.trim());
|
|
15
15
|
for (let i = lines.length - 1; i >= 0; i -= 1) if (lines[i]) return lines[i];
|
|
16
16
|
return null;
|
|
17
17
|
} catch {
|
|
@@ -20,8 +20,8 @@ async function readLastLogLine(filePath) {
|
|
|
20
20
|
}
|
|
21
21
|
async function readLastGatewayErrorLine(env) {
|
|
22
22
|
const { stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
23
|
-
const stderrRaw = await
|
|
24
|
-
const stdoutRaw = await
|
|
23
|
+
const stderrRaw = await fs.readFile(stderrPath, "utf8").catch(() => "");
|
|
24
|
+
const stdoutRaw = await fs.readFile(stdoutPath, "utf8").catch(() => "");
|
|
25
25
|
const lines = [...stderrRaw.split(/\r?\n/), ...stdoutRaw.split(/\r?\n/)].map((line) => line.trim());
|
|
26
26
|
for (let i = lines.length - 1; i >= 0; i -= 1) {
|
|
27
27
|
const line = lines[i];
|
|
@@ -2,13 +2,13 @@ import { b as danger, j as theme } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import "./utils-BU8jVQFM.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-CPlXilKu.js";
|
|
6
6
|
import "./exec-DKyLtSjm.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-B_oqIiaD.js";
|
|
8
8
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
9
9
|
import "./boolean-Wzu0-e0P.js";
|
|
10
10
|
import "./env-B97Ms861.js";
|
|
11
|
-
import { i as loadConfig } from "./config-
|
|
11
|
+
import { i as loadConfig } from "./config-CphS_6eg.js";
|
|
12
12
|
import "./manifest-registry-D7Qup2Vq.js";
|
|
13
13
|
import "./message-channel-C_V8IAYx.js";
|
|
14
14
|
import { t as getChannelPlugin } from "./plugins-DuuHorqi.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as normalizeStringEntries } from "./dock-CnGWTXL4.js";
|
|
2
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
2
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-mmeniyUt.js";
|
|
3
3
|
|
|
4
4
|
//#region src/security/dm-policy-shared.ts
|
|
5
5
|
async function resolveDmAllowState(params) {
|
|
@@ -2,13 +2,13 @@ import { j as theme } from "./registry-DKJLAPDB.js";
|
|
|
2
2
|
import "./paths-BSzKwaxE.js";
|
|
3
3
|
import "./utils-BU8jVQFM.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
|
|
5
|
-
import "./auth-profiles-
|
|
5
|
+
import "./auth-profiles-CPlXilKu.js";
|
|
6
6
|
import "./exec-DKyLtSjm.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-B_oqIiaD.js";
|
|
8
8
|
import "./github-copilot-token-BTNK6Tcd.js";
|
|
9
9
|
import "./boolean-Wzu0-e0P.js";
|
|
10
10
|
import "./env-B97Ms861.js";
|
|
11
|
-
import { i as loadConfig } from "./config-
|
|
11
|
+
import { i as loadConfig } from "./config-CphS_6eg.js";
|
|
12
12
|
import "./manifest-registry-D7Qup2Vq.js";
|
|
13
13
|
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-LYvn9g3I.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
@@ -7,7 +7,7 @@ import { t as runCommandWithTimeout } from "./exec-DKyLtSjm.js";
|
|
|
7
7
|
import "./boolean-Wzu0-e0P.js";
|
|
8
8
|
import "./manifest-registry-D7Qup2Vq.js";
|
|
9
9
|
import { d as hasBinary } from "./frontmatter-B6IdJ7UK.js";
|
|
10
|
-
import "./skills-
|
|
10
|
+
import "./skills-DL8DjveU.js";
|
|
11
11
|
import "./redact-CSc_2Nka.js";
|
|
12
12
|
import "./errors-Z-WkF18Q.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-CSaUKNKm.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-BvAkTjTI.js";
|
|
2
|
-
import { t as resolveSymiPackageRoot } from "./symi-root-
|
|
2
|
+
import { t as resolveSymiPackageRoot } from "./symi-root-DueRHNOE.js";
|
|
3
3
|
import { t as note } from "./note-CHrtEumO.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-D4wYjxBG.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-Xm6vX3qJ.js";
|
|
2
2
|
import { t as resolveSymiPackageRoot } from "./symi-root-CK6iELVh.js";
|
|
3
3
|
import { t as note } from "./note-DKRm9hYC.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-DqrFJhG4.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -2,17 +2,17 @@ import { f as resolveLegacyStateDirs, g as resolveStateDir, m as resolveOAuthDir
|
|
|
2
2
|
import { m as resolveHomeDir, u as isRecord } from "./utils-BU8jVQFM.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
|
|
4
4
|
import { n as DEFAULT_MAIN_KEY, o as normalizeAgentId, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey } from "./session-key-B_ZVH1kE.js";
|
|
5
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
6
|
-
import { d as SymiSchema, n as migrateLegacyConfig, o as readConfigFileSnapshot } from "./config-
|
|
7
|
-
import { l as saveSessionStore, z as canonicalizeMainSessionAlias } from "./sessions-
|
|
5
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-B_oqIiaD.js";
|
|
6
|
+
import { d as SymiSchema, n as migrateLegacyConfig, o as readConfigFileSnapshot } from "./config-CphS_6eg.js";
|
|
7
|
+
import { l as saveSessionStore, z as canonicalizeMainSessionAlias } from "./sessions-DQMaURzb.js";
|
|
8
8
|
import { t as note } from "./note-CHrtEumO.js";
|
|
9
|
-
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
9
|
+
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-BCwyDNSP.js";
|
|
10
10
|
import { t as isWithinDir } from "./path-safety-pFCZCFPp.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs";
|
|
13
13
|
import os from "node:os";
|
|
14
14
|
import JSON5 from "json5";
|
|
15
|
-
import
|
|
15
|
+
import fs$1 from "node:fs/promises";
|
|
16
16
|
|
|
17
17
|
//#region src/commands/doctor-legacy-config.ts
|
|
18
18
|
function normalizeLegacyConfigValues(cfg) {
|
|
@@ -1063,7 +1063,7 @@ async function maybeMigrateLegacyConfig() {
|
|
|
1063
1063
|
const targetDir = path.join(home, ".symi");
|
|
1064
1064
|
const targetPath = path.join(targetDir, "symi.json");
|
|
1065
1065
|
try {
|
|
1066
|
-
await
|
|
1066
|
+
await fs$1.access(targetPath);
|
|
1067
1067
|
return changes;
|
|
1068
1068
|
} catch {}
|
|
1069
1069
|
const legacyCandidates = [
|
|
@@ -1073,14 +1073,14 @@ async function maybeMigrateLegacyConfig() {
|
|
|
1073
1073
|
];
|
|
1074
1074
|
let legacyPath = null;
|
|
1075
1075
|
for (const candidate of legacyCandidates) try {
|
|
1076
|
-
await
|
|
1076
|
+
await fs$1.access(candidate);
|
|
1077
1077
|
legacyPath = candidate;
|
|
1078
1078
|
break;
|
|
1079
1079
|
} catch {}
|
|
1080
1080
|
if (!legacyPath) return changes;
|
|
1081
|
-
await
|
|
1081
|
+
await fs$1.mkdir(targetDir, { recursive: true });
|
|
1082
1082
|
try {
|
|
1083
|
-
await
|
|
1083
|
+
await fs$1.copyFile(legacyPath, targetPath, fs$1.constants.COPYFILE_EXCL);
|
|
1084
1084
|
changes.push(`Migrated legacy config: ${legacyPath} -> ${targetPath}`);
|
|
1085
1085
|
} catch {}
|
|
1086
1086
|
return changes;
|
package/dist/entry.js
CHANGED
|
@@ -2312,7 +2312,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
2312
2312
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
2313
2313
|
process$1.argv = parsed.argv;
|
|
2314
2314
|
}
|
|
2315
|
-
import("./run-main-
|
|
2315
|
+
import("./run-main-C_9MD69x.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
2316
2316
|
console.error("[symi] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
2317
2317
|
process$1.exitCode = 1;
|
|
2318
2318
|
});
|