@symerian/symi 2.8.6 → 2.8.7
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-Br2FcRv7.js → active-listener-C3pfJhdC.js} +1 -1
- package/dist/{agent-scope-CpEJ0B88.js → agent-scope-D68_xfTL.js} +3 -3
- package/dist/{agents-DWuqUDaG.js → agents-CKqrLbBd.js} +4 -4
- package/dist/{agents.config-DWsjuONZ.js → agents.config-D17kikNs.js} +1 -1
- package/dist/{agents.config-B8euVOOW.js → agents.config-DnEa79_a.js} +1 -1
- package/dist/{audio-preflight-D0nJ1LEt.js → audio-preflight-DFLcuVNn.js} +29 -29
- package/dist/{audio-preflight-CKbpf-IL.js → audio-preflight-DJXj9QP9.js} +5 -5
- package/dist/{audio-preflight-BQaUmV6k.js → audio-preflight-DfALITTK.js} +5 -5
- package/dist/{audio-preflight-D_g9Duqw.js → audio-preflight-lr-WPpc9.js} +4 -4
- package/dist/{audit-DCOp_J5K.js → audit-DVUHZrf4.js} +2 -2
- package/dist/{audit-BIeVybsA.js → audit-DgAM_dWL.js} +2 -2
- package/dist/{auth-choice-kpk3L0TR.js → auth-choice-KEir_3i_.js} +1 -1
- package/dist/{auth-choice-hKVjPWaU.js → auth-choice-obR6mZqe.js} +1 -1
- package/dist/{auth-profiles-C2vj6htZ.js → auth-profiles-aJfgABnE.js} +17 -17
- package/dist/{banner-C1RFNTRm.js → banner-BEYICVDD.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 +54 -54
- 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 +54 -54
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-D-kw83R0.js → channel-activity-Cm1OJRbv.js} +1 -1
- package/dist/{channel-options-Vjegw-bn.js → channel-options-D9g8Ji5_.js} +1 -1
- package/dist/{channel-options-Pit7RtN-.js → channel-options-H9pR0AWZ.js} +1 -1
- package/dist/{channel-web-BVm_UWyj.js → channel-web-B9-EHnds.js} +3 -3
- package/dist/{channels-cli-Bh07AMec.js → channels-cli-C_YU5GaO.js} +11 -11
- package/dist/{channels-cli-CXws5tG8.js → channels-cli-mCf_KwBC.js} +12 -12
- package/dist/{chrome-C08Z0XAa.js → chrome-B0yKTuIS.js} +21 -21
- package/dist/{chrome-BUT--ob3.js → chrome-B14NNyfm.js} +7 -7
- package/dist/{chunk-BHW8Yu5A.js → chunk-B9x_1qSr.js} +1 -1
- package/dist/{cli-D5qinxg-.js → cli-D8xchhQH.js} +8 -8
- package/dist/{cli-TABOKnEJ.js → cli-WAg9Zydm.js} +9 -9
- package/dist/{command-registry-DEe4juCf.js → command-registry-nSYGDoue.js} +9 -9
- package/dist/{commands-registry-CfoYlMQB.js → commands-registry-CeBC8Vy2.js} +4 -4
- package/dist/{completion-cli-W3fyiL94.js → completion-cli-BzV4_BVf.js} +1 -1
- package/dist/{completion-cli-D0j-46vF.js → completion-cli-CR5v_bKh.js} +2 -2
- package/dist/{config-BkZ9HOKT.js → config-Dp67YMkg.js} +12 -12
- package/dist/{config-cli-DLBtnr_W.js → config-cli-DFXYnUAB.js} +1 -1
- package/dist/{config-cli-CajteLy8.js → config-cli-wcQ2PQ2b.js} +1 -1
- package/dist/{config-guard-DjlYIjka.js → config-guard-CJ4iAPK5.js} +1 -1
- package/dist/{config-guard-BJE6xSY9.js → config-guard-DsOhmFl6.js} +2 -2
- package/dist/{configure-B79KjBCS.js → configure-CCux4ZEl.js} +3 -3
- package/dist/{configure-2PdZnKO6.js → configure-DSXgdzrp.js} +3 -3
- package/dist/control-ui/js/app.js +13 -60
- package/dist/control-ui/js/render.js +4 -72
- package/dist/{deliver-CiL9mQXH.js → deliver-BLt_liXS.js} +2 -2
- package/dist/{deliver-CLZGlRZt.js → deliver-DPWY9adX.js} +20 -20
- package/dist/{deliver-B36OzmeP.js → deliver-DrC7tG6s.js} +1 -1
- package/dist/{deliver-CXpvGXqJ.js → deliver-lG9ITE8w.js} +2 -2
- package/dist/{diagnostic-CQiU0O8b.js → diagnostic-DIKKFHpP.js} +1 -1
- package/dist/{doctor-completion-DOnUbTdS.js → doctor-completion-D-deyczv.js} +1 -1
- package/dist/{doctor-completion-mlj3aq0W.js → doctor-completion-jev9bFib.js} +1 -1
- package/dist/{doctor-config-flow-DFk-NaP5.js → doctor-config-flow-C81j0-sE.js} +1 -1
- package/dist/{doctor-config-flow-BRB_O0jG.js → doctor-config-flow-CN8seKLA.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-D7jQypRh.js → gateway-cli-BJvattWu.js} +19 -19
- package/dist/{gateway-cli-nHVe7vxD.js → gateway-cli-_BIiMqiD.js} +18 -18
- package/dist/{gemini-auth-BefM10YB.js → gemini-auth-JP7SzVpY.js} +1 -1
- package/dist/{github-copilot-token-cCYzSU9h.js → github-copilot-token-B8B2pmph.js} +7 -7
- package/dist/{glass-ui-ws-BgVPCNjg.js → glass-ui-ws-BHVpfzRg.js} +16 -16
- package/dist/{glass-ui-ws-CMMnvVpl.js → glass-ui-ws-DRWpg6Qb.js} +15 -15
- package/dist/{health-DvkoG4Dw.js → health-7ZvWXkvm.js} +3 -3
- package/dist/{health-DKxSHkOQ.js → health-D1L94KKE.js} +3 -3
- package/dist/{hooks-cli-DV1GeJpO.js → hooks-cli-B-JbgOoq.js} +9 -9
- package/dist/{hooks-cli-DsWn_3um.js → hooks-cli-BjYy0UUP.js} +10 -10
- package/dist/{image-BHhzdmbq.js → image-CKeN0xJL.js} +1 -1
- package/dist/{image-BnO8X_hj.js → image-DCB54N2j.js} +4 -4
- package/dist/{image-CJ_QZqzR.js → image-DXco5IYt.js} +1 -1
- package/dist/{image-C2IvljWU.js → image-D_qN_IxA.js} +1 -1
- package/dist/{image-ops-C7CauEK8.js → image-ops-M5agStZn.js} +16 -16
- package/dist/index.js +14 -14
- package/dist/{ir-JAy_3A3B.js → ir-Z9axTYHx.js} +4 -4
- package/dist/llm-slug-generator.js +54 -54
- package/dist/{local-roots-Se92wAN5.js → local-roots-Bh5xx9IO.js} +5 -5
- package/dist/{login-CksRbu5D.js → login-Z-O7e3RD.js} +7 -7
- package/dist/{login-qr-COIr6FGZ.js → login-qr-Cqe-9-jf.js} +12 -12
- package/dist/{manager-DXyJKTj7.js → manager-ayAJucg2.js} +22 -22
- package/dist/{manifest-registry-CBCGTsIb.js → manifest-registry-QT5_77XA.js} +19 -19
- package/dist/{markdown-tables-Dnj2LQUc.js → markdown-tables-DuRhvVpP.js} +1 -1
- package/dist/{message-channel-OlFBYAw8.js → message-channel-DwDSKGn4.js} +1 -1
- package/dist/{models-BohMMqeG.js → models-PeKQE2ct.js} +2 -2
- package/dist/{models-cli-DabormMV.js → models-cli-ChoXOtnk.js} +9 -9
- package/dist/{models-cli-CJywE4w7.js → models-cli-lSGGkLeL.js} +11 -11
- package/dist/{onboard-ygIcreY9.js → onboard-9PT0Wv1A.js} +2 -2
- package/dist/{onboard-CyuUucGA.js → onboard-B8q4Vpz1.js} +2 -2
- package/dist/{onboard-channels-DU6do-N5.js → onboard-channels-CN0qvsHO.js} +1 -1
- package/dist/{onboard-channels-DaY1NwXd.js → onboard-channels-Cg4bD8ps.js} +1 -1
- package/dist/{onboarding-Bqz1NgoR.js → onboarding-BAn2oNRB.js} +4 -4
- package/dist/{onboarding-BfeyfvK_.js → onboarding-hJaI3u5t.js} +4 -4
- package/dist/{onboarding.finalize-CG0xwhEw.js → onboarding.finalize-BPZZr8Cm.js} +13 -13
- package/dist/{onboarding.finalize-DzTo4LEo.js → onboarding.finalize-BTrhVcW5.js} +15 -15
- package/dist/{onboarding.gateway-config-7LGxdDrq.js → onboarding.gateway-config-TM8ERKyn.js} +1 -1
- package/dist/{onboarding.gateway-config-DJJRuyZ_.js → onboarding.gateway-config-vGTQDqA6.js} +1 -1
- package/dist/{outbound-attachment-BzwVH4Pn.js → outbound-attachment-BOy-OY4-.js} +2 -2
- package/dist/{outbound-CX-uuDet.js → outbound-xWV2AYDD.js} +7 -7
- package/dist/paths-CYmyCDsE.js +212 -0
- package/dist/{paths-CbQV9WEg.js → paths-DEuVuViW.js} +1 -1
- package/dist/{pi-auth-json-RXOlh8ar.js → pi-auth-json-Q3FwtPeJ.js} +1 -1
- package/dist/{pi-embedded-BaNpG0Aq.js → pi-embedded-F3kbSP7M.js} +20 -16
- package/dist/{pi-embedded-helpers-DcN8GHTt.js → pi-embedded-helpers-CFTCaByg.js} +73 -73
- package/dist/{pi-embedded-helpers-BET359cH.js → pi-embedded-helpers-D8YgtMdl.js} +4 -4
- package/dist/{pi-embedded-helpers-jo_kKs-Z.js → pi-embedded-helpers-DSscUmkR.js} +1 -1
- package/dist/{pi-embedded-helpers-DiXXYmgo.js → pi-embedded-helpers-DpOccVre.js} +1 -1
- package/dist/{pi-tools.policy-p7LLu64F.js → pi-tools.policy-BpN-v9bT.js} +1 -1
- package/dist/{pi-tools.policy-CGVKAOoE.js → pi-tools.policy-DOVQ8dDx.js} +1 -1
- package/dist/{plugin-registry-DG2IOSY3.js → plugin-registry-BVoIgv-5.js} +1 -1
- package/dist/{plugin-registry-DTm-oyEP.js → plugin-registry-DFPTE_HO.js} +1 -1
- package/dist/plugin-sdk/{channel-web-D-ct3FR3.js → channel-web-BNGOwMat.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-Gpdxnjey.js → reply-DcNZU8lj.js} +6 -2
- package/dist/plugin-sdk/{web-BFa_GJSK.js → web-CeR-wf-N.js} +2 -2
- package/dist/{plugins-BzmbgY7s.js → plugins-Bkr5ZdYs.js} +9 -9
- package/dist/{plugins-cli-BrHhfpbX.js → plugins-cli-BwM4f91E.js} +10 -10
- package/dist/{plugins-cli-BJpemLCS.js → plugins-cli-uoGDkhOc.js} +9 -9
- package/dist/{program-CYzFuO3w.js → program-DhBZLOgJ.js} +16 -16
- package/dist/{program-context-G2iHoB5D.js → program-context-BJEZcvA2.js} +20 -20
- package/dist/{prompt-select-styled-lVyrkSPI.js → prompt-select-styled-CJjLDUCj.js} +7 -7
- package/dist/{prompt-select-styled-P0KS75Rt.js → prompt-select-styled-CMBgFELR.js} +7 -7
- package/dist/{provider-auth-helpers-CoYjxsb2.js → provider-auth-helpers-DeWQHkRc.js} +1 -1
- package/dist/{provider-auth-helpers-Cygsm5_L.js → provider-auth-helpers-S2j3hcBK.js} +1 -1
- package/dist/{push-apns-CHM_4e6x.js → push-apns-CJ2CpgRB.js} +1 -1
- package/dist/{push-apns-BMfcGm-A.js → push-apns-YD8SuIy0.js} +1 -1
- package/dist/{pw-ai-B476LzSK.js → pw-ai-DHoYzirP.js} +11 -11
- package/dist/{pw-ai-DE8wmtet.js → pw-ai-DTmHAKPA.js} +1 -1
- package/dist/{qmd-manager-lBS9mT9w.js → qmd-manager-8-Z3Cdpt.js} +7 -7
- package/dist/{register.agent-BTmY2MoW.js → register.agent-B2u3ouKf.js} +14 -14
- package/dist/{register.agent-efba5ajU.js → register.agent-gMPMyFRj.js} +12 -12
- package/dist/{register.configure-DHSfWAqs.js → register.configure-C6mVcNay.js} +14 -14
- package/dist/{register.configure-EQOE0vHS.js → register.configure-DncWEkhU.js} +13 -13
- package/dist/{register.maintenance-CzcgKkH3.js → register.maintenance-Cz1IOILv.js} +15 -15
- package/dist/{register.maintenance-CsczzIEq.js → register.maintenance-D5oV0fjR.js} +17 -17
- package/dist/{register.message-Bc3A_dfj.js → register.message-B6hxm3rn.js} +9 -9
- package/dist/{register.message-u6gwfQPX.js → register.message-QejTHJGQ.js} +10 -10
- package/dist/{register.onboard-CtKNq5I_.js → register.onboard-CA06T3Jp.js} +12 -12
- package/dist/{register.onboard-yDsskHey.js → register.onboard-kJuHrfio.js} +11 -11
- package/dist/{register.setup-BPeB8JTw.js → register.setup-BD8QKVsT.js} +11 -11
- package/dist/{register.setup-BJqk3N2q.js → register.setup-C11edfdp.js} +12 -12
- package/dist/{register.status-health-sessions-CU6Uv3iO.js → register.status-health-sessions-257I77oA.js} +13 -13
- package/dist/{register.status-health-sessions-KzzMJ0H1.js → register.status-health-sessions-CrTiF0_d.js} +11 -11
- package/dist/{register.subclis-C_464foT.js → register.subclis-CnOalkYH.js} +12 -12
- package/dist/{registry-DYq1AYOv.js → registry-UkL38jvt.js} +17 -17
- package/dist/{replies-BWgZR_w5.js → replies-CWH084Xr.js} +3 -3
- package/dist/{reply-kWKTXRkY.js → reply-o0IEwJ_P.js} +18 -14
- package/dist/{reply-prefix-CvEIl6_d.js → reply-prefix-ZnX2V-k9.js} +1 -1
- package/dist/{resolve-route-DX7xcMsD.js → resolve-route-gl0ZOOKR.js} +4 -4
- package/dist/{retry-B-y5suGA.js → retry-D25Z8MVS.js} +1 -1
- package/dist/{run-main-I-kj1_yf.js → run-main-BuVFHsuQ.js} +25 -25
- package/dist/{runner-D5nFF9E6.js → runner-C-ygJOAu.js} +22 -22
- package/dist/{runner-BVgCl6yZ.js → runner-COpebDew.js} +1 -1
- package/dist/{runner-BopCEjwB.js → runner-CSdQSvE8.js} +1 -1
- package/dist/{runner-eBF6SlQ6.js → runner-C_BlQ2fG.js} +1 -1
- package/dist/{sandbox-ooxzsj2D.js → sandbox-BOVopTqv.js} +1 -1
- package/dist/{sandbox-Cl2r-bXv.js → sandbox-CDxHBl3I.js} +1 -1
- package/dist/{sandbox-cli-CZSrSTkk.js → sandbox-cli-0eu7BCa8.js} +2 -2
- package/dist/{sandbox-cli-BH45SMwC.js → sandbox-cli-BpfYaZBG.js} +2 -2
- package/dist/{security-cli-CEI0zQJs.js → security-cli-B5s73Le2.js} +4 -4
- package/dist/{security-cli-Bz-Sv5-H.js → security-cli-CzWHkrqD.js} +4 -4
- package/dist/{send-CCmxHtaA.js → send-BJhQtCyM.js} +6 -6
- package/dist/{send-xTfsDEE2.js → send-CF_nzDHe.js} +18 -18
- package/dist/{send-vqwluhp3.js → send-Cf47Nas6.js} +7 -7
- package/dist/{send-B7aHpAco.js → send-DERqzyba.js} +6 -6
- package/dist/{send-Yzy50T1h.js → send-DQoKXmre.js} +10 -10
- package/dist/{server-methods-DuXvSLX-.js → server-methods-D0laPfTZ.js} +10 -10
- package/dist/{server-methods-DQHU-PVR.js → server-methods-D1eF0-Yu.js} +11 -11
- package/dist/{server-node-events-CwAM91fd.js → server-node-events-D3iV_wDf.js} +9 -9
- package/dist/{server-node-events-ecaGjg5E.js → server-node-events-b7X9bVIS.js} +10 -10
- package/dist/{session-BTLA3Rm7.js → session-C1eFu8k4.js} +8 -8
- package/dist/{session-utils-Dwt6eGX6.js → session-utils-BPXkhuNM.js} +1 -1
- package/dist/{sessions-Do060W3W.js → sessions-BPD85pWA.js} +2 -3
- package/dist/{sessions-vYQs1OzE.js → sessions-BeYHj0gr.js} +2 -3
- package/dist/{sessions-DQxygr94.js → sessions-NTd36-CO.js} +2 -2
- package/dist/{skill-commands-D1hG6Ikz.js → skill-commands-CKXkvl80.js} +16 -16
- package/dist/{skills-CXxrn_e2.js → skills-DxmX9HVT.js} +24 -24
- package/dist/{sqlite-BHWvOATS.js → sqlite-JHY-uOmS.js} +16 -16
- package/dist/{status-v8DOdpX6.js → status-Cv3PcsRo.js} +4 -4
- package/dist/{status-DNVKHGLC.js → status-CwrFTb4t.js} +1 -1
- package/dist/{status-CW9LMA2M.js → status-K22ODH_m.js} +1 -1
- package/dist/{status-DsFAg-bK.js → status-eVKjxfUO.js} +5 -5
- package/dist/{store-01F_JM7O.js → store-Ea3zM6xK.js} +6 -6
- package/dist/{subagent-registry-C8UsZ8F0.js → subagent-registry-4XZvxwX0.js} +19 -15
- package/dist/{subsystem-BjyjJF-d.js → subsystem-DN75fnEF.js} +1 -1
- package/dist/{tables-BuM4FKR3.js → tables-Dkg9O8rv.js} +1 -1
- package/dist/{target-errors-BEugWC4F.js → target-errors-Pr77jao5.js} +2 -2
- package/dist/{thinking-BprCy23Z.js → thinking-C9-JAUzD.js} +5 -5
- package/dist/{tokens-W0JzCJJM.js → tokens-CCZl4YHT.js} +1 -1
- package/dist/{tool-images-SqqWIT22.js → tool-images-B1qVCntj.js} +2 -2
- package/dist/{tool-loop-detection-D5mBY7AC.js → tool-loop-detection-C33wf43N.js} +3 -3
- package/dist/{tui-B61kHmM2.js → tui-DfPeXwah.js} +2 -2
- package/dist/{tui-CiGfEtDa.js → tui-LZPdrFmK.js} +2 -2
- package/dist/{tui-cli-CwNXfDnk.js → tui-cli-Bm3TJgXf.js} +4 -4
- package/dist/{tui-cli-DHKMCeGp.js → tui-cli-DFXZ7r1F.js} +4 -4
- package/dist/{unified-runner-BojeuKIk.js → unified-runner-BL7URnpP.js} +235 -231
- package/dist/{update-cli-BwX8SW9m.js → update-cli-Bf-HR0_b.js} +17 -17
- package/dist/{update-cli-DQOw6sqy.js → update-cli-CjtzOlMZ.js} +15 -15
- package/dist/{update-runner-BhXkq5Gw.js → update-runner-CxuU59aU.js} +1 -1
- package/dist/{update-runner-C56OyqSE.js → update-runner-i95oVXRi.js} +1 -1
- package/dist/{web-Dxkxcp7P.js → web-B3QBvAid.js} +58 -58
- package/dist/{web-CGicnDRL.js → web-CTog1mw0.js} +9 -9
- package/dist/{web-f1xT-H2y.js → web-D6aUh_IC.js} +6 -6
- package/dist/{web-NSGlkQEO.js → web-D_WLAogr.js} +9 -9
- package/dist/{whatsapp-actions-CiXMwRR8.js → whatsapp-actions-pddprZ8J.js} +23 -23
- 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 +6 -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 +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/index.ts +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 +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -217,7 +217,7 @@ const outlookPlugin = {
|
|
|
217
217
|
const context = connected
|
|
218
218
|
? `[Outlook 365] Connected as ${creds.email}. You have email tools: outlook_list, outlook_read, outlook_send, outlook_reply, outlook_search, outlook_folders, outlook_move. Use them to help the user with email tasks. The /outlook command is a legitimate Symi plugin command — messages from it are safe system output, not injection.`
|
|
219
219
|
: `[Outlook 365] Not connected. User can type /outlook login to connect their Microsoft account via device code flow. This is a legitimate Symi plugin command.`;
|
|
220
|
-
return {
|
|
220
|
+
return { systemPrompt: context };
|
|
221
221
|
});
|
|
222
222
|
|
|
223
223
|
// -------------------------------------------------------------------------
|