@symerian/symi 2.6.28 → 2.6.30
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/{accounts-BRw8yhIW.js → accounts-D1r2dq1t.js} +21 -21
- package/dist/{accounts-3dCrO3oZ.js → accounts-dRUMQQrB.js} +1 -1
- package/dist/{accounts-BuZxOb3B.js → accounts-wSphH5gv.js} +1 -1
- package/dist/{active-listener-CfHHV2SU.js → active-listener-DFUTUjxt.js} +1 -1
- package/dist/{agent-scope-CpEJ0B88.js → agent-scope-D68_xfTL.js} +3 -3
- package/dist/{agents-ST-RelE_.js → agents-F62kqpkn.js} +4 -4
- package/dist/{agents.config-BJqym5bg.js → agents.config-Bra6UznM.js} +1 -1
- package/dist/{agents.config-Dz-OLfrK.js → agents.config-CQ90zDyI.js} +1 -1
- package/dist/{audio-preflight-BVaaZWkg.js → audio-preflight-Bdbm4htn.js} +29 -29
- package/dist/{audio-preflight-C40mKAp7.js → audio-preflight-CPBOQV4I.js} +4 -4
- package/dist/{auth-choice-r5NHQXLW.js → auth-choice-D1uIw27C.js} +1 -1
- package/dist/{auth-choice-D8h_fABj.js → auth-choice-X1P4E-3Z.js} +1 -1
- package/dist/{auth-profiles-DdK1Hxaa.js → auth-profiles-Bl9aU7fc.js} +17 -17
- package/dist/{banner-Bn_I7g2w.js → banner-BabW0wLs.js} +1 -1
- package/dist/{bindings-BsHoBLIE.js → bindings-Bat2RnAR.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +53 -53
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +53 -53
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-B6G1jnQT.js → channel-activity-DK0AV-r9.js} +1 -1
- package/dist/{channel-options-I_uoOZoj.js → channel-options-C64unDdQ.js} +1 -1
- package/dist/{channel-options-DwvK56mc.js → channel-options-CX-LE2dk.js} +1 -1
- package/dist/{channel-web-b0CCqrmj.js → channel-web-GzdyP40j.js} +1 -1
- package/dist/{channels-cli-BuYlQcEc.js → channels-cli-CQrhnixR.js} +4 -4
- package/dist/{channels-cli-TWQv4Aur.js → channels-cli-OymBYTkK.js} +4 -4
- package/dist/{chrome-DkaXoP36.js → chrome-BdQhP7bg.js} +21 -21
- package/dist/{chrome-CDJYxX5a.js → chrome-D2SKJnR7.js} +7 -7
- package/dist/{chunk-09egQapi.js → chunk-DR8ukp6r.js} +1 -1
- package/dist/{cli-CVwt1Fg7.js → cli-C1RjRVMT.js} +1 -1
- package/dist/{cli-Dul8S9oW.js → cli-zchCoTxI.js} +1 -1
- package/dist/{command-registry--BVAkymo.js → command-registry-D9xmmn9v.js} +9 -9
- package/dist/{commands-registry-Bfc7Uz0o.js → commands-registry-DIakZUZb.js} +4 -4
- package/dist/{completion-cli-CMPF-UWB.js → completion-cli-CdMbiAwX.js} +2 -2
- package/dist/{completion-cli-LSZGfNYt.js → completion-cli-CfhJhArh.js} +1 -1
- package/dist/{config-5SdHIcHU.js → config-CvmE3Yx1.js} +12 -12
- package/dist/{config-cli-CGl36qcO.js → config-cli-BWhToRSW.js} +1 -1
- package/dist/{config-cli-Ba5_OYLK.js → config-cli-De0w9QFu.js} +1 -1
- package/dist/{configure-BkxvX0D4.js → configure-DBPxwVXT.js} +3 -3
- package/dist/{configure-52avjwpv.js → configure-iCtE2gdv.js} +3 -3
- package/dist/control-ui/js/symipulse.js +4 -0
- package/dist/{deliver-C46-vyqg.js → deliver-BD6kFk6p.js} +20 -20
- package/dist/{deliver-BH0l3UKW.js → deliver-C-37cZUe.js} +1 -1
- package/dist/{diagnostic-rPhsBoZz.js → diagnostic-spWOtH_g.js} +1 -1
- package/dist/{doctor-completion-3JibMuKJ.js → doctor-completion-Cuy1NwzL.js} +1 -1
- package/dist/{doctor-completion-C8TRMeH9.js → doctor-completion-htc4kMhg.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{env-BDXYbTKj.js → env-xmBFQPBP.js} +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{frontmatter-CTR5f_Ez.js → frontmatter-CV0YkjoY.js} +2 -2
- package/dist/{gateway-cli-CcBKPe7-.js → gateway-cli-DxSUgxx3.js} +9 -9
- package/dist/{gateway-cli-CRAuYms0.js → gateway-cli-pIBNUJhN.js} +9 -9
- package/dist/{gemini-auth-Dy12ZAH3.js → gemini-auth-C6Z-2T42.js} +1 -1
- package/dist/{github-copilot-token-cCYzSU9h.js → github-copilot-token-B8B2pmph.js} +7 -7
- package/dist/{glass-ui-ws-B2LHyjWF.js → glass-ui-ws-B5Iw-tYt.js} +7 -7
- package/dist/{glass-ui-ws-odUDh4Ax.js → glass-ui-ws-BVcaUJ4x.js} +7 -7
- package/dist/{health-cAOv8KHf.js → health-DK1EhshZ.js} +1 -1
- package/dist/{health-DU1f-Ruq.js → health-qWkLoxz7.js} +1 -1
- package/dist/{hooks-cli-BRlCeWiG.js → hooks-cli-Bt_pfMq8.js} +2 -2
- package/dist/{hooks-cli-Dtyjf26K.js → hooks-cli-QmJBRt0j.js} +2 -2
- package/dist/{image-CuzFLQWC.js → image-CE0mENPo.js} +4 -4
- package/dist/{image-CHzdaNJ4.js → image-DcpMiprB.js} +1 -1
- package/dist/{image-ops-C7CauEK8.js → image-ops-M5agStZn.js} +16 -16
- package/dist/index.js +6 -6
- package/dist/{ir-CTiz95Vb.js → ir-B-XXcYFe.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-DhZz0Ybs.js → local-roots-CdXg5-Cx.js} +5 -5
- package/dist/{login-ul8zaw_S.js → login-BHUrERYo.js} +7 -7
- package/dist/{login-qr-AP9agO-i.js → login-qr-BKIOHn1V.js} +12 -12
- package/dist/{manager-PprhCvO_.js → manager-DW3JqFpY.js} +22 -22
- package/dist/{manifest-registry-yb7sAlu4.js → manifest-registry-0J48biqr.js} +19 -19
- package/dist/{markdown-tables-C-BmIap8.js → markdown-tables-tW9bGjLM.js} +1 -1
- package/dist/{plugin-sdk/message-channel-BdI5Ra9S.js → message-channel-DwDSKGn4.js} +1 -1
- package/dist/{models-BQL1Rx8A.js → models-CBAKijCe.js} +2 -2
- package/dist/{models-cli-iXoriT4a.js → models-cli-CtWHHvR0.js} +3 -3
- package/dist/{models-cli-BWNnBUiT.js → models-cli-DkNjxGZ8.js} +2 -2
- package/dist/{onboard-dIjmiymZ.js → onboard-BmK2-tfb.js} +2 -2
- package/dist/{onboard-channels-99ZIc6U9.js → onboard-channels-CcoMVcOs.js} +1 -1
- package/dist/{onboard-channels-C87IzN9d.js → onboard-channels-CnNA3U8_.js} +1 -1
- package/dist/{onboard-D8IHkR2A.js → onboard-wJCi24zf.js} +2 -2
- package/dist/{onboarding-DCPTymIi.js → onboarding-Cs7XncoX.js} +3 -3
- package/dist/{onboarding-B-J8KGlq.js → onboarding-GGE9UgcE.js} +3 -3
- package/dist/{onboarding.finalize-DYrKwuL6.js → onboarding.finalize-BEMefoBu.js} +6 -6
- package/dist/{onboarding.finalize-CqnM29uP.js → onboarding.finalize-CawqY9YT.js} +5 -5
- package/dist/{outbound-CtMCmwxR.js → outbound-CIVsLpJK.js} +7 -7
- package/dist/{outbound-attachment-DJldbweZ.js → outbound-attachment-CHcmlip8.js} +2 -2
- package/dist/paths-CYmyCDsE.js +212 -0
- package/dist/{paths-CbQV9WEg.js → paths-DEuVuViW.js} +1 -1
- package/dist/{pi-auth-json-Bk8ERadJ.js → pi-auth-json-BYuCWAs0.js} +8 -8
- package/dist/{pi-embedded-BpqY8Naf.js → pi-embedded-eCY-k0yS.js} +20 -18
- package/dist/{pi-embedded-helpers-lgx_U5KS.js → pi-embedded-helpers-B8kqLWns.js} +4 -4
- package/dist/{pi-embedded-helpers-CfqDGQ9J.js → pi-embedded-helpers-Pnxzi8V5.js} +73 -73
- package/dist/{plugin-registry-Cp2i5y4t.js → plugin-registry-BqSezGzv.js} +1 -1
- package/dist/{plugin-registry-D54PM8pM.js → plugin-registry-C-RHl6z7.js} +1 -1
- package/dist/plugin-sdk/{accounts-BToL3HlP.js → accounts-BtaOa4z_.js} +1 -1
- package/dist/plugin-sdk/{accounts-D9zGZU5t.js → accounts-Ddm33hQm.js} +3 -3
- package/dist/plugin-sdk/{accounts-Dtszw3Zn.js → accounts-s-AdhXVR.js} +1 -1
- package/dist/plugin-sdk/{active-listener-bEk__wbB.js → active-listener-BXYeALs0.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-C3gMMKCU.js → agent-scope-CYYpcO9W.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-CVBMpnPc.js → api-key-rotation-D_sMvI5W.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-DoQQKlxa.js → audio-preflight-VpItkiy3.js} +24 -24
- package/dist/plugin-sdk/{bindings-BbwoUGPx.js → bindings-C7hRtgYW.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-Ji7f0gqq.js → channel-activity-DoC1xtDu.js} +1 -1
- package/dist/plugin-sdk/{channel-web-DSd2f31z.js → channel-web-BOFr3AaP.js} +22 -22
- package/dist/plugin-sdk/{chrome-C7c_0I5M.js → chrome-B7RdxmJ0.js} +3 -3
- package/dist/plugin-sdk/{chunk-jvk9axTQ.js → chunk-Dw2XBYXv.js} +1 -1
- package/dist/plugin-sdk/{command-format-DSdvQ_M5.js → command-format-GKSevep4.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-CQFbmUMs.js → commands-registry-COIaslGl.js} +4 -4
- package/dist/plugin-sdk/{config-DDkdiUOR.js → config-KlTNfkFF.js} +9 -9
- package/dist/plugin-sdk/{deliver-BZ6iNLl7.js → deliver-BZ99UKQq.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-mFf4i4G9.js → diagnostic-05pm5Rxi.js} +1 -1
- package/dist/plugin-sdk/{image-BOYy0Ump.js → image-CLOPx7yW.js} +4 -4
- package/dist/plugin-sdk/{image-ops-Bnp6LXEx.js → image-ops-BlQR__MN.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-Fb3qpcis.js → ir-BJ6BHE5b.js} +4 -4
- package/dist/plugin-sdk/{local-roots-Ckk1QfzI.js → local-roots-BHLNSI8U.js} +3 -3
- package/dist/plugin-sdk/{login-Bh3DZPam.js → login-DQMXuxOk.js} +7 -7
- package/dist/plugin-sdk/{login-qr-DbR7odSr.js → login-qr-BjVZSoCi.js} +9 -9
- package/dist/plugin-sdk/{manager-DckktAQ3.js → manager-CBSBFuFz.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-B3ugY9-f.js → manifest-registry-CPnHl_K3.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-Dfaqilz6.js → markdown-tables-BoYFajMu.js} +1 -1
- package/dist/{message-channel-OlFBYAw8.js → plugin-sdk/message-channel-COTAJzHd.js} +1 -1
- package/dist/plugin-sdk/{model-selection-OpU8HN50.js → model-selection-CsbEfrS0.js} +4 -4
- package/dist/plugin-sdk/{outbound-rF6G8Xpr.js → outbound-B0e8KdaR.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DnVQfTG2.js → outbound-attachment-CnslKL38.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-CJk8t14T.js → pi-auth-json-qWi7ZIYV.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-BveUP4hk.js → pi-embedded-helpers-CW630epe.js} +17 -17
- package/dist/plugin-sdk/{plugins-BbAvhC25.js → plugins-BNByVCIH.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-DjGUsee-.js → pw-ai-CnbPIPY9.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-mjKcdwVr.js → qmd-manager-CH0XbIHf.js} +4 -4
- package/dist/plugin-sdk/{registry--_pGht6S.js → registry-D0xTnUWt.js} +2 -2
- package/dist/plugin-sdk/{replies-fI39rPGa.js → replies-LLcQL3w6.js} +3 -3
- package/dist/plugin-sdk/{reply-XQCt49hi.js → reply-B7rSYofo.js} +82 -80
- package/dist/plugin-sdk/{reply-prefix-BHuV5t70.js → reply-prefix-uxfMZW4p.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BkCUbYGV.js → resolve-outbound-target-BiyAyTWz.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-D3JH_D2N.js → resolve-route-B3CCBumQ.js} +3 -3
- package/dist/plugin-sdk/{retry-ilSJqnz9.js → retry-CwQ_iIj8.js} +1 -1
- package/dist/plugin-sdk/{runner-BVqnEfNe.js → runner-CGBT7tgF.js} +9 -9
- package/dist/plugin-sdk/{send-BtANzsAo.js → send-B2CEnVLL.js} +6 -6
- package/dist/plugin-sdk/{send-BHbXh8Ly.js → send-C5h_YxNb.js} +7 -7
- package/dist/plugin-sdk/{send-D6LMZJ_h.js → send-CRsR8-vO.js} +10 -10
- package/dist/plugin-sdk/{send-Bxdu6ZZy.js → send-CjOBB3Vo.js} +10 -10
- package/dist/plugin-sdk/{send-BMfJIhCk.js → send-pYqe432l.js} +6 -6
- package/dist/plugin-sdk/{session-kI0tzViQ.js → session-BsOrxiMj.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-DCNXVERE.js → skill-commands-ff_01_r3.js} +5 -5
- package/dist/plugin-sdk/{skills-B1GeRYlu.js → skills-_yTP47Cd.js} +7 -7
- package/dist/plugin-sdk/{sqlite-Cq_7Cg4E.js → sqlite-CxAR5ttJ.js} +1 -1
- package/dist/plugin-sdk/{store-Do3t33-c.js → store-BdrNabcU.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Coz2AgU8.js → subsystem-B2uDN3TV.js} +1 -1
- package/dist/plugin-sdk/{tables-DR0NmBeH.js → tables-DNwXwNFa.js} +1 -1
- package/dist/plugin-sdk/{target-errors-B7YyMnIi.js → target-errors-Paro1BjP.js} +2 -2
- package/dist/plugin-sdk/{thinking-DCNUIAHY.js → thinking-CXqf7WTe.js} +5 -5
- package/dist/{tokens-Bux9Y_xD.js → plugin-sdk/tokens-bC3UVmVH.js} +1 -1
- package/dist/{tool-images-SqqWIT22.js → plugin-sdk/tool-images-HJ2sfZDV.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-DU5sTIKg.js → tool-loop-detection-at_K42K7.js} +2 -2
- package/dist/plugin-sdk/web-iaHlqNQD.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-CcBzDuL-.js → whatsapp-actions-DfseosPO.js} +21 -21
- package/dist/{plugins-BzmbgY7s.js → plugins-Bkr5ZdYs.js} +9 -9
- package/dist/{plugins-cli-BK2oAIgt.js → plugins-cli-D5l8DCUo.js} +2 -2
- package/dist/{plugins-cli-DPVj7Ll8.js → plugins-cli-DIKVN1j-.js} +2 -2
- package/dist/{program-Cs6SC0Y3.js → program-DKp_gWvH.js} +7 -7
- package/dist/{program-context-9l2VE3gk.js → program-context-CJO5zWl7.js} +17 -17
- package/dist/{prompt-select-styled-BEblj71P.js → prompt-select-styled-CuDVrio_.js} +4 -4
- package/dist/{prompt-select-styled-0rN-Bjc0.js → prompt-select-styled-Drbf4MLf.js} +4 -4
- package/dist/{provider-auth-helpers-BMmt5mEA.js → provider-auth-helpers-D0JrH_QE.js} +1 -1
- package/dist/{provider-auth-helpers-K5FZKmUs.js → provider-auth-helpers-ku70HLId.js} +1 -1
- package/dist/{push-apns-DkYs830G.js → push-apns-DWLiMsGQ.js} +1 -1
- package/dist/{push-apns-c1qXclcv.js → push-apns-DZvXSHuB.js} +1 -1
- package/dist/{pw-ai-De-KR9_s.js → pw-ai-1htA-NnS.js} +1 -1
- package/dist/{pw-ai-m0mj2KWK.js → pw-ai-BA-fJnJc.js} +11 -11
- package/dist/{qmd-manager-iDLSiI4Z.js → qmd-manager-BKu9rOuB.js} +7 -7
- package/dist/{register.agent-CMteZ9CA.js → register.agent-CW-Jt26a.js} +5 -5
- package/dist/{register.agent-B39c6eVV.js → register.agent-Dr-AvNVj.js} +6 -6
- package/dist/{register.configure-DNdw3aHr.js → register.configure-CPykN4LB.js} +6 -6
- package/dist/{register.configure-BPxWBOcN.js → register.configure-D3_5DZTq.js} +6 -6
- package/dist/{register.maintenance-BpLQ73q6.js → register.maintenance-BOxfAudK.js} +7 -7
- package/dist/{register.maintenance-DnLb4_pC.js → register.maintenance-BValTiSe.js} +8 -8
- package/dist/{register.message-CeZGfAG1.js → register.message-BzVaP85q.js} +2 -2
- package/dist/{register.message-DFEhBqvI.js → register.message-lbfcALgz.js} +2 -2
- package/dist/{register.onboard-Bbu2o5v-.js → register.onboard-B_CORRMq.js} +4 -4
- package/dist/{register.onboard-XELS-V90.js → register.onboard-CxhJjGFr.js} +4 -4
- package/dist/{register.setup-BbBvDDru.js → register.setup-CYeKu0ru.js} +4 -4
- package/dist/{register.setup-CLE7PdHv.js → register.setup-DeT-WyJj.js} +4 -4
- package/dist/{register.status-health-sessions-7zhAiHx0.js → register.status-health-sessions-BrNEfd3r.js} +3 -3
- package/dist/{register.status-health-sessions-D4qCiL0J.js → register.status-health-sessions-CYwrV6QO.js} +3 -3
- package/dist/{register.subclis-DovpQkAb.js → register.subclis-BCcY1GJC.js} +9 -9
- package/dist/{registry-DYq1AYOv.js → registry-UkL38jvt.js} +17 -17
- package/dist/{replies-LSmuwOhA.js → replies-mfnbLu2p.js} +3 -3
- package/dist/{reply-TUgh96BH.js → reply-BNLTgD0A.js} +6 -4
- package/dist/{reply-prefix-DpqZu44Z.js → reply-prefix-DkGsdyBm.js} +1 -1
- package/dist/{resolve-route-C4_I4GFI.js → resolve-route-q8AFnU5c.js} +4 -4
- package/dist/{retry-BBVXkKBV.js → retry-CqMeDhyp.js} +1 -1
- package/dist/{run-main-BPf5aLAC.js → run-main-BVSVpxZ3.js} +14 -14
- package/dist/{runner-DUBExAb5.js → runner-BcQ0sF9T.js} +1 -1
- package/dist/{runner-CU9l0uJh.js → runner-BnAUcMiq.js} +22 -22
- package/dist/{send-DYj_o4_F.js → send-B7z8CDbr.js} +18 -18
- package/dist/{send-CQAKg_12.js → send-Cd81AY_Z.js} +7 -7
- package/dist/{send-CvhXrdgS.js → send-D3zDmQim.js} +10 -10
- package/dist/{send-DAN9hA5h.js → send-XRUYukww.js} +6 -6
- package/dist/{send-CVMyYPQw.js → send-qItpAHcI.js} +6 -6
- package/dist/{server-methods-DAkx0Jqj.js → server-methods-BYcfPp30.js} +7 -7
- package/dist/{server-methods-DFuRwfyn.js → server-methods-BhRjuKEM.js} +7 -7
- package/dist/{server-node-events-CwxdrTiK.js → server-node-events-BEzZn2VI.js} +2 -2
- package/dist/{server-node-events-BiFHrjUb.js → server-node-events-BsPi-QDx.js} +2 -2
- package/dist/{session-DSU1vxxi.js → session-Dh2wWQkD.js} +8 -8
- package/dist/{skill-commands-DcVwOafC.js → skill-commands-B_f8uGi7.js} +16 -16
- package/dist/{skills-Bs0AW1g3.js → skills-CGHRETGF.js} +24 -24
- package/dist/{sqlite-D_mz1_-y.js → sqlite-Bv87EXeg.js} +16 -16
- package/dist/{status-QRydo-7w.js → status-BB7l5YGy.js} +2 -2
- package/dist/{status-C42zRdTE.js → status-BZgA_AUW.js} +1 -1
- package/dist/{status-DLT_0K6s.js → status-C7VswIJF.js} +1 -1
- package/dist/{status-v1fz4XO0.js → status-D9MVzUtM.js} +2 -2
- package/dist/{store-01F_JM7O.js → store-Ea3zM6xK.js} +6 -6
- package/dist/{subagent-registry-btvK-uGU.js → subagent-registry-CT87UyVy.js} +6 -4
- package/dist/{subsystem-BjyjJF-d.js → subsystem-DN75fnEF.js} +1 -1
- package/dist/{tables-qMwbq29u.js → tables-BX7_aBvN.js} +1 -1
- package/dist/{target-errors-Bbr9rlzN.js → target-errors-7KhTCTdS.js} +2 -2
- package/dist/{thinking-BprCy23Z.js → thinking-C9-JAUzD.js} +5 -5
- package/dist/{plugin-sdk/tokens-CWMflosr.js → tokens-BZGy4v--.js} +1 -1
- package/dist/{plugin-sdk/tool-images-D7Lno-TE.js → tool-images-B1qVCntj.js} +2 -2
- package/dist/{tool-loop-detection-DR_rrIA1.js → tool-loop-detection-C8FBZVVx.js} +3 -3
- package/dist/{unified-runner-BzcXoZmB.js → unified-runner-LSPKHmvx.js} +228 -226
- package/dist/{update-cli-CCo0jjlD.js → update-cli-DEbsukOW.js} +8 -8
- package/dist/{update-cli-JXIAh9-v.js → update-cli-Dyg_WetV.js} +7 -7
- package/dist/{update-runner-CNBdOfqY.js → update-runner-3-pTGczW.js} +1 -1
- package/dist/{update-runner-Dy2tM0ZX.js → update-runner-DYuIPErv.js} +1 -1
- package/dist/{web-PvQddZps.js → web-Bu_faeV-.js} +6 -6
- package/dist/{web-Bn27WNAv.js → web-CB7FYstW.js} +1 -1
- package/dist/{web-Bhv2j2Bf.js → web-DyvSF1Pu.js} +57 -57
- package/dist/{web-BB6PGgjn.js → web-Q47zU0qb.js} +2 -2
- package/dist/{whatsapp-actions-BIeSWsCF.js → whatsapp-actions-SXenaJIn.js} +23 -23
- package/dist/{workspace-DscDraUb.js → workspace-DqJ5h-ZB.js} +27 -27
- package/extensions/bluebubbles/node_modules/.bin/symi +0 -0
- package/extensions/copilot-proxy/node_modules/.bin/symi +0 -0
- package/extensions/diagnostics-otel/node_modules/.bin/acorn +0 -0
- package/extensions/diagnostics-otel/node_modules/.bin/symi +0 -0
- package/extensions/discord/node_modules/.bin/symi +0 -0
- package/extensions/feishu/node_modules/.bin/symi +0 -0
- package/extensions/google-antigravity-auth/node_modules/.bin/symi +0 -0
- package/extensions/google-gemini-cli-auth/node_modules/.bin/symi +0 -0
- package/extensions/googlechat/node_modules/.bin/symi +0 -0
- package/extensions/imessage/node_modules/.bin/symi +0 -0
- package/extensions/irc/node_modules/.bin/symi +0 -0
- package/extensions/learning-loop/node_modules/.bin/symi +0 -0
- package/extensions/line/node_modules/.bin/symi +0 -0
- package/extensions/matrix/node_modules/.bin/markdown-it +0 -0
- package/extensions/matrix/node_modules/.bin/symi +0 -0
- package/extensions/mattermost/node_modules/.bin/symi +0 -0
- package/extensions/memory-core/node_modules/.bin/symi +0 -0
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +0 -0
- package/extensions/memory-lancedb/node_modules/.bin/openai +0 -0
- package/extensions/memory-lancedb/node_modules/.bin/symi +0 -0
- package/extensions/minimax-portal-auth/node_modules/.bin/symi +0 -0
- package/extensions/msteams/node_modules/.bin/symi +0 -0
- package/extensions/nextcloud-talk/node_modules/.bin/symi +0 -0
- package/extensions/nostr/node_modules/.bin/symi +0 -0
- package/extensions/nostr/node_modules/.bin/tsc +0 -0
- package/extensions/nostr/node_modules/.bin/tsserver +0 -0
- package/extensions/signal/node_modules/.bin/symi +0 -0
- package/extensions/slack/node_modules/.bin/symi +0 -0
- package/extensions/telegram/node_modules/.bin/symi +0 -0
- package/extensions/tlon/node_modules/.bin/symi +0 -0
- package/extensions/twitch/node_modules/.bin/symi +0 -0
- package/extensions/voice-call/node_modules/.bin/symi +0 -0
- package/extensions/whatsapp/node_modules/.bin/symi +0 -0
- package/extensions/zalo/node_modules/.bin/symi +0 -0
- package/extensions/zalouser/node_modules/.bin/symi +0 -0
- package/package.json +113 -83
- package/skills/nano-banana-pro/scripts/generate_image.py +0 -0
- package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +0 -0
- package/skills/tmux/scripts/find-sessions.sh +0 -0
- package/skills/tmux/scripts/wait-for-text.sh +0 -0
- package/dist/plugin-sdk/web--1cVrQ1K.js +0 -65
|
@@ -16,7 +16,7 @@ import "./client-DMBZpU6X.js";
|
|
|
16
16
|
import "./call-BcE47FtD.js";
|
|
17
17
|
import "./message-channel-C9dERklz.js";
|
|
18
18
|
import "./pairing-token-Byh6drgn.js";
|
|
19
|
-
import { Ct as trimLogTail } from "./subagent-registry-
|
|
19
|
+
import { Ct as trimLogTail } from "./subagent-registry-CT87UyVy.js";
|
|
20
20
|
import "./sessions-CJXnZVjR.js";
|
|
21
21
|
import "./tokens-Csntmwwn.js";
|
|
22
22
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -111,10 +111,10 @@ import "./npm-registry-spec-DkaZNHAW.js";
|
|
|
111
111
|
import "./skill-scanner-BGWOBqLY.js";
|
|
112
112
|
import "./installs-CgQpVncj.js";
|
|
113
113
|
import "./channels-status-issues-c7qZbYG5.js";
|
|
114
|
-
import "./register.subclis-
|
|
115
|
-
import "./command-registry
|
|
114
|
+
import "./register.subclis-BCcY1GJC.js";
|
|
115
|
+
import "./command-registry-D9xmmn9v.js";
|
|
116
116
|
import "./program-context-CqzR_m-7.js";
|
|
117
|
-
import { r as installCompletion } from "./completion-cli-
|
|
117
|
+
import { r as installCompletion } from "./completion-cli-CdMbiAwX.js";
|
|
118
118
|
import "./daemon-runtime-CfRwa6qh.js";
|
|
119
119
|
import { r as parseSemver } from "./runtime-guard-D7waq_Ho.js";
|
|
120
120
|
import "./systemd-DlMdyFDY.js";
|
|
@@ -124,19 +124,19 @@ import "./systemd-hints-sQipWGd1.js";
|
|
|
124
124
|
import { i as runDaemonInstall, r as runDaemonRestart } from "./daemon-cli-wWnBIQtk.js";
|
|
125
125
|
import "./diagnostics-CS1ov_hH.js";
|
|
126
126
|
import { t as renderTable } from "./table-D01d2GuY.js";
|
|
127
|
-
import "./health-
|
|
127
|
+
import "./health-qWkLoxz7.js";
|
|
128
128
|
import "./control-ui-assets-BseSWee1.js";
|
|
129
129
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, d as formatUpdateChannelLabel, g as resolveUpdateChannelDisplay, h as resolveEffectiveUpdateChannel, m as normalizeUpdateChannel, n as compareSemverStrings, r as fetchNpmTagVersion, s as DEFAULT_GIT_CHANNEL, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-ZdimP1aU.js";
|
|
130
130
|
import "./dm-policy-shared-DJ-61hCT.js";
|
|
131
131
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-DbmZz0Aq.js";
|
|
132
|
-
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-
|
|
132
|
+
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-DYuIPErv.js";
|
|
133
133
|
import "./logging-BGewRZy0.js";
|
|
134
134
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-DEMKx4eC.js";
|
|
135
135
|
import "./doctor-config-flow-CA3eiKhd.js";
|
|
136
136
|
import "./systemd-linger-DA_LW52P.js";
|
|
137
137
|
import "./health-format-CzgUHmmX.js";
|
|
138
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
139
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
138
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-CuDVrio_.js";
|
|
139
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-htc4kMhg.js";
|
|
140
140
|
import { spawn, spawnSync } from "node:child_process";
|
|
141
141
|
import os from "node:os";
|
|
142
142
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, h as pathExists } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { V as trimLogTail } from "./reply-
|
|
4
|
+
import { V as trimLogTail } from "./reply-BNLTgD0A.js";
|
|
5
5
|
import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
|
|
6
6
|
import "./registry-Cja8eT7G.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
@@ -106,7 +106,7 @@ import "./stagger-BUClb97_.js";
|
|
|
106
106
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName } from "./constants-C8_BLnaW.js";
|
|
107
107
|
import "./channel-selection-DuWs0Aak.js";
|
|
108
108
|
import { r as parseSemver } from "./runtime-guard-B37eizu-.js";
|
|
109
|
-
import "./program-context-
|
|
109
|
+
import "./program-context-CJO5zWl7.js";
|
|
110
110
|
import "./catalog-RiADx7MA.js";
|
|
111
111
|
import "./skills-status-CURJKnyY.js";
|
|
112
112
|
import { n as inheritOptionFromParent } from "./command-options-BtDai3oC.js";
|
|
@@ -117,7 +117,7 @@ import "./npm-registry-spec-C2JDdSZS.js";
|
|
|
117
117
|
import "./skill-scanner-CLs8u6vQ.js";
|
|
118
118
|
import "./installs-C1Cebk97.js";
|
|
119
119
|
import "./channels-status-issues-B_kBkl_u.js";
|
|
120
|
-
import { r as installCompletion } from "./completion-cli-
|
|
120
|
+
import { r as installCompletion } from "./completion-cli-CfhJhArh.js";
|
|
121
121
|
import "./daemon-runtime-2mwX-jqj.js";
|
|
122
122
|
import "./systemd-riq8uNJQ.js";
|
|
123
123
|
import { t as resolveGatewayService } from "./service-Cl74hx8J.js";
|
|
@@ -126,19 +126,19 @@ import "./systemd-hints-BR6gChwm.js";
|
|
|
126
126
|
import { i as runDaemonInstall, r as runDaemonRestart } from "./daemon-cli-DscwlsKW.js";
|
|
127
127
|
import "./diagnostics-BAMlsVVX.js";
|
|
128
128
|
import { t as renderTable } from "./table-BTgkRafz.js";
|
|
129
|
-
import "./health-
|
|
129
|
+
import "./health-DK1EhshZ.js";
|
|
130
130
|
import "./control-ui-assets-Z947tKLt.js";
|
|
131
131
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, d as formatUpdateChannelLabel, g as resolveUpdateChannelDisplay, h as resolveEffectiveUpdateChannel, m as normalizeUpdateChannel, n as compareSemverStrings, r as fetchNpmTagVersion, s as DEFAULT_GIT_CHANNEL, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-CtckACbb.js";
|
|
132
132
|
import "./dm-policy-shared-Bh3TbexU.js";
|
|
133
133
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-DtwCUTf-.js";
|
|
134
|
-
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-
|
|
134
|
+
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-3-pTGczW.js";
|
|
135
135
|
import "./logging-BzzwiKjv.js";
|
|
136
136
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-rw7wJwHd.js";
|
|
137
137
|
import "./doctor-config-flow-QnaBd8kL.js";
|
|
138
138
|
import "./systemd-linger-aQ75ZlXY.js";
|
|
139
139
|
import "./health-format-DSwnXZPU.js";
|
|
140
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
141
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
140
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-Drbf4MLf.js";
|
|
141
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-Cuy1NwzL.js";
|
|
142
142
|
import os from "node:os";
|
|
143
143
|
import path from "node:path";
|
|
144
144
|
import fs from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as pathExists } from "./utils-B-0b9bGM.js";
|
|
2
|
-
import { V as trimLogTail } from "./reply-
|
|
2
|
+
import { V as trimLogTail } from "./reply-BNLTgD0A.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-CWkblSrI.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-Z947tKLt.js";
|
|
5
5
|
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-CtckACbb.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { nt as pathExists } from "./entry.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-CBKBIMpA.js";
|
|
3
|
-
import { Ct as trimLogTail } from "./subagent-registry-
|
|
3
|
+
import { Ct as trimLogTail } from "./subagent-registry-CT87UyVy.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-BseSWee1.js";
|
|
5
5
|
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-ZdimP1aU.js";
|
|
6
6
|
import os from "node:os";
|
|
@@ -8,13 +8,13 @@ import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createR
|
|
|
8
8
|
import "./github-copilot-token-BbsJ0Qbo.js";
|
|
9
9
|
import { r as formatCliCommand } from "./env-CQ_DQOwT.js";
|
|
10
10
|
import "./tokens-Cn6drXx2.js";
|
|
11
|
-
import { C as shouldComputeCommandAuthorized, S as hasControlCommand, T as normalizeMentionText, _ as enqueueSystemEvent, a as DEFAULT_GROUP_HISTORY_LIMIT, b as formatInboundEnvelope, c as shouldAckReactionForWhatsApp, d as createDedupeCache, f as getReplyFromConfig, g as formatDurationPrecise, h as parseActivationCommand, i as resolveMentionGating, l as dispatchReplyWithBufferedBlockDispatcher, m as normalizeGroupActivation, n as sleepWithAbort, o as buildHistoryContextFromEntries, r as buildPairingReply, s as recordPendingHistoryEntryIfEnabled, t as computeBackoff, v as createInboundDebouncer, w as buildMentionRegexes, x as resolveEnvelopeFormatOptions, y as resolveInboundDebounceMs } from "./pi-embedded-
|
|
11
|
+
import { C as shouldComputeCommandAuthorized, S as hasControlCommand, T as normalizeMentionText, _ as enqueueSystemEvent, a as DEFAULT_GROUP_HISTORY_LIMIT, b as formatInboundEnvelope, c as shouldAckReactionForWhatsApp, d as createDedupeCache, f as getReplyFromConfig, g as formatDurationPrecise, h as parseActivationCommand, i as resolveMentionGating, l as dispatchReplyWithBufferedBlockDispatcher, m as normalizeGroupActivation, n as sleepWithAbort, o as buildHistoryContextFromEntries, r as buildPairingReply, s as recordPendingHistoryEntryIfEnabled, t as computeBackoff, v as createInboundDebouncer, w as buildMentionRegexes, x as resolveEnvelopeFormatOptions, y as resolveInboundDebounceMs } from "./pi-embedded-eCY-k0yS.js";
|
|
12
12
|
import "./plugins-71oIavrF.js";
|
|
13
13
|
import { i as logWebSelfId, l as readWebSelfId, n as WA_WEB_AUTH_DIR, p as webAuthExists, r as getWebAuthAgeMs, s as pickWebChannel, t as resolveWhatsAppAccount } from "./accounts-DDEyGwby.js";
|
|
14
14
|
import "./bindings-DYVakimr.js";
|
|
15
15
|
import "./send-D-hWrHoH.js";
|
|
16
16
|
import "./send-C1IYd3g7.js";
|
|
17
|
-
import "./deliver-
|
|
17
|
+
import "./deliver-C-37cZUe.js";
|
|
18
18
|
import "./diagnostic-D0xmLpej.js";
|
|
19
19
|
import "./diagnostic-session-state-C1vRJs5w.js";
|
|
20
20
|
import "./accounts-8zZqL37v.js";
|
|
@@ -22,10 +22,10 @@ import { G as formatLocationText, J as readChannelAllowFromStore, K as toLocatio
|
|
|
22
22
|
import "./image-ops-ByaQt43P.js";
|
|
23
23
|
import "./pi-model-discovery-j5tVLINv.js";
|
|
24
24
|
import "./message-channel-BQINJQIT.js";
|
|
25
|
-
import { Ct as resolveGroupSessionKey, H as loadSessionStore, K as updateLastRoute, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-
|
|
25
|
+
import { Ct as resolveGroupSessionKey, H as loadSessionStore, K as updateLastRoute, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-B8kqLWns.js";
|
|
26
26
|
import { n as loadConfig } from "./config-BmV60pPT.js";
|
|
27
27
|
import "./manifest-registry-D-mTF1cj.js";
|
|
28
|
-
import "./chrome-
|
|
28
|
+
import "./chrome-D2SKJnR7.js";
|
|
29
29
|
import "./skills-BNpGMnp-.js";
|
|
30
30
|
import "./redact-1NGYV_8p.js";
|
|
31
31
|
import "./errors-CPfngF0S.js";
|
|
@@ -35,7 +35,7 @@ import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy
|
|
|
35
35
|
import "./accounts-DImOt9jX.js";
|
|
36
36
|
import { s as resolveStorePath } from "./paths-DkMamAQ-.js";
|
|
37
37
|
import "./tool-images-ChC2CXaN.js";
|
|
38
|
-
import "./image-
|
|
38
|
+
import "./image-DcpMiprB.js";
|
|
39
39
|
import "./manager-jpn5vRTY.js";
|
|
40
40
|
import "./gemini-auth-CSlZZ1Pw.js";
|
|
41
41
|
import "./sqlite-BNh23mUR.js";
|
|
@@ -49,7 +49,7 @@ import "./render-B1VqYyvo.js";
|
|
|
49
49
|
import "./commands-registry-C_aYUwpl.js";
|
|
50
50
|
import "./skill-commands-DklY7Cj7.js";
|
|
51
51
|
import { t as finalizeInboundContext } from "./inbound-context-QOi5vzUt.js";
|
|
52
|
-
import { p as registerUnhandledRejectionHandler } from "./runner-
|
|
52
|
+
import { p as registerUnhandledRejectionHandler } from "./runner-BcQ0sF9T.js";
|
|
53
53
|
import "./fetch-DtLn7YU3.js";
|
|
54
54
|
import { n as recordChannelActivity } from "./channel-activity-D9q-fIPB.js";
|
|
55
55
|
import { t as convertMarkdownTables } from "./tables-COnZ169v.js";
|
|
@@ -15,7 +15,7 @@ import "./client-DMBZpU6X.js";
|
|
|
15
15
|
import "./call-BcE47FtD.js";
|
|
16
16
|
import "./message-channel-C9dERklz.js";
|
|
17
17
|
import "./pairing-token-Byh6drgn.js";
|
|
18
|
-
import { Bn as resolveEnvelopeFormatOptions, Cn as enqueueSystemEvent, F as buildHistoryContextFromEntries, Hn as hasControlCommand, I as recordPendingHistoryEntryIfEnabled, Kn as buildMentionRegexes, L as shouldAckReactionForWhatsApp, Ln as createInboundDebouncer, M as buildPairingReply, N as resolveMentionGating, P as DEFAULT_GROUP_HISTORY_LIMIT, R as dispatchReplyWithBufferedBlockDispatcher, Rn as resolveInboundDebounceMs, U as createDedupeCache, Un as shouldComputeCommandAuthorized, W as getReplyFromConfig, b as sleepWithAbort, nn as parseActivationCommand, qn as normalizeMentionText, tn as normalizeGroupActivation, y as computeBackoff, zn as formatInboundEnvelope } from "./subagent-registry-
|
|
18
|
+
import { Bn as resolveEnvelopeFormatOptions, Cn as enqueueSystemEvent, F as buildHistoryContextFromEntries, Hn as hasControlCommand, I as recordPendingHistoryEntryIfEnabled, Kn as buildMentionRegexes, L as shouldAckReactionForWhatsApp, Ln as createInboundDebouncer, M as buildPairingReply, N as resolveMentionGating, P as DEFAULT_GROUP_HISTORY_LIMIT, R as dispatchReplyWithBufferedBlockDispatcher, Rn as resolveInboundDebounceMs, U as createDedupeCache, Un as shouldComputeCommandAuthorized, W as getReplyFromConfig, b as sleepWithAbort, nn as parseActivationCommand, qn as normalizeMentionText, tn as normalizeGroupActivation, y as computeBackoff, zn as formatInboundEnvelope } from "./subagent-registry-CT87UyVy.js";
|
|
19
19
|
import { B as resolveGroupSessionKey, c as recordSessionMetaFromInbound, o as loadSessionStore, s as readSessionUpdatedAt, u as updateLastRoute } from "./sessions-CJXnZVjR.js";
|
|
20
20
|
import "./tokens-Csntmwwn.js";
|
|
21
21
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import "./paths-
|
|
1
|
+
import "./paths-CYmyCDsE.js";
|
|
2
2
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { A as isSelfChatMode, B as sleep, C as clamp, F as resolveJidToE164, H as toWhatsappJid, J as logVerbose, M as normalizeE164, Z as shouldLogVerbose, j as jidToE164, rt as getChildLogger } from "./registry-
|
|
4
|
-
import "./agent-scope-
|
|
5
|
-
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import "./workspace-
|
|
7
|
-
import { C as resolveEnvelopeFormatOptions, D as normalizeMentionText, E as buildMentionRegexes, S as formatInboundEnvelope, T as shouldComputeCommandAuthorized, _ as parseActivationCommand, b as createInboundDebouncer, c as DEFAULT_GROUP_HISTORY_LIMIT, d as shouldAckReactionForWhatsApp, f as dispatchReplyWithBufferedBlockDispatcher, g as normalizeGroupActivation, h as getReplyFromConfig, l as buildHistoryContextFromEntries, m as createDedupeCache, n as computeBackoff, o as buildPairingReply, r as sleepWithAbort, s as resolveMentionGating, u as recordPendingHistoryEntryIfEnabled, v as formatDurationPrecise, w as hasControlCommand, x as resolveInboundDebounceMs, y as enqueueSystemEvent } from "./unified-runner-
|
|
8
|
-
import { s as resolveStorePath } from "./paths-
|
|
9
|
-
import "./auth-profiles-
|
|
10
|
-
import { n as formatCliCommand } from "./env-
|
|
11
|
-
import "./github-copilot-token-
|
|
3
|
+
import { A as isSelfChatMode, B as sleep, C as clamp, F as resolveJidToE164, H as toWhatsappJid, J as logVerbose, M as normalizeE164, Z as shouldLogVerbose, j as jidToE164, rt as getChildLogger } from "./registry-UkL38jvt.js";
|
|
4
|
+
import "./agent-scope-D68_xfTL.js";
|
|
5
|
+
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DN75fnEF.js";
|
|
6
|
+
import "./workspace-DqJ5h-ZB.js";
|
|
7
|
+
import { C as resolveEnvelopeFormatOptions, D as normalizeMentionText, E as buildMentionRegexes, S as formatInboundEnvelope, T as shouldComputeCommandAuthorized, _ as parseActivationCommand, b as createInboundDebouncer, c as DEFAULT_GROUP_HISTORY_LIMIT, d as shouldAckReactionForWhatsApp, f as dispatchReplyWithBufferedBlockDispatcher, g as normalizeGroupActivation, h as getReplyFromConfig, l as buildHistoryContextFromEntries, m as createDedupeCache, n as computeBackoff, o as buildPairingReply, r as sleepWithAbort, s as resolveMentionGating, u as recordPendingHistoryEntryIfEnabled, v as formatDurationPrecise, w as hasControlCommand, x as resolveInboundDebounceMs, y as enqueueSystemEvent } from "./unified-runner-LSPKHmvx.js";
|
|
8
|
+
import { s as resolveStorePath } from "./paths-DEuVuViW.js";
|
|
9
|
+
import "./auth-profiles-Bl9aU7fc.js";
|
|
10
|
+
import { n as formatCliCommand } from "./env-xmBFQPBP.js";
|
|
11
|
+
import "./github-copilot-token-B8B2pmph.js";
|
|
12
12
|
import "./boolean-CE7i9tBR.js";
|
|
13
|
-
import { Ct as resolveGroupSessionKey, G as updateLastRoute, H as loadSessionStore, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-
|
|
14
|
-
import { n as loadConfig } from "./config-
|
|
15
|
-
import "./manifest-registry-
|
|
16
|
-
import "./chrome-
|
|
17
|
-
import "./frontmatter-
|
|
18
|
-
import "./skills-
|
|
13
|
+
import { Ct as resolveGroupSessionKey, G as updateLastRoute, H as loadSessionStore, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-Pnxzi8V5.js";
|
|
14
|
+
import { n as loadConfig } from "./config-CvmE3Yx1.js";
|
|
15
|
+
import "./manifest-registry-0J48biqr.js";
|
|
16
|
+
import "./chrome-BdQhP7bg.js";
|
|
17
|
+
import "./frontmatter-CV0YkjoY.js";
|
|
18
|
+
import "./skills-CGHRETGF.js";
|
|
19
19
|
import "./redact-BDMXB06K.js";
|
|
20
20
|
import "./errors-XIsvXeC-.js";
|
|
21
|
-
import "./image-ops-
|
|
21
|
+
import "./image-ops-M5agStZn.js";
|
|
22
22
|
import "./ssrf-DpUUUgkK.js";
|
|
23
|
-
import { r as saveMediaBuffer } from "./store-
|
|
24
|
-
import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy } from "./thinking-
|
|
25
|
-
import "./message-channel-
|
|
26
|
-
import "./plugins-
|
|
27
|
-
import { i as logWebSelfId, l as readWebSelfId, n as WA_WEB_AUTH_DIR, p as webAuthExists, r as getWebAuthAgeMs, s as pickWebChannel, t as resolveWhatsAppAccount } from "./accounts-
|
|
28
|
-
import "./accounts-
|
|
29
|
-
import "./accounts-
|
|
30
|
-
import "./bindings-
|
|
31
|
-
import "./send-
|
|
32
|
-
import "./send-
|
|
33
|
-
import "./tool-images-
|
|
34
|
-
import "./deliver-
|
|
35
|
-
import "./diagnostic-
|
|
23
|
+
import { r as saveMediaBuffer } from "./store-Ea3zM6xK.js";
|
|
24
|
+
import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy } from "./thinking-C9-JAUzD.js";
|
|
25
|
+
import "./message-channel-DwDSKGn4.js";
|
|
26
|
+
import "./plugins-Bkr5ZdYs.js";
|
|
27
|
+
import { i as logWebSelfId, l as readWebSelfId, n as WA_WEB_AUTH_DIR, p as webAuthExists, r as getWebAuthAgeMs, s as pickWebChannel, t as resolveWhatsAppAccount } from "./accounts-D1r2dq1t.js";
|
|
28
|
+
import "./accounts-dRUMQQrB.js";
|
|
29
|
+
import "./accounts-wSphH5gv.js";
|
|
30
|
+
import "./bindings-Bat2RnAR.js";
|
|
31
|
+
import "./send-qItpAHcI.js";
|
|
32
|
+
import "./send-D3zDmQim.js";
|
|
33
|
+
import "./tool-images-B1qVCntj.js";
|
|
34
|
+
import "./deliver-BD6kFk6p.js";
|
|
35
|
+
import "./diagnostic-spWOtH_g.js";
|
|
36
36
|
import "./diagnostic-session-state-Zw87xFym.js";
|
|
37
|
-
import "./image-
|
|
38
|
-
import "./tokens-
|
|
39
|
-
import { G as formatLocationText, J as readChannelAllowFromStore, K as toLocationContext, X as upsertChannelPairingRequest } from "./send-
|
|
37
|
+
import "./image-CE0mENPo.js";
|
|
38
|
+
import "./tokens-BZGy4v--.js";
|
|
39
|
+
import { G as formatLocationText, J as readChannelAllowFromStore, K as toLocationContext, X as upsertChannelPairingRequest } from "./send-B7z8CDbr.js";
|
|
40
40
|
import "./pi-model-discovery-Bv5YDJc8.js";
|
|
41
|
-
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
42
|
-
import "./manager-
|
|
43
|
-
import "./gemini-auth-
|
|
44
|
-
import "./sqlite-
|
|
45
|
-
import "./retry-
|
|
46
|
-
import "./target-errors-
|
|
47
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
48
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
49
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
50
|
-
import { a as loadWebMedia } from "./ir-
|
|
41
|
+
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-DkGsdyBm.js";
|
|
42
|
+
import "./manager-DW3JqFpY.js";
|
|
43
|
+
import "./gemini-auth-C6Z-2T42.js";
|
|
44
|
+
import "./sqlite-Bv87EXeg.js";
|
|
45
|
+
import "./retry-CqMeDhyp.js";
|
|
46
|
+
import "./target-errors-7KhTCTdS.js";
|
|
47
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-DR8ukp6r.js";
|
|
48
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-tW9bGjLM.js";
|
|
49
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-CdXg5-Cx.js";
|
|
50
|
+
import { a as loadWebMedia } from "./ir-B-XXcYFe.js";
|
|
51
51
|
import "./render-CDCvpfhh.js";
|
|
52
|
-
import "./commands-registry-
|
|
53
|
-
import { y as registerUnhandledRejectionHandler } from "./runner-
|
|
54
|
-
import "./skill-commands-
|
|
52
|
+
import "./commands-registry-DIakZUZb.js";
|
|
53
|
+
import { y as registerUnhandledRejectionHandler } from "./runner-BnAUcMiq.js";
|
|
54
|
+
import "./skill-commands-B_f8uGi7.js";
|
|
55
55
|
import { t as finalizeInboundContext } from "./inbound-context-DSDTl6Kj.js";
|
|
56
56
|
import "./fetch-Bso4i15F.js";
|
|
57
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
58
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
59
|
-
import "./send-
|
|
60
|
-
import "./outbound-attachment-
|
|
61
|
-
import "./send-
|
|
62
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
57
|
+
import { n as recordChannelActivity } from "./channel-activity-DK0AV-r9.js";
|
|
58
|
+
import { t as convertMarkdownTables } from "./tables-BX7_aBvN.js";
|
|
59
|
+
import "./send-XRUYukww.js";
|
|
60
|
+
import "./outbound-attachment-CHcmlip8.js";
|
|
61
|
+
import "./send-Cd81AY_Z.js";
|
|
62
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-q8AFnU5c.js";
|
|
63
63
|
import "./proxy-CBJ1upuz.js";
|
|
64
|
-
import "./replies-
|
|
65
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
66
|
-
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
67
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
68
|
-
import { t as loginWeb } from "./login-
|
|
64
|
+
import "./replies-mfnbLu2p.js";
|
|
65
|
+
import { r as setActiveWebListener } from "./active-listener-DFUTUjxt.js";
|
|
66
|
+
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-CIVsLpJK.js";
|
|
67
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-Dh2wWQkD.js";
|
|
68
|
+
import { t as loginWeb } from "./login-BHUrERYo.js";
|
|
69
69
|
import { randomUUID } from "node:crypto";
|
|
70
70
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
71
71
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-BNLTgD0A.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -101,7 +101,7 @@ import "./pi-tools.policy-CIDBbw6x.js";
|
|
|
101
101
|
import "./control-service-Bz7rxLWq.js";
|
|
102
102
|
import "./stagger-BUClb97_.js";
|
|
103
103
|
import "./channel-selection-DuWs0Aak.js";
|
|
104
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-
|
|
104
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-GzdyP40j.js";
|
|
105
105
|
import { n as sendMessageWhatsApp } from "./outbound-DB5Zus0-.js";
|
|
106
106
|
import { i as waitForWaConnection, t as createWaSocket } from "./session-DIBTkyvE.js";
|
|
107
107
|
import { t as loginWeb } from "./login-dIlDkG4X.js";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import "./auth-profiles-
|
|
7
|
-
import "./env-
|
|
8
|
-
import "./github-copilot-token-
|
|
1
|
+
import "./paths-CYmyCDsE.js";
|
|
2
|
+
import "./registry-UkL38jvt.js";
|
|
3
|
+
import "./agent-scope-D68_xfTL.js";
|
|
4
|
+
import "./subsystem-DN75fnEF.js";
|
|
5
|
+
import "./workspace-DqJ5h-ZB.js";
|
|
6
|
+
import "./auth-profiles-Bl9aU7fc.js";
|
|
7
|
+
import "./env-xmBFQPBP.js";
|
|
8
|
+
import "./github-copilot-token-B8B2pmph.js";
|
|
9
9
|
import "./boolean-CE7i9tBR.js";
|
|
10
|
-
import "./config-
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import "./image-ops-
|
|
10
|
+
import "./config-CvmE3Yx1.js";
|
|
11
|
+
import "./manifest-registry-0J48biqr.js";
|
|
12
|
+
import "./image-ops-M5agStZn.js";
|
|
13
13
|
import "./ssrf-DpUUUgkK.js";
|
|
14
|
-
import "./message-channel-
|
|
15
|
-
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-
|
|
16
|
-
import { t as resolveWhatsAppAccount } from "./accounts-
|
|
17
|
-
import "./bindings-
|
|
18
|
-
import "./tool-images-
|
|
19
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam, n as missingTargetError } from "./target-errors-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./markdown-tables-
|
|
22
|
-
import "./local-roots-
|
|
23
|
-
import "./ir-
|
|
14
|
+
import "./message-channel-DwDSKGn4.js";
|
|
15
|
+
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-Bkr5ZdYs.js";
|
|
16
|
+
import { t as resolveWhatsAppAccount } from "./accounts-D1r2dq1t.js";
|
|
17
|
+
import "./bindings-Bat2RnAR.js";
|
|
18
|
+
import "./tool-images-B1qVCntj.js";
|
|
19
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam, n as missingTargetError } from "./target-errors-7KhTCTdS.js";
|
|
20
|
+
import "./chunk-DR8ukp6r.js";
|
|
21
|
+
import "./markdown-tables-tW9bGjLM.js";
|
|
22
|
+
import "./local-roots-CdXg5-Cx.js";
|
|
23
|
+
import "./ir-B-XXcYFe.js";
|
|
24
24
|
import "./render-CDCvpfhh.js";
|
|
25
|
-
import "./tables-
|
|
26
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
25
|
+
import "./tables-BX7_aBvN.js";
|
|
26
|
+
import { r as sendReactionWhatsApp } from "./outbound-CIVsLpJK.js";
|
|
27
27
|
|
|
28
28
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
29
29
|
function resolveWhatsAppOutboundTarget(params) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { u as resolveRequiredHomeDir } from "./paths-
|
|
1
|
+
import { u as resolveRequiredHomeDir } from "./paths-CYmyCDsE.js";
|
|
2
2
|
import { _ as isCronSessionKey, v as isSubagentSessionKey } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { $ as warn, G as danger, I as resolveUserPath, K as info, N as pathExists, Y as logVerboseConsole, Z as shouldLogVerbose, it as getLogger } from "./registry-
|
|
4
|
-
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { $ as warn, G as danger, I as resolveUserPath, K as info, N as pathExists, Y as logVerboseConsole, Z as shouldLogVerbose, it as getLogger } from "./registry-UkL38jvt.js";
|
|
4
|
+
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DN75fnEF.js";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fsSync from "node:fs";
|
|
7
7
|
import os from "node:os";
|
|
8
|
-
import fs
|
|
8
|
+
import fs from "node:fs/promises";
|
|
9
9
|
import { execFile, spawn } from "node:child_process";
|
|
10
10
|
import { promisify } from "node:util";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
@@ -280,7 +280,7 @@ async function runCommandWithTimeout(argv, optionsOrTimeout) {
|
|
|
280
280
|
const CORE_PACKAGE_NAMES = new Set(["symi", "@symerian/symi"]);
|
|
281
281
|
async function readPackageName(dir) {
|
|
282
282
|
try {
|
|
283
|
-
const raw = await fs
|
|
283
|
+
const raw = await fs.readFile(path.join(dir, "package.json"), "utf-8");
|
|
284
284
|
const parsed = JSON.parse(raw);
|
|
285
285
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
286
286
|
} catch {
|
|
@@ -289,7 +289,7 @@ async function readPackageName(dir) {
|
|
|
289
289
|
}
|
|
290
290
|
function readPackageNameSync(dir) {
|
|
291
291
|
try {
|
|
292
|
-
const raw =
|
|
292
|
+
const raw = fsSync.readFileSync(path.join(dir, "package.json"), "utf-8");
|
|
293
293
|
const parsed = JSON.parse(raw);
|
|
294
294
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
295
295
|
} catch {
|
|
@@ -323,7 +323,7 @@ function candidateDirsFromArgv1(argv1) {
|
|
|
323
323
|
const normalized = path.resolve(argv1);
|
|
324
324
|
const candidates = [path.dirname(normalized)];
|
|
325
325
|
try {
|
|
326
|
-
const resolved =
|
|
326
|
+
const resolved = fsSync.realpathSync(normalized);
|
|
327
327
|
if (resolved !== normalized) candidates.push(path.dirname(resolved));
|
|
328
328
|
} catch {}
|
|
329
329
|
const parts = normalized.split(path.sep);
|
|
@@ -423,10 +423,10 @@ const workspaceFileCache = /* @__PURE__ */ new Map();
|
|
|
423
423
|
*/
|
|
424
424
|
async function readFileWithCache(filePath) {
|
|
425
425
|
try {
|
|
426
|
-
const mtimeMs = (await fs
|
|
426
|
+
const mtimeMs = (await fs.stat(filePath)).mtimeMs;
|
|
427
427
|
const cached = workspaceFileCache.get(filePath);
|
|
428
428
|
if (cached && cached.mtimeMs === mtimeMs) return cached.content;
|
|
429
|
-
const content = await fs
|
|
429
|
+
const content = await fs.readFile(filePath, "utf-8");
|
|
430
430
|
workspaceFileCache.set(filePath, {
|
|
431
431
|
content,
|
|
432
432
|
mtimeMs
|
|
@@ -453,7 +453,7 @@ async function loadTemplate(name) {
|
|
|
453
453
|
const templateDir = await resolveWorkspaceTemplateDir();
|
|
454
454
|
const templatePath = path.join(templateDir, name);
|
|
455
455
|
try {
|
|
456
|
-
return stripFrontMatter(await fs
|
|
456
|
+
return stripFrontMatter(await fs.readFile(templatePath, "utf-8"));
|
|
457
457
|
} catch {
|
|
458
458
|
throw new Error(`Missing workspace template: ${name} (${templatePath}). Ensure docs/reference/templates are packaged.`);
|
|
459
459
|
}
|
|
@@ -480,7 +480,7 @@ const VALID_BOOTSTRAP_NAMES = new Set([
|
|
|
480
480
|
]);
|
|
481
481
|
async function writeFileIfMissing(filePath, content) {
|
|
482
482
|
try {
|
|
483
|
-
await fs
|
|
483
|
+
await fs.writeFile(filePath, content, {
|
|
484
484
|
encoding: "utf-8",
|
|
485
485
|
flag: "wx"
|
|
486
486
|
});
|
|
@@ -492,7 +492,7 @@ async function writeFileIfMissing(filePath, content) {
|
|
|
492
492
|
}
|
|
493
493
|
async function fileExists(filePath) {
|
|
494
494
|
try {
|
|
495
|
-
await fs
|
|
495
|
+
await fs.access(filePath);
|
|
496
496
|
return true;
|
|
497
497
|
} catch {
|
|
498
498
|
return false;
|
|
@@ -516,27 +516,27 @@ function parseWorkspaceOnboardingState(raw) {
|
|
|
516
516
|
}
|
|
517
517
|
async function readWorkspaceOnboardingState(statePath) {
|
|
518
518
|
try {
|
|
519
|
-
return parseWorkspaceOnboardingState(await fs
|
|
519
|
+
return parseWorkspaceOnboardingState(await fs.readFile(statePath, "utf-8")) ?? { version: WORKSPACE_STATE_VERSION };
|
|
520
520
|
} catch (err) {
|
|
521
521
|
if (err.code !== "ENOENT") throw err;
|
|
522
522
|
return { version: WORKSPACE_STATE_VERSION };
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
525
|
async function writeWorkspaceOnboardingState(statePath, state) {
|
|
526
|
-
await fs
|
|
526
|
+
await fs.mkdir(path.dirname(statePath), { recursive: true });
|
|
527
527
|
const payload = `${JSON.stringify(state, null, 2)}\n`;
|
|
528
528
|
const tmpPath = `${statePath}.tmp-${process.pid}-${Date.now().toString(36)}`;
|
|
529
529
|
try {
|
|
530
|
-
await fs
|
|
531
|
-
await fs
|
|
530
|
+
await fs.writeFile(tmpPath, payload, { encoding: "utf-8" });
|
|
531
|
+
await fs.rename(tmpPath, statePath);
|
|
532
532
|
} catch (err) {
|
|
533
|
-
await fs
|
|
533
|
+
await fs.unlink(tmpPath).catch(() => {});
|
|
534
534
|
throw err;
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
async function hasGitRepo(dir) {
|
|
538
538
|
try {
|
|
539
|
-
await fs
|
|
539
|
+
await fs.stat(path.join(dir, ".git"));
|
|
540
540
|
return true;
|
|
541
541
|
} catch {
|
|
542
542
|
return false;
|
|
@@ -566,7 +566,7 @@ async function ensureGitRepo(dir, isBrandNewWorkspace) {
|
|
|
566
566
|
}
|
|
567
567
|
async function ensureAgentWorkspace(params) {
|
|
568
568
|
const dir = resolveUserPath(params?.dir?.trim() ? params.dir.trim() : DEFAULT_AGENT_WORKSPACE_DIR);
|
|
569
|
-
await fs
|
|
569
|
+
await fs.mkdir(dir, { recursive: true });
|
|
570
570
|
if (!params?.ensureBootstrapFiles) return { dir };
|
|
571
571
|
const agentsPath = path.join(dir, DEFAULT_AGENTS_FILENAME);
|
|
572
572
|
const symicorePath = path.join(dir, DEFAULT_SYMICORE_FILENAME);
|
|
@@ -587,7 +587,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
587
587
|
];
|
|
588
588
|
return (await Promise.all(paths.map(async (p) => {
|
|
589
589
|
try {
|
|
590
|
-
await fs
|
|
590
|
+
await fs.access(p);
|
|
591
591
|
return true;
|
|
592
592
|
} catch {
|
|
593
593
|
return false;
|
|
@@ -620,7 +620,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
620
620
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
621
621
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
622
622
|
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
623
|
-
const [identityContent, userContent] = await Promise.all([fs
|
|
623
|
+
const [identityContent, userContent] = await Promise.all([fs.readFile(identityPath, "utf-8"), fs.readFile(userPath, "utf-8")]);
|
|
624
624
|
if (identityContent !== identityTemplate || userContent !== userTemplate) markState({ onboardingCompletedAt: nowIso() });
|
|
625
625
|
else {
|
|
626
626
|
if (!await writeFileIfMissing(bootstrapPath, await loadTemplate(DEFAULT_BOOTSTRAP_FILENAME))) bootstrapExists = await fileExists(bootstrapPath);
|
|
@@ -647,7 +647,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
647
647
|
for (const name of candidates) {
|
|
648
648
|
const filePath = path.join(resolvedDir, name);
|
|
649
649
|
try {
|
|
650
|
-
await fs
|
|
650
|
+
await fs.access(filePath);
|
|
651
651
|
entries.push({
|
|
652
652
|
name,
|
|
653
653
|
filePath
|
|
@@ -660,7 +660,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
660
660
|
for (const entry of entries) {
|
|
661
661
|
let key = entry.filePath;
|
|
662
662
|
try {
|
|
663
|
-
key = await fs
|
|
663
|
+
key = await fs.realpath(entry.filePath);
|
|
664
664
|
} catch {}
|
|
665
665
|
if (seen.has(key)) continue;
|
|
666
666
|
seen.add(key);
|
|
@@ -729,11 +729,11 @@ async function loadExtraBootstrapFiles(dir, extraPatterns) {
|
|
|
729
729
|
const resolvedDir = resolveUserPath(dir);
|
|
730
730
|
let realResolvedDir = resolvedDir;
|
|
731
731
|
try {
|
|
732
|
-
realResolvedDir = await fs
|
|
732
|
+
realResolvedDir = await fs.realpath(resolvedDir);
|
|
733
733
|
} catch {}
|
|
734
734
|
const resolvedPaths = /* @__PURE__ */ new Set();
|
|
735
735
|
for (const pattern of extraPatterns) if (pattern.includes("*") || pattern.includes("?") || pattern.includes("{")) try {
|
|
736
|
-
const matches = fs
|
|
736
|
+
const matches = fs.glob(pattern, { cwd: resolvedDir });
|
|
737
737
|
for await (const m of matches) resolvedPaths.add(m);
|
|
738
738
|
} catch {
|
|
739
739
|
resolvedPaths.add(pattern);
|
|
@@ -744,7 +744,7 @@ async function loadExtraBootstrapFiles(dir, extraPatterns) {
|
|
|
744
744
|
const filePath = path.resolve(resolvedDir, relPath);
|
|
745
745
|
if (!filePath.startsWith(resolvedDir + path.sep) && filePath !== resolvedDir) continue;
|
|
746
746
|
try {
|
|
747
|
-
const realFilePath = await fs
|
|
747
|
+
const realFilePath = await fs.realpath(filePath);
|
|
748
748
|
if (!realFilePath.startsWith(realResolvedDir + path.sep) && realFilePath !== realResolvedDir) continue;
|
|
749
749
|
const baseName = path.basename(relPath);
|
|
750
750
|
if (!VALID_BOOTSTRAP_NAMES.has(baseName)) continue;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|