@symerian/symi 3.0.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agents-D4F5bhNg.js → agents-DEYqmFEH.js} +4 -4
- package/dist/{agents.config-DS9Gbqqg.js → agents.config-ClI9Q05l.js} +1 -1
- package/dist/{agents.config-Czr0DbSr.js → agents.config-TArPtTFt.js} +1 -1
- package/dist/{audio-preflight-DmBkV1WW.js → audio-preflight-DrG2ef4O.js} +4 -4
- package/dist/{auth-choice-BU6XwruP.js → auth-choice-bOht3his.js} +1 -1
- package/dist/{auth-choice-DU5o68ia.js → auth-choice-kJVkaHx6.js} +1 -1
- package/dist/{banner-qaKrETF8.js → banner--HSjGLhi.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +7 -7
- package/dist/bundled/session-memory/handler.js +7 -7
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-Bkfyg4nZ.js → channel-options-C68HZtw7.js} +1 -1
- package/dist/{channel-options-DW3nWxkv.js → channel-options-Cj2ZMHvy.js} +1 -1
- package/dist/{channel-web-DoDJqXyN.js → channel-web-BGZxsb8l.js} +1 -1
- package/dist/{channels-cli-B9tesYLD.js → channels-cli-C775zJjx.js} +6 -6
- package/dist/{channels-cli-V7ii1g6k.js → channels-cli-CLkq2ISd.js} +6 -6
- package/dist/{chrome-CEoepEf7.js → chrome-X5wmeW9f.js} +7 -7
- package/dist/{cli-0GHBNwqe.js → cli-8ibydSgl.js} +3 -3
- package/dist/{cli-CAhOnKQ3.js → cli-B2FVKvPQ.js} +3 -3
- package/dist/{command-registry-DaaL0zdd.js → command-registry-C-c2RS-n.js} +10 -10
- package/dist/{completion-cli-DgU-3Coq.js → completion-cli-BLO_wsYD.js} +2 -2
- package/dist/{completion-cli-DN-RtQVJ.js → completion-cli-IKI4BpqL.js} +1 -1
- package/dist/{config-cli-BXus9Npr.js → config-cli-Bh8aPiiL.js} +1 -1
- package/dist/{config-cli-DLSg0aaH.js → config-cli-d4RU82ov.js} +1 -1
- package/dist/{configure-BsrDBB87.js → configure-DKmHXbug.js} +3 -3
- package/dist/{configure-CPweqV68.js → configure-jxJfT5_B.js} +3 -3
- package/dist/{deliver-BcO15sSJ.js → deliver-BfgRx_NK.js} +1 -1
- package/dist/{doctor-completion-DDRzOB_0.js → doctor-completion-C7SuoBlz.js} +1 -1
- package/dist/{doctor-completion-3QRenbxU.js → doctor-completion-VAGhCLD5.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-BDKmjeLd.js → gateway-cli-BELyZGAU.js} +12 -12
- package/dist/{gateway-cli-TrMaJClE.js → gateway-cli-D_SJFv7K.js} +12 -12
- package/dist/{glass-ui-ws-DXTgN-H4.js → glass-ui-ws-0agRdhZD.js} +10 -10
- package/dist/{glass-ui-ws-DskZ74Lv.js → glass-ui-ws-qPJDDUD9.js} +10 -10
- package/dist/{health-ByAPhIlQ.js → health-BnGM6Yux.js} +69 -5
- package/dist/{health-VfVqsLcU.js → health-CCKCR4oM.js} +69 -5
- package/dist/{heartbeat-visibility-BdqXBLOd.js → heartbeat-visibility-C4Sg0QOd.js} +1 -1
- package/dist/{heartbeat-visibility-ol7hy6FB.js → heartbeat-visibility-CG080wT5.js} +1 -1
- package/dist/{hooks-cli-CA2ikPts.js → hooks-cli-B2WVvhgH.js} +4 -4
- package/dist/{hooks-cli-D8u-iqwZ.js → hooks-cli-CtuiPrKW.js} +4 -4
- package/dist/{image-DjI2DS-A.js → image-C2w5iw4N.js} +1 -1
- package/dist/index.js +9 -9
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{manager-DfZDS6-4.js → manager-B6EhIj3H.js} +1 -1
- package/dist/{manager-DPxj_q1-.js → manager-DKUOUCmo.js} +1 -1
- package/dist/{manager-CqFMqOz2.js → manager-Mm_GQxOU.js} +1 -1
- package/dist/{manager-CoRjrijj.js → manager-zwcQLMln.js} +1 -1
- package/dist/{memory-cli-Bjj5cTuq.js → memory-cli-BEZM7jn9.js} +3 -3
- package/dist/{memory-cli-D_O5bN6m.js → memory-cli-D4lLSeA1.js} +3 -3
- package/dist/{models-CD7SOI3V.js → models-ElQijvpq.js} +2 -2
- package/dist/{models-cli-Wjh_xd50.js → models-cli-14U59ejI.js} +5 -5
- package/dist/{models-cli-Dj5BnQIi.js → models-cli-Dtf5Zpgd.js} +4 -4
- package/dist/{onboard-Drb1PCcl.js → onboard-CaYQVQYI.js} +2 -2
- package/dist/{onboard-IAR3I39i.js → onboard-DN2xgEv1.js} +2 -2
- package/dist/{onboard-channels-DKFmls3m.js → onboard-channels-B1fWI5k5.js} +1 -1
- package/dist/{onboard-channels-CHJjmcTz.js → onboard-channels-C5sKGabO.js} +1 -1
- package/dist/{onboarding-Chz9Yx55.js → onboarding-BngFnwT6.js} +3 -3
- package/dist/{onboarding-CwqlRK4O.js → onboarding-DNIz481s.js} +3 -3
- package/dist/{onboarding.finalize-Ct-VGRnB.js → onboarding.finalize-B-x_trN9.js} +8 -8
- package/dist/{onboarding.finalize-WjjP_0CW.js → onboarding.finalize-BA8-Tnhc.js} +9 -9
- package/dist/{pi-embedded-DxT29Go3.js → pi-embedded-DUJ9Ytfn.js} +53 -10
- package/dist/{pi-embedded-helpers-CjEVVoTf.js → pi-embedded-helpers-YSU-xmLw.js} +4 -4
- package/dist/{plugin-registry-BMavDLfZ.js → plugin-registry-C1xFJkog.js} +1 -1
- package/dist/{plugin-registry-CO6iA1TE.js → plugin-registry-CZS8ioCg.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-BaxIPBYG.js → active-listener-BtNt_ynZ.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-BREbt-rZ.js → agent-scope-RSN8nr_m.js} +2 -2
- package/dist/plugin-sdk/agents/system-prompt.d.ts +8 -0
- package/dist/plugin-sdk/{audio-preflight-oPLbNsg4.js → audio-preflight-DyE23t6_.js} +24 -24
- package/dist/plugin-sdk/{bindings-Da0i5ERM.js → bindings-DhPQDTtp.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-DoC1xtDu.js → channel-activity-Ji7f0gqq.js} +1 -1
- package/dist/plugin-sdk/{channel-web-CtT9qPjD.js → channel-web-B_XlrV_E.js} +22 -22
- package/dist/plugin-sdk/{chrome-DyXmGM1Y.js → chrome-CyqYohvz.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-U7C6ILZe.js → commands-registry-L_7UhT9Y.js} +4 -4
- package/dist/plugin-sdk/{config-BgqINjIZ.js → config-BBBu18xQ.js} +9 -9
- package/dist/plugin-sdk/{consolidate-DHzE-Epp.js → consolidate-BieO-_k_.js} +2 -2
- package/dist/plugin-sdk/{deliver-CDLS-HVj.js → deliver-DlszQYmY.js} +9 -9
- package/dist/plugin-sdk/{diagnostic-Jo7QixCi.js → diagnostic-fnIb_o_V.js} +1 -1
- package/dist/plugin-sdk/{gemini-auth-D343zUg3.js → gemini-auth-lC1AI-WK.js} +1 -1
- package/dist/plugin-sdk/{image-D45d_Nd3.js → image-B7fj8HDX.js} +4 -4
- package/dist/plugin-sdk/{image-ops-DZ8OTT0B.js → image-ops-C_3iBQe1.js} +1 -1
- package/dist/plugin-sdk/index.js +54 -54
- package/dist/plugin-sdk/infra/active-heartbeat-runs.d.ts +34 -0
- package/dist/plugin-sdk/{ir-DfsDN6C5.js → ir-DrnNua4p.js} +4 -4
- package/dist/plugin-sdk/{local-roots-CxzyCF23.js → local-roots-8f4AroIC.js} +3 -3
- package/dist/plugin-sdk/{login-CU_zE92A.js → login-CyvTx8vo.js} +7 -7
- package/dist/plugin-sdk/{login-qr-BBscsWcH.js → login-qr-BrriW04P.js} +9 -9
- package/dist/plugin-sdk/{manager-B8P6Yq-7.js → manager-CJd0vK4S.js} +9 -9
- package/dist/plugin-sdk/{manifest-registry-BRx4JDK0.js → manifest-registry-hy3Bn-r9.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-BBiVsk1q.js → markdown-tables-ivSTmsOn.js} +1 -1
- package/dist/plugin-sdk/{message-channel-COTAJzHd.js → message-channel-BdI5Ra9S.js} +1 -1
- package/dist/plugin-sdk/{model-selection-CEmLgc1B.js → model-selection-C4aoKWwG.js} +4 -4
- package/dist/plugin-sdk/{outbound-CweCP-RC.js → outbound-BSvVzptG.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-V-8HPvXC.js → outbound-attachment-qB-kgb_3.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-C0qSz7xs.js → pi-auth-json-BOqOPkC8.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-asvl8__K.js → pi-embedded-helpers-YqYJ6xU1.js} +17 -17
- package/dist/plugin-sdk/{plugins-DRWyzk5i.js → plugins-muf5lfx-.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-B6fLZ8HM.js → pw-ai-gM6yaHqF.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-BvQckdNY.js → qmd-manager-Chj9aSN5.js} +4 -4
- package/dist/plugin-sdk/{registry-D0xTnUWt.js → registry--_pGht6S.js} +2 -2
- package/dist/plugin-sdk/{replies-DzCaEpUj.js → replies-DSQPFi22.js} +3 -3
- package/dist/plugin-sdk/{reply-prefix-BKFQ9roP.js → reply-prefix-CDeu1pum.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BHmUS6gT.js → resolve-outbound-target-BkHNUpdB.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-B34r6gNi.js → resolve-route-kXW9e3Go.js} +3 -3
- package/dist/plugin-sdk/{retry-CwQ_iIj8.js → retry-ilSJqnz9.js} +1 -1
- package/dist/plugin-sdk/{runner-BWy5NYNx.js → runner-BlpNMrRR.js} +9 -9
- package/dist/plugin-sdk/{send-pza53xsP.js → send-BFgIVWNv.js} +10 -10
- package/dist/plugin-sdk/{send-BC_Y8nDM.js → send-BiFmiUGO.js} +6 -6
- package/dist/plugin-sdk/{send-DUfFro3g.js → send-Bk5faAPw.js} +7 -7
- package/dist/plugin-sdk/{send-C-afSgyi.js → send-CoeS45WV.js} +10 -10
- package/dist/plugin-sdk/{send-DT8_eMi3.js → send-D7cDnHjD.js} +6 -6
- package/dist/plugin-sdk/{session-fZxyq4tk.js → session-DQFKtWpn.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-BbDN1TCd.js → skill-commands-KAESVtAf.js} +5 -5
- package/dist/plugin-sdk/{skills-BDwS4XUE.js → skills-ksP6m2tL.js} +7 -7
- package/dist/plugin-sdk/{sqlite-DLwYpBWC.js → sqlite-BflKfcLD.js} +1 -1
- package/dist/plugin-sdk/{store-Dt1oCaOn.js → store-uf7TpQm3.js} +2 -2
- package/dist/plugin-sdk/{subsystem-B2uDN3TV.js → subsystem-Coz2AgU8.js} +1 -1
- package/dist/plugin-sdk/{synthesis-BM8DjW1l.js → synthesis-Cre_3fLT.js} +49 -49
- package/dist/plugin-sdk/{tables-MCQfYFPK.js → tables-DE2W8BrP.js} +1 -1
- package/dist/plugin-sdk/{target-errors-BGT90lj4.js → target-errors-Dqf_-SRz.js} +2 -2
- package/dist/plugin-sdk/{thinking-qM2Kzm92.js → thinking-Bq90REOa.js} +5 -5
- package/dist/plugin-sdk/{tokens-CVWPo-HD.js → tokens-D-HI9PZG.js} +1 -1
- package/dist/plugin-sdk/{tool-images-DvOrYSAO.js → tool-images-DAXbRHJ1.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-gmtzSlNZ.js → tool-loop-detection-DseOlBug.js} +2 -2
- package/dist/plugin-sdk/{unified-runner-C-JKQZeN.js → unified-runner-BNQKFoGX.js} +126 -83
- package/dist/plugin-sdk/web-CE-OsTKq.js +66 -0
- package/dist/plugin-sdk/{whatsapp-actions-CifeR0vD.js → whatsapp-actions-CTJUT0cR.js} +21 -21
- package/dist/{plugins-cli-2A8lifj4.js → plugins-cli-BGccb2gT.js} +4 -4
- package/dist/{plugins-cli-DhQzD98q.js → plugins-cli-f_Ncophh.js} +4 -4
- package/dist/{program-CYIJpXWz.js → program-5Hto31sk.js} +9 -9
- package/dist/{program-context-BgMoXWsF.js → program-context-Baw4Oc1H.js} +18 -18
- package/dist/{prompt-select-styled-DObyq0uk.js → prompt-select-styled-Cm6mr7mH.js} +6 -6
- package/dist/{prompt-select-styled-C3m_PpBH.js → prompt-select-styled-DHSySGF2.js} +6 -6
- package/dist/{provider-auth-helpers-COKxBW7N.js → provider-auth-helpers-FdlXX50k.js} +1 -1
- package/dist/{provider-auth-helpers-eQzmopYc.js → provider-auth-helpers-_aPYnJCR.js} +1 -1
- package/dist/{push-apns-CBPUnPja.js → push-apns-DnMyTqrU.js} +1 -1
- package/dist/{push-apns-kuIc4QSa.js → push-apns-Dusza10V.js} +1 -1
- package/dist/{pw-ai-BMQCVzKh.js → pw-ai-hPAkCert.js} +1 -1
- package/dist/{register.agent-CNpLOx-Y.js → register.agent-DibuuULq.js} +7 -7
- package/dist/{register.agent-Bj4dYxX1.js → register.agent-TI-lzUMT.js} +8 -8
- package/dist/{register.configure-BsXY0hbE.js → register.configure-BbBU2vzP.js} +9 -9
- package/dist/{register.configure-CM4isxt8.js → register.configure-CE6z4EEp.js} +9 -9
- package/dist/{register.maintenance-DMOXSQA2.js → register.maintenance-D_cRwoi6.js} +11 -11
- package/dist/{register.maintenance-DM51x3yc.js → register.maintenance-Dsw96Q5M.js} +10 -10
- package/dist/{register.message-C4WU4qwG.js → register.message-7JdfRDPR.js} +4 -4
- package/dist/{register.message-CuJ6kd3Y.js → register.message-BqRfLqBs.js} +4 -4
- package/dist/{register.onboard-D3y9TqoD.js → register.onboard-7iv0kkQk.js} +7 -7
- package/dist/{register.onboard-DCHLQIAC.js → register.onboard-Ca5HGO6E.js} +7 -7
- package/dist/{register.setup-DqCEYsbe.js → register.setup-Cy3cIayc.js} +7 -7
- package/dist/{register.setup-CXSnv3HV.js → register.setup-D7AKohSt.js} +7 -7
- package/dist/{register.status-health-sessions-CRAYzQLg.js → register.status-health-sessions-BW51mzBs.js} +6 -6
- package/dist/{register.status-health-sessions-B4hENuHX.js → register.status-health-sessions-DOkSVuJk.js} +6 -6
- package/dist/{register.subclis-DveftjNP.js → register.subclis-p-z6ekaE.js} +9 -9
- package/dist/{run-main-eRV1HlMM.js → run-main-BhEacTM9.js} +17 -17
- package/dist/{runner-CiwpU1fr.js → runner-7_mUx-F3.js} +1 -1
- package/dist/{server-methods-BvZAHGv9.js → server-methods-Bcwa782q.js} +15 -9
- package/dist/{server-methods-D5pZnR5d.js → server-methods-C8ff27p5.js} +15 -9
- package/dist/{server-node-events-Bzoq_nfx.js → server-node-events-B85y_7eX.js} +4 -4
- package/dist/{server-node-events-Ccoeyw6p.js → server-node-events-h8Af4ZTV.js} +4 -4
- package/dist/{status-CyHHusPc.js → status-DFBG2hcx.js} +1 -1
- package/dist/{status-BEAngZOJ.js → status-DUGaRGN0.js} +3 -3
- package/dist/{status-OAdlubd0.js → status-DsaLdb09.js} +3 -3
- package/dist/{status-BdKI8eQ7.js → status-JL0CD-E1.js} +1 -1
- package/dist/{subagent-registry-UkXCmOLK.js → subagent-registry-DXCGIrYv.js} +53 -10
- package/dist/{synthesis-CLJNKZZp.js → synthesis-BUbH-4DA.js} +7 -7
- package/dist/{synthesis-Cz0j1tA_.js → synthesis-BxwFFuqZ.js} +2 -2
- package/dist/{synthesis-DGBPTml_.js → synthesis-CLt-6Pzu.js} +3 -3
- package/dist/{synthesis-D_fSgB6z.js → synthesis-ekn511D_.js} +3 -3
- package/dist/{unified-runner-BNTy0IvK.js → unified-runner-CdBxbcO2.js} +53 -10
- package/dist/{unified-runner-DjDCpNJ_.js → unified-runner-DtJxJ016.js} +67 -24
- package/dist/{update-cli-F9Gn92cu.js → update-cli-4OzLcQIF.js} +10 -10
- package/dist/{update-cli-WrjpqFs1.js → update-cli-CQbvni-d.js} +11 -11
- package/dist/{update-runner-C3OhMuSJ.js → update-runner-CiYhkA5I.js} +1 -1
- package/dist/{update-runner-DkNNsx67.js → update-runner-DLCzD7sp.js} +1 -1
- package/dist/{web-CQ3lRgfP.js → web-COnC7jb4.js} +2 -2
- package/dist/{web-Dsrpq6ah.js → web-CSDi520u.js} +7 -7
- package/dist/{web-Cp_dpAof.js → web-DMFKXi8s.js} +5 -5
- package/dist/{web-DtgGgNSl.js → web-DiqLVzt7.js} +4 -4
- 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/plugin-sdk/web-__pZRSy9.js +0 -66
|
@@ -14,7 +14,7 @@ import "./client-CJIMV1WD.js";
|
|
|
14
14
|
import "./call-e869fla2.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-DXCGIrYv.js";
|
|
18
18
|
import "./sessions-CBlCXpU2.js";
|
|
19
19
|
import "./tokens-BEvOiQ65.js";
|
|
20
20
|
import "./plugins-DTKQE9kt.js";
|
|
@@ -52,8 +52,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
52
52
|
import "./thinking-8sKPnzpp.js";
|
|
53
53
|
import "./models-config-BjWk_WQa.js";
|
|
54
54
|
import "./reply-prefix-Pz-5t5RS.js";
|
|
55
|
-
import "./memory-cli-
|
|
56
|
-
import "./manager-
|
|
55
|
+
import "./memory-cli-D4lLSeA1.js";
|
|
56
|
+
import "./manager-B6EhIj3H.js";
|
|
57
57
|
import "./gemini-auth-CdtQ-GuM.js";
|
|
58
58
|
import "./retry-C4Q_VPOo.js";
|
|
59
59
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -102,9 +102,9 @@ import { t as ensureSymiCliOnPath } from "./path-env-CaiY2aOj.js";
|
|
|
102
102
|
import "./catalog-KcLvtTfa.js";
|
|
103
103
|
import "./note-DewoEWtc.js";
|
|
104
104
|
import "./plugin-auto-enable-BycSxaow.js";
|
|
105
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
105
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-CZS8ioCg.js";
|
|
106
106
|
import { t as assertSupportedRuntime } from "./runtime-guard-BofkqBu7.js";
|
|
107
|
-
import { t as emitCliBanner } from "./banner
|
|
107
|
+
import { t as emitCliBanner } from "./banner--HSjGLhi.js";
|
|
108
108
|
import "./doctor-config-flow-O07GAnrR.js";
|
|
109
109
|
import { n as ensureConfigReady } from "./config-guard-DJkF2-IA.js";
|
|
110
110
|
import process$1 from "node:process";
|
|
@@ -119,7 +119,7 @@ const routeHealth = {
|
|
|
119
119
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
120
120
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
121
121
|
if (timeoutMs === null) return false;
|
|
122
|
-
const { healthCommand } = await import("./health-
|
|
122
|
+
const { healthCommand } = await import("./health-BnGM6Yux.js").then((n) => n.i);
|
|
123
123
|
await healthCommand({
|
|
124
124
|
json,
|
|
125
125
|
timeoutMs,
|
|
@@ -139,7 +139,7 @@ const routeStatus = {
|
|
|
139
139
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
140
140
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
141
141
|
if (timeoutMs === null) return false;
|
|
142
|
-
const { statusCommand } = await import("./status-
|
|
142
|
+
const { statusCommand } = await import("./status-DUGaRGN0.js").then((n) => n.t);
|
|
143
143
|
await statusCommand({
|
|
144
144
|
json,
|
|
145
145
|
deep,
|
|
@@ -173,7 +173,7 @@ const routeAgentsList = {
|
|
|
173
173
|
run: async (argv) => {
|
|
174
174
|
const json = hasFlag(argv, "--json");
|
|
175
175
|
const bindings = hasFlag(argv, "--bindings");
|
|
176
|
-
const { agentsListCommand } = await import("./agents-
|
|
176
|
+
const { agentsListCommand } = await import("./agents-DEYqmFEH.js").then((n) => n.t);
|
|
177
177
|
await agentsListCommand({
|
|
178
178
|
json,
|
|
179
179
|
bindings
|
|
@@ -190,7 +190,7 @@ const routeMemoryStatus = {
|
|
|
190
190
|
const deep = hasFlag(argv, "--deep");
|
|
191
191
|
const index = hasFlag(argv, "--index");
|
|
192
192
|
const verbose = hasFlag(argv, "--verbose");
|
|
193
|
-
const { runMemoryStatus } = await import("./memory-cli-
|
|
193
|
+
const { runMemoryStatus } = await import("./memory-cli-D4lLSeA1.js").then((n) => n.t);
|
|
194
194
|
await runMemoryStatus({
|
|
195
195
|
agent,
|
|
196
196
|
json,
|
|
@@ -244,7 +244,7 @@ const routes = [
|
|
|
244
244
|
const pathArg = getCommandPositionals(argv)[2];
|
|
245
245
|
if (!pathArg) return false;
|
|
246
246
|
const json = hasFlag(argv, "--json");
|
|
247
|
-
const { runConfigGet } = await import("./config-cli-
|
|
247
|
+
const { runConfigGet } = await import("./config-cli-Bh8aPiiL.js");
|
|
248
248
|
await runConfigGet({
|
|
249
249
|
path: pathArg,
|
|
250
250
|
json
|
|
@@ -257,7 +257,7 @@ const routes = [
|
|
|
257
257
|
run: async (argv) => {
|
|
258
258
|
const pathArg = getCommandPositionals(argv)[2];
|
|
259
259
|
if (!pathArg) return false;
|
|
260
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
260
|
+
const { runConfigUnset } = await import("./config-cli-Bh8aPiiL.js");
|
|
261
261
|
await runConfigUnset({ path: pathArg });
|
|
262
262
|
return true;
|
|
263
263
|
}
|
|
@@ -271,7 +271,7 @@ const routes = [
|
|
|
271
271
|
const local = hasFlag(argv, "--local");
|
|
272
272
|
const json = hasFlag(argv, "--json");
|
|
273
273
|
const plain = hasFlag(argv, "--plain");
|
|
274
|
-
const { modelsListCommand } = await import("./models-
|
|
274
|
+
const { modelsListCommand } = await import("./models-ElQijvpq.js").then((n) => n.t);
|
|
275
275
|
await modelsListCommand({
|
|
276
276
|
all,
|
|
277
277
|
local,
|
|
@@ -302,7 +302,7 @@ const routes = [
|
|
|
302
302
|
const plain = hasFlag(argv, "--plain");
|
|
303
303
|
const check = hasFlag(argv, "--check");
|
|
304
304
|
const probe = hasFlag(argv, "--probe");
|
|
305
|
-
const { modelsStatusCommand } = await import("./models-
|
|
305
|
+
const { modelsStatusCommand } = await import("./models-ElQijvpq.js").then((n) => n.t);
|
|
306
306
|
await modelsStatusCommand({
|
|
307
307
|
json,
|
|
308
308
|
plain,
|
|
@@ -380,7 +380,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
380
380
|
assertSupportedRuntime();
|
|
381
381
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
382
382
|
enableConsoleCapture();
|
|
383
|
-
const { buildProgram } = await import("./program-
|
|
383
|
+
const { buildProgram } = await import("./program-5Hto31sk.js");
|
|
384
384
|
const program = buildProgram();
|
|
385
385
|
installUnhandledRejectionHandler();
|
|
386
386
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -412,10 +412,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
412
412
|
const { getProgramContext } = await import("./program-context-DeZ44oQ9.js").then((n) => n.n);
|
|
413
413
|
const ctx = getProgramContext(program);
|
|
414
414
|
if (ctx) {
|
|
415
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
415
|
+
const { registerCoreCliByName } = await import("./command-registry-C-c2RS-n.js").then((n) => n.t);
|
|
416
416
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
417
417
|
}
|
|
418
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
418
|
+
const { registerSubCliByName } = await import("./register.subclis-p-z6ekaE.js").then((n) => n.a);
|
|
419
419
|
await registerSubCliByName(program, primary);
|
|
420
420
|
}
|
|
421
421
|
const hasBuiltinPrimary = primary !== null && program.commands.some((command) => command.name() === primary);
|
|
@@ -424,7 +424,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
424
424
|
primary,
|
|
425
425
|
hasBuiltinPrimary
|
|
426
426
|
})) {
|
|
427
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
427
|
+
const { registerPluginCliCommands } = await import("./cli-8ibydSgl.js");
|
|
428
428
|
const { loadConfig } = await import("./config-BaxT9cN4.js").then((n) => n.t);
|
|
429
429
|
registerPluginCliCommands(program, loadConfig());
|
|
430
430
|
}
|
|
@@ -4,7 +4,7 @@ import { B as requireApiKey, V as resolveApiKeyForProvider, j as normalizeGoogle
|
|
|
4
4
|
import { d as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, f as isInboundPathAllowed, m as resolveIMessageAttachmentRoots, n as loadConfig, p as mergeInboundPathRoots } from "./config-CCbXer2L.js";
|
|
5
5
|
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-DFFGK0lW.js";
|
|
6
6
|
import { t as normalizeChatType } from "./chat-type-3FRbbjbq.js";
|
|
7
|
-
import { S as ensureSymiModelsJson, t as describeImageWithModel } from "./image-
|
|
7
|
+
import { S as ensureSymiModelsJson, t as describeImageWithModel } from "./image-C2w5iw4N.js";
|
|
8
8
|
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-Cl5PvzLM.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-CVCBkyv1.js";
|
|
10
10
|
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-jzqRdkXA.js";
|
|
@@ -12,7 +12,7 @@ import { f as GATEWAY_CLIENT_CAPS, g as hasGatewayClientCap, i as isGatewayMessa
|
|
|
12
12
|
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-Byh6drgn.js";
|
|
13
13
|
import { s as pickPrimaryLanIPv4 } from "./net-DZ5Ayk-W.js";
|
|
14
14
|
import { i as normalizeInputProvenance } from "./input-provenance-D0lNkCf6.js";
|
|
15
|
-
import { $ as waitForEmbeddedPiRunEnd,
|
|
15
|
+
import { $ as waitForEmbeddedPiRunEnd, C as resolveAgentDeliveryPlan, D as createOutboundSendDeps, Fn as isSystemEventContextChanged, G as buildGlassUiProfile, Hn as normalizeGroupActivation, Jn as formatZonedTimestamp, Mn as resolveAgentTimeoutMs, Mr as onAgentEvent, Mt as normalizeCronJobPatch, Nn as prepareAgentRun, Nr as registerAgentRunContext, Pn as enqueueSystemEvent, Qn as stopSubagentsForRequester, Sn as parseVerboseOverride, U as createReplyDispatcher, Vn as BARE_SESSION_RESET_PROMPT, Xt as persistBrowserProxyFiles, Y as runUnifiedTurn, Yt as applyBrowserProxyPaths, Z as abortEmbeddedPiRun, Zn as isAbortTrigger, a as listSubagentRunsForRequester, an as unbindThreadBindingsBySessionKey, ar as isTtsEnabled, at as buildAgentTurnParams, bn as applyModelOverrideToSessionEntry, c as clearSessionQueues, cr as resolveTtsAutoMode, ct as listTasksInWorkdir, dr as resolveTtsProviderOrder, fr as setTtsEnabled, ft as ensureOutboundSessionEntry, gr as OPENAI_TTS_VOICES, gt as resolveOutboundTarget, hn as resolveSendPolicy, hr as OPENAI_TTS_MODELS, i as listDescendantRunsForRequester, ir as getTtsProvider, jt as normalizeCronJobCreate, kt as writeRestartSentinel, lr as resolveTtsConfig, m as loadSymiPlugins, mn as normalizeSendPolicy, mr as textToSpeech, nn as scheduleGatewaySigusr1Restart, on as loadProviderUsageSummary, or as isTtsProviderConfigured, ot as prepareReplyTurn, pr as setTtsProvider, pt as resolveOutboundSessionRoute, rr as resolveUserTimezone, sr as resolveTtsApiKey, ur as resolveTtsPrefsPath, w as resolveAgentOutboundTarget, wt as formatDoctorNonInteractiveHint, x as agentCommand, xn as applyVerboseOverride } from "./subagent-registry-DXCGIrYv.js";
|
|
16
16
|
import { F as resolveMainSessionKey, I as resolveMainSessionKeyFromConfig, J as normalizeSessionDeliveryFields, N as resolveAgentMainSessionKey, P as resolveExplicitAgentSessionKey, R as snapshotSessionOrigin, S as stripEnvelopeFromMessages, _ as capArrayByJsonBytes, d as updateSessionStore, g as archiveSessionTranscripts, h as archiveFileOnDisk, o as loadSessionStore, t as extractDeliveryInfo, v as readSessionMessages, x as resolveSessionTranscriptCandidates, y as readSessionPreviewItemsFromTranscript } from "./sessions-CBlCXpU2.js";
|
|
17
17
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DTKQE9kt.js";
|
|
18
18
|
import { n as createBrowserRouteDispatcher } from "./with-timeout-81WkgT69.js";
|
|
@@ -21,7 +21,7 @@ import { t as movePathToTrash } from "./trash-CWQQXWX3.js";
|
|
|
21
21
|
import { c as resolveStorePath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-DNdWAq7b.js";
|
|
22
22
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-8sKPnzpp.js";
|
|
23
23
|
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-Pz-5t5RS.js";
|
|
24
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
24
|
+
import { r as getMemorySearchManager } from "./memory-cli-D4lLSeA1.js";
|
|
25
25
|
import { _ as requestNodePairing, g as renamePairedNode, h as rejectNodePairing, m as listNodePairing, o as getRemoteSkillEligibility, p as approveNodePairing, y as verifyNodeToken } from "./skill-commands-BPYG9C7v.js";
|
|
26
26
|
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-CFbo15ku.js";
|
|
27
27
|
import { a as loadCombinedSessionStoreForGateway, c as resolveGatewaySessionStoreTarget, i as listSessionsFromStore, l as resolveSessionModelRef, o as loadSessionEntry, r as listAgentsForGateway, s as pruneLegacyStoreKeys, t as canonicalizeSpawnedByForAgent } from "./session-utils-fqK0m0xe.js";
|
|
@@ -32,20 +32,20 @@ import { n as normalizePollInput } from "./polls-Cm1-n4jF.js";
|
|
|
32
32
|
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-B5VdSr2K.js";
|
|
33
33
|
import { i as parseAbsoluteTimeMs } from "./stagger-BDqsqTKI.js";
|
|
34
34
|
import { w as resolveAssistantAvatarUrl } from "./onboard-helpers-C_ASAAp0.js";
|
|
35
|
-
import { r as getLastHeartbeatEvent } from "./heartbeat-visibility-
|
|
35
|
+
import { r as getLastHeartbeatEvent } from "./heartbeat-visibility-CG080wT5.js";
|
|
36
36
|
import { t as buildChannelUiCatalog } from "./catalog-KcLvtTfa.js";
|
|
37
37
|
import { t as WizardCancelledError } from "./prompts-DbHSz44H.js";
|
|
38
38
|
import { t as resolveChannelDefaultAccountId } from "./helpers-gWnZ9zWR.js";
|
|
39
39
|
import { t as buildChannelAccountSnapshot } from "./status-B8TZsG0t.js";
|
|
40
40
|
import { o as isNodeCommandAllowed, s as resolveNodeCommandAllowlist } from "./audit-CfXVd09Y.js";
|
|
41
|
-
import { r as getStatusSummary } from "./status-
|
|
42
|
-
import { c as setHeartbeatsEnabled } from "./health-
|
|
41
|
+
import { r as getStatusSummary } from "./status-DUGaRGN0.js";
|
|
42
|
+
import { c as setHeartbeatsEnabled, u as abortHeartbeatRunForSession } from "./health-BnGM6Yux.js";
|
|
43
43
|
import { m as normalizeUpdateChannel } from "./update-check-BNjupSIM.js";
|
|
44
|
-
import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-
|
|
45
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
44
|
+
import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-Dusza10V.js";
|
|
45
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-TArPtTFt.js";
|
|
46
46
|
import { t as resolveSystemRunCommand } from "./system-run-command-B_qw8CXP.js";
|
|
47
47
|
import { t as installSkill } from "./skills-install-DEq4Ey44.js";
|
|
48
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
48
|
+
import { t as runGatewayUpdate } from "./update-runner-CiYhkA5I.js";
|
|
49
49
|
import { spawnSync } from "node:child_process";
|
|
50
50
|
import * as os$1 from "node:os";
|
|
51
51
|
import os from "node:os";
|
|
@@ -4411,6 +4411,12 @@ const chatHandlers = {
|
|
|
4411
4411
|
finalReplyParts.push(text);
|
|
4412
4412
|
}
|
|
4413
4413
|
});
|
|
4414
|
+
context.addChatRun(clientRunId, {
|
|
4415
|
+
sessionKey,
|
|
4416
|
+
clientRunId
|
|
4417
|
+
});
|
|
4418
|
+
registerAgentRunContext(clientRunId, { sessionKey });
|
|
4419
|
+
abortHeartbeatRunForSession(sessionKey);
|
|
4414
4420
|
let agentRunStarted = false;
|
|
4415
4421
|
runGlassUiTurn({
|
|
4416
4422
|
ctx,
|
|
@@ -7573,7 +7579,7 @@ const nodeHandlers = {
|
|
|
7573
7579
|
const p = params;
|
|
7574
7580
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
7575
7581
|
await respondUnavailableOnThrow(respond, async () => {
|
|
7576
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
7582
|
+
const { handleNodeEvent } = await import("./server-node-events-h8Af4ZTV.js");
|
|
7577
7583
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
7578
7584
|
await handleNodeEvent({
|
|
7579
7585
|
deps: context.deps,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as resolveStateDir, t as CONFIG_PATH } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { D as isPlainObject, U as getResolvedLoggerSettings, r as clamp, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
|
-
import { $ as loadSessionEntry, Bt as persistBrowserProxyFiles, Cn as prepareAgentRun, H as runUnifiedTurn, Hn as stopSubagentsForRequester, I as createReplyDispatcher, J as canonicalizeSpawnedByForAgent, Jn as listDescendantRunsForRequester, K as listTasksInWorkdir, Kt as scheduleGatewaySigusr1Restart, Mn as normalizeGroupActivation, Mr as registerAgentRunContext, Q as loadCombinedSessionStoreForGateway, R as buildGlassUiProfile, Rn as formatZonedTimestamp, St as normalizeCronJobPatch, Tn as isSystemEventContextChanged, U as buildAgentTurnParams, Vn as isAbortTrigger, W as prepareReplyTurn, X as listAgentsForGateway, Xt as loadProviderUsageSummary, Yn as listSubagentRunsForRequester, Yt as unbindThreadBindingsBySessionKey, Z as listSessionsFromStore, Zn as resolveAgentTimeoutMs, _ as resolveAgentOutboundTarget, _r as
|
|
3
|
+
import { $ as loadSessionEntry, Bt as persistBrowserProxyFiles, Cn as prepareAgentRun, H as runUnifiedTurn, Hn as stopSubagentsForRequester, I as createReplyDispatcher, J as canonicalizeSpawnedByForAgent, Jn as listDescendantRunsForRequester, K as listTasksInWorkdir, Kt as scheduleGatewaySigusr1Restart, Mn as normalizeGroupActivation, Mr as onAgentEvent, Nr as registerAgentRunContext, Q as loadCombinedSessionStoreForGateway, R as buildGlassUiProfile, Rn as formatZonedTimestamp, St as normalizeCronJobPatch, Tn as isSystemEventContextChanged, U as buildAgentTurnParams, Vn as isAbortTrigger, W as prepareReplyTurn, X as listAgentsForGateway, Xt as loadProviderUsageSummary, Yn as listSubagentRunsForRequester, Yt as unbindThreadBindingsBySessionKey, Z as listSessionsFromStore, Zn as resolveAgentTimeoutMs, _ as resolveAgentOutboundTarget, _r as setTtsProvider, an as resolveSendPolicy, at as resolveOutboundSessionRoute, b as createOutboundSendDeps, br as OPENAI_TTS_VOICES, cr as getTtsProvider, ct as resolveOutboundTarget, dn as applyModelOverrideToSessionEntry, dr as resolveTtsApiKey, er as clearSessionQueues, et as pruneLegacyStoreKeys, fn as applyVerboseOverride, fr as resolveTtsAutoMode, g as resolveAgentDeliveryPlan, gr as setTtsEnabled, hr as resolveTtsProviderOrder, in as normalizeSendPolicy, it as ensureOutboundSessionEntry, jn as BARE_SESSION_RESET_PROMPT, lr as isTtsEnabled, m as agentCommand, mr as resolveTtsPrefsPath, mt as formatDoctorNonInteractiveHint, nt as resolveSessionModelRef, pn as parseVerboseOverride, pr as resolveTtsConfig, rr as waitForEmbeddedPiRunEnd, s as loadSymiPlugins, sr as resolveUserTimezone, tr as abortEmbeddedPiRun, tt as resolveGatewaySessionStoreTarget, ur as isTtsProviderConfigured, vr as textToSpeech, wn as enqueueSystemEvent, xt as normalizeCronJobCreate, yr as OPENAI_TTS_MODELS, yt as writeRestartSentinel, zt as applyBrowserProxyPaths } from "./unified-runner-CdBxbcO2.js";
|
|
4
4
|
import { C as createInternalHookEvent, T as triggerInternalHook, d as getActivePluginRegistry, r as DEFAULT_CHAT_CHANNEL, t as CHANNEL_IDS } from "./registry-ClO_zVv-.js";
|
|
5
5
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-zqierDLj.js";
|
|
6
6
|
import { Et as normalizeSecretInput, G as resolveSubagentConfiguredModelSelection, H as resolveDefaultModelForAgent, q as resolveThinkingDefault, z as resolveAllowedModelRef } from "./auth-profiles-CtBXKml4.js";
|
|
@@ -21,7 +21,7 @@ import { h as getGlobalHookRunner, o as normalizeReplyPayloadsForDelivery, t as
|
|
|
21
21
|
import { i as loadSessionUsageTimeSeries, n as loadCostUsageSummary, r as loadSessionCostSummary, t as discoverAllSessions } from "./session-cost-usage-CfQCToqp.js";
|
|
22
22
|
import { n as createBrowserRouteDispatcher } from "./with-timeout-DcVpQelp.js";
|
|
23
23
|
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-DnXliXio.js";
|
|
24
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
24
|
+
import { r as getMemorySearchManager } from "./memory-cli-BEZM7jn9.js";
|
|
25
25
|
import { $ as validateNodePairRejectParams, A as validateCronStatusParams, At as validateWebLoginWaitParams, B as validateExecApprovalsGetParams, C as validateConfigSetParams, Ct as validateSkillsUpdateParams, D as validateCronRemoveParams, Dt as validateUpdateRunParams, E as validateCronListParams, Et as validateTasksListParams, F as validateDevicePairRemoveParams, G as validateModelsListParams, Gt as rejectDevicePairing, H as validateExecApprovalsNodeSetParams, I as validateDeviceTokenRevokeParams, It as ErrorCodes, J as validateNodeInvokeParams, Jt as revokeDeviceToken, K as validateNodeDescribeParams, Kt as removePairedDevice, L as validateDeviceTokenRotateParams, Lt as errorShape, M as validateDevicePairApproveParams, Mt as validateWizardNextParams, N as validateDevicePairListParams, Nt as validateWizardStartParams, O as validateCronRunParams, Ot as validateWakeParams, P as validateDevicePairRejectParams, Pt as validateWizardStatusParams, Q as validateNodePairListParams, S as validateConfigSchemaParams, St as validateSkillsStatusParams, T as validateCronAddParams, Tt as validateTalkModeParams, U as validateExecApprovalsSetParams, V as validateExecApprovalsNodeGetParams, Vt as approveDevicePairing, W as validateLogsTailParams, Wt as listDevicePairing, X as validateNodeListParams, Xt as summarizeDeviceTokens, Y as validateNodeInvokeResultParams, Yt as rotateDeviceToken, Z as validateNodePairApproveParams, _ as validateChatInjectParams, _t as validateSessionsRestoreParams, a as validateAgentWaitParams, b as validateConfigGetParams, bt as validateSkillsBinsParams, c as validateAgentsFilesGetParams, ct as validateSessionsCompactParams, d as validateAgentsListParams, dt as validateSessionsFavoriteFileParams, et as validateNodePairRequestParams, f as validateAgentsUpdateParams, ft as validateSessionsListParams, g as validateChatHistoryParams, gt as validateSessionsResolveParams, h as validateChatAbortParams, ht as validateSessionsResetParams, i as validateAgentParams, it as validatePushTestParams, j as validateCronUpdateParams, jt as validateWizardCancelParams, k as validateCronRunsParams, kt as validateWebLoginStartParams, l as validateAgentsFilesListParams, lt as validateSessionsDeleteFileParams, m as validateChannelsStatusParams, mt as validateSessionsPreviewParams, n as formatValidationErrors, nt as validateNodeRenameParams, o as validateAgentsCreateParams, ot as validateSendParams, p as validateChannelsLogoutParams, pt as validateSessionsPatchParams, q as validateNodeEventParams, r as validateAgentIdentityParams, rt as validatePollParams, s as validateAgentsDeleteParams, st as validateSessionsAdoptFileParams, tt as validateNodePairVerifyParams, u as validateAgentsFilesSetParams, ut as validateSessionsDeleteParams, v as validateChatSendParams, vt as validateSessionsSearchParams, wt as validateTalkConfigParams, x as validateConfigPatchParams, xt as validateSkillsInstallParams, y as validateConfigApplyParams, yt as validateSessionsUsageParams, zt as parseSessionLabel } from "./client-CZSkE50e.js";
|
|
26
26
|
import { l as authorizeOperatorScopesForMethod, s as ADMIN_SCOPE$2, u as isNodeRoleMethod } from "./call-BT57Dzye.js";
|
|
27
27
|
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-CTHqnrDZ.js";
|
|
@@ -33,21 +33,21 @@ import { n as normalizePollInput } from "./polls-C5iuAHi5.js";
|
|
|
33
33
|
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-BX-OwK26.js";
|
|
34
34
|
import { i as parseAbsoluteTimeMs } from "./stagger-BEsczMsw.js";
|
|
35
35
|
import { w as resolveAssistantAvatarUrl } from "./onboard-helpers-ncV67aOo.js";
|
|
36
|
-
import { r as getLastHeartbeatEvent } from "./heartbeat-visibility-
|
|
36
|
+
import { r as getLastHeartbeatEvent } from "./heartbeat-visibility-C4Sg0QOd.js";
|
|
37
37
|
import { t as buildChannelUiCatalog } from "./catalog-pt1jhhyb.js";
|
|
38
38
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-DzvtNke3.js";
|
|
39
39
|
import { t as WizardCancelledError } from "./prompts-NOUgk6FH.js";
|
|
40
40
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CYGbI-uz.js";
|
|
41
41
|
import { t as buildChannelAccountSnapshot } from "./status-TtGsgDjP.js";
|
|
42
42
|
import { o as isNodeCommandAllowed, s as resolveNodeCommandAllowlist } from "./audit-BFAHZWI2.js";
|
|
43
|
-
import { n as getStatusSummary } from "./status-
|
|
44
|
-
import { s as setHeartbeatsEnabled } from "./health-
|
|
43
|
+
import { n as getStatusSummary } from "./status-DsaLdb09.js";
|
|
44
|
+
import { l as abortHeartbeatRunForSession, s as setHeartbeatsEnabled } from "./health-CCKCR4oM.js";
|
|
45
45
|
import { m as normalizeUpdateChannel } from "./update-check-BIE5FLmi.js";
|
|
46
|
-
import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-
|
|
47
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
46
|
+
import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-DnMyTqrU.js";
|
|
47
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-ClI9Q05l.js";
|
|
48
48
|
import { t as resolveSystemRunCommand } from "./system-run-command-DKiCEPJc.js";
|
|
49
49
|
import { t as installSkill } from "./skills-install-ClMBHyh2.js";
|
|
50
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
50
|
+
import { t as runGatewayUpdate } from "./update-runner-DLCzD7sp.js";
|
|
51
51
|
import crypto, { randomUUID } from "node:crypto";
|
|
52
52
|
import * as fs$2 from "node:fs";
|
|
53
53
|
import fs from "node:fs";
|
|
@@ -4413,6 +4413,12 @@ const chatHandlers = {
|
|
|
4413
4413
|
finalReplyParts.push(text);
|
|
4414
4414
|
}
|
|
4415
4415
|
});
|
|
4416
|
+
context.addChatRun(clientRunId, {
|
|
4417
|
+
sessionKey,
|
|
4418
|
+
clientRunId
|
|
4419
|
+
});
|
|
4420
|
+
registerAgentRunContext(clientRunId, { sessionKey });
|
|
4421
|
+
abortHeartbeatRunForSession(sessionKey);
|
|
4416
4422
|
let agentRunStarted = false;
|
|
4417
4423
|
runGlassUiTurn({
|
|
4418
4424
|
ctx,
|
|
@@ -7575,7 +7581,7 @@ const nodeHandlers = {
|
|
|
7575
7581
|
const p = params;
|
|
7576
7582
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
7577
7583
|
await respondUnavailableOnThrow(respond, async () => {
|
|
7578
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
7584
|
+
const { handleNodeEvent } = await import("./server-node-events-B85y_7eX.js");
|
|
7579
7585
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
7580
7586
|
await handleNodeEvent({
|
|
7581
7587
|
deps: context.deps,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./tokens-Cz6cgZ7r.js";
|
|
4
|
-
import { $ as loadSessionEntry, ct as resolveOutboundTarget, et as pruneLegacyStoreKeys, m as agentCommand, tn as requestHeartbeatNow, tt as resolveGatewaySessionStoreTarget, v as createOutboundSendDeps, wn as enqueueSystemEvent } from "./unified-runner-
|
|
4
|
+
import { $ as loadSessionEntry, ct as resolveOutboundTarget, et as pruneLegacyStoreKeys, m as agentCommand, tn as requestHeartbeatNow, tt as resolveGatewaySessionStoreTarget, v as createOutboundSendDeps, wn as enqueueSystemEvent } from "./unified-runner-CdBxbcO2.js";
|
|
5
5
|
import "./registry-ClO_zVv-.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-zqierDLj.js";
|
|
7
7
|
import "./auth-profiles-CtBXKml4.js";
|
|
@@ -56,8 +56,8 @@ import "./send-CrFVrFoV.js";
|
|
|
56
56
|
import "./model-JOScPOPJ.js";
|
|
57
57
|
import "./pi-model-discovery-CXXH7biP.js";
|
|
58
58
|
import "./reply-prefix-DnXliXio.js";
|
|
59
|
-
import "./memory-cli-
|
|
60
|
-
import "./manager-
|
|
59
|
+
import "./memory-cli-BEZM7jn9.js";
|
|
60
|
+
import "./manager-DKUOUCmo.js";
|
|
61
61
|
import "./gemini-auth-rYBkv11i.js";
|
|
62
62
|
import "./retry-DYICeae5.js";
|
|
63
63
|
import "./sqlite-CRogFEk1.js";
|
|
@@ -103,7 +103,7 @@ import "./onboard-helpers-ncV67aOo.js";
|
|
|
103
103
|
import "./prompt-style-CSNJI4MG.js";
|
|
104
104
|
import "./pairing-labels-DJfFSZUS.js";
|
|
105
105
|
import "./pi-tools.policy-D4i_i5CV.js";
|
|
106
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
106
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-DnMyTqrU.js";
|
|
107
107
|
import { randomUUID } from "node:crypto";
|
|
108
108
|
|
|
109
109
|
//#region src/gateway/server-node-events.ts
|
|
@@ -15,7 +15,7 @@ import "./client-CJIMV1WD.js";
|
|
|
15
15
|
import "./call-e869fla2.js";
|
|
16
16
|
import "./message-channel-C9dERklz.js";
|
|
17
17
|
import "./pairing-token-Byh6drgn.js";
|
|
18
|
-
import {
|
|
18
|
+
import { Pn as enqueueSystemEvent, T as createOutboundSendDeps, dn as requestHeartbeatNow, gt as resolveOutboundTarget, x as agentCommand } from "./subagent-registry-DXCGIrYv.js";
|
|
19
19
|
import { d as updateSessionStore } from "./sessions-CBlCXpU2.js";
|
|
20
20
|
import "./tokens-BEvOiQ65.js";
|
|
21
21
|
import { r as normalizeChannelId } from "./plugins-DTKQE9kt.js";
|
|
@@ -53,8 +53,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
53
53
|
import "./thinking-8sKPnzpp.js";
|
|
54
54
|
import "./models-config-BjWk_WQa.js";
|
|
55
55
|
import "./reply-prefix-Pz-5t5RS.js";
|
|
56
|
-
import "./memory-cli-
|
|
57
|
-
import "./manager-
|
|
56
|
+
import "./memory-cli-D4lLSeA1.js";
|
|
57
|
+
import "./manager-B6EhIj3H.js";
|
|
58
58
|
import "./gemini-auth-CdtQ-GuM.js";
|
|
59
59
|
import "./retry-C4Q_VPOo.js";
|
|
60
60
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -99,7 +99,7 @@ import "./onboard-helpers-C_ASAAp0.js";
|
|
|
99
99
|
import "./prompt-style-BxVdnrLq.js";
|
|
100
100
|
import "./pairing-labels-B6chnvfn.js";
|
|
101
101
|
import "./pi-tools.policy-DcwVdzSK.js";
|
|
102
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
102
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-Dusza10V.js";
|
|
103
103
|
import { randomUUID } from "node:crypto";
|
|
104
104
|
|
|
105
105
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-
|
|
1
|
+
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-CdBxbcO2.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-zqierDLj.js";
|
|
3
3
|
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-BajBuriF.js";
|
|
4
4
|
import { i as loadConfig } from "./config-8TlkL9Xl.js";
|
|
@@ -9,13 +9,13 @@ import { c as resolveAgentWorkspaceDir } from "./agent-scope-xM36I1Em.js";
|
|
|
9
9
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-BNfHkto8.js";
|
|
10
10
|
import { H as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-BaxT9cN4.js";
|
|
11
11
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-e869fla2.js";
|
|
12
|
-
import {
|
|
12
|
+
import { Bn as formatChannelAllowFrom, Dt as summarizeRestartSentinel, Et as readRestartSentinel, Ln as peekSystemEvents, Rn as buildChannelSummary, on as loadProviderUsageSummary, sn as formatUsageReportLines, tt as sha256HexPrefix, zn as buildChannelAccountSnapshot } from "./subagent-registry-DXCGIrYv.js";
|
|
13
13
|
import { F as resolveMainSessionKey, j as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-CBlCXpU2.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-DTKQE9kt.js";
|
|
15
15
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-CbbvYNVw.js";
|
|
16
16
|
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-2xFXbwLq.js";
|
|
17
17
|
import { c as resolveStorePath } from "./paths-DNdWAq7b.js";
|
|
18
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
18
|
+
import { r as getMemorySearchManager } from "./memory-cli-D4lLSeA1.js";
|
|
19
19
|
import { n as formatTimeAgo } from "./format-relative-BDwAggS5.js";
|
|
20
20
|
import { o as getRemoteSkillEligibility } from "./skill-commands-BPYG9C7v.js";
|
|
21
21
|
import { l as resolveSessionModelRef, n as classifySessionKey, r as listAgentsForGateway, u as lookupContextTokens } from "./session-utils-fqK0m0xe.js";
|
|
@@ -29,7 +29,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-DJYthOLz.j
|
|
|
29
29
|
import { t as readLastGatewayErrorLine } from "./diagnostics-C6xPE2ln.js";
|
|
30
30
|
import { t as renderTable } from "./table-Bka4fasy.js";
|
|
31
31
|
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-CfXVd09Y.js";
|
|
32
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
32
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-BnGM6Yux.js";
|
|
33
33
|
import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-BNjupSIM.js";
|
|
34
34
|
import { t as resolveNodeService } from "./node-service-B-qdOCNb.js";
|
|
35
35
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-yQZNwAF2.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, k as info, z as isRich } from "./utils-B-0b9bGM.js";
|
|
3
|
-
import { An as formatChannelAllowFrom, Dn as peekSystemEvents, On as buildChannelSummary, X as listAgentsForGateway, Xt as loadProviderUsageSummary, Y as classifySessionKey, Zt as formatUsageReportLines, _t as summarizeRestartSentinel,
|
|
3
|
+
import { An as formatChannelAllowFrom, Dn as peekSystemEvents, On as buildChannelSummary, X as listAgentsForGateway, Xt as loadProviderUsageSummary, Y as classifySessionKey, Zt as formatUsageReportLines, _t as summarizeRestartSentinel, gt as readRestartSentinel, kn as buildChannelAccountSnapshot, nt as resolveSessionModelRef, on as lookupContextTokens, xr as sha256HexPrefix } from "./unified-runner-CdBxbcO2.js";
|
|
4
4
|
import { Ht as DEFAULT_MODEL, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, Vt as DEFAULT_CONTEXT_TOKENS } from "./auth-profiles-CtBXKml4.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CyXZlazG.js";
|
|
6
6
|
import { S as parseAgentSessionKey } from "./session-key-oOB32jSB.js";
|
|
@@ -13,7 +13,7 @@ import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-VTIa2
|
|
|
13
13
|
import { H as resolveMainSessionKey, R as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-DLc3lsLf.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-BL5D1_sT.js";
|
|
15
15
|
import { c as resolveStorePath } from "./paths-BtFfPm8h.js";
|
|
16
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
16
|
+
import { r as getMemorySearchManager } from "./memory-cli-BEZM7jn9.js";
|
|
17
17
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BT57Dzye.js";
|
|
18
18
|
import { n as formatTimeAgo } from "./format-relative-BXoxEQVN.js";
|
|
19
19
|
import { o as getRemoteSkillEligibility } from "./skill-commands-DLaQe9aq.js";
|
|
@@ -28,7 +28,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-D0P5lDGf.j
|
|
|
28
28
|
import { t as readLastGatewayErrorLine } from "./diagnostics-D40jPn_9.js";
|
|
29
29
|
import { t as renderTable } from "./table-Cg6YZXv9.js";
|
|
30
30
|
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-BFAHZWI2.js";
|
|
31
|
-
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
31
|
+
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-CCKCR4oM.js";
|
|
32
32
|
import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-BIE5FLmi.js";
|
|
33
33
|
import { t as resolveNodeService } from "./node-service-DiZDC-T7.js";
|
|
34
34
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-DNqZrSx7.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-xM36I1Em.js";
|
|
3
3
|
import { i as loadConfig } from "./config-BaxT9cN4.js";
|
|
4
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-DXCGIrYv.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -51,8 +51,8 @@ import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as san
|
|
|
51
51
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels, u as resolveResponseUsageMode } from "./thinking-8sKPnzpp.js";
|
|
52
52
|
import { t as ensureSymiModelsJson } from "./models-config-BjWk_WQa.js";
|
|
53
53
|
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-Pz-5t5RS.js";
|
|
54
|
-
import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-
|
|
55
|
-
import { i as resolveMemorySearchConfig } from "./manager-
|
|
54
|
+
import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-D4lLSeA1.js";
|
|
55
|
+
import { i as resolveMemorySearchConfig } from "./manager-B6EhIj3H.js";
|
|
56
56
|
import { f as runTasksWithConcurrency } from "./internal-C2jxeHS9.js";
|
|
57
57
|
import { n as retryAsync } from "./retry-C4Q_VPOo.js";
|
|
58
58
|
import { c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-Co0LcWKH.js";
|
|
@@ -15790,6 +15790,40 @@ function sanitizeForPromptLiteral(value) {
|
|
|
15790
15790
|
|
|
15791
15791
|
//#endregion
|
|
15792
15792
|
//#region src/agents/system-prompt.ts
|
|
15793
|
+
/**
|
|
15794
|
+
* Read up to `limit` markdown filenames from `<workspaceDir>/memory/`,
|
|
15795
|
+
* sorted by mtime descending. Returns relative names (e.g. "2026-04-30.md")
|
|
15796
|
+
* for inlining into the system prompt — gives the agent the actual file
|
|
15797
|
+
* surface so it doesn't speculate names like "memory/2026-04-30.md" from
|
|
15798
|
+
* training-data priors. Resilient: missing dir → [], unreadable → [].
|
|
15799
|
+
*/
|
|
15800
|
+
function listWorkspaceMemoryFiles(workspaceDir, limit = 10) {
|
|
15801
|
+
if (!workspaceDir) return [];
|
|
15802
|
+
const memoryDir = path.join(workspaceDir, "memory");
|
|
15803
|
+
let entries;
|
|
15804
|
+
try {
|
|
15805
|
+
entries = fs.readdirSync(memoryDir, { withFileTypes: true });
|
|
15806
|
+
} catch {
|
|
15807
|
+
return [];
|
|
15808
|
+
}
|
|
15809
|
+
const files = [];
|
|
15810
|
+
for (const entry of entries) {
|
|
15811
|
+
if (!entry.isFile()) continue;
|
|
15812
|
+
if (!entry.name.toLowerCase().endsWith(".md")) continue;
|
|
15813
|
+
let mtimeMs = 0;
|
|
15814
|
+
try {
|
|
15815
|
+
mtimeMs = fs.statSync(path.join(memoryDir, entry.name)).mtimeMs;
|
|
15816
|
+
} catch {
|
|
15817
|
+
mtimeMs = 0;
|
|
15818
|
+
}
|
|
15819
|
+
files.push({
|
|
15820
|
+
name: entry.name,
|
|
15821
|
+
mtimeMs
|
|
15822
|
+
});
|
|
15823
|
+
}
|
|
15824
|
+
files.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
15825
|
+
return files.slice(0, limit).map((f) => f.name);
|
|
15826
|
+
}
|
|
15793
15827
|
function buildSkillsSection(params) {
|
|
15794
15828
|
if (params.isMinimal) return [];
|
|
15795
15829
|
if (params.dropCatalog) return [];
|
|
@@ -15813,13 +15847,21 @@ function buildMemorySection(params) {
|
|
|
15813
15847
|
"## Memory Recall",
|
|
15814
15848
|
"Before answering anything about prior work, decisions, dates, people, preferences, or todos: run memory_search on MEMORY.md + memory/*.md; then use memory_get to pull only the needed lines. If low confidence after search, say you checked.",
|
|
15815
15849
|
"",
|
|
15850
|
+
"**Never speculate memory file paths.** Use memory_search to find content; do not construct paths like `memory/<date>.md` from training-data priors and call read on them — that produces ENOENT spam and trips the consecutive-tool-error breaker.",
|
|
15851
|
+
"",
|
|
15816
15852
|
"Memory is split into two layers you will see as files:",
|
|
15817
15853
|
"- `MEMORY.md` — user-authored short-term memory. Hand-edited by the user; treat as ground truth they wrote themselves. Never rewrite it yourself.",
|
|
15818
|
-
"- `memory/symi-core.md` + `memory/symi-beliefs.md` — long-term memory automatically consolidated from repeated observations (your evolving self). Do NOT hand-edit these files: they are regenerated each consolidation cycle. When the files disagree with a fresh user statement, trust the fresh statement and write a new observation
|
|
15819
|
-
"- `memory
|
|
15820
|
-
"",
|
|
15821
|
-
"When the user explicitly asks to *remember* or *always remember* something, after writing the observation also call `memory_pin` with a distinctive query so the fact survives pruning. Call `memory_unpin` when the user says to forget it."
|
|
15854
|
+
"- `memory/symi-core.md` + `memory/symi-beliefs.md` — long-term memory automatically consolidated from repeated observations (your evolving self). Do NOT hand-edit these files: they are regenerated each consolidation cycle. When the files disagree with a fresh user statement, trust the fresh statement and write a new observation. The cycle will reconcile them.",
|
|
15855
|
+
"- New observations go in dated daily files (e.g. `memory/<today>.md`); use `memory_search` to discover what already exists rather than guessing filenames."
|
|
15822
15856
|
];
|
|
15857
|
+
const memoryFiles = (params.workspaceMemoryFiles ?? []).filter(Boolean);
|
|
15858
|
+
if (memoryFiles.length > 0) {
|
|
15859
|
+
lines.push("");
|
|
15860
|
+
lines.push("Existing memory files in this workspace (most-recently-modified first):");
|
|
15861
|
+
for (const name of memoryFiles) lines.push(`- \`memory/${name}\``);
|
|
15862
|
+
}
|
|
15863
|
+
lines.push("");
|
|
15864
|
+
lines.push("When the user explicitly asks to *remember* or *always remember* something, after writing the observation also call `memory_pin` with a distinctive query so the fact survives pruning. Call `memory_unpin` when the user says to forget it.");
|
|
15823
15865
|
if (params.citationsMode === "off") lines.push("Citations are disabled: do not mention file paths or line numbers in replies unless the user explicitly asks.");
|
|
15824
15866
|
else lines.push("Citations: include Source: <path#line> when it helps the user verify memory snippets.");
|
|
15825
15867
|
lines.push("");
|
|
@@ -16108,7 +16150,8 @@ function buildAgentSystemPrompt(params) {
|
|
|
16108
16150
|
const memorySection = buildMemorySection({
|
|
16109
16151
|
isMinimal,
|
|
16110
16152
|
availableTools,
|
|
16111
|
-
citationsMode: params.memoryCitationsMode
|
|
16153
|
+
citationsMode: params.memoryCitationsMode,
|
|
16154
|
+
workspaceMemoryFiles: listWorkspaceMemoryFiles(params.workspaceDir)
|
|
16112
16155
|
});
|
|
16113
16156
|
const docsSection = buildDocsSection({
|
|
16114
16157
|
docsPath: params.docsPath,
|
|
@@ -53300,7 +53343,7 @@ function setCliSessionId(entry, provider, sessionId) {
|
|
|
53300
53343
|
function createDefaultDeps() {
|
|
53301
53344
|
return {
|
|
53302
53345
|
sendMessageWhatsApp: async (...args) => {
|
|
53303
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
53346
|
+
const { sendMessageWhatsApp } = await import("./web-DiqLVzt7.js");
|
|
53304
53347
|
return await sendMessageWhatsApp(...args);
|
|
53305
53348
|
},
|
|
53306
53349
|
sendMessageTelegram: async (...args) => {
|
|
@@ -68614,7 +68657,7 @@ function loadWebLoginQr() {
|
|
|
68614
68657
|
return webLoginQrPromise;
|
|
68615
68658
|
}
|
|
68616
68659
|
function loadWebChannel() {
|
|
68617
|
-
webChannelPromise ??= import("./web-
|
|
68660
|
+
webChannelPromise ??= import("./web-DiqLVzt7.js");
|
|
68618
68661
|
return webChannelPromise;
|
|
68619
68662
|
}
|
|
68620
68663
|
function loadWhatsAppActions() {
|
|
@@ -72931,4 +72974,4 @@ function initSubagentRegistry() {
|
|
|
72931
72974
|
}
|
|
72932
72975
|
|
|
72933
72976
|
//#endregion
|
|
72934
|
-
export { waitForEmbeddedPiRunEnd as $,
|
|
72977
|
+
export { waitForEmbeddedPiRunEnd as $, buildMentionRegexes as $n, emitGatewayRestart as $t, runCliAgent as A, resolveInputFileLimits as An, emitAgentEvent as Ar, normalizeHttpWebhookUrl as At, shouldAckReactionForWhatsApp as B, formatChannelAllowFrom as Bn, buildDeliveryFromLegacyPayload as Bt, resolveAgentDeliveryPlan as C, DEFAULT_INPUT_IMAGE_MAX_BYTES as Cn, CommandLane as Cr, consumeRestartSentinel as Ct, createOutboundSendDeps$1 as D, extractFileContentFromSource as Dn, resolveHeartbeatPrompt as Dr, summarizeRestartSentinel as Dt, createDefaultDeps as E, DEFAULT_INPUT_TIMEOUT_MS as En, isHeartbeatContentEffectivelyEmpty as Er, readRestartSentinel as Et, buildPairingReply as F, isSystemEventContextChanged as Fn, normalizeOptionalSessionKey as Ft, buildGlassUiProfile as G, resolveInboundDebounceMs as Gn, buildSafeExternalPrompt as Gt, provider_dispatcher_exports as H, normalizeGroupActivation as Hn, stripLegacyDeliveryFields as Ht, resolveMentionGating as I, peekSystemEventEntries as In, normalizeOptionalText as It, withContextOverflowRecovery as J, formatZonedTimestamp as Jn, isExternalHookSession as Jt, createDedupeCache as K, formatInboundEnvelope as Kn, detectSuspiciousPatterns as Kt, DEFAULT_GROUP_HISTORY_LIMIT as L, peekSystemEvents as Ln, normalizePayloadToSystemText as Lt, identityHasValues as M, resolveAgentTimeoutMs as Mn, onAgentEvent as Mr, normalizeCronJobPatch as Mt, loadAgentIdentityFromWorkspace as N, prepareAgentRun as Nn, registerAgentRunContext as Nr, inferLegacyName as Nt, getCliSessionId as O, extractImageContentFromSource as On, stripHeartbeatToken as Or, trimLogTail as Ot, parseIdentityMarkdown as P, enqueueSystemEvent as Pn, normalizeOptionalAgentId as Pt, getActiveEmbeddedRunCount as Q, stopSubagentsForRequester as Qn, deferGatewayRestartUntilIdle as Qt, buildHistoryContextFromEntries as R, buildChannelSummary as Rn, normalizeRequiredName as Rt, resolveSessionKeyForRequest as S, parseVerboseOverride as Sn, waitForActiveTasks as Sr, describeFailoverError as St, createOutboundSendDeps as T, DEFAULT_INPUT_MAX_REDIRECTS as Tn, DEFAULT_HEARTBEAT_EVERY as Tr, formatRestartSentinelMessage as Tt, createReplyDispatcher as U, parseActivationCommand as Un, CHANNEL_TARGETS_DESCRIPTION as Ut, dispatchReplyWithBufferedBlockDispatcher as V, BARE_SESSION_RESET_PROMPT as Vn, hasLegacyDeliveryHints as Vt, getTotalPendingReplies as W, createInboundDebouncer as Wn, CHANNEL_TARGET_DESCRIPTION as Wt, runAgentTurn as X, shouldComputeCommandAuthorized as Xn, persistBrowserProxyFiles as Xt, runUnifiedTurn as Y, hasControlCommand as Yn, applyBrowserProxyPaths as Yt, abortEmbeddedPiRun as Z, isAbortTrigger as Zn, consumeGatewaySigusr1RestartAuthorization as Zt, readJsonBodyWithLimit as _, DEFAULT_OAUTH_WARN_MS as _n, getActiveTaskCount as _r, resolveSessionDeliveryTarget as _t, listSubagentRunsForRequester as a, unbindThreadBindingsBySessionKey as an, isTtsEnabled as ar, buildAgentTurnParams as at, sleepWithAbort as b, applyModelOverrideToSessionEntry as bn, resetAllLanes as br, CHANNEL_MESSAGE_ACTION_NAMES as bt, clearSessionQueues as c, formatUsageWindowSummary as cn, resolveTtsAutoMode as cr, listTasksInWorkdir as ct, sniffMimeFromBase64 as d, requestHeartbeatNow as dn, resolveTtsProviderOrder as dr, runMessageAction as dt, isGatewaySigusr1RestartExternallyAllowed as en, normalizeMentionText as er, resolveEmbeddedSessionLane as et, getPluginToolMeta as f, setHeartbeatWakeHandler as fn, setTtsEnabled as fr, ensureOutboundSessionEntry as ft, handleSlackHttpRequest as g, maskApiKey as gn, OPENAI_TTS_VOICES as gr, resolveOutboundTarget as gt, deleteTelegramUpdateOffset as h, resolveSendPolicy as hn, OPENAI_TTS_MODELS as hr, resolveHeartbeatSenderContext as ht, listDescendantRunsForRequester as i, setPreRestartDeferralCheck as in, getTtsProvider as ir, composeTurnMiddleware as it, resolveAgentAvatar as j, estimateBase64DecodedBytes as jn, getAgentRunContext as jr, normalizeCronJobCreate as jt, setCliSessionId as k, normalizeMimeList as kn, clearAgentRunContext as kr, writeRestartSentinel as kt, applyToolPolicyPipeline as l, resolveUsageProviderId as ln, resolveTtsConfig as lr, readLatestAssistantReply as lt, loadSymiPlugins as m, normalizeSendPolicy as mn, textToSpeech as mr, resolveHeartbeatDeliveryTarget as mt, countActiveRunsForSession as n, scheduleGatewaySigusr1Restart as nn, resolveUserTimeFormat as nr, classifyOutboundMessage as nt, subagent_registry_exports as o, loadProviderUsageSummary as on, isTtsProviderConfigured as or, prepareReplyTurn as ot, createPluginLoaderLogger as p, resolveHeartbeatReasonKind as pn, setTtsProvider as pr, resolveOutboundSessionRoute as pt, withContextUsageWarning as q, resolveEnvelopeFormatOptions as qn, getHookType as qt, initSubagentRegistry as r, setGatewaySigusr1RestartPolicy as rn, resolveUserTimezone as rr, resolveModelProfile as rt, runSubagentAnnounceFlow as s, formatUsageReportLines as sn, resolveTtsApiKey as sr, createSymiTools as st, countActiveDescendantRuns as t, markGatewaySigusr1RestartHandled as tn, formatUserTime as tr, sha256HexPrefix as tt, buildDefaultToolPolicyPipelineSteps as u, resolveCommitHash as un, resolveTtsPrefsPath as ur, resolveAnnounceTargetFromKey as ut, requestBodyErrorToText as v, buildAuthHealthSummary as vn, getQueueSize as vr, formatTargetDisplay as vt, resolveAgentOutboundTarget as w, DEFAULT_INPUT_IMAGE_MIMES as wn, DEFAULT_HEARTBEAT_ACK_MAX_CHARS as wr, formatDoctorNonInteractiveHint as wt, agentCommand as x, applyVerboseOverride as xn, setCommandLaneConcurrency as xr, runWithModelFallback as xt, computeBackoff as y, formatRemainingShort as yn, getTotalQueueSize as yr, resetDirectoryCache as yt, recordPendingHistoryEntryIfEnabled as z, buildChannelAccountSnapshot as zn, migrateLegacyCronPayload as zt };
|