@symerian/symi 2.6.37 → 2.6.39
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/{acp-cli-gr5XIPZf.js → acp-cli-ByYHYK_E.js} +4 -4
- package/dist/{active-listener-CfHHV2SU.js → active-listener-C3pfJhdC.js} +1 -1
- package/dist/{agent-scope-CpEJ0B88.js → agent-scope-D68_xfTL.js} +3 -3
- package/dist/{agents-BDKvA-fr.js → agents-BaNrmXzu.js} +4 -4
- package/dist/{agents.config-SvdnvFsa.js → agents.config-BOxmN33d.js} +1 -1
- package/dist/{agents.config-DP7J1Yxi.js → agents.config-C78DHdxT.js} +1 -1
- package/dist/{audio-preflight-xSDULLAj.js → audio-preflight-BuT_gIRW.js} +2 -2
- package/dist/{audio-preflight-COe9clRU.js → audio-preflight-CzQUZSUK.js} +7 -7
- package/dist/{audio-preflight-C40mKAp7.js → audio-preflight-DZ_2w4B5.js} +7 -7
- package/dist/{audio-preflight-BVaaZWkg.js → audio-preflight-UXg8r6a7.js} +30 -30
- package/dist/{audit-DCDNPsGr.js → audit-BxqTVyZo.js} +9 -9
- package/dist/{auth-choice-CinzPjY5.js → auth-choice-BnJzLsv5.js} +7 -7
- package/dist/{auth-choice-DeTIgQiQ.js → auth-choice-CnpKK0cS.js} +3 -3
- package/dist/{auth-choice-options-DOqFUoBo.js → auth-choice-options-DmQgUlhC.js} +1 -1
- package/dist/{auth-choice-prompt-BLzEBA1v.js → auth-choice-prompt-Cn6U3t8O.js} +1 -1
- package/dist/{auth-profiles-DdK1Hxaa.js → auth-profiles-CZZjOpX8.js} +18 -18
- package/dist/{banner-DlzlZSHv.js → banner-DdpNhjX6.js} +1 -1
- package/dist/{bindings-BsHoBLIE.js → bindings-Bat2RnAR.js} +2 -2
- package/dist/{bonjour-discovery-BHTF5p0X.js → bonjour-discovery-DUQ6tE92.js} +1 -1
- package/dist/{browser-cli-FNGt_E96.js → browser-cli-BrzYV9w9.js} +3 -3
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +58 -57
- package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +59 -58
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-B6G1jnQT.js → channel-activity-Cm1OJRbv.js} +1 -1
- package/dist/{channel-options-38j3QjH3.js → channel-options-47wHx-rM.js} +2 -2
- package/dist/{channel-options-D7Lp2WmW.js → channel-options-CJE7N_QV.js} +1 -1
- package/dist/{channel-web-DoJWvCSG.js → channel-web-CVf8YV4M.js} +5 -5
- package/dist/{channels-cli-CMMBVrwz.js → channels-cli-CMLy_xVT.js} +7 -6
- package/dist/{channels-cli-DmvAljR1.js → channels-cli-Iya7tcnY.js} +44 -43
- package/dist/{chrome-CDJYxX5a.js → chrome-CXbfCc20.js} +1 -1
- package/dist/{chrome-DkaXoP36.js → chrome-D0sqCqXY.js} +21 -21
- package/dist/{chunk-09egQapi.js → chunk-B9x_1qSr.js} +1 -1
- package/dist/{clack-prompter-B7pN13HV.js → clack-prompter-DMuVyYP2.js} +3 -3
- package/dist/{cli-D9LYX6lB.js → cli-DmGUr8aj.js} +4 -3
- package/dist/{cli-Cd4B5FyU.js → cli-dC-CEeDc.js} +27 -26
- package/dist/{command-registry-CARx8WBf.js → command-registry-DSV-4T7A.js} +9 -9
- package/dist/{commands-registry-Bfc7Uz0o.js → commands-registry-DPf4J7nj.js} +4 -4
- package/dist/{commands-registry-C_aYUwpl.js → commands-registry-DYoNKo_h.js} +1 -1
- package/dist/{completion-cli-DCO3bMjl.js → completion-cli-DjQVuJdD.js} +2 -2
- package/dist/{completion-cli-LYcBopv1.js → completion-cli-dlL2VvFw.js} +1 -1
- package/dist/{config-BmV60pPT.js → config-DBqxAhpU.js} +1 -1
- package/dist/{config-cli-BCiQhEoA.js → config-cli-Cm4KwczC.js} +1 -1
- package/dist/{config-cli-9rTAv29s.js → config-cli-DLFKoU1U.js} +1 -1
- package/dist/{config-5SdHIcHU.js → config-giEDOxub.js} +12 -12
- package/dist/{config-guard-BflmO0t7.js → config-guard--WfHrCVe.js} +6 -6
- package/dist/{configure-BeKcXpvL.js → configure-BbFd3c68.js} +5 -5
- package/dist/{configure-RmJWWP1i.js → configure-DNRNOqKI.js} +20 -20
- package/dist/{control-service-Bz7rxLWq.js → control-service-Dtn-qw2s.js} +2 -2
- package/dist/control-ui/js/app.js +16 -5
- package/dist/control-ui/js/render.js +24 -35
- package/dist/{cron-cli-KYTOQ6d9.js → cron-cli-Bml4UNHa.js} +3 -3
- package/dist/{daemon-cli-CJJ8Vueq.js → daemon-cli-BPHe9wOW.js} +11 -11
- package/dist/{daemon-runtime-2mwX-jqj.js → daemon-runtime-COZ4usfy.js} +2 -2
- package/dist/{deliver-C46-vyqg.js → deliver-BY58QnO8.js} +20 -20
- package/dist/{deliver-BH0l3UKW.js → deliver-DepjYu87.js} +2 -2
- package/dist/{deliver-CWR_98sK.js → deliver-DrFtaFZt.js} +3 -3
- package/dist/{devices-cli-j0f38zcG.js → devices-cli-texa_iUV.js} +1 -1
- package/dist/{diagnostic-DjBRPfu9.js → diagnostic-CH0skkp6.js} +1 -1
- package/dist/{diagnostic-rPhsBoZz.js → diagnostic-DIKKFHpP.js} +2 -2
- package/dist/{diagnostics-BAMlsVVX.js → diagnostics-BRwihzJG.js} +1 -1
- package/dist/{directory-cli-CpUByQew.js → directory-cli-BRMi7Alb.js} +3 -3
- package/dist/{dns-cli-Beyzdh3S.js → dns-cli-BsRMpavf.js} +2 -2
- package/dist/{doctor-completion-CfPhNCUx.js → doctor-completion-Cm7WG43a.js} +2 -2
- package/dist/{doctor-completion-BlysSk9e.js → doctor-completion-Z_RXu40-.js} +1 -1
- package/dist/{doctor-config-flow-QnaBd8kL.js → doctor-config-flow-BTQvpBys.js} +4 -4
- package/dist/{enable-HSYin9n7.js → enable-vgRSCfxI.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{env-BDXYbTKj.js → env-xmBFQPBP.js} +1 -1
- package/dist/{exec-approvals-cli-2BfYmO4M.js → exec-approvals-cli-DxKAWA8Y.js} +7 -7
- package/dist/extensionAPI.js +20 -19
- package/dist/{fetch-Bso4i15F.js → fetch-Dnti0cFs.js} +1 -1
- package/dist/{frontmatter-CTR5f_Ez.js → frontmatter-CV0YkjoY.js} +2 -2
- package/dist/{gateway-cli-D2MuH-Vj.js → gateway-cli-DliBYmLu.js} +12 -11
- package/dist/{gateway-cli-B1AI4M7v.js → gateway-cli-Fnxgv97F.js} +74 -73
- package/dist/{gemini-auth-Dy12ZAH3.js → gemini-auth-C39f2zRe.js} +1 -1
- package/dist/{gemini-auth-CSlZZ1Pw.js → gemini-auth-ClVyOv9p.js} +1 -1
- package/dist/{github-copilot-token-cCYzSU9h.js → github-copilot-token-B8B2pmph.js} +7 -7
- package/dist/{glass-ui-ws-cB1R6KOh.js → glass-ui-ws-B0sH6QQi.js} +68 -51
- package/dist/{glass-ui-ws-xbRlW2Pz.js → glass-ui-ws-CfNTIb_g.js} +27 -10
- package/dist/{health-DjUN4OFC.js → health-9z0Hpkuc.js} +4 -4
- package/dist/{health-By4_Yu9p.js → health-NTpZ8ssG.js} +1 -1
- package/dist/{hooks-cli-BENuuN6Y.js → hooks-cli-C86OGnVu.js} +33 -32
- package/dist/{hooks-cli-CGrOzATb.js → hooks-cli-wq_uFJly.js} +5 -4
- package/dist/{hooks-status-BqLZtMLa.js → hooks-status-oUebZVnL.js} +2 -2
- package/dist/{image-D9uvDTrc.js → image-BwXkayiM.js} +1 -1
- package/dist/{image-CuzFLQWC.js → image-CKMw_vhe.js} +5 -5
- package/dist/{image-CHzdaNJ4.js → image-CjuJpc3E.js} +3 -3
- package/dist/{plugin-sdk/image-ops-BlQR__MN.js → image-ops-M5agStZn.js} +17 -17
- package/dist/index.js +42 -41
- package/dist/{inspect-CllGjsWo.js → inspect-CvbbCuoa.js} +2 -2
- package/dist/{install-safe-path-tCLiMpmO.js → install-safe-path-D3Uz77u7.js} +1 -1
- package/dist/{installs-C1Cebk97.js → installs-DQcRVF1U.js} +3 -3
- package/dist/{ir-CTiz95Vb.js → ir-Z9axTYHx.js} +4 -4
- package/dist/{lifecycle-core-D6LYXpFj.js → lifecycle-core-D0n_6gjJ.js} +6 -6
- package/dist/llm-slug-generator.js +58 -57
- package/dist/{local-roots-DhZz0Ybs.js → local-roots-Bh5xx9IO.js} +6 -6
- package/dist/{login-ul8zaw_S.js → login-2w0Q7Btb.js} +7 -7
- package/dist/{login-XprgoYoQ.js → login-CeXFO0OG.js} +2 -2
- package/dist/{login-qr-AP9agO-i.js → login-qr-BJMvic1s.js} +12 -12
- package/dist/{login-qr-CUErSLXH.js → login-qr-BMIn_eOf.js} +3 -3
- package/dist/{login-qr-pbXdFORv.js → login-qr-CC0TE3ax.js} +1 -1
- package/dist/{login-dIlDkG4X.js → login-y9uojrfG.js} +1 -1
- package/dist/{logs-cli-C0FZokFv.js → logs-cli-Dld6m2xN.js} +2 -2
- package/dist/{manager-PprhCvO_.js → manager-BoLUtbg2.js} +22 -22
- package/dist/{manager-jpn5vRTY.js → manager-CgLdpXXM.js} +2 -2
- package/dist/{manifest-registry-yb7sAlu4.js → manifest-registry-0J48biqr.js} +19 -19
- package/dist/{markdown-tables-C-BmIap8.js → markdown-tables-DuRhvVpP.js} +1 -1
- package/dist/{memory-cli-Ca5r9AUb.js → memory-cli-CPONmMrJ.js} +1 -1
- package/dist/{message-channel-OlFBYAw8.js → message-channel-DwDSKGn4.js} +1 -1
- package/dist/{model-catalog-CqCsARJX.js → model-catalog-Bn0ffe1O.js} +3 -2
- package/dist/{model-catalog-DsFLN-ua.js → model-catalog-r6v4orfa.js} +3 -2
- package/dist/{model-picker-D5nCutGW.js → model-picker-D1J9kB3d.js} +1 -1
- package/dist/{model-picker-BzIRY_aM.js → model-picker-TnkH7DsN.js} +2 -2
- package/dist/{model-selection-BQCG9ah0.js → model-selection-B8QKPmTL.js} +1 -1
- package/dist/{models-D1mOj_fd.js → models-DfuMRKvu.js} +5 -5
- package/dist/{models-cli-DhanAXLt.js → models-cli-BJv-aMkH.js} +37 -37
- package/dist/{models-cli-Blg1YDNe.js → models-cli-FnD3ZD7s.js} +6 -6
- package/dist/{node-cli-DUi87xSB.js → node-cli-C8xs7jkn.js} +16 -16
- package/dist/{node-service-Cxz4e-Qd.js → node-service-CD47Qpf1.js} +2 -2
- package/dist/{nodes-cli-wgJi8nLG.js → nodes-cli-_wKGGKvG.js} +6 -6
- package/dist/{note-DeHoW7xO.js → note-DQ9BvHF2.js} +1 -1
- package/dist/{npm-registry-spec-C2JDdSZS.js → npm-registry-spec-C0CPT3vr.js} +1 -1
- package/dist/{onboard-BKl9tvd9.js → onboard-A5dfwOyL.js} +17 -17
- package/dist/{onboard-DIjwRWbY.js → onboard-BSlbkbv-.js} +4 -4
- package/dist/{onboard-channels-wd_fR_EA.js → onboard-channels-CEZpwlsw.js} +6 -6
- package/dist/{onboard-channels-CW1DBHfJ.js → onboard-channels-DjqHX51z.js} +1 -1
- package/dist/{onboard-custom-BPvHqbtj.js → onboard-custom-BNyCb71p.js} +2 -2
- package/dist/{onboard-custom-DdWPfzJO.js → onboard-custom-yNOjvlgR.js} +1 -1
- package/dist/{onboard-helpers-Ci50bfCW.js → onboard-helpers-CAjcAisT.js} +2 -2
- package/dist/{onboard-hooks-BAA8CoVv.js → onboard-hooks-C3ok8kqB.js} +2 -2
- package/dist/{onboard-remote-I9QVs0MQ.js → onboard-remote-D-8pd-tx.js} +3 -3
- package/dist/{onboard-skills-DX7L1thH.js → onboard-skills-c4Rw-CGf.js} +3 -3
- package/dist/{onboarding-Ban5B7QD.js → onboarding-BTNiewJj.js} +15 -15
- package/dist/{onboarding-DnhVdzx6.js → onboarding-COqa6a28.js} +5 -5
- package/dist/{onboarding.finalize-QCZDp4AW.js → onboarding.finalize-CAax5IdL.js} +9 -8
- package/dist/{onboarding.finalize-YbnkoDuN.js → onboarding.finalize-CDsTN9zD.js} +40 -39
- package/dist/{onboarding.gateway-config-CJU7Hzrn.js → onboarding.gateway-config-DOna9Sr4.js} +3 -3
- package/dist/{openai-model-default-DMjQRsb1.js → openai-model-default-WqcGxyFM.js} +1 -1
- package/dist/{outbound-CtMCmwxR.js → outbound-B_wliV26.js} +8 -8
- package/dist/{outbound-3MZ12YrQ.js → outbound-BihTVvMr.js} +2 -2
- package/dist/{outbound-DB5Zus0-.js → outbound-DyBiNY4z.js} +1 -1
- package/dist/{outbound-attachment-DJldbweZ.js → outbound-attachment-BOy-OY4-.js} +2 -2
- package/dist/{pairing-cli-CBLfGvqW.js → pairing-cli-CpKm3M-X.js} +2 -2
- package/dist/{path-env-MnzRq6nD.js → path-env-BaQ2E7uD.js} +1 -1
- package/dist/paths-CYmyCDsE.js +212 -0
- package/dist/{paths-CbQV9WEg.js → paths-DEuVuViW.js} +1 -1
- package/dist/{pi-auth-json-CaX_1WHk.js → pi-auth-json-BQcKJvH0.js} +21 -2
- package/dist/{pi-auth-json-D6YbgrAe.js → pi-auth-json-BloyLEwh.js} +24 -9
- package/dist/{pi-auth-json-Bk8ERadJ.js → pi-auth-json-LXkL5WS_.js} +24 -11
- package/dist/pi-auth-json-zHckislA.js +133 -0
- package/dist/{pi-embedded-DG6dQt8v.js → pi-embedded-R_JHJFwq.js} +47 -45
- package/dist/{pi-embedded-helpers-lgx_U5KS.js → pi-embedded-helpers-BJrRH97f.js} +6 -6
- package/dist/{pi-embedded-helpers-CNPyv_ax.js → pi-embedded-helpers-BuVSLhG_.js} +1 -1
- package/dist/{pi-embedded-helpers-CfqDGQ9J.js → pi-embedded-helpers-Cr1X3W9i.js} +73 -73
- package/dist/{pi-tools.policy-CIDBbw6x.js → pi-tools.policy-C6MWZ59E.js} +1 -1
- package/dist/{plugin-auto-enable-BzX1uAKy.js → plugin-auto-enable-CP0nONRL.js} +2 -2
- package/dist/{plugin-registry-BdvMB68i.js → plugin-registry-DMUt9X9t.js} +1 -1
- package/dist/{plugin-registry-DfODDpUe.js → plugin-registry-DeT0nOee.js} +1 -1
- package/dist/plugin-sdk/{accounts-BtaOa4z_.js → accounts-BToL3HlP.js} +1 -1
- package/dist/plugin-sdk/{accounts-Ddm33hQm.js → accounts-D9zGZU5t.js} +3 -3
- package/dist/plugin-sdk/{accounts-s-AdhXVR.js → accounts-Dtszw3Zn.js} +1 -1
- package/dist/plugin-sdk/{active-listener-BXYeALs0.js → active-listener-BRYwA2Ic.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-CYYpcO9W.js → agent-scope-C3gMMKCU.js} +2 -2
- package/dist/plugin-sdk/agents/pi-auth-json.d.ts +12 -1
- package/dist/plugin-sdk/{api-key-rotation-D_sMvI5W.js → api-key-rotation-LTEeykrm.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-VpItkiy3.js → audio-preflight-JLsqSVmS.js} +24 -24
- package/dist/plugin-sdk/{bindings-C7hRtgYW.js → bindings-BbwoUGPx.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-DoC1xtDu.js → channel-activity-Ji7f0gqq.js} +1 -1
- package/dist/plugin-sdk/{channel-web-DHcmAnVa.js → channel-web-BtuQPMkd.js} +22 -22
- package/dist/plugin-sdk/{chrome-B7RdxmJ0.js → chrome-cPabhZZ4.js} +3 -3
- package/dist/plugin-sdk/{chunk-Dw2XBYXv.js → chunk-jvk9axTQ.js} +1 -1
- package/dist/plugin-sdk/{command-format-GKSevep4.js → command-format-DSdvQ_M5.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-COIaslGl.js → commands-registry-C9W8UWBh.js} +4 -4
- package/dist/plugin-sdk/{config-KlTNfkFF.js → config-XjK1L039.js} +9 -9
- package/dist/plugin-sdk/{deliver-BZ99UKQq.js → deliver-Clj5uUID.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-05pm5Rxi.js → diagnostic-EyuCSUXO.js} +2 -2
- package/dist/plugin-sdk/{image-CLOPx7yW.js → image-CAA-0T17.js} +4 -4
- package/dist/{image-ops-C7CauEK8.js → plugin-sdk/image-ops-Bnp6LXEx.js} +2 -2
- package/dist/plugin-sdk/index.js +54 -53
- package/dist/plugin-sdk/{ir-BJ6BHE5b.js → ir-Fb3qpcis.js} +4 -4
- package/dist/plugin-sdk/{local-roots-BHLNSI8U.js → local-roots-Ckk1QfzI.js} +3 -3
- package/dist/plugin-sdk/{login-DQMXuxOk.js → login-Btqnuww9.js} +7 -7
- package/dist/plugin-sdk/{login-qr-BjVZSoCi.js → login-qr-Bxhch9R1.js} +9 -9
- package/dist/plugin-sdk/{manager-CBSBFuFz.js → manager-CJXUXj6F.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-CPnHl_K3.js → manifest-registry-B3ugY9-f.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-BoYFajMu.js → markdown-tables-Dfaqilz6.js} +1 -1
- package/dist/plugin-sdk/{message-channel-COTAJzHd.js → message-channel-BdI5Ra9S.js} +1 -1
- package/dist/plugin-sdk/{model-selection-CsbEfrS0.js → model-selection-DduIg_Yt.js} +5 -5
- package/dist/plugin-sdk/{outbound-B0e8KdaR.js → outbound-D_7ktHfW.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-CnslKL38.js → outbound-attachment-DJ3CI92h.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-qWi7ZIYV.js → pi-auth-json-CcR0OJ6f.js} +24 -9
- package/dist/plugin-sdk/{pi-embedded-helpers-CW630epe.js → pi-embedded-helpers-CDrcAlGW.js} +17 -17
- package/dist/plugin-sdk/{plugins-BNByVCIH.js → plugins-BbAvhC25.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-CnbPIPY9.js → pw-ai-CJjlxWj7.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-CH0XbIHf.js → qmd-manager-C6GM0Qik.js} +4 -4
- package/dist/plugin-sdk/{registry-D0xTnUWt.js → registry--_pGht6S.js} +2 -2
- package/dist/{replies-LSmuwOhA.js → plugin-sdk/replies-DC9NI2KS.js} +3 -3
- package/dist/plugin-sdk/{reply-CeoL_D-u.js → reply-CnTdwks6.js} +81 -79
- package/dist/plugin-sdk/{reply-prefix-uxfMZW4p.js → reply-prefix-BHuV5t70.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BiyAyTWz.js → resolve-outbound-target-BkCUbYGV.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-B3CCBumQ.js → resolve-route-D3JH_D2N.js} +3 -3
- package/dist/plugin-sdk/{retry-CwQ_iIj8.js → retry-ilSJqnz9.js} +1 -1
- package/dist/plugin-sdk/{runner-CGBT7tgF.js → runner-CBq0_f-j.js} +11 -10
- package/dist/plugin-sdk/{send-pYqe432l.js → send-BditKDxK.js} +6 -6
- package/dist/plugin-sdk/{send-C5h_YxNb.js → send-BeO7M3pz.js} +7 -7
- package/dist/plugin-sdk/{send-CjOBB3Vo.js → send-CdJoYllr.js} +10 -10
- package/dist/plugin-sdk/{send-CRsR8-vO.js → send-u7SJPkmf.js} +10 -10
- package/dist/plugin-sdk/{send-B2CEnVLL.js → send-vTA7ntTD.js} +6 -6
- package/dist/plugin-sdk/{session-BsOrxiMj.js → session-t6hhaLPe.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-ff_01_r3.js → skill-commands-D-rpF3bM.js} +5 -5
- package/dist/plugin-sdk/{skills-_yTP47Cd.js → skills-B1GeRYlu.js} +7 -7
- package/dist/plugin-sdk/{sqlite-CxAR5ttJ.js → sqlite-Cq_7Cg4E.js} +1 -1
- package/dist/plugin-sdk/{store-BdrNabcU.js → store-Do3t33-c.js} +2 -2
- package/dist/plugin-sdk/{subsystem-B2uDN3TV.js → subsystem-Coz2AgU8.js} +1 -1
- package/dist/plugin-sdk/{tables-DNwXwNFa.js → tables-DR0NmBeH.js} +1 -1
- package/dist/plugin-sdk/{target-errors-Paro1BjP.js → target-errors-B7YyMnIi.js} +2 -2
- package/dist/plugin-sdk/{thinking-CXqf7WTe.js → thinking-DCNUIAHY.js} +5 -5
- package/dist/plugin-sdk/{tokens-bC3UVmVH.js → tokens-CWMflosr.js} +1 -1
- package/dist/{tool-images-SqqWIT22.js → plugin-sdk/tool-images-D7Lno-TE.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-at_K42K7.js → tool-loop-detection-BAUvBvAO.js} +2 -2
- package/dist/plugin-sdk/web-BkK8fGjJ.js +66 -0
- package/dist/plugin-sdk/{whatsapp-actions-DfseosPO.js → whatsapp-actions-DifisvHY.js} +21 -21
- package/dist/{plugins-BzmbgY7s.js → plugins-Bkr5ZdYs.js} +9 -9
- package/dist/{plugins-cli-DMxHIMNz.js → plugins-cli-BCYM8B89.js} +5 -4
- package/dist/{plugins-cli-Dcd56Auo.js → plugins-cli-D85G3qZp.js} +34 -33
- package/dist/{program-CK6pb4lq.js → program-C4k7oBuC.js} +10 -9
- package/dist/{program-context-0dr-H7wo.js → program-context-CiGMAzyC.js} +40 -40
- package/dist/{prompt-select-styled-Bi9q87ml.js → prompt-select-styled-CYiMonwj.js} +28 -28
- package/dist/{prompt-select-styled-uYsTGG3x.js → prompt-select-styled-CoWkFI4l.js} +5 -5
- package/dist/{provider-auth-helpers-BC24Uzzu.js → provider-auth-helpers-B8RGFZit.js} +1 -1
- package/dist/{provider-auth-helpers-BUorkQUD.js → provider-auth-helpers-CfkQBpo7.js} +6 -6
- package/dist/{push-apns-BwHZ2F7j.js → push-apns-DM6nj062.js} +1 -1
- package/dist/{push-apns-BQckoz9S.js → push-apns-DmpUv3y4.js} +1 -1
- package/dist/{pw-ai-De-KR9_s.js → pw-ai-CS2tDZd2.js} +3 -3
- package/dist/{pw-ai-m0mj2KWK.js → pw-ai-Ch_WUbQZ.js} +11 -11
- package/dist/{qmd-manager-iDLSiI4Z.js → qmd-manager-8-Z3Cdpt.js} +7 -7
- package/dist/{register.agent-wv_0IcpN.js → register.agent-DX-OyYzL.js} +10 -9
- package/dist/{register.agent-Ffw952Cm.js → register.agent-DcvwdQXs.js} +50 -49
- package/dist/{register.configure-BMkj8T9e.js → register.configure-Bldjj3LP.js} +59 -58
- package/dist/{register.configure-BTKXkVgp.js → register.configure-DBaELzEM.js} +11 -10
- package/dist/{register.maintenance-CRu_hm_x.js → register.maintenance-DAwf6cHN.js} +11 -10
- package/dist/{register.maintenance-D1xEYvHY.js → register.maintenance-DVv8ljal.js} +52 -51
- package/dist/{register.message-f-91gZI8.js → register.message-ClKGIfK4.js} +30 -29
- package/dist/{register.message-DD5LEq6t.js → register.message-DUeR-Dz2.js} +5 -4
- package/dist/{register.onboard-BetMbk4D.js → register.onboard-DJEZcUm5.js} +9 -8
- package/dist/{register.onboard-BRTil6DH.js → register.onboard-DWrxbBr5.js} +44 -43
- package/dist/{register.setup-DX01Qmwr.js → register.setup-Ah9E7LHA.js} +9 -8
- package/dist/{register.setup-C0XLhwPd.js → register.setup-BDqhSgCz.js} +44 -43
- package/dist/{register.status-health-sessions-CMF93G-p.js → register.status-health-sessions-BJYemCHi.js} +6 -5
- package/dist/{register.status-health-sessions-Dqh15XbO.js → register.status-health-sessions-CMQS8zwA.js} +44 -43
- package/dist/{register.subclis-D_HoHaB7.js → register.subclis-Bb0yWevQ.js} +9 -9
- package/dist/{registry-DYq1AYOv.js → registry-UkL38jvt.js} +17 -17
- package/dist/{replies-ZYtI9jr0.js → replies-CM5QgPHM.js} +1 -1
- package/dist/{plugin-sdk/replies-LLcQL3w6.js → replies-CbeMv5WZ.js} +3 -3
- package/dist/{reply-CMb-m0ZJ.js → reply-YphHjxHp.js} +46 -44
- package/dist/{reply-prefix-DpqZu44Z.js → reply-prefix-ZnX2V-k9.js} +1 -1
- package/dist/{resolve-route-C4_I4GFI.js → resolve-route-gl0ZOOKR.js} +4 -4
- package/dist/{retry-BBVXkKBV.js → retry-D25Z8MVS.js} +1 -1
- package/dist/{routes-Ba9CUQ8M.js → routes-B1-BfEDm.js} +1 -1
- package/dist/{rpc-_E0CZJKf.js → rpc-gJOYujMj.js} +1 -1
- package/dist/{run-main-e6LI0zRf.js → run-main-CZI2Ne08.js} +17 -16
- package/dist/{runner-CU9l0uJh.js → runner-B2Y_5crX.js} +26 -25
- package/dist/{runner-BORIO-D3.js → runner-CW9KEL7W.js} +1 -1
- package/dist/{runner-DUBExAb5.js → runner-DKkSu9cc.js} +7 -6
- package/dist/{runner-BSzJIT-z.js → runner-DmM2HhB-.js} +2 -2
- package/dist/{sandbox-C-T6hOMv.js → sandbox-DAOxwUQm.js} +2 -2
- package/dist/{sandbox-cli-BllVdQzR.js → sandbox-cli-BV6FS0bK.js} +3 -3
- package/dist/{security-cli-BSZ1_9R3.js → security-cli-BA4AGkeh.js} +8 -8
- package/dist/{send-C1IYd3g7.js → send-BJTX03Bn.js} +1 -1
- package/dist/{send-DXW6mdgR.js → send-CB3dCCmE.js} +1 -1
- package/dist/{send-CvhXrdgS.js → send-CCNIWI2Z.js} +12 -12
- package/dist/{send-D-hWrHoH.js → send-CFzf_ab4.js} +1 -1
- package/dist/{send-DAN9hA5h.js → send-CPSKimCF.js} +8 -8
- package/dist/{send-DkfYiRx5.js → send-Cgcbuw8U.js} +1 -1
- package/dist/{send-C4Ucr8ep.js → send-DHWMRnPk.js} +3 -3
- package/dist/{send-CVMyYPQw.js → send-Dy8tsHUE.js} +7 -7
- package/dist/{send-DWYkPSUs.js → send-ZI2bG_Jc.js} +1 -1
- package/dist/{send-CQAKg_12.js → send-iUSZIdml.js} +7 -7
- package/dist/{send-BArQpbtx.js → send-iVPD3yf2.js} +1 -1
- package/dist/{send-DYj_o4_F.js → send-sgxdFZNy.js} +22 -22
- package/dist/{server-context-CEpFjqSk.js → server-context-CHYWo_TC.js} +3 -3
- package/dist/{server-methods-CZJHMB_M.js → server-methods-C3xXynlm.js} +7 -7
- package/dist/{server-methods-D5X0JrXg.js → server-methods-DJ3Bi-Xg.js} +25 -25
- package/dist/{server-node-events-BpNyybGF.js → server-node-events-Cgdwex4k.js} +5 -4
- package/dist/{server-node-events-Cu_8g2ws.js → server-node-events-DS50d7AK.js} +28 -27
- package/dist/{service-Cl74hx8J.js → service-osK70kTZ.js} +2 -2
- package/dist/{session-DtMfLMdP.js → session-BF9s_N2s.js} +1 -1
- package/dist/{session-DSU1vxxi.js → session-BTpKgzso.js} +8 -8
- package/dist/{session-cost-usage-UxUgrslM.js → session-cost-usage-BXAI7CNH.js} +1 -1
- package/dist/session-dirs-Dgz7kkUM.js +18 -0
- package/dist/{shared-BJvwnR5z.js → shared-DnmJ0ABB.js} +2 -2
- package/dist/{skill-commands-DklY7Cj7.js → skill-commands-D8RiKDh0.js} +1 -1
- package/dist/{skill-commands-DcVwOafC.js → skill-commands-HBkNllDU.js} +16 -16
- package/dist/{skills-Bs0AW1g3.js → skills-CGHRETGF.js} +24 -24
- package/dist/{skills-cli-BZTBLQTt.js → skills-cli-C-URp1av.js} +5 -5
- package/dist/{skills-install-D67isO1L.js → skills-install-CWVdJkLn.js} +4 -4
- package/dist/{skills-status-CURJKnyY.js → skills-status-C3ptXwnh.js} +1 -1
- package/dist/{sqlite-D_mz1_-y.js → sqlite-JHY-uOmS.js} +16 -16
- package/dist/{status-CXib3MSE.js → status-0aNBSe72.js} +16 -16
- package/dist/{status-iJUy8byq.js → status-2KD2q2sn.js} +1 -1
- package/dist/{status-C2iQbl7T.js → status-BBnhTX-n.js} +1 -1
- package/dist/{status-CL1xQrpW.js → status-D9uWA9pU.js} +2 -2
- package/dist/{status.update-DtwCUTf-.js → status.update-DP0OFqyb.js} +1 -1
- package/dist/{store-01F_JM7O.js → store-Ea3zM6xK.js} +6 -6
- package/dist/{subagent-registry-Cdiios3w.js → subagent-registry-aZczbtLM.js} +8 -6
- package/dist/{subsystem-BjyjJF-d.js → subsystem-DN75fnEF.js} +1 -1
- package/dist/{system-cli-C4A3Udil.js → system-cli-BXewgTZR.js} +3 -112
- package/dist/system-run-command-B_qw8CXP.js +93 -0
- package/dist/{systemd-riq8uNJQ.js → systemd-DT6SbCim.js} +1 -1
- package/dist/{systemd-hints-BR6gChwm.js → systemd-hints-DZH9qY5W.js} +4 -4
- package/dist/{systemd-linger-aQ75ZlXY.js → systemd-linger-DCskIKcx.js} +2 -2
- package/dist/{tables-qMwbq29u.js → tables-Dkg9O8rv.js} +2 -2
- package/dist/{target-errors-Bbr9rlzN.js → target-errors-Pr77jao5.js} +2 -2
- package/dist/{thinking-BprCy23Z.js → thinking-C9-JAUzD.js} +5 -5
- package/dist/{tokens-Bux9Y_xD.js → tokens-CCZl4YHT.js} +1 -1
- package/dist/{plugin-sdk/tool-images-HJ2sfZDV.js → tool-images-B1qVCntj.js} +2 -2
- package/dist/{tool-loop-detection-DR_rrIA1.js → tool-loop-detection-C33wf43N.js} +3 -3
- package/dist/{tui-D14a9N3F.js → tui-DLaU7tTx.js} +2 -2
- package/dist/{tui-cli-Bg4YuRSd.js → tui-cli-D-PVUsS5.js} +6 -6
- package/dist/{unified-runner-dSVvVx1y.js → unified-runner-hulABWDL.js} +237 -235
- package/dist/{update-rw7wJwHd.js → update-Ya0e-JnM.js} +1 -1
- package/dist/{update-check-CtckACbb.js → update-check-7EzEjSzb.js} +1 -1
- package/dist/{update-cli-CSWxJ-hA.js → update-cli-CnN_k3P1.js} +62 -61
- package/dist/{update-cli-B5q0ErXF.js → update-cli-DwGmFbPH.js} +11 -10
- package/dist/{update-runner-jvpPI7iP.js → update-runner-BkdQhkKR.js} +1 -1
- package/dist/{update-runner-BB5A0jnW.js → update-runner-dT5l0kuK.js} +3 -3
- package/dist/{web-BuHFfZp7.js → web-C0ZdaR6w.js} +24 -23
- package/dist/{web-DsdmLxAP.js → web-CJSRBiDm.js} +31 -30
- package/dist/{web-BsEbA9Ur.js → web-DPki9fDa.js} +4 -3
- package/dist/{web-DDmkA8-N.js → web-DpQ5RaFz.js} +63 -62
- package/dist/{webhooks-cli-cD58DWAE.js → webhooks-cli-iOLEyFdx.js} +1 -1
- package/dist/{whatsapp-actions-DvhI5-DC.js → whatsapp-actions-BW8P8Izy.js} +3 -3
- package/dist/{whatsapp-actions-DbcsdOH3.js → whatsapp-actions-BmcMtU_J.js} +1 -1
- package/dist/{whatsapp-actions-BIeSWsCF.js → whatsapp-actions-D_w4AfW9.js} +24 -24
- package/dist/{with-timeout-gmK6RciS.js → with-timeout-D2z7OkiK.js} +1 -1
- package/dist/{workspace-DscDraUb.js → workspace-DqJ5h-ZB.js} +27 -27
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/learning-loop/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +12 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/pipeline/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/pi-auth-json-DhTX6MBO.js +0 -13
- package/dist/plugin-sdk/web-qmzvsQZn.js +0 -65
- /package/dist/{active-listener-1krIj9TM.js → active-listener-Dx_Y1ouV.js} +0 -0
- /package/dist/{active-listener-kvXhlgwu.js → active-listener-SKkHHqlN.js} +0 -0
- /package/dist/{allow-from-BZCKLkjL.js → allow-from-BIJVrwCW.js} +0 -0
- /package/dist/{argv-C6ovOie2.js → argv-B20UI_hB.js} +0 -0
- /package/dist/{auth-choice-legacy-Ch38-Kbr.js → auth-choice-legacy-aJ8D6F_s.js} +0 -0
- /package/dist/{auth-token-BnOynwk4.js → auth-token-Cay2jwzn.js} +0 -0
- /package/dist/{brew-DjNEjKAo.js → brew-DZPKCJr0.js} +0 -0
- /package/dist/{catalog-RiADx7MA.js → catalog-NQ4pj9RI.js} +0 -0
- /package/dist/{channel-selection-DuWs0Aak.js → channel-selection-V2xDgw16.js} +0 -0
- /package/dist/{channels-status-issues-B_kBkl_u.js → channels-status-issues-CJ0Vb_9z.js} +0 -0
- /package/dist/{clipboard-Cg3cin13.js → clipboard-BIyDbnnI.js} +0 -0
- /package/dist/{command-options-BtDai3oC.js → command-options-BkTXKWlb.js} +0 -0
- /package/dist/{command-poll-backoff-BiwOFDEK.js → command-poll-backoff-BGS2SHjF.js} +0 -0
- /package/dist/{command-poll-backoff-Bup9wS1y.js → command-poll-backoff-CaTOIqVn.js} +0 -0
- /package/dist/{config-ClSsetRi.js → config-DmMe1tf9.js} +0 -0
- /package/dist/{config-validation-CmimHAES.js → config-validation-BckiR0w9.js} +0 -0
- /package/dist/{constants-C8_BLnaW.js → constants-CafH8-8D.js} +0 -0
- /package/dist/{control-ui-assets-Z947tKLt.js → control-ui-assets-B7moDVHX.js} +0 -0
- /package/dist/{dangerous-tools-BL-M3lPt.js → dangerous-tools-BvU3-DRl.js} +0 -0
- /package/dist/{delivery-queue-CxuV9EeG.js → delivery-queue-CAxX6nGq.js} +0 -0
- /package/dist/{dm-policy-shared-Bh3TbexU.js → dm-policy-shared-DlDAGtZL.js} +0 -0
- /package/dist/{docs-cli-BpnEOtJi.js → docs-cli-qE-blOLC.js} +0 -0
- /package/dist/{entry-status-CAs6m3_l.js → entry-status-BOOmFr_b.js} +0 -0
- /package/dist/{exec-approvals-Kn31mBcW.js → exec-approvals-DXM2pQYL.js} +0 -0
- /package/dist/{fetch-timeout-DL3f_O53.js → fetch-timeout-Cj6kcyGt.js} +0 -0
- /package/dist/{format-yQZNwAF2.js → format-B0yJsjEo.js} +0 -0
- /package/dist/{gateway-rpc-5aGm8LwU.js → gateway-rpc-DiTk_nOl.js} +0 -0
- /package/dist/{gmail-setup-utils-Bv0M7ka7.js → gmail-setup-utils-Dq6vwkWW.js} +0 -0
- /package/dist/{health-format-DSwnXZPU.js → health-format-DRCaak6L.js} +0 -0
- /package/dist/{heartbeat-visibility-U4BL57eQ.js → heartbeat-visibility-ChEo5Zvk.js} +0 -0
- /package/dist/{helpers-By2rxBQ5.js → helpers-BtH6pa6c.js} +0 -0
- /package/dist/{helpers-BcGbMZD1.js → helpers-DnjQ73f_.js} +0 -0
- /package/dist/{inbound-context-DSDTl6Kj.js → inbound-context-Dvqh1Tgb.js} +0 -0
- /package/dist/{ipv4-CxY-xbsH.js → ipv4-CjlyK5jc.js} +0 -0
- /package/dist/{is-main-DrpmTCqv.js → is-main-CmNWsNFB.js} +0 -0
- /package/dist/{logging-BzzwiKjv.js → logging-KpicI3yD.js} +0 -0
- /package/dist/{model-param-b-BCRDjJEJ.js → model-param-b-Cp9d4e-0.js} +0 -0
- /package/dist/{node-match-CN8o4Vi3.js → node-match-CdUiymRU.js} +0 -0
- /package/dist/{nodes-screen-VBGXKdLk.js → nodes-screen-8Bq7DiSa.js} +0 -0
- /package/dist/{onboard-config-DPPsiC8t.js → onboard-config-B9jTl83d.js} +0 -0
- /package/dist/{outbound-attachment-mQQiYZ3C.js → outbound-attachment-Bw-c5Cdp.js} +0 -0
- /package/dist/{pairing-labels-2S6x2UoV.js → pairing-labels-DyXoD1DS.js} +0 -0
- /package/dist/{parse-log-line-BHCUQaF3.js → parse-log-line-DvYyTYq4.js} +0 -0
- /package/dist/{parse-port-Vm8F7Kus.js → parse-port-DnJYkByg.js} +0 -0
- /package/dist/{parse-timeout-C385GCpE.js → parse-timeout-2S5vp0-9.js} +0 -0
- /package/dist/{path-safety-BqPJ8DDQ.js → path-safety-D55Cxg8r.js} +0 -0
- /package/dist/{pi-model-discovery-Bv5YDJc8.js → pi-model-discovery-CuZX_Q4t.js} +0 -0
- /package/dist/plugin-sdk/{command-poll-backoff-CBq0jVRw.js → command-poll-backoff-Bug27PHS.js} +0 -0
- /package/dist/{plugins-allowlist-sArtGE-d.js → plugins-allowlist-BjKJrQ0e.js} +0 -0
- /package/dist/{polls-CCuCaqgv.js → polls-BKbIUHj7.js} +0 -0
- /package/dist/{ports-BX0kKI0g.js → ports-DtW62rqS.js} +0 -0
- /package/dist/{prompt-style-8JqOYj0q.js → prompt-style-CnkMpSXt.js} +0 -0
- /package/dist/{prompts-Xu2Sveka.js → prompts-CfOu9uZi.js} +0 -0
- /package/dist/{proxy-BaSHbVlA.js → proxy-CLEew2L6.js} +0 -0
- /package/dist/{proxy-CBJ1upuz.js → proxy-DVy9foH0.js} +0 -0
- /package/dist/{pw-ai-DqL87js3.js → pw-ai-C_1hRlOM.js} +0 -0
- /package/dist/{qmd-manager-D85GJrir.js → qmd-manager-CCUK1xoc.js} +0 -0
- /package/dist/{qmd-manager-Bx06p6nk.js → qmd-manager-qpFs_a6u.js} +0 -0
- /package/dist/{qr-cli-jd9LdZpq.js → qr-cli-9L-HExyH.js} +0 -0
- /package/dist/{render-CDCvpfhh.js → render-DwEu-aCr.js} +0 -0
- /package/dist/{runtime-guard-B37eizu-.js → runtime-guard-Dik20CVM.js} +0 -0
- /package/dist/{runtime-status-CR9445g5.js → runtime-status-D6c3G7my.js} +0 -0
- /package/dist/{session-DIBTkyvE.js → session-CINKYYDi.js} +0 -0
- /package/dist/{shared-Knv1hy6h.js → shared-CvNixzwn.js} +0 -0
- /package/dist/{skill-scanner-CLs8u6vQ.js → skill-scanner-hMtQbWPV.js} +0 -0
- /package/dist/{stagger-BUClb97_.js → stagger-CvFURHzt.js} +0 -0
- /package/dist/{status-BrV-afZE.js → status-klsFDD3M.js} +0 -0
- /package/dist/{table-BTgkRafz.js → table-BKlH0YlA.js} +0 -0
- /package/dist/{tool-loop-detection-DPVtQOfM.js → tool-loop-detection-DZQMPDma.js} +0 -0
- /package/dist/{tool-loop-detection-C7TCF2V2.js → tool-loop-detection-Dd4SFWb1.js} +0 -0
- /package/dist/{usage-format-BzKEDn0q.js → usage-format-BgUx3Bm4.js} +0 -0
- /package/dist/{widearea-dns-DzLerlJb.js → widearea-dns-CyVOLgNE.js} +0 -0
- /package/dist/{workspace-CYxdoAlY.js → workspace-B4H-2N8y.js} +0 -0
- /package/dist/{wsl-C4424szg.js → wsl-q8spwrME.js} +0 -0
|
@@ -1,71 +1,72 @@
|
|
|
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-hulABWDL.js";
|
|
8
|
+
import { s as resolveStorePath } from "./paths-DEuVuViW.js";
|
|
9
|
+
import "./auth-profiles-CZZjOpX8.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-Cr1X3W9i.js";
|
|
14
|
+
import { n as loadConfig } from "./config-giEDOxub.js";
|
|
15
|
+
import "./manifest-registry-0J48biqr.js";
|
|
16
|
+
import "./chrome-D0sqCqXY.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-Dy8tsHUE.js";
|
|
32
|
+
import "./send-CCNIWI2Z.js";
|
|
33
|
+
import "./tool-images-B1qVCntj.js";
|
|
34
|
+
import "./deliver-BY58QnO8.js";
|
|
35
|
+
import "./diagnostic-DIKKFHpP.js";
|
|
36
36
|
import "./diagnostic-session-state-Zw87xFym.js";
|
|
37
|
-
import "./image-
|
|
38
|
-
import "./
|
|
39
|
-
import
|
|
40
|
-
import "./
|
|
41
|
-
import
|
|
42
|
-
import "./
|
|
43
|
-
import "./
|
|
44
|
-
import "./
|
|
45
|
-
import "./
|
|
46
|
-
import "./
|
|
47
|
-
import
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import "./
|
|
52
|
-
import "./
|
|
53
|
-
import
|
|
54
|
-
import "./
|
|
55
|
-
import
|
|
56
|
-
import "./
|
|
57
|
-
import
|
|
58
|
-
import {
|
|
59
|
-
import "./
|
|
60
|
-
import "./
|
|
61
|
-
import "./
|
|
62
|
-
import
|
|
63
|
-
import "./
|
|
64
|
-
import "./
|
|
65
|
-
import
|
|
66
|
-
import {
|
|
67
|
-
import { i as
|
|
68
|
-
import { t as
|
|
37
|
+
import "./image-CKMw_vhe.js";
|
|
38
|
+
import "./pi-auth-json-BQcKJvH0.js";
|
|
39
|
+
import "./tokens-CCZl4YHT.js";
|
|
40
|
+
import { G as formatLocationText, J as readChannelAllowFromStore, K as toLocationContext, X as upsertChannelPairingRequest } from "./send-sgxdFZNy.js";
|
|
41
|
+
import "./pi-model-discovery-CuZX_Q4t.js";
|
|
42
|
+
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-ZnX2V-k9.js";
|
|
43
|
+
import "./manager-BoLUtbg2.js";
|
|
44
|
+
import "./gemini-auth-C39f2zRe.js";
|
|
45
|
+
import "./sqlite-JHY-uOmS.js";
|
|
46
|
+
import "./retry-D25Z8MVS.js";
|
|
47
|
+
import "./target-errors-Pr77jao5.js";
|
|
48
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-B9x_1qSr.js";
|
|
49
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DuRhvVpP.js";
|
|
50
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-Bh5xx9IO.js";
|
|
51
|
+
import { a as loadWebMedia } from "./ir-Z9axTYHx.js";
|
|
52
|
+
import "./render-DwEu-aCr.js";
|
|
53
|
+
import "./commands-registry-DPf4J7nj.js";
|
|
54
|
+
import { y as registerUnhandledRejectionHandler } from "./runner-B2Y_5crX.js";
|
|
55
|
+
import "./skill-commands-HBkNllDU.js";
|
|
56
|
+
import { t as finalizeInboundContext } from "./inbound-context-Dvqh1Tgb.js";
|
|
57
|
+
import "./fetch-Dnti0cFs.js";
|
|
58
|
+
import { n as recordChannelActivity } from "./channel-activity-Cm1OJRbv.js";
|
|
59
|
+
import { t as convertMarkdownTables } from "./tables-Dkg9O8rv.js";
|
|
60
|
+
import "./send-CPSKimCF.js";
|
|
61
|
+
import "./outbound-attachment-BOy-OY4-.js";
|
|
62
|
+
import "./send-iUSZIdml.js";
|
|
63
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-gl0ZOOKR.js";
|
|
64
|
+
import "./proxy-DVy9foH0.js";
|
|
65
|
+
import "./replies-CbeMv5WZ.js";
|
|
66
|
+
import { r as setActiveWebListener } from "./active-listener-C3pfJhdC.js";
|
|
67
|
+
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-B_wliV26.js";
|
|
68
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BTpKgzso.js";
|
|
69
|
+
import { t as loginWeb } from "./login-2w0Q7Btb.js";
|
|
69
70
|
import { randomUUID } from "node:crypto";
|
|
70
71
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
71
72
|
|
|
@@ -14,7 +14,7 @@ import "./manifest-registry-C4BxOMWX.js";
|
|
|
14
14
|
import "./frontmatter-DWQhtOo7.js";
|
|
15
15
|
import "./skills-6jdJQ5ZL.js";
|
|
16
16
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
17
|
-
import { C as normalizeServePath, S as normalizeHooksPath, T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, a as ensureTopic, b as generateHookToken, c as DEFAULT_GMAIL_LABEL, d as DEFAULT_GMAIL_SERVE_BIND, f as DEFAULT_GMAIL_SERVE_PATH, g as buildDefaultHookUrl, h as DEFAULT_GMAIL_TOPIC, i as ensureTailscaleEndpoint, l as DEFAULT_GMAIL_MAX_BYTES, m as DEFAULT_GMAIL_SUBSCRIPTION, n as ensureGcloudAuth, o as resolveProjectIdFromGogCredentials, p as DEFAULT_GMAIL_SERVE_PORT, r as ensureSubscription, s as runGcloud, t as ensureDependency, u as DEFAULT_GMAIL_RENEW_MINUTES, v as buildGogWatchStartArgs, w as parseTopicPath, x as mergeHookPresets, y as buildTopicPath } from "./gmail-setup-utils-
|
|
17
|
+
import { C as normalizeServePath, S as normalizeHooksPath, T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, a as ensureTopic, b as generateHookToken, c as DEFAULT_GMAIL_LABEL, d as DEFAULT_GMAIL_SERVE_BIND, f as DEFAULT_GMAIL_SERVE_PATH, g as buildDefaultHookUrl, h as DEFAULT_GMAIL_TOPIC, i as ensureTailscaleEndpoint, l as DEFAULT_GMAIL_MAX_BYTES, m as DEFAULT_GMAIL_SUBSCRIPTION, n as ensureGcloudAuth, o as resolveProjectIdFromGogCredentials, p as DEFAULT_GMAIL_SERVE_PORT, r as ensureSubscription, s as runGcloud, t as ensureDependency, u as DEFAULT_GMAIL_RENEW_MINUTES, v as buildGogWatchStartArgs, w as parseTopicPath, x as mergeHookPresets, y as buildTopicPath } from "./gmail-setup-utils-Dq6vwkWW.js";
|
|
18
18
|
import { spawn } from "node:child_process";
|
|
19
19
|
|
|
20
20
|
//#region src/hooks/gmail-ops.ts
|
|
@@ -2,7 +2,7 @@ import "./paths-CE7eVGHg.js";
|
|
|
2
2
|
import "./registry-BhoUuugi.js";
|
|
3
3
|
import "./agent-scope-Cbl5pNe1.js";
|
|
4
4
|
import "./subsystem-CZixfwU8.js";
|
|
5
|
-
import "./model-selection-
|
|
5
|
+
import "./model-selection-B8QKPmTL.js";
|
|
6
6
|
import "./github-copilot-token-BbsJ0Qbo.js";
|
|
7
7
|
import "./env-CQ_DQOwT.js";
|
|
8
8
|
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-71oIavrF.js";
|
|
@@ -10,7 +10,7 @@ import { t as resolveWhatsAppAccount } from "./accounts-DDEyGwby.js";
|
|
|
10
10
|
import "./bindings-DYVakimr.js";
|
|
11
11
|
import "./image-ops-ByaQt43P.js";
|
|
12
12
|
import "./message-channel-BQINJQIT.js";
|
|
13
|
-
import "./config-
|
|
13
|
+
import "./config-DBqxAhpU.js";
|
|
14
14
|
import "./manifest-registry-D-mTF1cj.js";
|
|
15
15
|
import "./ssrf-CxfFyMRZ.js";
|
|
16
16
|
import "./tool-images-ChC2CXaN.js";
|
|
@@ -21,7 +21,7 @@ import "./local-roots-CC8jiKDk.js";
|
|
|
21
21
|
import "./ir-F0moAwIl.js";
|
|
22
22
|
import "./render-B1VqYyvo.js";
|
|
23
23
|
import "./tables-COnZ169v.js";
|
|
24
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
24
|
+
import { r as sendReactionWhatsApp } from "./outbound-BihTVvMr.js";
|
|
25
25
|
|
|
26
26
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
27
27
|
function resolveWhatsAppOutboundTarget(params) {
|
|
@@ -27,7 +27,7 @@ import "./markdown-tables-CEbN0fEm.js";
|
|
|
27
27
|
import "./ir-DZam9q5M.js";
|
|
28
28
|
import "./render-CXDO_kgw.js";
|
|
29
29
|
import "./tables-BEzT0Da4.js";
|
|
30
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
30
|
+
import { r as sendReactionWhatsApp } from "./outbound-DyBiNY4z.js";
|
|
31
31
|
|
|
32
32
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
33
33
|
function resolveWhatsAppOutboundTarget(params) {
|
|
@@ -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-CZZjOpX8.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-giEDOxub.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-
|
|
24
|
-
import "./render-
|
|
25
|
-
import "./tables-
|
|
26
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
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-Pr77jao5.js";
|
|
20
|
+
import "./chunk-B9x_1qSr.js";
|
|
21
|
+
import "./markdown-tables-DuRhvVpP.js";
|
|
22
|
+
import "./local-roots-Bh5xx9IO.js";
|
|
23
|
+
import "./ir-Z9axTYHx.js";
|
|
24
|
+
import "./render-DwEu-aCr.js";
|
|
25
|
+
import "./tables-Dkg9O8rv.js";
|
|
26
|
+
import { r as sendReactionWhatsApp } from "./outbound-B_wliV26.js";
|
|
27
27
|
|
|
28
28
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
29
29
|
function resolveWhatsAppOutboundTarget(params) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as escapeRegExp } from "./utils-B-0b9bGM.js";
|
|
2
|
-
import { t as registerBrowserRoutes } from "./routes-
|
|
2
|
+
import { t as registerBrowserRoutes } from "./routes-B1-BfEDm.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import { execFile } from "node:child_process";
|
|
5
5
|
import { promisify } from "node:util";
|
|
@@ -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;
|