@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
|
@@ -37,7 +37,7 @@ import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as re
|
|
|
37
37
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-C8Tqw4td.js";
|
|
38
38
|
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-CdTyeTEN.js";
|
|
39
39
|
import { S as ensureSymiModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-DfzwGNoa.js";
|
|
40
|
-
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-
|
|
40
|
+
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-Mm_GQxOU.js";
|
|
41
41
|
import { c as normalizeExtraMemoryPaths, f as runTasksWithConcurrency, s as listMemoryFiles } from "./internal-479FB0St.js";
|
|
42
42
|
import { n as retryAsync } from "./retry-QGp0jvVi.js";
|
|
43
43
|
import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-43lkDH_r.js";
|
|
@@ -3473,7 +3473,7 @@ async function getMemorySearchManager(params) {
|
|
|
3473
3473
|
const wrapper = new FallbackMemoryManager({
|
|
3474
3474
|
primary,
|
|
3475
3475
|
fallbackFactory: async () => {
|
|
3476
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
3476
|
+
const { MemoryIndexManager } = await import("./manager-Mm_GQxOU.js").then((n) => n.t);
|
|
3477
3477
|
return await MemoryIndexManager.get(params);
|
|
3478
3478
|
}
|
|
3479
3479
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -3486,7 +3486,7 @@ async function getMemorySearchManager(params) {
|
|
|
3486
3486
|
}
|
|
3487
3487
|
}
|
|
3488
3488
|
try {
|
|
3489
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
3489
|
+
const { MemoryIndexManager } = await import("./manager-Mm_GQxOU.js").then((n) => n.t);
|
|
3490
3490
|
return { manager: await MemoryIndexManager.get(params) };
|
|
3491
3491
|
} catch (err) {
|
|
3492
3492
|
return {
|
|
@@ -22085,6 +22085,40 @@ function sanitizeForPromptLiteral(value) {
|
|
|
22085
22085
|
|
|
22086
22086
|
//#endregion
|
|
22087
22087
|
//#region src/agents/system-prompt.ts
|
|
22088
|
+
/**
|
|
22089
|
+
* Read up to `limit` markdown filenames from `<workspaceDir>/memory/`,
|
|
22090
|
+
* sorted by mtime descending. Returns relative names (e.g. "2026-04-30.md")
|
|
22091
|
+
* for inlining into the system prompt — gives the agent the actual file
|
|
22092
|
+
* surface so it doesn't speculate names like "memory/2026-04-30.md" from
|
|
22093
|
+
* training-data priors. Resilient: missing dir → [], unreadable → [].
|
|
22094
|
+
*/
|
|
22095
|
+
function listWorkspaceMemoryFiles(workspaceDir, limit = 10) {
|
|
22096
|
+
if (!workspaceDir) return [];
|
|
22097
|
+
const memoryDir = path.join(workspaceDir, "memory");
|
|
22098
|
+
let entries;
|
|
22099
|
+
try {
|
|
22100
|
+
entries = fs.readdirSync(memoryDir, { withFileTypes: true });
|
|
22101
|
+
} catch {
|
|
22102
|
+
return [];
|
|
22103
|
+
}
|
|
22104
|
+
const files = [];
|
|
22105
|
+
for (const entry of entries) {
|
|
22106
|
+
if (!entry.isFile()) continue;
|
|
22107
|
+
if (!entry.name.toLowerCase().endsWith(".md")) continue;
|
|
22108
|
+
let mtimeMs = 0;
|
|
22109
|
+
try {
|
|
22110
|
+
mtimeMs = fs.statSync(path.join(memoryDir, entry.name)).mtimeMs;
|
|
22111
|
+
} catch {
|
|
22112
|
+
mtimeMs = 0;
|
|
22113
|
+
}
|
|
22114
|
+
files.push({
|
|
22115
|
+
name: entry.name,
|
|
22116
|
+
mtimeMs
|
|
22117
|
+
});
|
|
22118
|
+
}
|
|
22119
|
+
files.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
22120
|
+
return files.slice(0, limit).map((f) => f.name);
|
|
22121
|
+
}
|
|
22088
22122
|
function buildSkillsSection(params) {
|
|
22089
22123
|
if (params.isMinimal) return [];
|
|
22090
22124
|
if (params.dropCatalog) return [];
|
|
@@ -22108,13 +22142,21 @@ function buildMemorySection(params) {
|
|
|
22108
22142
|
"## Memory Recall",
|
|
22109
22143
|
"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.",
|
|
22110
22144
|
"",
|
|
22145
|
+
"**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.",
|
|
22146
|
+
"",
|
|
22111
22147
|
"Memory is split into two layers you will see as files:",
|
|
22112
22148
|
"- `MEMORY.md` — user-authored short-term memory. Hand-edited by the user; treat as ground truth they wrote themselves. Never rewrite it yourself.",
|
|
22113
|
-
"- `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
|
|
22114
|
-
"- `memory
|
|
22115
|
-
"",
|
|
22116
|
-
"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."
|
|
22149
|
+
"- `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.",
|
|
22150
|
+
"- New observations go in dated daily files (e.g. `memory/<today>.md`); use `memory_search` to discover what already exists rather than guessing filenames."
|
|
22117
22151
|
];
|
|
22152
|
+
const memoryFiles = (params.workspaceMemoryFiles ?? []).filter(Boolean);
|
|
22153
|
+
if (memoryFiles.length > 0) {
|
|
22154
|
+
lines.push("");
|
|
22155
|
+
lines.push("Existing memory files in this workspace (most-recently-modified first):");
|
|
22156
|
+
for (const name of memoryFiles) lines.push(`- \`memory/${name}\``);
|
|
22157
|
+
}
|
|
22158
|
+
lines.push("");
|
|
22159
|
+
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.");
|
|
22118
22160
|
if (params.citationsMode === "off") lines.push("Citations are disabled: do not mention file paths or line numbers in replies unless the user explicitly asks.");
|
|
22119
22161
|
else lines.push("Citations: include Source: <path#line> when it helps the user verify memory snippets.");
|
|
22120
22162
|
lines.push("");
|
|
@@ -22403,7 +22445,8 @@ function buildAgentSystemPrompt(params) {
|
|
|
22403
22445
|
const memorySection = buildMemorySection({
|
|
22404
22446
|
isMinimal,
|
|
22405
22447
|
availableTools,
|
|
22406
|
-
citationsMode: params.memoryCitationsMode
|
|
22448
|
+
citationsMode: params.memoryCitationsMode,
|
|
22449
|
+
workspaceMemoryFiles: listWorkspaceMemoryFiles(params.workspaceDir)
|
|
22407
22450
|
});
|
|
22408
22451
|
const docsSection = buildDocsSection({
|
|
22409
22452
|
docsPath: params.docsPath,
|
|
@@ -60884,7 +60927,7 @@ function setCliSessionId(entry, provider, sessionId) {
|
|
|
60884
60927
|
function createDefaultDeps() {
|
|
60885
60928
|
return {
|
|
60886
60929
|
sendMessageWhatsApp: async (...args) => {
|
|
60887
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
60930
|
+
const { sendMessageWhatsApp } = await import("./web-COnC7jb4.js");
|
|
60888
60931
|
return await sendMessageWhatsApp(...args);
|
|
60889
60932
|
},
|
|
60890
60933
|
sendMessageTelegram: async (...args) => {
|
|
@@ -76164,7 +76207,7 @@ function loadWebLoginQr() {
|
|
|
76164
76207
|
return webLoginQrPromise;
|
|
76165
76208
|
}
|
|
76166
76209
|
function loadWebChannel() {
|
|
76167
|
-
webChannelPromise ??= import("./web-
|
|
76210
|
+
webChannelPromise ??= import("./web-COnC7jb4.js");
|
|
76168
76211
|
return webChannelPromise;
|
|
76169
76212
|
}
|
|
76170
76213
|
function loadWhatsAppActions() {
|
|
@@ -8,7 +8,7 @@ import { g as isPidAlive, h as resolveProcessScopedMap } from "./auth-profiles-B
|
|
|
8
8
|
import { n as formatCliCommand } from "./env-BDXYbTKj.js";
|
|
9
9
|
import { t as parseBooleanValue } from "./boolean-CE7i9tBR.js";
|
|
10
10
|
import { _ as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-CCbXer2L.js";
|
|
11
|
-
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
11
|
+
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-X5wmeW9f.js";
|
|
12
12
|
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-DjtoXuuJ.js";
|
|
13
13
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-XIsvXeC-.js";
|
|
14
14
|
import { b as openFileWithinRoot, i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS, y as SafeOpenError } from "./image-ops-DFFGK0lW.js";
|
|
@@ -940,7 +940,7 @@ function isModuleNotFoundError(err) {
|
|
|
940
940
|
}
|
|
941
941
|
async function loadPwAiModule(mode) {
|
|
942
942
|
try {
|
|
943
|
-
return await import("./pw-ai-
|
|
943
|
+
return await import("./pw-ai-hPAkCert.js");
|
|
944
944
|
} catch (err) {
|
|
945
945
|
if (mode === "soft") return null;
|
|
946
946
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3480,11 +3480,11 @@ function createProfileContext(opts, profile) {
|
|
|
3480
3480
|
const userDataDir = resolveSymiUserDataDir(profile.name);
|
|
3481
3481
|
const profileState = getProfileState();
|
|
3482
3482
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3483
|
-
await (await import("./pw-ai-
|
|
3483
|
+
await (await import("./pw-ai-hPAkCert.js")).closePlaywrightBrowserConnection();
|
|
3484
3484
|
} catch {}
|
|
3485
3485
|
if (profileState.running) await stopRunningBrowser();
|
|
3486
3486
|
try {
|
|
3487
|
-
await (await import("./pw-ai-
|
|
3487
|
+
await (await import("./pw-ai-hPAkCert.js")).closePlaywrightBrowserConnection();
|
|
3488
3488
|
} catch {}
|
|
3489
3489
|
if (!fs.existsSync(userDataDir)) return {
|
|
3490
3490
|
moved: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as loadSymiPlugins } from "./unified-runner-
|
|
2
|
+
import { s as loadSymiPlugins } from "./unified-runner-CdBxbcO2.js";
|
|
3
3
|
import { d as getActivePluginRegistry } from "./registry-ClO_zVv-.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-zqierDLj.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-BajBuriF.js";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { M as getActivePluginRegistry, o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-xM36I1Em.js";
|
|
4
4
|
import { i as loadConfig } from "./config-BaxT9cN4.js";
|
|
5
|
-
import { m as loadSymiPlugins } from "./subagent-registry-
|
|
5
|
+
import { m as loadSymiPlugins } from "./subagent-registry-DXCGIrYv.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { _ as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { _ as createAccountListHelpers } from "./accounts-D9zGZU5t.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { a as resolveOAuthDir } from "./paths-DR2yt_mP.js";
|
|
3
|
-
import { P as resolveUserPath, W as info, X as success, k as jidToE164, tt as getChildLogger } from "./registry
|
|
4
|
-
import { i as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
3
|
+
import { P as resolveUserPath, W as info, X as success, k as jidToE164, tt as getChildLogger } from "./registry--_pGht6S.js";
|
|
4
|
+
import { i as defaultRuntime } from "./subsystem-Coz2AgU8.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-DSdvQ_M5.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { _ as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { _ as createAccountListHelpers } from "./accounts-D9zGZU5t.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-DSdvQ_M5.js";
|
|
3
3
|
|
|
4
4
|
//#region src/web/active-listener.ts
|
|
5
5
|
const listeners = /* @__PURE__ */ new Map();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as isCronSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, v as isSubagentSessionKey, y as parseAgentSessionKey } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DR2yt_mP.js";
|
|
3
|
-
import { P as resolveUserPath, U as danger, W as info, Y as shouldLogVerbose, Z as warn, j as pathExists, nt as getLogger, q as logVerboseConsole } from "./registry
|
|
4
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { P as resolveUserPath, U as danger, W as info, Y as shouldLogVerbose, Z as warn, j as pathExists, nt as getLogger, q as logVerboseConsole } from "./registry--_pGht6S.js";
|
|
4
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
@@ -2,6 +2,14 @@ import type { ReasoningLevel, ThinkLevel } from "../auto-reply/thinking.js";
|
|
|
2
2
|
import type { MemoryCitationsMode } from "../config/types.memory.js";
|
|
3
3
|
import type { ResolvedTimeFormat } from "./date-time.js";
|
|
4
4
|
import type { EmbeddedContextFile } from "./pi-embedded-helpers.js";
|
|
5
|
+
/**
|
|
6
|
+
* Read up to `limit` markdown filenames from `<workspaceDir>/memory/`,
|
|
7
|
+
* sorted by mtime descending. Returns relative names (e.g. "2026-04-30.md")
|
|
8
|
+
* for inlining into the system prompt — gives the agent the actual file
|
|
9
|
+
* surface so it doesn't speculate names like "memory/2026-04-30.md" from
|
|
10
|
+
* training-data priors. Resilient: missing dir → [], unreadable → [].
|
|
11
|
+
*/
|
|
12
|
+
export declare function listWorkspaceMemoryFiles(workspaceDir: string, limit?: number): string[];
|
|
5
13
|
/**
|
|
6
14
|
* Controls which hardcoded sections are included in the system prompt.
|
|
7
15
|
* - "full": All sections (default, for main agent)
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import "./accounts-
|
|
1
|
+
import "./accounts-D9zGZU5t.js";
|
|
2
2
|
import "./paths-DR2yt_mP.js";
|
|
3
3
|
import "./github-copilot-token-D9X2phUj.js";
|
|
4
|
-
import "./plugins-
|
|
5
|
-
import { K as logVerbose, Y as shouldLogVerbose } from "./registry
|
|
6
|
-
import "./config-
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./command-format-
|
|
9
|
-
import "./model-selection-
|
|
10
|
-
import "./agent-scope-
|
|
11
|
-
import "./manifest-registry-
|
|
4
|
+
import "./plugins-muf5lfx-.js";
|
|
5
|
+
import { K as logVerbose, Y as shouldLogVerbose } from "./registry--_pGht6S.js";
|
|
6
|
+
import "./config-BBBu18xQ.js";
|
|
7
|
+
import "./subsystem-Coz2AgU8.js";
|
|
8
|
+
import "./command-format-DSdvQ_M5.js";
|
|
9
|
+
import "./model-selection-C4aoKWwG.js";
|
|
10
|
+
import "./agent-scope-RSN8nr_m.js";
|
|
11
|
+
import "./manifest-registry-hy3Bn-r9.js";
|
|
12
12
|
import "./redact-DPnDWsnT.js";
|
|
13
13
|
import "./errors-Bv8oZiTO.js";
|
|
14
|
-
import "./image-ops-
|
|
14
|
+
import "./image-ops-C_3iBQe1.js";
|
|
15
15
|
import "./ssrf-DKZ8eBrk.js";
|
|
16
|
-
import "./local-roots-
|
|
17
|
-
import "./message-channel-
|
|
18
|
-
import "./bindings-
|
|
19
|
-
import "./tool-images-
|
|
20
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
21
|
-
import "./skills-
|
|
22
|
-
import "./chrome-
|
|
23
|
-
import "./thinking-
|
|
24
|
-
import "./accounts-
|
|
25
|
-
import "./accounts-
|
|
26
|
-
import "./pi-embedded-helpers-
|
|
16
|
+
import "./local-roots-8f4AroIC.js";
|
|
17
|
+
import "./message-channel-BdI5Ra9S.js";
|
|
18
|
+
import "./bindings-DhPQDTtp.js";
|
|
19
|
+
import "./tool-images-DAXbRHJ1.js";
|
|
20
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-BlpNMrRR.js";
|
|
21
|
+
import "./skills-ksP6m2tL.js";
|
|
22
|
+
import "./chrome-CyqYohvz.js";
|
|
23
|
+
import "./thinking-Bq90REOa.js";
|
|
24
|
+
import "./accounts-Dtszw3Zn.js";
|
|
25
|
+
import "./accounts-BToL3HlP.js";
|
|
26
|
+
import "./pi-embedded-helpers-YqYJ6xU1.js";
|
|
27
27
|
import "./paths-A0xdf3yk.js";
|
|
28
|
-
import "./store-
|
|
29
|
-
import "./image-
|
|
28
|
+
import "./store-uf7TpQm3.js";
|
|
29
|
+
import "./image-B7fj8HDX.js";
|
|
30
30
|
import "./pi-model-discovery-Cdz3tuFk.js";
|
|
31
|
-
import "./gemini-auth-
|
|
31
|
+
import "./gemini-auth-lC1AI-WK.js";
|
|
32
32
|
|
|
33
33
|
//#region src/media-understanding/audio-preflight.ts
|
|
34
34
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as normalizeAccountId, s as normalizeAgentId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { s as normalizeChatChannelId } from "./registry
|
|
3
|
-
import { s as resolveDefaultAgentId } from "./agent-scope-
|
|
2
|
+
import { s as normalizeChatChannelId } from "./registry--_pGht6S.js";
|
|
3
|
+
import { s as resolveDefaultAgentId } from "./agent-scope-RSN8nr_m.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
1
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-ilSJqnz9.js";
|
|
2
2
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
3
3
|
import { RateLimitError } from "@buape/carbon";
|
|
4
4
|
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as formatInboundEnvelope, b as shouldComputeCommandAuthorized, c as buildPairingReply, d as formatDurationPrecise, f as enqueueSystemEvent, g as resolveInboundDebounceMs, h as createInboundDebouncer, ht as createDedupeCache, l as dispatchReplyWithBufferedBlockDispatcher, m as parseActivationCommand, nt as buildMentionRegexes, o as computeBackoff, p as normalizeGroupActivation, rt as normalizeMentionText, s as sleepWithAbort, tt as recordPendingHistoryEntryIfEnabled, v as resolveEnvelopeFormatOptions, y as hasControlCommand } from "./unified-runner-
|
|
4
|
-
import { A as normalizeE164, B as toWhatsappJid, K as logVerbose, N as resolveJidToE164, O as isSelfChatMode, R as sleep, Y as shouldLogVerbose, k as jidToE164, s as normalizeChatChannelId, tt as getChildLogger, x as clamp } from "./registry
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
6
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
9
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
10
|
-
import { a as loadWebMedia } from "./ir-
|
|
11
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
12
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
13
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
14
|
-
import { K as readChannelAllowFromStore, Y as upsertChannelPairingRequest, nt as toLocationContext, q as readChannelAllowFromStoreSync, tt as formatLocationText } from "./send-
|
|
15
|
-
import { v as registerUnhandledRejectionHandler } from "./runner-
|
|
16
|
-
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-
|
|
17
|
-
import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-
|
|
18
|
-
import { Jt as resolveGroupSessionKey, ft as loadSessionStore, ht as updateLastRoute, mt as recordSessionMetaFromInbound, pt as readSessionUpdatedAt } from "./pi-embedded-helpers-
|
|
2
|
+
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-D9zGZU5t.js";
|
|
3
|
+
import { G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as formatInboundEnvelope, b as shouldComputeCommandAuthorized, c as buildPairingReply, d as formatDurationPrecise, f as enqueueSystemEvent, g as resolveInboundDebounceMs, h as createInboundDebouncer, ht as createDedupeCache, l as dispatchReplyWithBufferedBlockDispatcher, m as parseActivationCommand, nt as buildMentionRegexes, o as computeBackoff, p as normalizeGroupActivation, rt as normalizeMentionText, s as sleepWithAbort, tt as recordPendingHistoryEntryIfEnabled, v as resolveEnvelopeFormatOptions, y as hasControlCommand } from "./unified-runner-BNQKFoGX.js";
|
|
4
|
+
import { A as normalizeE164, B as toWhatsappJid, K as logVerbose, N as resolveJidToE164, O as isSelfChatMode, R as sleep, Y as shouldLogVerbose, k as jidToE164, s as normalizeChatChannelId, tt as getChildLogger, x as clamp } from "./registry--_pGht6S.js";
|
|
5
|
+
import { n as loadConfig } from "./config-BBBu18xQ.js";
|
|
6
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
|
|
7
|
+
import { t as formatCliCommand } from "./command-format-DSdvQ_M5.js";
|
|
8
|
+
import { n as recordChannelActivity } from "./channel-activity-Ji7f0gqq.js";
|
|
9
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-8f4AroIC.js";
|
|
10
|
+
import { a as loadWebMedia } from "./ir-DrnNua4p.js";
|
|
11
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-jvk9axTQ.js";
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-ivSTmsOn.js";
|
|
13
|
+
import { t as convertMarkdownTables } from "./tables-DE2W8BrP.js";
|
|
14
|
+
import { K as readChannelAllowFromStore, Y as upsertChannelPairingRequest, nt as toLocationContext, q as readChannelAllowFromStoreSync, tt as formatLocationText } from "./send-BFgIVWNv.js";
|
|
15
|
+
import { v as registerUnhandledRejectionHandler } from "./runner-BlpNMrRR.js";
|
|
16
|
+
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-CDeu1pum.js";
|
|
17
|
+
import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-Bq90REOa.js";
|
|
18
|
+
import { Jt as resolveGroupSessionKey, ft as loadSessionStore, ht as updateLastRoute, mt as recordSessionMetaFromInbound, pt as readSessionUpdatedAt } from "./pi-embedded-helpers-YqYJ6xU1.js";
|
|
19
19
|
import { s as resolveStorePath } from "./paths-A0xdf3yk.js";
|
|
20
|
-
import { i as saveMediaBuffer } from "./store-
|
|
20
|
+
import { i as saveMediaBuffer } from "./store-uf7TpQm3.js";
|
|
21
21
|
import { t as finalizeInboundContext } from "./inbound-context-5H7RKVif.js";
|
|
22
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
23
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
24
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
25
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
22
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-kXW9e3Go.js";
|
|
23
|
+
import { r as setActiveWebListener } from "./active-listener-BtNt_ynZ.js";
|
|
24
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-BSvVzptG.js";
|
|
25
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-DQFKtWpn.js";
|
|
26
26
|
import { randomUUID } from "node:crypto";
|
|
27
27
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
28
28
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as CONFIG_DIR } from "./registry
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { b as CONFIG_DIR } from "./registry--_pGht6S.js";
|
|
2
|
+
import { n as loadConfig } from "./config-BBBu18xQ.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
|
|
4
4
|
import { i as isErrno } from "./errors-Bv8oZiTO.js";
|
|
5
5
|
import { s as resolvePinnedHostnameWithPolicy } from "./ssrf-DKZ8eBrk.js";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
3
|
-
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
3
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BdI5Ra9S.js";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/fences.ts
|
|
6
6
|
function parseFenceSpans(buffer) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
-
import { H as isPlainObject, T as escapeRegExp, c as getActivePluginRegistry } from "./registry
|
|
4
|
-
import { X as DEFAULT_PROVIDER, Y as DEFAULT_MODEL, u as resolveConfiguredModelRef } from "./model-selection-
|
|
5
|
-
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-
|
|
2
|
+
import { r as normalizeChannelId } from "./plugins-muf5lfx-.js";
|
|
3
|
+
import { H as isPlainObject, T as escapeRegExp, c as getActivePluginRegistry } from "./registry--_pGht6S.js";
|
|
4
|
+
import { X as DEFAULT_PROVIDER, Y as DEFAULT_MODEL, u as resolveConfiguredModelRef } from "./model-selection-C4aoKWwG.js";
|
|
5
|
+
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-Bq90REOa.js";
|
|
6
6
|
|
|
7
7
|
//#region src/config/commands.ts
|
|
8
8
|
function resolveAutoDefault(providerId) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DR2yt_mP.js";
|
|
3
|
-
import { D as isRecord, H as isPlainObject$1, M as resolveConfigDir, P as resolveUserPath, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry
|
|
4
|
-
import { $ as resolveShellEnvFallbackTimeoutMs, J as DEFAULT_CONTEXT_TOKENS, Q as loadShellEnvFallback, et as shouldDeferShellEnvFallback, l as parseModelRef, tt as shouldEnableShellEnvFallback } from "./model-selection-
|
|
5
|
-
import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-
|
|
6
|
-
import { c as normalizePluginsConfig, d as isPathInside, l as resolveEnableState, m as normalizeEnvVarKey, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-
|
|
3
|
+
import { D as isRecord, H as isPlainObject$1, M as resolveConfigDir, P as resolveUserPath, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry--_pGht6S.js";
|
|
4
|
+
import { $ as resolveShellEnvFallbackTimeoutMs, J as DEFAULT_CONTEXT_TOKENS, Q as loadShellEnvFallback, et as shouldDeferShellEnvFallback, l as parseModelRef, tt as shouldEnableShellEnvFallback } from "./model-selection-C4aoKWwG.js";
|
|
5
|
+
import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-RSN8nr_m.js";
|
|
6
|
+
import { c as normalizePluginsConfig, d as isPathInside, l as resolveEnableState, m as normalizeEnvVarKey, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-hy3Bn-r9.js";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
11
|
-
import
|
|
11
|
+
import json5 from "json5";
|
|
12
12
|
import crypto from "node:crypto";
|
|
13
13
|
import { isDeepStrictEqual } from "node:util";
|
|
14
14
|
import dotenv from "dotenv";
|
|
@@ -892,7 +892,7 @@ function safeRealpath(target) {
|
|
|
892
892
|
}
|
|
893
893
|
const defaultResolver = {
|
|
894
894
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
895
|
-
parseJson: (raw) =>
|
|
895
|
+
parseJson: (raw) => json5.parse(raw)
|
|
896
896
|
};
|
|
897
897
|
/**
|
|
898
898
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -5594,7 +5594,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
5594
5594
|
function normalizeDeps(overrides = {}) {
|
|
5595
5595
|
return {
|
|
5596
5596
|
fs: overrides.fs ?? fs,
|
|
5597
|
-
json5: overrides.json5 ??
|
|
5597
|
+
json5: overrides.json5 ?? json5,
|
|
5598
5598
|
env: overrides.env ?? process.env,
|
|
5599
5599
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
5600
5600
|
configPath: overrides.configPath ?? "",
|
|
@@ -5605,11 +5605,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
5605
5605
|
if (env !== process.env) return;
|
|
5606
5606
|
loadDotEnv({ quiet: true });
|
|
5607
5607
|
}
|
|
5608
|
-
function parseConfigJson5(raw, json5 =
|
|
5608
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
5609
5609
|
try {
|
|
5610
5610
|
return {
|
|
5611
5611
|
ok: true,
|
|
5612
|
-
parsed: json5.parse(raw)
|
|
5612
|
+
parsed: json5$1.parse(raw)
|
|
5613
5613
|
};
|
|
5614
5614
|
} catch (err) {
|
|
5615
5615
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./paths-DR2yt_mP.js";
|
|
2
|
-
import "./registry
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import "./registry--_pGht6S.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
|
|
4
4
|
import { l as parseEmbedding, r as cosineSimilarity } from "./internal-BpFmQTvo.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import crypto from "node:crypto";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
3
3
|
import { s as resolveStateDir } from "./paths-DR2yt_mP.js";
|
|
4
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
5
|
-
import { c as getActivePluginRegistry, v as createInternalHookEvent, y as triggerInternalHook } from "./registry
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
8
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-
|
|
9
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
10
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
11
|
-
import { lt as appendAssistantMessageToSessionTranscript, ut as resolveMirroredTranscriptText } from "./pi-embedded-helpers-
|
|
12
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
4
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-muf5lfx-.js";
|
|
5
|
+
import { c as getActivePluginRegistry, v as createInternalHookEvent, y as triggerInternalHook } from "./registry--_pGht6S.js";
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
|
|
7
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-8f4AroIC.js";
|
|
8
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-jvk9axTQ.js";
|
|
9
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-ivSTmsOn.js";
|
|
10
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-D-HI9PZG.js";
|
|
11
|
+
import { lt as appendAssistantMessageToSessionTranscript, ut as resolveMirroredTranscriptText } from "./pi-embedded-helpers-YqYJ6xU1.js";
|
|
12
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-BiFmiUGO.js";
|
|
13
13
|
import fs from "node:fs";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import crypto from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
|
|
3
3
|
import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-DnkpMfCl.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { D as isRecord, I as shortenHomeInString } from "./registry
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
4
|
-
import { B as resolveSymiAgentDir, K as normalizeSecretInput, S as getApiKeyForModel, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-
|
|
2
|
+
import { D as isRecord, I as shortenHomeInString } from "./registry--_pGht6S.js";
|
|
3
|
+
import { n as loadConfig } from "./config-BBBu18xQ.js";
|
|
4
|
+
import { B as resolveSymiAgentDir, K as normalizeSecretInput, S as getApiKeyForModel, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-C4aoKWwG.js";
|
|
5
5
|
import { n as redactToolDetail } from "./redact-DPnDWsnT.js";
|
|
6
|
-
import { M as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
6
|
+
import { M as sanitizeUserFacingText } from "./pi-embedded-helpers-YqYJ6xU1.js";
|
|
7
7
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Cdz3tuFk.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|