@symerian/symi 3.0.12 → 3.0.13
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-xbSFKxk1.js → agents-C1EHWbfj.js} +4 -4
- package/dist/{agents.config-Bs7UUe0R.js → agents.config-BzHsLIJT.js} +1 -1
- package/dist/{agents.config-tTbDCubC.js → agents.config-DUjv7eRL.js} +1 -1
- package/dist/{audio-preflight-DeOidVY9.js → audio-preflight-Cd4oBX_d.js} +4 -4
- package/dist/{auth-choice-B-sy9GJ3.js → auth-choice-CcbSp-5F.js} +1 -1
- package/dist/{auth-choice-Cr03ewiv.js → auth-choice-DlQFNChK.js} +1 -1
- package/dist/{banner-D1PQmpuP.js → banner-Dwc6cysD.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-CR_Wk8eP.js → channel-options-Baxgs7Ac.js} +1 -1
- package/dist/{channel-options-DRtKFtZS.js → channel-options-cRW36Ig2.js} +1 -1
- package/dist/{channel-web-DQy6EOdz.js → channel-web-BXmHlcos.js} +1 -1
- package/dist/{channels-cli-maLqEQh7.js → channels-cli-BDVyJC_y.js} +6 -6
- package/dist/{channels-cli-CI_EDYQs.js → channels-cli-O7dsn4UZ.js} +6 -6
- package/dist/{chrome-cFjhP6kc.js → chrome-CqPheSG3.js} +7 -7
- package/dist/{cli-Cbe-5KnB.js → cli-BXOPJUyk.js} +3 -3
- package/dist/{cli-CwI9PVoY.js → cli-BZtnY7d6.js} +3 -3
- package/dist/{command-registry-CJjQMlj_.js → command-registry-C4fEo5jO.js} +10 -10
- package/dist/{completion-cli-CEknMySn.js → completion-cli-CTRhriVd.js} +1 -1
- package/dist/{completion-cli-vCFgly6i.js → completion-cli-D6k2XhFb.js} +2 -2
- package/dist/{config-cli-BUFk88DU.js → config-cli-CwufnTiJ.js} +1 -1
- package/dist/{config-cli-DLPWXbAt.js → config-cli-D-hgLpT3.js} +1 -1
- package/dist/{configure-BkoMFvEB.js → configure-C5t_r7sN.js} +3 -3
- package/dist/{configure-D80K613_.js → configure-DlSITc1U.js} +3 -3
- package/dist/{deliver-CgPAN0QZ.js → deliver-BVbveob8.js} +1 -1
- package/dist/{doctor-completion-BBDliPIB.js → doctor-completion-D31vWLKd.js} +1 -1
- package/dist/{doctor-completion-DVqUZPhO.js → doctor-completion-DLglYX3z.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-CIv75ODi.js → gateway-cli-BPpCax1I.js} +12 -12
- package/dist/{gateway-cli-DN9pqTkk.js → gateway-cli-D0b_yaeg.js} +12 -12
- package/dist/{glass-ui-ws-BBVOMP_3.js → glass-ui-ws-DIrqLWlg.js} +10 -10
- package/dist/{glass-ui-ws-DajvU2WU.js → glass-ui-ws-D_l8S-KZ.js} +10 -10
- package/dist/{health-DtWvvGSw.js → health-DxCLDRPA.js} +2 -2
- package/dist/{health-Dwt9mRYZ.js → health-dVQBgbn1.js} +2 -2
- package/dist/{heartbeat-visibility-o2h2sFYt.js → heartbeat-visibility-B2M69szZ.js} +1 -1
- package/dist/{heartbeat-visibility-Ot724yGm.js → heartbeat-visibility-B3jYfx_N.js} +1 -1
- package/dist/{hooks-cli-DgUKbUOY.js → hooks-cli-ClW2ErGr.js} +4 -4
- package/dist/{hooks-cli-COAJfD3O.js → hooks-cli-DkECWzYR.js} +4 -4
- package/dist/{image-DZQ_GyFY.js → image-CUTH9m-Y.js} +1 -1
- package/dist/index.js +9 -9
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{manager-B4ilZbUQ.js → manager-B8S9zNM5.js} +1 -1
- package/dist/{manager-CoO0CGga.js → manager-CHLCClaz.js} +1 -1
- package/dist/{manager-BkUG5C_1.js → manager-CSbEQqJL.js} +1 -1
- package/dist/{manager-BeNDdeqW.js → manager-wiJTQCIl.js} +1 -1
- package/dist/{memory-cli-Wh36KC0B.js → memory-cli-DYjxP-KO.js} +3 -3
- package/dist/{memory-cli-C6UdaC7T.js → memory-cli-xeFyVyjI.js} +3 -3
- package/dist/{models-Bq57ZYdQ.js → models-Dv2h1wDZ.js} +2 -2
- package/dist/{models-cli-BoKH3H5E.js → models-cli--aTN9HGH.js} +5 -5
- package/dist/{models-cli-CPooQm_v.js → models-cli-CqZ7dJ9_.js} +4 -4
- package/dist/{onboard-CzuWVQbi.js → onboard-ClVlvvio.js} +2 -2
- package/dist/{onboard-BSIQryd_.js → onboard-DTRtoJuX.js} +2 -2
- package/dist/{onboard-channels-DJji_VgU.js → onboard-channels-D36jVNHS.js} +1 -1
- package/dist/{onboard-channels-C95U6eDf.js → onboard-channels-uTnRY9Xc.js} +1 -1
- package/dist/{onboarding-B3ULVn2b.js → onboarding-DSzOCClw.js} +3 -3
- package/dist/{onboarding-Cr4UYEKi.js → onboarding-UknWo-xb.js} +3 -3
- package/dist/{onboarding.finalize-B7GJ-KWP.js → onboarding.finalize-DHXICh0E.js} +9 -9
- package/dist/{onboarding.finalize-PgZt3gN6.js → onboarding.finalize-rOrwkS0W.js} +8 -8
- package/dist/{pi-embedded-helpers-B3csacnv.js → pi-embedded-helpers-Bp4JFTbe.js} +4 -4
- package/dist/{pi-embedded-D89dyS-z.js → pi-embedded-wrv2rBWt.js} +10 -53
- package/dist/{plugin-registry-B6MlsL7T.js → plugin-registry-CE-bQL5d.js} +1 -1
- package/dist/{plugin-registry-yCMeMFu0.js → plugin-registry-CtkGVd3t.js} +1 -1
- package/dist/plugin-sdk/{accounts-BToL3HlP.js → accounts-BtaOa4z_.js} +1 -1
- package/dist/plugin-sdk/{accounts-D9zGZU5t.js → accounts-Ddm33hQm.js} +3 -3
- package/dist/plugin-sdk/{accounts-Dtszw3Zn.js → accounts-s-AdhXVR.js} +1 -1
- package/dist/plugin-sdk/{active-listener-BtNt_ynZ.js → active-listener-BaxIPBYG.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-RSN8nr_m.js → agent-scope-BREbt-rZ.js} +2 -2
- package/dist/plugin-sdk/agents/system-prompt.d.ts +0 -8
- package/dist/plugin-sdk/{audio-preflight-DDbPGCW2.js → audio-preflight-DsZOzoTi.js} +24 -24
- package/dist/plugin-sdk/{bindings-DhPQDTtp.js → bindings-Da0i5ERM.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-Ji7f0gqq.js → channel-activity-DoC1xtDu.js} +1 -1
- package/dist/plugin-sdk/{channel-web-ClaO3OHu.js → channel-web-C18g6B0w.js} +22 -22
- package/dist/plugin-sdk/{chrome-Cu2_tNPX.js → chrome-5vsWWgoJ.js} +3 -3
- package/dist/plugin-sdk/{chunk-jvk9axTQ.js → chunk-Dw2XBYXv.js} +1 -1
- package/dist/plugin-sdk/{command-format-DSdvQ_M5.js → command-format-GKSevep4.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-DnaRR0It.js → commands-registry-CMJHsCzz.js} +4 -4
- package/dist/plugin-sdk/{config-BBf0mCzU.js → config-sW6sHEjP.js} +9 -9
- package/dist/plugin-sdk/{consolidate-BieO-_k_.js → consolidate-DHzE-Epp.js} +2 -2
- package/dist/plugin-sdk/{deliver-s5jR6Rm0.js → deliver-BjExSaDh.js} +9 -9
- package/dist/plugin-sdk/{diagnostic-fnIb_o_V.js → diagnostic-Jo7QixCi.js} +1 -1
- package/dist/plugin-sdk/{gemini-auth-DnMneaw7.js → gemini-auth-DoZCUeez.js} +1 -1
- package/dist/plugin-sdk/{image-Bn0ZvbCS.js → image-D5sxTO4B.js} +4 -4
- package/dist/plugin-sdk/{image-ops-C_3iBQe1.js → image-ops-DZ8OTT0B.js} +1 -1
- package/dist/plugin-sdk/index.js +54 -54
- package/dist/plugin-sdk/{ir-DrnNua4p.js → ir-DfsDN6C5.js} +4 -4
- package/dist/plugin-sdk/{local-roots-8f4AroIC.js → local-roots-CxzyCF23.js} +3 -3
- package/dist/plugin-sdk/{login-CYbFrIkH.js → login-Xauu2cKD.js} +7 -7
- package/dist/plugin-sdk/{login-qr-iiAx9Hzl.js → login-qr-DbdQzmX5.js} +9 -9
- package/dist/plugin-sdk/{manager-CrQHoLZe.js → manager-Ynxj9D_4.js} +9 -9
- package/dist/plugin-sdk/{manifest-registry-hy3Bn-r9.js → manifest-registry-BRx4JDK0.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-ivSTmsOn.js → markdown-tables-BBiVsk1q.js} +1 -1
- package/dist/plugin-sdk/{message-channel-BdI5Ra9S.js → message-channel-COTAJzHd.js} +1 -1
- package/dist/plugin-sdk/{model-selection-jteJ6-KW.js → model-selection-DYUaACpE.js} +4 -4
- package/dist/plugin-sdk/{outbound-Do8D1BXN.js → outbound-BExtRVl2.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-qB-kgb_3.js → outbound-attachment-V-8HPvXC.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-h95g7KA6.js → pi-auth-json-Cx9o75_Z.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-DOSdFz8p.js → pi-embedded-helpers-BLEyEAp4.js} +17 -17
- package/dist/plugin-sdk/{plugins-muf5lfx-.js → plugins-DRWyzk5i.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-N1dZncDF.js → pw-ai-llZdruth.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-Chj9aSN5.js → qmd-manager-BvQckdNY.js} +4 -4
- package/dist/plugin-sdk/{registry--_pGht6S.js → registry-D0xTnUWt.js} +2 -2
- package/dist/plugin-sdk/{replies-Djt0Jtri.js → replies-55uBdcZx.js} +3 -3
- package/dist/plugin-sdk/{reply-prefix-CDeu1pum.js → reply-prefix-BKFQ9roP.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BkHNUpdB.js → resolve-outbound-target-BHmUS6gT.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-kXW9e3Go.js → resolve-route-B34r6gNi.js} +3 -3
- package/dist/plugin-sdk/{retry-ilSJqnz9.js → retry-CwQ_iIj8.js} +1 -1
- package/dist/plugin-sdk/{runner-BEVT501x.js → runner-CMTjp93H.js} +9 -9
- package/dist/plugin-sdk/{send-COs8KoMe.js → send-9RblyyZd.js} +10 -10
- package/dist/plugin-sdk/{send-CpvF--s7.js → send-BQ5kyeDC.js} +10 -10
- package/dist/plugin-sdk/{send-BnLTM8JK.js → send-BpEesCa-.js} +7 -7
- package/dist/plugin-sdk/{send-n1cdSnDN.js → send-CsjaB4ba.js} +6 -6
- package/dist/plugin-sdk/{send-C6gdiUA_.js → send-DonsAKvn.js} +6 -6
- package/dist/plugin-sdk/{session-CDaxvhuc.js → session-BT2dgHI2.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-Dmi3Y3Cd.js → skill-commands-BAuNo2vz.js} +5 -5
- package/dist/plugin-sdk/{skills-ksP6m2tL.js → skills-BDwS4XUE.js} +7 -7
- package/dist/plugin-sdk/{sqlite-BflKfcLD.js → sqlite-DLwYpBWC.js} +1 -1
- package/dist/plugin-sdk/{store-uf7TpQm3.js → store-Dt1oCaOn.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Coz2AgU8.js → subsystem-B2uDN3TV.js} +1 -1
- package/dist/plugin-sdk/{synthesis-9QefZm4s.js → synthesis-CO2ZQFu6.js} +49 -49
- package/dist/plugin-sdk/{tables-DE2W8BrP.js → tables-MCQfYFPK.js} +1 -1
- package/dist/plugin-sdk/{target-errors-Dqf_-SRz.js → target-errors-BGT90lj4.js} +2 -2
- package/dist/plugin-sdk/{thinking-Bq90REOa.js → thinking-qM2Kzm92.js} +5 -5
- package/dist/plugin-sdk/{tokens-D-HI9PZG.js → tokens-CVWPo-HD.js} +1 -1
- package/dist/plugin-sdk/{tool-images-DAXbRHJ1.js → tool-images-DvOrYSAO.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-DseOlBug.js → tool-loop-detection-gmtzSlNZ.js} +2 -2
- package/dist/plugin-sdk/{unified-runner-BPfXJ_-q.js → unified-runner-BUI9ninR.js} +83 -126
- package/dist/plugin-sdk/web-C_rB_m-e.js +66 -0
- package/dist/plugin-sdk/{whatsapp-actions-C25IYAot.js → whatsapp-actions-BT1wbCx9.js} +21 -21
- package/dist/{plugins-cli-DBM0eqIl.js → plugins-cli-B3YG8VEg.js} +4 -4
- package/dist/{plugins-cli-DnQRhfaI.js → plugins-cli-Bn8-8_23.js} +4 -4
- package/dist/{program-Dx8ddxuC.js → program-QzRBcmP4.js} +9 -9
- package/dist/{program-context-Kqz-xUms.js → program-context-CjPUq-R7.js} +18 -18
- package/dist/{prompt-select-styled-C-U7yJky.js → prompt-select-styled-d10JLxa3.js} +6 -6
- package/dist/{prompt-select-styled-BEZWd-py.js → prompt-select-styled-dqy-Baz2.js} +6 -6
- package/dist/{provider-auth-helpers-CJ108Rsr.js → provider-auth-helpers-CJPijGRq.js} +1 -1
- package/dist/{provider-auth-helpers-Dc3ug5a6.js → provider-auth-helpers-GQogKjFE.js} +1 -1
- package/dist/{push-apns-DasrMMsn.js → push-apns-DfSe7sOB.js} +1 -1
- package/dist/{push-apns-DRR-HRKQ.js → push-apns-UoRptSMP.js} +1 -1
- package/dist/{pw-ai-C_ZQ5KA2.js → pw-ai-BLFBlLvS.js} +1 -1
- package/dist/{register.agent-DF0zbJsS.js → register.agent-B5HMEuxb.js} +7 -7
- package/dist/{register.agent-Drr5pvPp.js → register.agent-B921Y-Xq.js} +8 -8
- package/dist/{register.configure-B7PDd52g.js → register.configure-CkrM0qTb.js} +9 -9
- package/dist/{register.configure-C4dZYkuQ.js → register.configure-DZ8PDClo.js} +9 -9
- package/dist/{register.maintenance-8F8uINLC.js → register.maintenance-B9YU5-GH.js} +11 -11
- package/dist/{register.maintenance-DkmjPWtb.js → register.maintenance-DIcuZbGe.js} +10 -10
- package/dist/{register.message-B1PiyGQ2.js → register.message-Bdq8-X7N.js} +4 -4
- package/dist/{register.message-CzyYuc7t.js → register.message-BmZ3x-eK.js} +4 -4
- package/dist/{register.onboard-DdYnTEjn.js → register.onboard-C96aB4BV.js} +7 -7
- package/dist/{register.onboard-BOmdO2qG.js → register.onboard-VpvDadRB.js} +7 -7
- package/dist/{register.setup-CnsgKGcx.js → register.setup-Btpke2Rx.js} +7 -7
- package/dist/{register.setup-CcyYgmFt.js → register.setup-a37lwmwS.js} +7 -7
- package/dist/{register.status-health-sessions-B1LYyJ5d.js → register.status-health-sessions-C2Wa5UnZ.js} +6 -6
- package/dist/{register.status-health-sessions-Dd-Lq7-v.js → register.status-health-sessions-ITqLC3Rb.js} +6 -6
- package/dist/{register.subclis-BN_La0-g.js → register.subclis-XCByhkDw.js} +9 -9
- package/dist/{run-main-DTa68vHK.js → run-main-BpWSzwB6.js} +17 -17
- package/dist/{runner-UgKupJ1D.js → runner-WxoM5P3c.js} +1 -1
- package/dist/{server-methods-DIxCrgKY.js → server-methods-CdYIBXWp.js} +9 -9
- package/dist/{server-methods-Ma0EgQYj.js → server-methods-DtNHC0b_.js} +9 -9
- package/dist/{server-node-events-Cw0XpTQ7.js → server-node-events-Dq1ZMCf6.js} +4 -4
- package/dist/{server-node-events-BhaLgVwj.js → server-node-events-yTZOzVQs.js} +4 -4
- package/dist/{status-WL5HKxk5.js → status-BF1RMYPZ.js} +1 -1
- package/dist/{status-CwoFZ1SN.js → status-C0MQarC1.js} +3 -3
- package/dist/{status-DSIeCLqw.js → status-DoHU1AjC.js} +3 -3
- package/dist/{status-SBqKRlSB.js → status-LPAgOj7a.js} +1 -1
- package/dist/{subagent-registry-Ci5g29Mp.js → subagent-registry-U0ugNIM_.js} +9 -52
- package/dist/{synthesis-CR7CavII.js → synthesis-BY2LWYcE.js} +3 -3
- package/dist/{synthesis-BcXONbp0.js → synthesis-CKPctksF.js} +7 -7
- package/dist/{synthesis-BeVG2lGs.js → synthesis-DT9QrCN7.js} +3 -3
- package/dist/{synthesis-YxmVZaLu.js → synthesis-DyJ5S1RD.js} +2 -2
- package/dist/{unified-runner-D_5_J0nE.js → unified-runner-BZ9aCu-a.js} +24 -67
- package/dist/{unified-runner-BXwSSfqN.js → unified-runner-CBI-Swnu.js} +9 -52
- package/dist/{update-cli-DA8fm8Rl.js → update-cli-BiI3lh2-.js} +10 -10
- package/dist/{update-cli-CLeCba_r.js → update-cli-C2P8Rlb9.js} +11 -11
- package/dist/{update-runner-CBhotLBj.js → update-runner-8kzamnJ4.js} +1 -1
- package/dist/{update-runner-CojT7WjB.js → update-runner-B8HeQMh9.js} +1 -1
- package/dist/{web-7whaNwuf.js → web-Bc4Wpswl.js} +4 -4
- package/dist/{web-DJLqJtdE.js → web-BlFUXBMY.js} +7 -7
- package/dist/{web-Bajdq5Wa.js → web-CkR_yCA_.js} +2 -2
- package/dist/{web-DDJKA0cd.js → web-D4YLetRH.js} +5 -5
- package/package.json +1 -1
- package/dist/plugin-sdk/web-BrBSoMpn.js +0 -66
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { _ as isCronSessionKey, b as resolveThreadParentSessionKey, c as normalizeMainKey, d as sanitizeAgentId, f as DEFAULT_ACCOUNT_ID, g as isAcpSessionKey, h as getSubagentDepth, l as resolveAgentIdFromSessionKey, o as classifySessionKeyShape, p as normalizeAccountId$2, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveThreadSessionKeys, v as isSubagentSessionKey, y as parseAgentSessionKey } from "./session-key-C_0eELjb.js";
|
|
3
|
-
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-
|
|
3
|
+
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-Ddm33hQm.js";
|
|
4
4
|
import { c as expandHomePrefix, i as resolveGatewayPort, n as resolveConfigPath, s as resolveStateDir, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-DR2yt_mP.js";
|
|
5
5
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-D9X2phUj.js";
|
|
6
|
-
import { A as resolveSlackBotToken, C as resolveTelegramToken, D as resolveSlackAccount, F as resolveDiscordAccount, I as normalizeDiscordToken, N as listEnabledDiscordAccounts, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget, b as listTelegramAccountIds, g as isWhatsAppGroupJid, h as resolveSlackChannelId, j as createDiscordActionGate, k as resolveSlackAppToken, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as createTelegramActionGate, y as listEnabledTelegramAccounts } from "./plugins-
|
|
6
|
+
import { A as resolveSlackBotToken, C as resolveTelegramToken, D as resolveSlackAccount, F as resolveDiscordAccount, I as normalizeDiscordToken, N as listEnabledDiscordAccounts, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget, b as listTelegramAccountIds, g as isWhatsAppGroupJid, h as resolveSlackChannelId, j as createDiscordActionGate, k as resolveSlackAppToken, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as createTelegramActionGate, y as listEnabledTelegramAccounts } from "./plugins-DRWyzk5i.js";
|
|
7
7
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-ChYuW7LE.js";
|
|
8
8
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-CUNoPTKm.js";
|
|
9
|
-
import { $ as isRich, A as normalizeE164, D as isRecord$1, E as formatTerminalLink, H as isPlainObject, I as shortenHomeInString, J as setVerbose, K as logVerbose, L as shortenHomePath, P as resolveUserPath, Q as colorize, R as sleep$1, S as clampInt, T as escapeRegExp, U as danger, V as truncateUtf16Safe, Y as shouldLogVerbose, Z as warn, _ as matchPluginCommand, a as normalizeAnyChannelId, b as CONFIG_DIR, ct as normalizeLogLevel, d as createPluginRegistry, et as theme, f as normalizePluginHttpPath, g as listPluginCommands, h as getPluginCommandSpecs, l as requireActivePluginRegistry, m as executePluginCommand, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as clearPluginCommands, r as DEFAULT_CHAT_CHANNEL, tt as getChildLogger, u as setActivePluginRegistry, ut as resolvePreferredSymiTmpDir, v as createInternalHookEvent, w as ensureDir$3, y as triggerInternalHook, z as sliceUtf16Safe } from "./registry
|
|
10
|
-
import { n as retryAsync } from "./retry-
|
|
11
|
-
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, At as fetchDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, E as listThreadsDiscord, Et as normalizeChannelSlug, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as buildChannelKeyCandidates, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as applyChannelMatchMeta, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-
|
|
12
|
-
import { B as getConfigOverrides, C as resolveIMessageRemoteAttachmentRoots, G as parseConfigPath, H as setConfigOverride, J as isSafeExecutableValue, K as setConfigValueAtPath, R as parseDurationMs, S as resolveIMessageAttachmentRoots, U as unsetConfigOverride, V as resetConfigOverrides, W as getConfigValueAtPath, X as resolveAgentMaxConcurrent, Y as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Z as VERSION, _ as normalizeTelegramCommandName, a as writeConfigFile, b as isInboundPathAllowed, g as TELEGRAM_COMMAND_NAME_PATTERN, i as resolveConfigSnapshotHash, n as loadConfig, o as validateConfigObjectWithPlugins, q as unsetConfigValueAtPath, r as readConfigFileSnapshot, v as resolveTelegramCustomCommands, w as normalizeScpRemoteHost, z as validateJsonSchemaValue } from "./config-
|
|
13
|
-
import { a as clearActiveProgressLine, i as defaultRuntime, o as registerActiveProgressLine, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger } from "./subsystem-
|
|
14
|
-
import { i as parseBooleanValue$1, n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
15
|
-
import { $ as resolveShellEnvFallbackTimeoutMs, A as getSoonestCooldownExpiry, B as resolveSymiAgentDir, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as dedupeProfileIds, H as withFileLock, I as listProfilesForProvider, J as DEFAULT_CONTEXT_TOKENS, K as normalizeSecretInput, L as markAuthProfileGood, M as markAuthProfileFailure, N as markAuthProfileUsed, P as resolveApiKeyForProfile, R as ensureAuthProfileStore, S as getApiKeyForModel, T as resolveApiKeyForProvider, X as DEFAULT_PROVIDER, Y as DEFAULT_MODEL, Z as getShellPathFromLoginShell, a as isCliProvider, b as OLLAMA_NATIVE_BASE_URL, c as normalizeProviderId, d as resolveDefaultModelForAgent, f as resolveModelRefFromString, i as findNormalizedProviderValue, j as isProfileInCooldown, k as resolveAuthProfileOrder, m as resolveThinkingDefault, n as buildConfiguredAllowlistKeys, o as modelKey, p as resolveSubagentSpawnModelSelection, q as resolveAuthProfileDisplayLabel, r as buildModelAliasIndex, s as normalizeModelRef$2, t as buildAllowedModelSet, u as resolveConfiguredModelRef, w as requireApiKey, x as createOllamaStreamFn, z as resolveAuthStorePathForDisplay } from "./model-selection-
|
|
16
|
-
import { A as logWarn, C as resolveSymiPackageRootSync, D as logDebug, E as spawnWithFallback, O as logError, S as resolveSymiPackageRoot, T as runExec, a as resolveAgentSkillsFilter, b as filterBootstrapFilesForSession, c as resolveEffectiveModelFallbacks, f as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentModelPrimary, k as logInfo, l as resolveSessionAgentId, m as DEFAULT_IDENTITY_FILENAME, n as resolveAgentConfig, o as resolveAgentWorkspaceDir, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveDefaultAgentId, t as listAgentIds, u as resolveSessionAgentIds, w as runCommandWithTimeout, x as loadWorkspaceBootstrapFiles, y as ensureAgentWorkspace } from "./agent-scope-
|
|
17
|
-
import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverSymiPlugins, p as isDangerousHostEnvVarName, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-
|
|
9
|
+
import { $ as isRich, A as normalizeE164, D as isRecord$1, E as formatTerminalLink, H as isPlainObject, I as shortenHomeInString, J as setVerbose, K as logVerbose, L as shortenHomePath, P as resolveUserPath, Q as colorize, R as sleep$1, S as clampInt, T as escapeRegExp, U as danger, V as truncateUtf16Safe, Y as shouldLogVerbose, Z as warn, _ as matchPluginCommand, a as normalizeAnyChannelId, b as CONFIG_DIR, ct as normalizeLogLevel, d as createPluginRegistry, et as theme, f as normalizePluginHttpPath, g as listPluginCommands, h as getPluginCommandSpecs, l as requireActivePluginRegistry, m as executePluginCommand, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as clearPluginCommands, r as DEFAULT_CHAT_CHANNEL, tt as getChildLogger, u as setActivePluginRegistry, ut as resolvePreferredSymiTmpDir, v as createInternalHookEvent, w as ensureDir$3, y as triggerInternalHook, z as sliceUtf16Safe } from "./registry-D0xTnUWt.js";
|
|
10
|
+
import { n as retryAsync } from "./retry-CwQ_iIj8.js";
|
|
11
|
+
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, At as fetchDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, E as listThreadsDiscord, Et as normalizeChannelSlug, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as buildChannelKeyCandidates, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as applyChannelMatchMeta, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-9RblyyZd.js";
|
|
12
|
+
import { B as getConfigOverrides, C as resolveIMessageRemoteAttachmentRoots, G as parseConfigPath, H as setConfigOverride, J as isSafeExecutableValue, K as setConfigValueAtPath, R as parseDurationMs, S as resolveIMessageAttachmentRoots, U as unsetConfigOverride, V as resetConfigOverrides, W as getConfigValueAtPath, X as resolveAgentMaxConcurrent, Y as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Z as VERSION, _ as normalizeTelegramCommandName, a as writeConfigFile, b as isInboundPathAllowed, g as TELEGRAM_COMMAND_NAME_PATTERN, i as resolveConfigSnapshotHash, n as loadConfig, o as validateConfigObjectWithPlugins, q as unsetConfigValueAtPath, r as readConfigFileSnapshot, v as resolveTelegramCustomCommands, w as normalizeScpRemoteHost, z as validateJsonSchemaValue } from "./config-sW6sHEjP.js";
|
|
13
|
+
import { a as clearActiveProgressLine, i as defaultRuntime, o as registerActiveProgressLine, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
14
|
+
import { i as parseBooleanValue$1, n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-GKSevep4.js";
|
|
15
|
+
import { $ as resolveShellEnvFallbackTimeoutMs, A as getSoonestCooldownExpiry, B as resolveSymiAgentDir, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as dedupeProfileIds, H as withFileLock, I as listProfilesForProvider, J as DEFAULT_CONTEXT_TOKENS, K as normalizeSecretInput, L as markAuthProfileGood, M as markAuthProfileFailure, N as markAuthProfileUsed, P as resolveApiKeyForProfile, R as ensureAuthProfileStore, S as getApiKeyForModel, T as resolveApiKeyForProvider, X as DEFAULT_PROVIDER, Y as DEFAULT_MODEL, Z as getShellPathFromLoginShell, a as isCliProvider, b as OLLAMA_NATIVE_BASE_URL, c as normalizeProviderId, d as resolveDefaultModelForAgent, f as resolveModelRefFromString, i as findNormalizedProviderValue, j as isProfileInCooldown, k as resolveAuthProfileOrder, m as resolveThinkingDefault, n as buildConfiguredAllowlistKeys, o as modelKey, p as resolveSubagentSpawnModelSelection, q as resolveAuthProfileDisplayLabel, r as buildModelAliasIndex, s as normalizeModelRef$2, t as buildAllowedModelSet, u as resolveConfiguredModelRef, w as requireApiKey, x as createOllamaStreamFn, z as resolveAuthStorePathForDisplay } from "./model-selection-DYUaACpE.js";
|
|
16
|
+
import { A as logWarn, C as resolveSymiPackageRootSync, D as logDebug, E as spawnWithFallback, O as logError, S as resolveSymiPackageRoot, T as runExec, a as resolveAgentSkillsFilter, b as filterBootstrapFilesForSession, c as resolveEffectiveModelFallbacks, f as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentModelPrimary, k as logInfo, l as resolveSessionAgentId, m as DEFAULT_IDENTITY_FILENAME, n as resolveAgentConfig, o as resolveAgentWorkspaceDir, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveDefaultAgentId, t as listAgentIds, u as resolveSessionAgentIds, w as runCommandWithTimeout, x as loadWorkspaceBootstrapFiles, y as ensureAgentWorkspace } from "./agent-scope-BREbt-rZ.js";
|
|
17
|
+
import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverSymiPlugins, p as isDangerousHostEnvVarName, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-BRx4JDK0.js";
|
|
18
18
|
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-Bv8oZiTO.js";
|
|
19
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-
|
|
19
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-DoC1xtDu.js";
|
|
20
20
|
import { n as normalizePollInput } from "./polls-3WJMd-G-.js";
|
|
21
|
-
import { c as detectMime, d as imageMimeFromFormat, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-
|
|
21
|
+
import { c as detectMime, d as imageMimeFromFormat, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-DZ8OTT0B.js";
|
|
22
22
|
import { a as isBlockedHostnameOrIp, c as normalizeHostname, t as SsrFBlockedError } from "./ssrf-DKZ8eBrk.js";
|
|
23
|
-
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
24
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-
|
|
25
|
-
import { a as chunkText, c as resolveChunkMode, d as findFenceSpanAt, f as isSafeFenceBreak, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, p as parseFenceSpans, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-
|
|
26
|
-
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-
|
|
23
|
+
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-CxzyCF23.js";
|
|
24
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-DfsDN6C5.js";
|
|
25
|
+
import { a as chunkText, c as resolveChunkMode, d as findFenceSpanAt, f as isSafeFenceBreak, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, p as parseFenceSpans, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-Dw2XBYXv.js";
|
|
26
|
+
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-COTAJzHd.js";
|
|
27
27
|
import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
|
|
28
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
29
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
30
|
-
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-
|
|
31
|
-
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-
|
|
32
|
-
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-
|
|
33
|
-
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-
|
|
34
|
-
import { $ as parseTelegramTarget, A as extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as addChannelAllowFromStoreEntry, H as firstDefined$1, I as resolveTelegramReplyId, J as removeChannelAllowFromStoreEntry, K as readChannelAllowFromStore, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as isVoiceCompatibleAudio, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeAllowFromSources, X as getPairingAdapter, Y as upsertChannelPairingRequest, Z as listPairingChannels, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildGroupLabel, c as sendStickerTelegram, d as wasSentByBot, et as resolveTelegramTargetChatType, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as toLocationContext, o as sendMessageTelegram, p as markdownToTelegramChunks, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as formatLocationText, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-
|
|
35
|
-
import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as modelSupportsVision, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as registerUnhandledRejectionHandler, y as buildRandomTempFilePath } from "./runner-
|
|
36
|
-
import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-
|
|
37
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as SYMIPULSE_TOKEN, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
38
|
-
import { c as getSkillsSnapshotVersion, d as resolvePairingPaths, f as createAsyncLock, i as resolveSkillCommandInvocation, l as generatePairingToken, m as writeJsonAtomic, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as readJsonFile, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as pruneExpiredPending } from "./skill-commands-
|
|
39
|
-
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, h as parseFrontmatterBlock, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-
|
|
40
|
-
import { M as isSecureWebSocketUrl, N as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
41
|
-
import { A as normalizeHyphenSlug, F as resolveChannelGroupRequireMention, I as resolveChannelGroupToolsPolicy, M as normalizeStringEntriesLower, P as resolveChannelGroupPolicy, a as normalizeReasoningLevel, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, j as normalizeStringEntries, k as normalizeAtHashSlug, l as resolveResponseUsageMode, m as normalizeSignalMessagingTarget, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-
|
|
42
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
43
|
-
import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-
|
|
44
|
-
import { a as normalizeOutboundPayloadsForJson, c as normalizeChannelTargetInput, d as parseReplyDirectives, f as MEDIA_TOKEN_RE, g as initializeGlobalHookRunner, h as getGlobalHookRunner, i as normalizeOutboundPayloads, l as normalizeTargetForProvider, m as parseInlineDirectives$1, o as normalizeReplyPayloadsForDelivery, p as splitMediaFromOutput, r as formatOutboundPayloadLog, s as buildTargetResolverSignature, t as deliverOutboundPayloads, u as throwIfAborted } from "./deliver-
|
|
45
|
-
import { $ as stripPluginOnlyAllowlist, A as parseImageDimensionError, At as INPUT_PROVENANCE_KIND_VALUES, B as DEFAULT_UPLOAD_DIR, Bt as resolveSessionResetType, C as isFailoverAssistantError, Ct as normalizeDeliveryContext, D as isRawApiErrorPayload, Dt as capArrayByJsonBytes, E as isRateLimitAssistantError, Et as archiveSessionTranscripts, F as resolveSandboxRuntimeStatus, Ft as resolveSessionLockMaxHoldFromTimeout, G as applyOwnerOnlyToolPolicy, Gt as resolveExplicitAgentSessionKey, H as getBridgeAuthForPort, Ht as DEFAULT_RESET_TRIGGERS, I as createBrowserRouteContext, It as resolveSessionKey, J as expandPolicyWithPluginGroups, Jt as resolveGroupSessionKey, K as buildPluginToolGroups, Kt as resolveMainSessionKey, L as registerBrowserRoutes, Lt as evaluateSessionFreshness, M as sanitizeUserFacingText, Mt as hasInterSessionUserProvenance, N as ensureSandboxWorkspaceForSession, Nt as normalizeInputProvenance, O as isTimeoutErrorMessage, Ot as countToolResults, P as resolveSandboxContext, Pt as acquireSessionWriteLock, Q as resolveToolProfilePolicy, R as resolveBrowserConfig, Rt as resolveChannelResetConfig, S as isContextOverflowError, St as mergeDeliveryContext, T as isLikelyContextOverflowError, Tt as normalizeAccountId$3, U as ensureBrowserControlAuth, Ut as resolveFreshSessionTotalTokens, V as resolveExistingPathsWithinRoot, Vt as resolveThreadFlag, W as resolveBrowserControlAuth, Wt as canonicalizeMainSessionAlias, X as mergeAlsoAllowPolicy, Y as expandToolGroups, Z as normalizeToolName, _ as getApiErrorPayloadFingerprint, _t as updateSessionStoreEntry, a as normalizeTextForComparison, at as resolveBootstrapTotalMaxChars, b as isCloudCodeAssistFormatError, bt as deliveryContextFromSession, c as extractToolResultId, ct as parseSessionThreadInfo, d as isGoogleModelApi, dt as resolveAndPersistSessionFile, et as compileGlobPatterns, f as BILLING_ERROR_USER_MESSAGE, ft as loadSessionStore, g as formatRawAssistantErrorForUi, gt as updateSessionStore, h as formatBillingErrorMessage, ht as updateLastRoute, i as isMessagingToolDuplicateNormalized, it as resolveBootstrapMaxChars, j as parseImageSizeError, jt as applyInputProvenanceToUserMessage, k as isTransientHttpError, kt as extractToolCallNames, l as downgradeOpenAIReasoningBlocks, lt as appendAssistantMessageToSessionTranscript, m as formatAssistantErrorText, mt as recordSessionMetaFromInbound, n as validateGeminiTurns, nt as buildBootstrapContextFiles, o as sanitizeSessionMessagesImages, ot as sanitizeGoogleTurnOrdering, p as classifyFailoverReason, pt as readSessionUpdatedAt, q as collectExplicitAllowlist, qt as deriveSessionMetaPatch, r as pickFallbackThinkingLevel, rt as ensureSessionHeader, s as extractToolCallsFromAssistant, st as extractDeliveryInfo, t as validateAnthropicTurns, tt as matchesAnyGlobPattern, u as isAntigravityClaude, v as isAuthAssistantError, vt as isCacheEnabled, w as isFailoverErrorMessage, wt as normalizeSessionDeliveryFields, x as isCompactionFailureError, xt as deliveryContextKey, y as isBillingAssistantError, yt as resolveCacheTtlMs$1, z as resolveProfile, zt as resolveSessionResetPolicy } from "./pi-embedded-helpers-
|
|
28
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BBiVsk1q.js";
|
|
29
|
+
import { t as convertMarkdownTables } from "./tables-MCQfYFPK.js";
|
|
30
|
+
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-BpEesCa-.js";
|
|
31
|
+
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-DvOrYSAO.js";
|
|
32
|
+
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-BGT90lj4.js";
|
|
33
|
+
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-CsjaB4ba.js";
|
|
34
|
+
import { $ as parseTelegramTarget, A as extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as addChannelAllowFromStoreEntry, H as firstDefined$1, I as resolveTelegramReplyId, J as removeChannelAllowFromStoreEntry, K as readChannelAllowFromStore, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as isVoiceCompatibleAudio, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeAllowFromSources, X as getPairingAdapter, Y as upsertChannelPairingRequest, Z as listPairingChannels, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildGroupLabel, c as sendStickerTelegram, d as wasSentByBot, et as resolveTelegramTargetChatType, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as toLocationContext, o as sendMessageTelegram, p as markdownToTelegramChunks, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as formatLocationText, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-BQ5kyeDC.js";
|
|
35
|
+
import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as modelSupportsVision, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as registerUnhandledRejectionHandler, y as buildRandomTempFilePath } from "./runner-CMTjp93H.js";
|
|
36
|
+
import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-BKFQ9roP.js";
|
|
37
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as SYMIPULSE_TOKEN, t as HEARTBEAT_TOKEN } from "./tokens-CVWPo-HD.js";
|
|
38
|
+
import { c as getSkillsSnapshotVersion, d as resolvePairingPaths, f as createAsyncLock, i as resolveSkillCommandInvocation, l as generatePairingToken, m as writeJsonAtomic, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as readJsonFile, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as pruneExpiredPending } from "./skill-commands-BAuNo2vz.js";
|
|
39
|
+
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, h as parseFrontmatterBlock, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-BDwS4XUE.js";
|
|
40
|
+
import { M as isSecureWebSocketUrl, N as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-5vsWWgoJ.js";
|
|
41
|
+
import { A as normalizeHyphenSlug, F as resolveChannelGroupRequireMention, I as resolveChannelGroupToolsPolicy, M as normalizeStringEntriesLower, P as resolveChannelGroupPolicy, a as normalizeReasoningLevel, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, j as normalizeStringEntries, k as normalizeAtHashSlug, l as resolveResponseUsageMode, m as normalizeSignalMessagingTarget, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-qM2Kzm92.js";
|
|
42
|
+
import { r as resolveIMessageAccount } from "./accounts-s-AdhXVR.js";
|
|
43
|
+
import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-BtaOa4z_.js";
|
|
44
|
+
import { a as normalizeOutboundPayloadsForJson, c as normalizeChannelTargetInput, d as parseReplyDirectives, f as MEDIA_TOKEN_RE, g as initializeGlobalHookRunner, h as getGlobalHookRunner, i as normalizeOutboundPayloads, l as normalizeTargetForProvider, m as parseInlineDirectives$1, o as normalizeReplyPayloadsForDelivery, p as splitMediaFromOutput, r as formatOutboundPayloadLog, s as buildTargetResolverSignature, t as deliverOutboundPayloads, u as throwIfAborted } from "./deliver-BjExSaDh.js";
|
|
45
|
+
import { $ as stripPluginOnlyAllowlist, A as parseImageDimensionError, At as INPUT_PROVENANCE_KIND_VALUES, B as DEFAULT_UPLOAD_DIR, Bt as resolveSessionResetType, C as isFailoverAssistantError, Ct as normalizeDeliveryContext, D as isRawApiErrorPayload, Dt as capArrayByJsonBytes, E as isRateLimitAssistantError, Et as archiveSessionTranscripts, F as resolveSandboxRuntimeStatus, Ft as resolveSessionLockMaxHoldFromTimeout, G as applyOwnerOnlyToolPolicy, Gt as resolveExplicitAgentSessionKey, H as getBridgeAuthForPort, Ht as DEFAULT_RESET_TRIGGERS, I as createBrowserRouteContext, It as resolveSessionKey, J as expandPolicyWithPluginGroups, Jt as resolveGroupSessionKey, K as buildPluginToolGroups, Kt as resolveMainSessionKey, L as registerBrowserRoutes, Lt as evaluateSessionFreshness, M as sanitizeUserFacingText, Mt as hasInterSessionUserProvenance, N as ensureSandboxWorkspaceForSession, Nt as normalizeInputProvenance, O as isTimeoutErrorMessage, Ot as countToolResults, P as resolveSandboxContext, Pt as acquireSessionWriteLock, Q as resolveToolProfilePolicy, R as resolveBrowserConfig, Rt as resolveChannelResetConfig, S as isContextOverflowError, St as mergeDeliveryContext, T as isLikelyContextOverflowError, Tt as normalizeAccountId$3, U as ensureBrowserControlAuth, Ut as resolveFreshSessionTotalTokens, V as resolveExistingPathsWithinRoot, Vt as resolveThreadFlag, W as resolveBrowserControlAuth, Wt as canonicalizeMainSessionAlias, X as mergeAlsoAllowPolicy, Y as expandToolGroups, Z as normalizeToolName, _ as getApiErrorPayloadFingerprint, _t as updateSessionStoreEntry, a as normalizeTextForComparison, at as resolveBootstrapTotalMaxChars, b as isCloudCodeAssistFormatError, bt as deliveryContextFromSession, c as extractToolResultId, ct as parseSessionThreadInfo, d as isGoogleModelApi, dt as resolveAndPersistSessionFile, et as compileGlobPatterns, f as BILLING_ERROR_USER_MESSAGE, ft as loadSessionStore, g as formatRawAssistantErrorForUi, gt as updateSessionStore, h as formatBillingErrorMessage, ht as updateLastRoute, i as isMessagingToolDuplicateNormalized, it as resolveBootstrapMaxChars, j as parseImageSizeError, jt as applyInputProvenanceToUserMessage, k as isTransientHttpError, kt as extractToolCallNames, l as downgradeOpenAIReasoningBlocks, lt as appendAssistantMessageToSessionTranscript, m as formatAssistantErrorText, mt as recordSessionMetaFromInbound, n as validateGeminiTurns, nt as buildBootstrapContextFiles, o as sanitizeSessionMessagesImages, ot as sanitizeGoogleTurnOrdering, p as classifyFailoverReason, pt as readSessionUpdatedAt, q as collectExplicitAllowlist, qt as deriveSessionMetaPatch, r as pickFallbackThinkingLevel, rt as ensureSessionHeader, s as extractToolCallsFromAssistant, st as extractDeliveryInfo, t as validateAnthropicTurns, tt as matchesAnyGlobPattern, u as isAntigravityClaude, v as isAuthAssistantError, vt as isCacheEnabled, w as isFailoverErrorMessage, wt as normalizeSessionDeliveryFields, x as isCompactionFailureError, xt as deliveryContextKey, y as isBillingAssistantError, yt as resolveCacheTtlMs$1, z as resolveProfile, zt as resolveSessionResetPolicy } from "./pi-embedded-helpers-BLEyEAp4.js";
|
|
46
46
|
import { n as resolveConversationLabel } from "./conversation-label-yNSj43Jt.js";
|
|
47
47
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-A0xdf3yk.js";
|
|
48
48
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-x1D4Vniz.js";
|
|
49
|
-
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-
|
|
50
|
-
import { i as saveMediaBuffer, r as getMediaDir } from "./store-
|
|
49
|
+
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-Jo7QixCi.js";
|
|
50
|
+
import { i as saveMediaBuffer, r as getMediaDir } from "./store-Dt1oCaOn.js";
|
|
51
51
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-DnkpMfCl.js";
|
|
52
|
-
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-
|
|
53
|
-
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-
|
|
52
|
+
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-D5sxTO4B.js";
|
|
53
|
+
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-Cx9o75_Z.js";
|
|
54
54
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Cdz3tuFk.js";
|
|
55
|
-
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-
|
|
55
|
+
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-Ynxj9D_4.js";
|
|
56
56
|
import { c as normalizeExtraMemoryPaths, f as runTasksWithConcurrency, s as listMemoryFiles } from "./internal-BpFmQTvo.js";
|
|
57
|
-
import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-
|
|
57
|
+
import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-CMJHsCzz.js";
|
|
58
58
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-5H7RKVif.js";
|
|
59
59
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-CA97QrJY.js";
|
|
60
|
-
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-
|
|
61
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
60
|
+
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-DonsAKvn.js";
|
|
61
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-B34r6gNi.js";
|
|
62
62
|
import { t as makeProxyFetch } from "./proxy-DAnyKGG4.js";
|
|
63
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
64
|
-
import { t as getActiveWebListener } from "./active-listener-
|
|
63
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-55uBdcZx.js";
|
|
64
|
+
import { t as getActiveWebListener } from "./active-listener-BaxIPBYG.js";
|
|
65
65
|
import { createRequire } from "node:module";
|
|
66
66
|
import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
67
67
|
import * as path$1 from "node:path";
|
|
68
68
|
import path from "node:path";
|
|
69
69
|
import os, { homedir } from "node:os";
|
|
70
|
-
import
|
|
70
|
+
import JSON5 from "json5";
|
|
71
71
|
import { ApplicationCommandOptionType, ButtonStyle, ChannelType, PermissionFlagsBits, Routes, StickerFormatType } from "discord-api-types/v10";
|
|
72
72
|
import { Button, ChannelSelectMenu, ChannelType as ChannelType$1, Client, Command, CommandWithSubcommands, Container, MentionableSelectMenu, MessageCreateListener, MessageReactionAddListener, MessageReactionRemoveListener, MessageType, Modal, PresenceUpdateListener, ReadyListener, RoleSelectMenu, Row, Separator, StringSelectMenu, TextDisplay, UserSelectMenu, serializePayload } from "@buape/carbon";
|
|
73
73
|
import crypto, { X509Certificate, createHash, createHmac, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -9616,7 +9616,7 @@ async function getMemorySearchManager(params) {
|
|
|
9616
9616
|
if (cached) return { manager: cached };
|
|
9617
9617
|
}
|
|
9618
9618
|
try {
|
|
9619
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
9619
|
+
const { QmdMemoryManager } = await import("./qmd-manager-BvQckdNY.js");
|
|
9620
9620
|
const primary = await QmdMemoryManager.create({
|
|
9621
9621
|
cfg: params.cfg,
|
|
9622
9622
|
agentId: params.agentId,
|
|
@@ -9628,7 +9628,7 @@ async function getMemorySearchManager(params) {
|
|
|
9628
9628
|
const wrapper = new FallbackMemoryManager({
|
|
9629
9629
|
primary,
|
|
9630
9630
|
fallbackFactory: async () => {
|
|
9631
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
9631
|
+
const { MemoryIndexManager } = await import("./manager-Ynxj9D_4.js").then((n) => n.t);
|
|
9632
9632
|
return await MemoryIndexManager.get(params);
|
|
9633
9633
|
}
|
|
9634
9634
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -9641,7 +9641,7 @@ async function getMemorySearchManager(params) {
|
|
|
9641
9641
|
}
|
|
9642
9642
|
}
|
|
9643
9643
|
try {
|
|
9644
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
9644
|
+
const { MemoryIndexManager } = await import("./manager-Ynxj9D_4.js").then((n) => n.t);
|
|
9645
9645
|
return { manager: await MemoryIndexManager.get(params) };
|
|
9646
9646
|
} catch (err) {
|
|
9647
9647
|
return {
|
|
@@ -12107,40 +12107,6 @@ function buildSkillsJitBlocks(opts) {
|
|
|
12107
12107
|
|
|
12108
12108
|
//#endregion
|
|
12109
12109
|
//#region src/agents/system-prompt.ts
|
|
12110
|
-
/**
|
|
12111
|
-
* Read up to `limit` markdown filenames from `<workspaceDir>/memory/`,
|
|
12112
|
-
* sorted by mtime descending. Returns relative names (e.g. "2026-04-30.md")
|
|
12113
|
-
* for inlining into the system prompt — gives the agent the actual file
|
|
12114
|
-
* surface so it doesn't speculate names like "memory/2026-04-30.md" from
|
|
12115
|
-
* training-data priors. Resilient: missing dir → [], unreadable → [].
|
|
12116
|
-
*/
|
|
12117
|
-
function listWorkspaceMemoryFiles(workspaceDir, limit = 10) {
|
|
12118
|
-
if (!workspaceDir) return [];
|
|
12119
|
-
const memoryDir = path.join(workspaceDir, "memory");
|
|
12120
|
-
let entries;
|
|
12121
|
-
try {
|
|
12122
|
-
entries = fs.readdirSync(memoryDir, { withFileTypes: true });
|
|
12123
|
-
} catch {
|
|
12124
|
-
return [];
|
|
12125
|
-
}
|
|
12126
|
-
const files = [];
|
|
12127
|
-
for (const entry of entries) {
|
|
12128
|
-
if (!entry.isFile()) continue;
|
|
12129
|
-
if (!entry.name.toLowerCase().endsWith(".md")) continue;
|
|
12130
|
-
let mtimeMs = 0;
|
|
12131
|
-
try {
|
|
12132
|
-
mtimeMs = fs.statSync(path.join(memoryDir, entry.name)).mtimeMs;
|
|
12133
|
-
} catch {
|
|
12134
|
-
mtimeMs = 0;
|
|
12135
|
-
}
|
|
12136
|
-
files.push({
|
|
12137
|
-
name: entry.name,
|
|
12138
|
-
mtimeMs
|
|
12139
|
-
});
|
|
12140
|
-
}
|
|
12141
|
-
files.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
12142
|
-
return files.slice(0, limit).map((f) => f.name);
|
|
12143
|
-
}
|
|
12144
12110
|
function buildSkillsSection(params) {
|
|
12145
12111
|
if (params.isMinimal) return [];
|
|
12146
12112
|
if (params.dropCatalog) return [];
|
|
@@ -12164,21 +12130,13 @@ function buildMemorySection(params) {
|
|
|
12164
12130
|
"## Memory Recall",
|
|
12165
12131
|
"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.",
|
|
12166
12132
|
"",
|
|
12167
|
-
"**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.",
|
|
12168
|
-
"",
|
|
12169
12133
|
"Memory is split into two layers you will see as files:",
|
|
12170
12134
|
"- `MEMORY.md` — user-authored short-term memory. Hand-edited by the user; treat as ground truth they wrote themselves. Never rewrite it yourself.",
|
|
12171
|
-
"- `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.
|
|
12172
|
-
"-
|
|
12135
|
+
"- `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 to `memory/YYYY-MM-DD.md` — the cycle will reconcile them.",
|
|
12136
|
+
"- `memory/YYYY-MM-DD.md` — daily append-only observations. This is where new memories land.",
|
|
12137
|
+
"",
|
|
12138
|
+
"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."
|
|
12173
12139
|
];
|
|
12174
|
-
const memoryFiles = (params.workspaceMemoryFiles ?? []).filter(Boolean);
|
|
12175
|
-
if (memoryFiles.length > 0) {
|
|
12176
|
-
lines.push("");
|
|
12177
|
-
lines.push("Existing memory files in this workspace (most-recently-modified first):");
|
|
12178
|
-
for (const name of memoryFiles) lines.push(`- \`memory/${name}\``);
|
|
12179
|
-
}
|
|
12180
|
-
lines.push("");
|
|
12181
|
-
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.");
|
|
12182
12140
|
if (params.citationsMode === "off") lines.push("Citations are disabled: do not mention file paths or line numbers in replies unless the user explicitly asks.");
|
|
12183
12141
|
else lines.push("Citations: include Source: <path#line> when it helps the user verify memory snippets.");
|
|
12184
12142
|
lines.push("");
|
|
@@ -12467,8 +12425,7 @@ function buildAgentSystemPrompt(params) {
|
|
|
12467
12425
|
const memorySection = buildMemorySection({
|
|
12468
12426
|
isMinimal,
|
|
12469
12427
|
availableTools,
|
|
12470
|
-
citationsMode: params.memoryCitationsMode
|
|
12471
|
-
workspaceMemoryFiles: listWorkspaceMemoryFiles(params.workspaceDir)
|
|
12428
|
+
citationsMode: params.memoryCitationsMode
|
|
12472
12429
|
});
|
|
12473
12430
|
const docsSection = buildDocsSection({
|
|
12474
12431
|
docsPath: params.docsPath,
|
|
@@ -12764,7 +12721,7 @@ async function recordLoopOutcome(args) {
|
|
|
12764
12721
|
if (!args.ctx?.sessionKey) return;
|
|
12765
12722
|
try {
|
|
12766
12723
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-DnkpMfCl.js").then((n) => n.n);
|
|
12767
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
12724
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-gmtzSlNZ.js");
|
|
12768
12725
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
12769
12726
|
sessionKey: args.ctx.sessionKey,
|
|
12770
12727
|
sessionId: args.ctx?.agentId
|
|
@@ -12785,8 +12742,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
12785
12742
|
const params = args.params;
|
|
12786
12743
|
if (args.ctx?.sessionKey) {
|
|
12787
12744
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-DnkpMfCl.js").then((n) => n.n);
|
|
12788
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
12789
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
12745
|
+
const { logToolLoopAction } = await import("./diagnostic-Jo7QixCi.js").then((n) => n.n);
|
|
12746
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-gmtzSlNZ.js");
|
|
12790
12747
|
const sessionState = getDiagnosticSessionState({
|
|
12791
12748
|
sessionKey: args.ctx.sessionKey,
|
|
12792
12749
|
sessionId: args.ctx?.agentId
|
|
@@ -13885,7 +13842,7 @@ async function routeReply(params) {
|
|
|
13885
13842
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
13886
13843
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
13887
13844
|
try {
|
|
13888
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
13845
|
+
const { deliverOutboundPayloads } = await import("./deliver-BjExSaDh.js").then((n) => n.n);
|
|
13889
13846
|
return {
|
|
13890
13847
|
ok: true,
|
|
13891
13848
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -14067,7 +14024,7 @@ function normalizeSessionKey(value) {
|
|
|
14067
14024
|
function readSessionStore(storePath) {
|
|
14068
14025
|
try {
|
|
14069
14026
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
14070
|
-
const parsed =
|
|
14027
|
+
const parsed = JSON5.parse(raw);
|
|
14071
14028
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
14072
14029
|
} catch {}
|
|
14073
14030
|
return {};
|
|
@@ -19783,7 +19740,7 @@ async function createModelSelectionState(params) {
|
|
|
19783
19740
|
}
|
|
19784
19741
|
}
|
|
19785
19742
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
19786
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
19743
|
+
const { ensureAuthProfileStore } = await import("./model-selection-DYUaACpE.js").then((n) => n.O);
|
|
19787
19744
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
19788
19745
|
const providerKey = normalizeProviderId(provider);
|
|
19789
19746
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -43295,7 +43252,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
43295
43252
|
return;
|
|
43296
43253
|
}
|
|
43297
43254
|
try {
|
|
43298
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
43255
|
+
const { deliverOutboundPayloads } = await import("./deliver-BjExSaDh.js").then((n) => n.n);
|
|
43299
43256
|
await deliverOutboundPayloads({
|
|
43300
43257
|
cfg: params.cfg,
|
|
43301
43258
|
channel,
|
|
@@ -47373,7 +47330,7 @@ async function describeStickerImage(params) {
|
|
|
47373
47330
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
47374
47331
|
try {
|
|
47375
47332
|
const buffer = await fs$1.readFile(imagePath);
|
|
47376
|
-
const { describeImageWithModel } = await import("./image-
|
|
47333
|
+
const { describeImageWithModel } = await import("./image-D5sxTO4B.js").then((n) => n.n);
|
|
47377
47334
|
return (await describeImageWithModel({
|
|
47378
47335
|
buffer,
|
|
47379
47336
|
fileName: "sticker.webp",
|
|
@@ -47784,7 +47741,7 @@ function createWhatsAppLoginTool() {
|
|
|
47784
47741
|
force: Type.Optional(Type.Boolean())
|
|
47785
47742
|
}),
|
|
47786
47743
|
execute: async (_toolCallId, args) => {
|
|
47787
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
47744
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-DbdQzmX5.js");
|
|
47788
47745
|
if ((args?.action ?? "start") === "wait") {
|
|
47789
47746
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
47790
47747
|
return {
|
|
@@ -49897,7 +49854,7 @@ async function preflightDiscordMessage(params) {
|
|
|
49897
49854
|
let preflightTranscript;
|
|
49898
49855
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
49899
49856
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
49900
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
49857
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DsZOzoTi.js");
|
|
49901
49858
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
49902
49859
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
49903
49860
|
ctx: {
|
|
@@ -54622,27 +54579,27 @@ function setCliSessionId(entry, provider, sessionId) {
|
|
|
54622
54579
|
function createDefaultDeps() {
|
|
54623
54580
|
return {
|
|
54624
54581
|
sendMessageWhatsApp: async (...args) => {
|
|
54625
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
54582
|
+
const { sendMessageWhatsApp } = await import("./web-C_rB_m-e.js");
|
|
54626
54583
|
return await sendMessageWhatsApp(...args);
|
|
54627
54584
|
},
|
|
54628
54585
|
sendMessageTelegram: async (...args) => {
|
|
54629
|
-
const { sendMessageTelegram } = await import("./send-
|
|
54586
|
+
const { sendMessageTelegram } = await import("./send-BQ5kyeDC.js").then((n) => n.l);
|
|
54630
54587
|
return await sendMessageTelegram(...args);
|
|
54631
54588
|
},
|
|
54632
54589
|
sendMessageDiscord: async (...args) => {
|
|
54633
|
-
const { sendMessageDiscord } = await import("./send-
|
|
54590
|
+
const { sendMessageDiscord } = await import("./send-9RblyyZd.js").then((n) => n.t);
|
|
54634
54591
|
return await sendMessageDiscord(...args);
|
|
54635
54592
|
},
|
|
54636
54593
|
sendMessageSlack: async (...args) => {
|
|
54637
|
-
const { sendMessageSlack } = await import("./send-
|
|
54594
|
+
const { sendMessageSlack } = await import("./send-CsjaB4ba.js").then((n) => n.n);
|
|
54638
54595
|
return await sendMessageSlack(...args);
|
|
54639
54596
|
},
|
|
54640
54597
|
sendMessageSignal: async (...args) => {
|
|
54641
|
-
const { sendMessageSignal } = await import("./send-
|
|
54598
|
+
const { sendMessageSignal } = await import("./send-DonsAKvn.js").then((n) => n.i);
|
|
54642
54599
|
return await sendMessageSignal(...args);
|
|
54643
54600
|
},
|
|
54644
54601
|
sendMessageIMessage: async (...args) => {
|
|
54645
|
-
const { sendMessageIMessage } = await import("./send-
|
|
54602
|
+
const { sendMessageIMessage } = await import("./send-BpEesCa-.js").then((n) => n.n);
|
|
54646
54603
|
return await sendMessageIMessage(...args);
|
|
54647
54604
|
}
|
|
54648
54605
|
};
|
|
@@ -64460,7 +64417,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
64460
64417
|
}
|
|
64461
64418
|
let commandsRegistry;
|
|
64462
64419
|
async function getCommandsRegistry() {
|
|
64463
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
64420
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-CMJHsCzz.js").then((n) => n.n);
|
|
64464
64421
|
return commandsRegistry;
|
|
64465
64422
|
}
|
|
64466
64423
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -64802,11 +64759,11 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
64802
64759
|
const channelName = channelInfo?.name;
|
|
64803
64760
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
64804
64761
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
64805
|
-
import("./resolve-route-
|
|
64762
|
+
import("./resolve-route-B34r6gNi.js").then((n) => n.r),
|
|
64806
64763
|
import("./inbound-context-5H7RKVif.js").then((n) => n.n),
|
|
64807
64764
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
64808
64765
|
]);
|
|
64809
|
-
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-yNSj43Jt.js").then((n) => n.t), import("./reply-prefix-
|
|
64766
|
+
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-yNSj43Jt.js").then((n) => n.t), import("./reply-prefix-BKFQ9roP.js").then((n) => n.r)]);
|
|
64810
64767
|
const route = resolveAgentRoute({
|
|
64811
64768
|
cfg,
|
|
64812
64769
|
channel: "slack",
|
|
@@ -64863,9 +64820,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
64863
64820
|
});
|
|
64864
64821
|
const deliverSlashPayloads = async (replies) => {
|
|
64865
64822
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
64866
|
-
import("./replies-
|
|
64867
|
-
import("./chunk-
|
|
64868
|
-
import("./markdown-tables-
|
|
64823
|
+
import("./replies-55uBdcZx.js").then((n) => n.r),
|
|
64824
|
+
import("./chunk-Dw2XBYXv.js").then((n) => n.s),
|
|
64825
|
+
import("./markdown-tables-BBiVsk1q.js").then((n) => n.t)
|
|
64869
64826
|
]);
|
|
64870
64827
|
await deliverSlackSlashReplies({
|
|
64871
64828
|
replies,
|
|
@@ -64918,7 +64875,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
64918
64875
|
let nativeCommands = [];
|
|
64919
64876
|
if (nativeEnabled) {
|
|
64920
64877
|
reg = await getCommandsRegistry();
|
|
64921
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
64878
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-BAuNo2vz.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
64922
64879
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
64923
64880
|
skillCommands,
|
|
64924
64881
|
provider: "slack"
|
|
@@ -67136,7 +67093,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
67136
67093
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
67137
67094
|
let preflightTranscript;
|
|
67138
67095
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
67139
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
67096
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DsZOzoTi.js");
|
|
67140
67097
|
preflightTranscript = await transcribeFirstAudio({
|
|
67141
67098
|
ctx: {
|
|
67142
67099
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -69281,23 +69238,23 @@ let webLoginQrPromise = null;
|
|
|
69281
69238
|
let webChannelPromise = null;
|
|
69282
69239
|
let whatsappActionsPromise = null;
|
|
69283
69240
|
function loadWebOutbound() {
|
|
69284
|
-
webOutboundPromise ??= import("./outbound-
|
|
69241
|
+
webOutboundPromise ??= import("./outbound-BExtRVl2.js").then((n) => n.t);
|
|
69285
69242
|
return webOutboundPromise;
|
|
69286
69243
|
}
|
|
69287
69244
|
function loadWebLogin() {
|
|
69288
|
-
webLoginPromise ??= import("./login-
|
|
69245
|
+
webLoginPromise ??= import("./login-Xauu2cKD.js").then((n) => n.n);
|
|
69289
69246
|
return webLoginPromise;
|
|
69290
69247
|
}
|
|
69291
69248
|
function loadWebLoginQr() {
|
|
69292
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
69249
|
+
webLoginQrPromise ??= import("./login-qr-DbdQzmX5.js");
|
|
69293
69250
|
return webLoginQrPromise;
|
|
69294
69251
|
}
|
|
69295
69252
|
function loadWebChannel() {
|
|
69296
|
-
webChannelPromise ??= import("./web-
|
|
69253
|
+
webChannelPromise ??= import("./web-C_rB_m-e.js");
|
|
69297
69254
|
return webChannelPromise;
|
|
69298
69255
|
}
|
|
69299
69256
|
function loadWhatsAppActions() {
|
|
69300
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
69257
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-BT1wbCx9.js");
|
|
69301
69258
|
return whatsappActionsPromise;
|
|
69302
69259
|
}
|
|
69303
69260
|
function createPluginRuntime() {
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { a as WA_WEB_AUTH_DIR, g as webAuthExists, s as logWebSelfId, u as pickWebChannel } from "./accounts-Ddm33hQm.js";
|
|
2
|
+
import "./unified-runner-BUI9ninR.js";
|
|
3
|
+
import "./paths-DR2yt_mP.js";
|
|
4
|
+
import "./github-copilot-token-D9X2phUj.js";
|
|
5
|
+
import "./plugins-DRWyzk5i.js";
|
|
6
|
+
import "./fetch-CUNoPTKm.js";
|
|
7
|
+
import "./registry-D0xTnUWt.js";
|
|
8
|
+
import "./retry-CwQ_iIj8.js";
|
|
9
|
+
import "./send-9RblyyZd.js";
|
|
10
|
+
import "./config-sW6sHEjP.js";
|
|
11
|
+
import "./subsystem-B2uDN3TV.js";
|
|
12
|
+
import "./command-format-GKSevep4.js";
|
|
13
|
+
import "./model-selection-DYUaACpE.js";
|
|
14
|
+
import "./agent-scope-BREbt-rZ.js";
|
|
15
|
+
import "./manifest-registry-BRx4JDK0.js";
|
|
16
|
+
import "./redact-DPnDWsnT.js";
|
|
17
|
+
import "./errors-Bv8oZiTO.js";
|
|
18
|
+
import "./channel-activity-DoC1xtDu.js";
|
|
19
|
+
import "./image-ops-DZ8OTT0B.js";
|
|
20
|
+
import "./ssrf-DKZ8eBrk.js";
|
|
21
|
+
import "./local-roots-CxzyCF23.js";
|
|
22
|
+
import "./ir-DfsDN6C5.js";
|
|
23
|
+
import "./chunk-Dw2XBYXv.js";
|
|
24
|
+
import "./message-channel-COTAJzHd.js";
|
|
25
|
+
import "./bindings-Da0i5ERM.js";
|
|
26
|
+
import "./markdown-tables-BBiVsk1q.js";
|
|
27
|
+
import "./render-BiJZ5W4Z.js";
|
|
28
|
+
import "./tables-MCQfYFPK.js";
|
|
29
|
+
import "./send-BpEesCa-.js";
|
|
30
|
+
import "./tool-images-DvOrYSAO.js";
|
|
31
|
+
import "./target-errors-BGT90lj4.js";
|
|
32
|
+
import "./send-CsjaB4ba.js";
|
|
33
|
+
import "./send-BQ5kyeDC.js";
|
|
34
|
+
import "./runner-CMTjp93H.js";
|
|
35
|
+
import "./reply-prefix-BKFQ9roP.js";
|
|
36
|
+
import "./tokens-CVWPo-HD.js";
|
|
37
|
+
import "./skill-commands-BAuNo2vz.js";
|
|
38
|
+
import "./skills-BDwS4XUE.js";
|
|
39
|
+
import "./chrome-5vsWWgoJ.js";
|
|
40
|
+
import "./thinking-qM2Kzm92.js";
|
|
41
|
+
import "./accounts-s-AdhXVR.js";
|
|
42
|
+
import "./accounts-BtaOa4z_.js";
|
|
43
|
+
import "./deliver-BjExSaDh.js";
|
|
44
|
+
import "./pi-embedded-helpers-BLEyEAp4.js";
|
|
45
|
+
import "./paths-A0xdf3yk.js";
|
|
46
|
+
import "./diagnostic-Jo7QixCi.js";
|
|
47
|
+
import "./store-Dt1oCaOn.js";
|
|
48
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-C18g6B0w.js";
|
|
49
|
+
import "./diagnostic-session-state-DnkpMfCl.js";
|
|
50
|
+
import "./image-D5sxTO4B.js";
|
|
51
|
+
import "./pi-auth-json-Cx9o75_Z.js";
|
|
52
|
+
import "./pi-model-discovery-Cdz3tuFk.js";
|
|
53
|
+
import "./manager-Ynxj9D_4.js";
|
|
54
|
+
import "./gemini-auth-DoZCUeez.js";
|
|
55
|
+
import "./sqlite-DLwYpBWC.js";
|
|
56
|
+
import "./commands-registry-CMJHsCzz.js";
|
|
57
|
+
import "./send-DonsAKvn.js";
|
|
58
|
+
import "./outbound-attachment-V-8HPvXC.js";
|
|
59
|
+
import "./resolve-route-B34r6gNi.js";
|
|
60
|
+
import "./proxy-DAnyKGG4.js";
|
|
61
|
+
import "./replies-55uBdcZx.js";
|
|
62
|
+
import { n as sendMessageWhatsApp } from "./outbound-BExtRVl2.js";
|
|
63
|
+
import { i as waitForWaConnection, t as createWaSocket } from "./session-BT2dgHI2.js";
|
|
64
|
+
import { t as loginWeb } from "./login-Xauu2cKD.js";
|
|
65
|
+
|
|
66
|
+
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { r as resolveWhatsAppAccount } from "./accounts-
|
|
1
|
+
import { r as resolveWhatsAppAccount } from "./accounts-Ddm33hQm.js";
|
|
2
2
|
import "./paths-DR2yt_mP.js";
|
|
3
3
|
import "./github-copilot-token-D9X2phUj.js";
|
|
4
|
-
import "./plugins-
|
|
5
|
-
import "./registry
|
|
6
|
-
import "./config-
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./command-format-
|
|
9
|
-
import "./model-selection-
|
|
10
|
-
import "./agent-scope-
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import "./image-ops-
|
|
4
|
+
import "./plugins-DRWyzk5i.js";
|
|
5
|
+
import "./registry-D0xTnUWt.js";
|
|
6
|
+
import "./config-sW6sHEjP.js";
|
|
7
|
+
import "./subsystem-B2uDN3TV.js";
|
|
8
|
+
import "./command-format-GKSevep4.js";
|
|
9
|
+
import "./model-selection-DYUaACpE.js";
|
|
10
|
+
import "./agent-scope-BREbt-rZ.js";
|
|
11
|
+
import "./manifest-registry-BRx4JDK0.js";
|
|
12
|
+
import "./image-ops-DZ8OTT0B.js";
|
|
13
13
|
import "./ssrf-DKZ8eBrk.js";
|
|
14
|
-
import "./local-roots-
|
|
15
|
-
import "./ir-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./message-channel-
|
|
18
|
-
import "./bindings-
|
|
19
|
-
import "./markdown-tables-
|
|
14
|
+
import "./local-roots-CxzyCF23.js";
|
|
15
|
+
import "./ir-DfsDN6C5.js";
|
|
16
|
+
import "./chunk-Dw2XBYXv.js";
|
|
17
|
+
import "./message-channel-COTAJzHd.js";
|
|
18
|
+
import "./bindings-Da0i5ERM.js";
|
|
19
|
+
import "./markdown-tables-BBiVsk1q.js";
|
|
20
20
|
import "./render-BiJZ5W4Z.js";
|
|
21
|
-
import "./tables-
|
|
22
|
-
import "./tool-images-
|
|
23
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam } from "./target-errors-
|
|
24
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
25
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
21
|
+
import "./tables-MCQfYFPK.js";
|
|
22
|
+
import "./tool-images-DvOrYSAO.js";
|
|
23
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam } from "./target-errors-BGT90lj4.js";
|
|
24
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BHmUS6gT.js";
|
|
25
|
+
import { r as sendReactionWhatsApp } from "./outbound-BExtRVl2.js";
|
|
26
26
|
|
|
27
27
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
28
28
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|