@symerian/symi 2.8.1 → 2.8.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-eoJi3qE3.js → agents-BP_hiwMD.js} +4 -4
- package/dist/{agents.config-DXM0gE9W.js → agents.config-CYNgSul0.js} +1 -1
- package/dist/{agents.config-CtrswUIx.js → agents.config-CdM5ku8R.js} +1 -1
- package/dist/{audio-preflight-C9k2CrHS.js → audio-preflight-CyZA9tsd.js} +3 -3
- package/dist/{audio-preflight-gM3Qwrcb.js → audio-preflight-Cz_9XCCd.js} +5 -5
- package/dist/{audio-preflight-2PVy_DkV.js → audio-preflight-DWJo8CKL.js} +5 -5
- package/dist/{audio-preflight-Blt0r4NR.js → audio-preflight-DpCiGuYw.js} +3 -3
- package/dist/{audit-D5RvYBiB.js → audit-D07BzAil.js} +2 -2
- package/dist/{audit-Cr9yFA0I.js → audit-DM_xouV5.js} +2 -2
- package/dist/{auth-choice-Zrf-kdSJ.js → auth-choice-BW07K246.js} +1 -1
- package/dist/{auth-choice-DBa2G_TZ.js → auth-choice-CUaSZy6B.js} +1 -1
- package/dist/{banner-BMi9YZbw.js → banner-BMzUm25B.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +5 -5
- package/dist/bundled/session-memory/handler.js +5 -5
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-B13ezvWK.js → channel-options-CISU8mXt.js} +1 -1
- package/dist/{channel-options-BllDzejG.js → channel-options-kb8QqdV4.js} +1 -1
- package/dist/{channel-web-BRwXPtcp.js → channel-web-Bk1jU0Lb.js} +3 -3
- package/dist/{channels-cli-Bm0xYoB6.js → channels-cli-BvheNm6I.js} +11 -11
- package/dist/{channels-cli-D3M4H1oT.js → channels-cli-CLYkWpkx.js} +12 -12
- package/dist/{cli-Cbx40_Ia.js → cli-DwSxn18q.js} +8 -8
- package/dist/{cli-COBZYf1i.js → cli-pYJ72ond.js} +9 -9
- package/dist/{command-registry-_WyvrPBZ.js → command-registry-DKQJJjIf.js} +9 -9
- package/dist/{completion-cli-F5fIobkc.js → completion-cli-C3CnbIy5.js} +1 -1
- package/dist/{completion-cli-grldUDtK.js → completion-cli-MIpTuWk5.js} +2 -2
- package/dist/{config-cli-PWLx4Kty.js → config-cli-C41f70nF.js} +1 -1
- package/dist/{config-cli-BiXOB9xG.js → config-cli-gAf-TA7e.js} +1 -1
- package/dist/{config-guard-D9JvQJ3e.js → config-guard--bWUf43r.js} +1 -1
- package/dist/{config-guard-CHipfgSG.js → config-guard-sabj1Q9M.js} +2 -2
- package/dist/{configure-CHga17H0.js → configure-B7B8YNMe.js} +3 -3
- package/dist/{configure-B0fDk8Qx.js → configure-BK_V2GR4.js} +3 -3
- package/dist/{deliver-Bs5u3Hej.js → deliver-B_cMmLLl.js} +1 -1
- package/dist/{deliver-5eO_p-0l.js → deliver-C4ngQuaO.js} +1 -1
- package/dist/{deliver-Du7r6Fpd.js → deliver-CUbKntCF.js} +2 -2
- package/dist/{deliver-BGcxZup9.js → deliver-CqIrS6D0.js} +2 -2
- package/dist/{doctor-completion-ClEkQmYn.js → doctor-completion-BpS_hkq1.js} +1 -1
- package/dist/{doctor-completion-aHmv3-PM.js → doctor-completion-pZQuEu-W.js} +1 -1
- package/dist/{doctor-config-flow-BuTQ0TuP.js → doctor-config-flow-C3lqf35v.js} +1 -1
- package/dist/{doctor-config-flow-S3oH5AYd.js → doctor-config-flow-Dfg2EcN_.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +5 -5
- package/dist/{gateway-cli-Yn1kSGKo.js → gateway-cli-EWuad3V7.js} +18 -18
- package/dist/{gateway-cli-BUg5JD1X.js → gateway-cli-_OOsmfGb.js} +19 -19
- package/dist/{glass-ui-ws-BgcVXIux.js → glass-ui-ws-PXXrsQ-D.js} +16 -16
- package/dist/{glass-ui-ws-Wzl5FnK4.js → glass-ui-ws-ijUOjNlX.js} +15 -15
- package/dist/{health-Cvo7oeOO.js → health-CAfXVzBl.js} +3 -3
- package/dist/{health-B_PfWJGH.js → health-dXgy5DYY.js} +3 -3
- package/dist/{hooks-cli-Bfsi0AkF.js → hooks-cli-BdVp-4O4.js} +10 -10
- package/dist/{hooks-cli-BN9bIYZd.js → hooks-cli-Gs5xStR7.js} +9 -9
- package/dist/{image-BWkg49Ov.js → image-9naYHSQv.js} +1 -1
- package/dist/{image-C53MgRGd.js → image-BTZ0Ohkt.js} +1 -1
- package/dist/{image-AJDd8Cdk.js → image-D0gsTeRC.js} +1 -1
- package/dist/{image-CjbeVVV2.js → image-NuvkfwIV.js} +1 -1
- package/dist/index.js +14 -14
- package/dist/llm-slug-generator.js +5 -5
- package/dist/{models-BDoxJ7Bo.js → models-BbfUqjf3.js} +2 -2
- package/dist/{models-cli-hgropb_c.js → models-cli-7azv3P1b.js} +11 -11
- package/dist/{models-cli-wTs0n8az.js → models-cli-DoI-JwiY.js} +9 -9
- package/dist/{onboard-CxdkxIZF.js → onboard-D5S97kAE.js} +2 -2
- package/dist/{onboard-channels-CBfxXGbt.js → onboard-channels-DOkwjS0s.js} +1 -1
- package/dist/{onboard-channels-BTPvacsB.js → onboard-channels-DVfv9Y_S.js} +1 -1
- package/dist/{onboard-BZs1tHBm.js → onboard-oY9yeTCD.js} +2 -2
- package/dist/{onboarding-DY_SZcCu.js → onboarding-BjqQnTNJ.js} +4 -4
- package/dist/{onboarding-DLQAQHvb.js → onboarding-BzcYOTQo.js} +4 -4
- package/dist/{onboarding.finalize-Dh9-KJYq.js → onboarding.finalize-Cp_pbkRH.js} +13 -13
- package/dist/{onboarding.finalize-B51VEYgz.js → onboarding.finalize-HqD8tsTk.js} +15 -15
- package/dist/{onboarding.gateway-config-DORMSKZH.js → onboarding.gateway-config-CgBFCnRO.js} +1 -1
- package/dist/{onboarding.gateway-config-DqcffEBK.js → onboarding.gateway-config-DBVeIOgn.js} +1 -1
- package/dist/{pi-embedded-BPKyWoaL.js → pi-embedded-CGjIVrgZ.js} +11 -11
- package/dist/{pi-embedded-helpers-CyvA5vPW.js → pi-embedded-helpers-BCaXoHH_.js} +6 -0
- package/dist/{pi-embedded-helpers-DWVs9MNT.js → pi-embedded-helpers-D0PaMBzF.js} +6 -0
- package/dist/{pi-embedded-helpers-BnXpCAW8.js → pi-embedded-helpers-Dpvjhg4I.js} +1 -1
- package/dist/{pi-embedded-helpers-Cy5TV1gC.js → pi-embedded-helpers-Dvi7N6Rm.js} +1 -1
- package/dist/{pi-tools.policy-D9N568kG.js → pi-tools.policy-BZmtnPSS.js} +1 -1
- package/dist/{pi-tools.policy-BL5fmuL6.js → pi-tools.policy-DVgBuYZD.js} +1 -1
- package/dist/{plugin-registry-COKpZSsh.js → plugin-registry-BajfmjU0.js} +1 -1
- package/dist/{plugin-registry-CW-3bjRM.js → plugin-registry-K3suJQ0H.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-CU60zXtN.js → audio-preflight-D-Ts8mJj.js} +3 -3
- package/dist/plugin-sdk/{channel-web-D74j_bFK.js → channel-web-D5wzVJ32.js} +3 -3
- package/dist/plugin-sdk/{deliver-DQWcP502.js → deliver-Cwv3O8Jk.js} +1 -1
- package/dist/plugin-sdk/{image-c8yrzz13.js → image-BAMfvUGS.js} +1 -1
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/plugin-sdk/{pi-embedded-helpers-CnZS33KE.js → pi-embedded-helpers-2DDDlFdN.js} +6 -0
- package/dist/plugin-sdk/{reply-Cn5oq3Mv.js → reply-CJRlLN3y.js} +11 -11
- package/dist/plugin-sdk/{runner-CfIq7N_U.js → runner-D6u4wYgt.js} +1 -1
- package/dist/plugin-sdk/{web-BiP5CZ6b.js → web-CDR8JhAp.js} +6 -6
- package/dist/{plugins-cli-CSHFhDUj.js → plugins-cli-5yFEO1RM.js} +10 -10
- package/dist/{plugins-cli-Bg1YsfaH.js → plugins-cli-DDZC1aBX.js} +9 -9
- package/dist/{program-DinHHdhg.js → program-C_t-nElA.js} +16 -16
- package/dist/{program-context-CKBTrauv.js → program-context-yy9jeZA-.js} +20 -20
- package/dist/{prompt-select-styled-CVANzIyZ.js → prompt-select-styled-BlmkKM8m.js} +7 -7
- package/dist/{prompt-select-styled-CrpJBKBs.js → prompt-select-styled-DkF-37hl.js} +7 -7
- package/dist/{provider-auth-helpers-CbxUOKs4.js → provider-auth-helpers-CvtE9Fyo.js} +1 -1
- package/dist/{provider-auth-helpers-DFY-pNQI.js → provider-auth-helpers-HG7r-FR2.js} +1 -1
- package/dist/{push-apns-CUFa1Pd-.js → push-apns-BaE3a_bh.js} +1 -1
- package/dist/{push-apns-BoBQDXZE.js → push-apns-Ccf4aVFu.js} +1 -1
- package/dist/{register.agent-vTDClltK.js → register.agent-Cb6iPc0K.js} +14 -14
- package/dist/{register.agent-BwwKKDXE.js → register.agent-Dl8_SedO.js} +12 -12
- package/dist/{register.configure-CfxNv6O9.js → register.configure-CAYMyvUE.js} +14 -14
- package/dist/{register.configure-CF34YzYT.js → register.configure-D8swyMda.js} +13 -13
- package/dist/{register.maintenance-DcoVTA7h.js → register.maintenance-8tp_ejvk.js} +15 -15
- package/dist/{register.maintenance-DzrtTaKQ.js → register.maintenance-C-5bh4Oq.js} +17 -17
- package/dist/{register.message-CRBHsHWv.js → register.message-CV5pZauk.js} +10 -10
- package/dist/{register.message-CTw4-4VQ.js → register.message-O0GtHiGs.js} +9 -9
- package/dist/{register.onboard-BBDN08mZ.js → register.onboard-C_K8dDSX.js} +11 -11
- package/dist/{register.onboard-roFc_CQz.js → register.onboard-CrGDlzXA.js} +12 -12
- package/dist/{register.setup-DYG_SiAJ.js → register.setup-DiQFx4tR.js} +11 -11
- package/dist/{register.setup-C30wQJZY.js → register.setup-KPbazOsE.js} +12 -12
- package/dist/{register.status-health-sessions-jg8DtM1r.js → register.status-health-sessions-DsyVTl__.js} +11 -11
- package/dist/{register.status-health-sessions-eI_AzmXf.js → register.status-health-sessions-Dwh2bIpR.js} +13 -13
- package/dist/{register.subclis-UuV3diKa.js → register.subclis-QAJuXbFF.js} +12 -12
- package/dist/{reply-CjNSctUU.js → reply-Nm6-dyEz.js} +14 -14
- package/dist/{run-main-PNapoUhj.js → run-main-D5i7JRjt.js} +25 -25
- package/dist/{runner-BivoPVff.js → runner--ZcH-9Yy.js} +1 -1
- package/dist/{runner-BJ-Z_VGK.js → runner-BIFEZdHf.js} +1 -1
- package/dist/{runner-DJecEIPm.js → runner-Cw9k-to3.js} +1 -1
- package/dist/{runner-DxJM1fE0.js → runner-ZvM4YP_p.js} +1 -1
- package/dist/{sandbox-DkdWg8t2.js → sandbox-B4TymFkn.js} +1 -1
- package/dist/{sandbox-Dz1LHN8P.js → sandbox-BAtuFSUe.js} +1 -1
- package/dist/{sandbox-cli-4Pg3aVz-.js → sandbox-cli-CcOGDQ3p.js} +2 -2
- package/dist/{sandbox-cli-DoFBUL8u.js → sandbox-cli-DvnUmqvF.js} +2 -2
- package/dist/{security-cli-C82nGvzm.js → security-cli-CpL_AJTw.js} +4 -4
- package/dist/{security-cli-DVfyt4Oh.js → security-cli-R8x1hGvi.js} +4 -4
- package/dist/{server-methods-B2fwSC43.js → server-methods-D_YxXkg3.js} +10 -10
- package/dist/{server-methods-DnG5AoB5.js → server-methods-iLn4wWcd.js} +11 -11
- package/dist/{server-node-events-D4pUDOyw.js → server-node-events-BlhDKodl.js} +9 -9
- package/dist/{server-node-events-B3wjIykx.js → server-node-events-DjTctiuP.js} +10 -10
- package/dist/{session-utils-BBxN97Q3.js → session-utils-BVxRndLM.js} +1 -1
- package/dist/{sessions--LmVowda.js → sessions-BXt-CbSU.js} +6 -0
- package/dist/{sessions-dujM2GaL.js → sessions-CjR22SIv.js} +2 -2
- package/dist/{sessions-JAT36UjQ.js → sessions-b9udXn-B.js} +6 -0
- package/dist/{status-CE23CPNp.js → status-Clb4j9Bs.js} +5 -5
- package/dist/{status-CXPgJ3wF.js → status-DMK3hFDi.js} +1 -1
- package/dist/{status-BIq0ufD0.js → status-Dfyr0fJ0.js} +4 -4
- package/dist/{status-_Ck_41Sc.js → status-PyghzU4Y.js} +1 -1
- package/dist/{subagent-registry-CL4ePIya.js → subagent-registry-OGmFSkWy.js} +15 -15
- package/dist/{tui-cYHBP6Te.js → tui-BgLLypDm.js} +2 -2
- package/dist/{tui-DTMLSkep.js → tui-BvLA4yng.js} +2 -2
- package/dist/{tui-cli-B7Q3S-tU.js → tui-cli-BehiEpvN.js} +4 -4
- package/dist/{tui-cli-Dwzv1CWE.js → tui-cli-DTimR3Ft.js} +4 -4
- package/dist/{unified-runner-C-vgxFL9.js → unified-runner-DfrBkh-m.js} +11 -11
- package/dist/{update-cli-DC8F6H6w.js → update-cli-BMHE6m13.js} +17 -17
- package/dist/{update-cli-ChsPWPb-.js → update-cli-CnCxJEUN.js} +15 -15
- package/dist/{update-runner-DAzZKXex.js → update-runner-B3WnkzHh.js} +1 -1
- package/dist/{update-runner-DmjXHVnN.js → update-runner-ClzPlUuU.js} +1 -1
- package/dist/{web-DHyrjb4O.js → web-B1JE72ZF.js} +9 -9
- package/dist/{web-CGoJq6aj.js → web-CaeHlkz2.js} +9 -9
- package/dist/{web-DYcHjdh6.js → web-CjzoeoJw.js} +5 -5
- package/dist/{web-GMxAEtPW.js → web-DzelVjsV.js} +5 -5
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/learning-loop/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +6 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/pipeline/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { At as resolveOutboundTarget, Et as agentCommand, Pt as createOutboundSendDeps, b as resolveGatewaySessionStoreTarget, st as requestSymipulseNow, v as loadSessionEntry, xr as enqueueSystemEvent, y as pruneLegacyStoreKeys } from "./reply-
|
|
4
|
+
import { At as resolveOutboundTarget, Et as agentCommand, Pt as createOutboundSendDeps, b as resolveGatewaySessionStoreTarget, st as requestSymipulseNow, v as loadSessionEntry, xr as enqueueSystemEvent, y as pruneLegacyStoreKeys } from "./reply-Nm6-dyEz.js";
|
|
5
5
|
import { c as normalizeMainKey } from "./session-key-DCt45XZa.js";
|
|
6
6
|
import "./registry-Cja8eT7G.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
@@ -15,12 +15,12 @@ import "./message-channel-aT-I_DTX.js";
|
|
|
15
15
|
import "./send-BemcAE2V.js";
|
|
16
16
|
import { i as loadConfig } from "./config-BFFFJyGG.js";
|
|
17
17
|
import "./manifest-registry-BDSRH8nU.js";
|
|
18
|
-
import "./runner-
|
|
19
|
-
import "./image-
|
|
18
|
+
import "./runner-BIFEZdHf.js";
|
|
19
|
+
import "./image-BTZ0Ohkt.js";
|
|
20
20
|
import "./models-config-Bkimvp-w.js";
|
|
21
21
|
import "./pi-model-discovery-4uUnLc3n.js";
|
|
22
|
-
import "./pi-embedded-helpers-
|
|
23
|
-
import "./sandbox-
|
|
22
|
+
import "./pi-embedded-helpers-Dvi7N6Rm.js";
|
|
23
|
+
import "./sandbox-B4TymFkn.js";
|
|
24
24
|
import "./chrome-Cx4CChuw.js";
|
|
25
25
|
import "./tailscale-D5dKabOc.js";
|
|
26
26
|
import "./auth-B741uFtk.js";
|
|
@@ -37,7 +37,7 @@ import "./image-ops-1OJMSAUX.js";
|
|
|
37
37
|
import "./store-r1DJSDq-.js";
|
|
38
38
|
import "./ports-BOmtxoTv.js";
|
|
39
39
|
import "./trash-DcMh1i4B.js";
|
|
40
|
-
import { d as updateSessionStore } from "./sessions-
|
|
40
|
+
import { d as updateSessionStore } from "./sessions-b9udXn-B.js";
|
|
41
41
|
import "./dock-BXPWY7iQ.js";
|
|
42
42
|
import { r as normalizeChannelId } from "./plugins-CFHHpXfJ.js";
|
|
43
43
|
import "./accounts-BuiAFBgQ.js";
|
|
@@ -56,7 +56,7 @@ import "./sqlite-Dx3J_aSE.js";
|
|
|
56
56
|
import "./model-catalog-BYr_V3sr.js";
|
|
57
57
|
import "./tokens-rjshCXiN.js";
|
|
58
58
|
import "./with-timeout-BuxPQuvQ.js";
|
|
59
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
59
|
+
import { t as deliverOutboundPayloads } from "./deliver-CUbKntCF.js";
|
|
60
60
|
import "./diagnostic-nbDIYmw3.js";
|
|
61
61
|
import "./diagnostic-session-state-CUslJyKP.js";
|
|
62
62
|
import "./send-C1W930YU.js";
|
|
@@ -99,11 +99,11 @@ import "./prompt-style-CnkMpSXt.js";
|
|
|
99
99
|
import "./pairing-labels-C_2AZhnk.js";
|
|
100
100
|
import "./exec-approvals-DXM2pQYL.js";
|
|
101
101
|
import "./nodes-screen-8Bq7DiSa.js";
|
|
102
|
-
import "./pi-tools.policy-
|
|
102
|
+
import "./pi-tools.policy-DVgBuYZD.js";
|
|
103
103
|
import "./control-service-TaZG6efS.js";
|
|
104
104
|
import "./stagger-CvFURHzt.js";
|
|
105
105
|
import "./channel-selection-1-tfXZ8A.js";
|
|
106
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
106
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-BaE3a_bh.js";
|
|
107
107
|
import { randomUUID } from "node:crypto";
|
|
108
108
|
|
|
109
109
|
//#region src/gateway/server-node-events.ts
|
|
@@ -15,8 +15,8 @@ import "./client-Dm1N6o2J.js";
|
|
|
15
15
|
import "./call-Dr-Olg4Q.js";
|
|
16
16
|
import "./message-channel-C9dERklz.js";
|
|
17
17
|
import "./pairing-token-Byh6drgn.js";
|
|
18
|
-
import { Cn as enqueueSystemEvent, T as createOutboundSendDeps, dn as requestSymipulseNow, lt as resolveOutboundTarget, x as agentCommand } from "./subagent-registry-
|
|
19
|
-
import { d as updateSessionStore } from "./sessions
|
|
18
|
+
import { Cn as enqueueSystemEvent, T as createOutboundSendDeps, dn as requestSymipulseNow, lt as resolveOutboundTarget, x as agentCommand } from "./subagent-registry-OGmFSkWy.js";
|
|
19
|
+
import { d as updateSessionStore } from "./sessions-BXt-CbSU.js";
|
|
20
20
|
import "./tokens-OcZj8bYH.js";
|
|
21
21
|
import { r as normalizeChannelId } from "./plugins-BLbaA73l.js";
|
|
22
22
|
import "./accounts-CZNAw7_y.js";
|
|
@@ -25,14 +25,14 @@ import "./logging-CFvkxgcX.js";
|
|
|
25
25
|
import "./send-Dn2YVwXD.js";
|
|
26
26
|
import "./send-B0PIG8Us.js";
|
|
27
27
|
import "./with-timeout-Bp4zv_gp.js";
|
|
28
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
28
|
+
import { t as deliverOutboundPayloads } from "./deliver-CqIrS6D0.js";
|
|
29
29
|
import "./diagnostic-BxUXQEPL.js";
|
|
30
30
|
import "./diagnostic-session-state-CIjIGxEE.js";
|
|
31
31
|
import "./accounts-Czl3t0aD.js";
|
|
32
32
|
import "./send-BjjdbJGa.js";
|
|
33
33
|
import "./image-ops-CUkaZz2F.js";
|
|
34
|
-
import "./pi-embedded-helpers-
|
|
35
|
-
import "./sandbox-
|
|
34
|
+
import "./pi-embedded-helpers-Dpvjhg4I.js";
|
|
35
|
+
import "./sandbox-BAtuFSUe.js";
|
|
36
36
|
import "./chrome-C5_-AhDi.js";
|
|
37
37
|
import "./tailscale-CbbvYNVw.js";
|
|
38
38
|
import "./auth-BfDMhFAj.js";
|
|
@@ -67,11 +67,11 @@ import "./ir-DEEA7o4A.js";
|
|
|
67
67
|
import "./render-e7fENCYH.js";
|
|
68
68
|
import "./commands-Ci4-xDAW.js";
|
|
69
69
|
import "./commands-registry-CWHnnszA.js";
|
|
70
|
-
import "./image-
|
|
70
|
+
import "./image-NuvkfwIV.js";
|
|
71
71
|
import "./tool-display-CXwOC-qw.js";
|
|
72
|
-
import "./runner-
|
|
72
|
+
import "./runner--ZcH-9Yy.js";
|
|
73
73
|
import "./model-catalog-1_ccX7Ey.js";
|
|
74
|
-
import { c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-
|
|
74
|
+
import { c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-BVxRndLM.js";
|
|
75
75
|
import "./skill-commands-BI3_XEfj.js";
|
|
76
76
|
import "./workspace-dirs-Br0I0PUY.js";
|
|
77
77
|
import "./pairing-store-CweYfqyI.js";
|
|
@@ -98,8 +98,8 @@ import "./replies-DkuwMDj2.js";
|
|
|
98
98
|
import "./onboard-helpers-D60oT6LF.js";
|
|
99
99
|
import "./prompt-style-DwCXob2h.js";
|
|
100
100
|
import "./pairing-labels-Cz3F5C7W.js";
|
|
101
|
-
import "./pi-tools.policy-
|
|
102
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
101
|
+
import "./pi-tools.policy-BZmtnPSS.js";
|
|
102
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-Ccf4aVFu.js";
|
|
103
103
|
import { randomUUID } from "node:crypto";
|
|
104
104
|
|
|
105
105
|
//#region src/gateway/server-node-events.ts
|
|
@@ -3,7 +3,7 @@ import { H as resolveDefaultModelForAgent, Ht as DEFAULT_MODEL, R as parseModelR
|
|
|
3
3
|
import { S as parseAgentSessionKey, c as normalizeMainKey, s as normalizeAgentId, y as isCronRunSessionKey } from "./session-key-DjZ7Z1hW.js";
|
|
4
4
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-OVmiymcS.js";
|
|
5
5
|
import { i as loadConfig } from "./config-97uAFNlZ.js";
|
|
6
|
-
import { F as resolveMainSessionKey, J as normalizeSessionDeliveryFields, M as canonicalizeMainSessionAlias, N as resolveAgentMainSessionKey, b as readSessionTitleFieldsFromTranscript, j as resolveFreshSessionTotalTokens, o as loadSessionStore, x as resolveSessionTranscriptCandidates, z as buildGroupDisplayName } from "./sessions
|
|
6
|
+
import { F as resolveMainSessionKey, J as normalizeSessionDeliveryFields, M as canonicalizeMainSessionAlias, N as resolveAgentMainSessionKey, b as readSessionTitleFieldsFromTranscript, j as resolveFreshSessionTotalTokens, o as loadSessionStore, x as resolveSessionTranscriptCandidates, z as buildGroupDisplayName } from "./sessions-BXt-CbSU.js";
|
|
7
7
|
import { c as resolveStorePath } from "./paths-DNdWAq7b.js";
|
|
8
8
|
import { t as ensureSymiModelsJson } from "./models-config-BqcwJMkB.js";
|
|
9
9
|
import path from "node:path";
|
|
@@ -1408,6 +1408,12 @@ function loadSessionStore(storePath, opts = {}) {
|
|
|
1408
1408
|
if ("lastHeartbeatText" in rec) delete rec.lastHeartbeatText;
|
|
1409
1409
|
if (typeof rec.lastSymipulseSentAt !== "number" && typeof rec.lastHeartbeatSentAt === "number") rec.lastSymipulseSentAt = rec.lastHeartbeatSentAt;
|
|
1410
1410
|
if ("lastHeartbeatSentAt" in rec) delete rec.lastHeartbeatSentAt;
|
|
1411
|
+
if (rec.lastTo === "heartbeat") rec.lastTo = "symipulse";
|
|
1412
|
+
const deliveryContext = rec.deliveryContext;
|
|
1413
|
+
if (deliveryContext && typeof deliveryContext === "object" && !Array.isArray(deliveryContext)) {
|
|
1414
|
+
const dc = deliveryContext;
|
|
1415
|
+
if (dc.to === "heartbeat") dc.to = "symipulse";
|
|
1416
|
+
}
|
|
1411
1417
|
}
|
|
1412
1418
|
if (!opts.skipCache && isSessionStoreCacheEnabled()) SESSION_STORE_CACHE.set(storePath, {
|
|
1413
1419
|
store: structuredClone(store),
|
|
@@ -3,10 +3,10 @@ import { Dt as theme, Et as isRich, gt as info } from "./entry.js";
|
|
|
3
3
|
import { Ht as DEFAULT_MODEL, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, Vt as DEFAULT_CONTEXT_TOKENS } from "./auth-profiles-BMpijnuZ.js";
|
|
4
4
|
import { S as parseAgentSessionKey } from "./session-key-DjZ7Z1hW.js";
|
|
5
5
|
import { i as loadConfig } from "./config-97uAFNlZ.js";
|
|
6
|
-
import { j as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions
|
|
6
|
+
import { j as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-BXt-CbSU.js";
|
|
7
7
|
import { c as resolveStorePath } from "./paths-DNdWAq7b.js";
|
|
8
8
|
import { n as formatTimeAgo } from "./format-relative-DX-rh76l.js";
|
|
9
|
-
import { l as resolveSessionModelRef, n as classifySessionKey, u as lookupContextTokens } from "./session-utils-
|
|
9
|
+
import { l as resolveSessionModelRef, n as classifySessionKey, u as lookupContextTokens } from "./session-utils-BVxRndLM.js";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/sessions.ts
|
|
12
12
|
var sessions_exports = /* @__PURE__ */ __exportAll({ sessionsCommand: () => sessionsCommand });
|
|
@@ -1410,6 +1410,12 @@ function loadSessionStore(storePath, opts = {}) {
|
|
|
1410
1410
|
if ("lastHeartbeatText" in rec) delete rec.lastHeartbeatText;
|
|
1411
1411
|
if (typeof rec.lastSymipulseSentAt !== "number" && typeof rec.lastHeartbeatSentAt === "number") rec.lastSymipulseSentAt = rec.lastHeartbeatSentAt;
|
|
1412
1412
|
if ("lastHeartbeatSentAt" in rec) delete rec.lastHeartbeatSentAt;
|
|
1413
|
+
if (rec.lastTo === "heartbeat") rec.lastTo = "symipulse";
|
|
1414
|
+
const deliveryContext = rec.deliveryContext;
|
|
1415
|
+
if (deliveryContext && typeof deliveryContext === "object" && !Array.isArray(deliveryContext)) {
|
|
1416
|
+
const dc = deliveryContext;
|
|
1417
|
+
if (dc.to === "heartbeat") dc.to = "symipulse";
|
|
1418
|
+
}
|
|
1413
1419
|
}
|
|
1414
1420
|
if (!opts.skipCache && isSessionStoreCacheEnabled()) SESSION_STORE_CACHE.set(storePath, {
|
|
1415
1421
|
store: structuredClone(store),
|
|
@@ -9,15 +9,15 @@ import { c as resolveAgentWorkspaceDir } from "./agent-scope-OVmiymcS.js";
|
|
|
9
9
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-DODCG6UU.js";
|
|
10
10
|
import { H as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-97uAFNlZ.js";
|
|
11
11
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-Dr-Olg4Q.js";
|
|
12
|
-
import { En as peekSystemEvents, St as summarizeRestartSentinel, cn as buildChannelAccountSnapshot, in as formatUsageReportLines, ln as formatChannelAllowFrom, nt as sha256HexPrefix, rn as loadProviderUsageSummary, sn as buildChannelSummary, xt as readRestartSentinel } from "./subagent-registry-
|
|
13
|
-
import { F as resolveMainSessionKey, j as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions
|
|
12
|
+
import { En as peekSystemEvents, St as summarizeRestartSentinel, cn as buildChannelAccountSnapshot, in as formatUsageReportLines, ln as formatChannelAllowFrom, nt as sha256HexPrefix, rn as loadProviderUsageSummary, sn as buildChannelSummary, xt as readRestartSentinel } from "./subagent-registry-OGmFSkWy.js";
|
|
13
|
+
import { F as resolveMainSessionKey, j as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-BXt-CbSU.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-BLbaA73l.js";
|
|
15
15
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-CbbvYNVw.js";
|
|
16
16
|
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-2xFXbwLq.js";
|
|
17
17
|
import { c as resolveStorePath } from "./paths-DNdWAq7b.js";
|
|
18
18
|
import { r as getMemorySearchManager } from "./memory-cli-CtlEyRGC.js";
|
|
19
19
|
import { n as formatTimeAgo } from "./format-relative-DX-rh76l.js";
|
|
20
|
-
import { l as resolveSessionModelRef, n as classifySessionKey, r as listAgentsForGateway, u as lookupContextTokens } from "./session-utils-
|
|
20
|
+
import { l as resolveSessionModelRef, n as classifySessionKey, r as listAgentsForGateway, u as lookupContextTokens } from "./session-utils-BVxRndLM.js";
|
|
21
21
|
import { o as getRemoteSkillEligibility } from "./skill-commands-BI3_XEfj.js";
|
|
22
22
|
import { r as formatDurationPrecise } from "./format-duration-BOC0O2XQ.js";
|
|
23
23
|
import { n as withProgress } from "./progress-BAHiAaDW.js";
|
|
@@ -28,8 +28,8 @@ import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./servi
|
|
|
28
28
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-hFVEC3wO.js";
|
|
29
29
|
import { t as readLastGatewayErrorLine } from "./diagnostics-CS1ov_hH.js";
|
|
30
30
|
import { t as renderTable } from "./table-D01d2GuY.js";
|
|
31
|
-
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-
|
|
32
|
-
import { o as resolveSymipulseSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
31
|
+
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-DM_xouV5.js";
|
|
32
|
+
import { o as resolveSymipulseSummaryForAgent, t as formatHealthChannelLines } from "./health-dXgy5DYY.js";
|
|
33
33
|
import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-ZdimP1aU.js";
|
|
34
34
|
import { t as resolveNodeService } from "./node-service-fcZExd22.js";
|
|
35
35
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-DVLB9DNB.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dt as createPluginLoaderLogger, ft as loadSymiPlugins } from "./reply-
|
|
1
|
+
import { dt as createPluginLoaderLogger, ft as loadSymiPlugins } from "./reply-Nm6-dyEz.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
3
3
|
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CERuGdJI.js";
|
|
4
4
|
import { i as loadConfig } from "./config-BFFFJyGG.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, k as info, z as isRich } from "./utils-B-0b9bGM.js";
|
|
3
|
-
import { B as summarizeRestartSentinel, Jt as sha256HexPrefix, _t as formatUsageReportLines, a as buildChannelSummary, gt as loadProviderUsageSummary, h as listAgentsForGateway, m as classifySessionKey, o as buildChannelAccountSnapshot, pr as lookupContextTokens, s as formatChannelAllowFrom, wr as peekSystemEvents, x as resolveSessionModelRef, z as readRestartSentinel } from "./reply-
|
|
3
|
+
import { B as summarizeRestartSentinel, Jt as sha256HexPrefix, _t as formatUsageReportLines, a as buildChannelSummary, gt as loadProviderUsageSummary, h as listAgentsForGateway, m as classifySessionKey, o as buildChannelAccountSnapshot, pr as lookupContextTokens, s as formatChannelAllowFrom, wr as peekSystemEvents, x as resolveSessionModelRef, z as readRestartSentinel } from "./reply-Nm6-dyEz.js";
|
|
4
4
|
import { S as parseAgentSessionKey } from "./session-key-DCt45XZa.js";
|
|
5
5
|
import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
|
|
6
6
|
import { n as runExec } from "./exec-CWkblSrI.js";
|
|
@@ -10,7 +10,7 @@ import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
|
10
10
|
import { H as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-BFFFJyGG.js";
|
|
11
11
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-D5dKabOc.js";
|
|
12
12
|
import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-BOmtxoTv.js";
|
|
13
|
-
import { H as resolveMainSessionKey, R as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-
|
|
13
|
+
import { H as resolveMainSessionKey, R as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-b9udXn-B.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-CFHHpXfJ.js";
|
|
15
15
|
import { c as resolveStorePath } from "./paths-CyhzMxFA.js";
|
|
16
16
|
import { r as getMemorySearchManager } from "./memory-cli-C5rurQKT.js";
|
|
@@ -27,8 +27,8 @@ import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./servi
|
|
|
27
27
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-D6c3G7my.js";
|
|
28
28
|
import { t as readLastGatewayErrorLine } from "./diagnostics-BRwihzJG.js";
|
|
29
29
|
import { t as renderTable } from "./table-BKlH0YlA.js";
|
|
30
|
-
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-
|
|
31
|
-
import { a as resolveSymipulseSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
30
|
+
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-D07BzAil.js";
|
|
31
|
+
import { a as resolveSymipulseSummaryForAgent, t as formatHealthChannelLines } from "./health-CAfXVzBl.js";
|
|
32
32
|
import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-7EzEjSzb.js";
|
|
33
33
|
import { t as resolveNodeService } from "./node-service-CD47Qpf1.js";
|
|
34
34
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-B0yJsjEo.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-OVmiymcS.js";
|
|
3
3
|
import { i as loadConfig } from "./config-97uAFNlZ.js";
|
|
4
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-OGmFSkWy.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -19,7 +19,7 @@ import { It as SESSION_LABEL_MAX_LENGTH, t as GatewayClient } from "./client-Dm1
|
|
|
19
19
|
import { a as randomIdempotencyKey, d as resolveLeastPrivilegeOperatorScopesForMethod, n as callGateway, r as callGatewayLeastPrivilege, t as buildGatewayConnectionDetails } from "./call-Dr-Olg4Q.js";
|
|
20
20
|
import { a as isInternalMessageChannel, c as listDeliverableMessageChannels, d as resolveMessageChannel, h as GATEWAY_CLIENT_NAMES, i as isGatewayMessageChannel, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, o as isMarkdownCapableMessageChannel, p as GATEWAY_CLIENT_IDS, t as INTERNAL_MESSAGE_CHANNEL, u as resolveGatewayMessageChannel } from "./message-channel-C9dERklz.js";
|
|
21
21
|
import { i as normalizeInputProvenance, n as applyInputProvenanceToUserMessage, r as hasInterSessionUserProvenance } from "./input-provenance-D0lNkCf6.js";
|
|
22
|
-
import { A as DEFAULT_RESET_TRIGGERS, B as resolveGroupSessionKey, D as resolveSessionResetPolicy, E as resolveChannelResetConfig, F as resolveMainSessionKey, G as deliveryContextKey, J as normalizeSessionDeliveryFields, K as mergeDeliveryContext, L as deriveSessionMetaPatch, O as resolveSessionResetType, P as resolveExplicitAgentSessionKey, T as evaluateSessionFreshness, U as resolveSessionLockMaxHoldFromTimeout, V as acquireSessionWriteLock, W as deliveryContextFromSession, Y as normalizeAccountId$3, _ as capArrayByJsonBytes, a as resolveAndPersistSessionFile, c as recordSessionMetaFromInbound, d as updateSessionStore, f as updateSessionStoreEntry, g as archiveSessionTranscripts, j as resolveFreshSessionTotalTokens, k as resolveThreadFlag, m as resolveCacheTtlMs$1, n as parseSessionThreadInfo, o as loadSessionStore, p as isCacheEnabled, q as normalizeDeliveryContext, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateLastRoute, w as resolveSessionKey } from "./sessions
|
|
22
|
+
import { A as DEFAULT_RESET_TRIGGERS, B as resolveGroupSessionKey, D as resolveSessionResetPolicy, E as resolveChannelResetConfig, F as resolveMainSessionKey, G as deliveryContextKey, J as normalizeSessionDeliveryFields, K as mergeDeliveryContext, L as deriveSessionMetaPatch, O as resolveSessionResetType, P as resolveExplicitAgentSessionKey, T as evaluateSessionFreshness, U as resolveSessionLockMaxHoldFromTimeout, V as acquireSessionWriteLock, W as deliveryContextFromSession, Y as normalizeAccountId$3, _ as capArrayByJsonBytes, a as resolveAndPersistSessionFile, c as recordSessionMetaFromInbound, d as updateSessionStore, f as updateSessionStoreEntry, g as archiveSessionTranscripts, j as resolveFreshSessionTotalTokens, k as resolveThreadFlag, m as resolveCacheTtlMs$1, n as parseSessionThreadInfo, o as loadSessionStore, p as isCacheEnabled, q as normalizeDeliveryContext, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateLastRoute, w as resolveSessionKey } from "./sessions-BXt-CbSU.js";
|
|
23
23
|
import { i as isSilentReplyText, n as SYMIPULSE_TOKEN, r as isSilentReplyPrefixText, t as SILENT_REPLY_TOKEN } from "./tokens-OcZj8bYH.js";
|
|
24
24
|
import { _ as listEnabledDiscordAccounts, a as isWhatsAppGroupJid, c as listEnabledTelegramAccounts, d as resolveTelegramToken, f as resolveSlackAccount, g as createDiscordActionGate, h as resolveSlackBotToken, l as listTelegramAccountIds, m as resolveSlackAppToken, n as listChannelPlugins, o as normalizeWhatsAppTarget, r as normalizeChannelId$1, s as createTelegramActionGate, t as getChannelPlugin, u as resolveTelegramAccount, v as resolveDiscordAccount, y as normalizeDiscordToken } from "./plugins-BLbaA73l.js";
|
|
25
25
|
import { a as logWebSelfId, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-CZNAw7_y.js";
|
|
@@ -27,14 +27,14 @@ import { t as normalizeChatType } from "./chat-type-CeFzWU-6.js";
|
|
|
27
27
|
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-Dn2YVwXD.js";
|
|
28
28
|
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, 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 applyChannelMatchMeta, 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 fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-B0PIG8Us.js";
|
|
29
29
|
import { n as createBrowserRouteDispatcher, r as getMachineDisplayName, t as withTimeout$4 } from "./with-timeout-Bp4zv_gp.js";
|
|
30
|
-
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-
|
|
30
|
+
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-CqIrS6D0.js";
|
|
31
31
|
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticSymipulse, f as stopDiagnosticSymipulse, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-BxUXQEPL.js";
|
|
32
32
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-CIjIGxEE.js";
|
|
33
33
|
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-Czl3t0aD.js";
|
|
34
34
|
import { A as extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as formatLocationText, H as firstDefined$1, I as resolveTelegramReplyId, J as parseTelegramTarget, K as toLocationContext, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeAllowFromSources, Y as resolveTelegramTargetChatType, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildGroupLabel, c as sendStickerTelegram, d as wasSentByBot, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, o as sendMessageTelegram, p as markdownToTelegramChunks, q as isVoiceCompatibleAudio, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-BjjdbJGa.js";
|
|
35
35
|
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-CUkaZz2F.js";
|
|
36
|
-
import { A as isTransientHttpError, C as isContextOverflowError, D as isRateLimitAssistantError, E as isLikelyContextOverflowError, F as ensureSessionHeader, I as resolveBootstrapMaxChars, L as resolveBootstrapTotalMaxChars, M as parseImageSizeError, N as sanitizeUserFacingText, O as isRawApiErrorPayload, P as buildBootstrapContextFiles, R as sanitizeGoogleTurnOrdering, S as isCompactionFailureError, T as isFailoverErrorMessage, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, b as isBillingAssistantError, c as extractToolCallsFromAssistant, d as isAntigravityClaude, f as isGoogleModelApi, g as formatBillingErrorMessage, h as formatAssistantErrorText, j as parseImageDimensionError, k as isTimeoutErrorMessage, l as extractToolResultId, m as classifyFailoverReason, n as validateGeminiTurns, o as normalizeTextForComparison, p as BILLING_ERROR_USER_MESSAGE, r as pickFallbackThinkingLevel, s as sanitizeSessionMessagesImages, t as validateAnthropicTurns, u as downgradeOpenAIReasoningBlocks, v as getApiErrorPayloadFingerprint, w as isFailoverAssistantError, x as isCloudCodeAssistFormatError, y as isAuthAssistantError } from "./pi-embedded-helpers-
|
|
37
|
-
import { C as stripPluginOnlyAllowlist, S as resolveToolProfilePolicy, T as matchesAnyGlobPattern, _ as collectExplicitAllowlist, a as ensureSandboxWorkspaceForSession, b as mergeAlsoAllowPolicy, c as resolveSandboxRuntimeStatus, d as getBridgeAuthForPort, f as resolveSandboxConfigForAgent, g as buildPluginToolGroups, h as applyOwnerOnlyToolPolicy, o as resolveSandboxContext, v as expandPolicyWithPluginGroups, w as compileGlobPatterns, x as normalizeToolName } from "./sandbox-
|
|
36
|
+
import { A as isTransientHttpError, C as isContextOverflowError, D as isRateLimitAssistantError, E as isLikelyContextOverflowError, F as ensureSessionHeader, I as resolveBootstrapMaxChars, L as resolveBootstrapTotalMaxChars, M as parseImageSizeError, N as sanitizeUserFacingText, O as isRawApiErrorPayload, P as buildBootstrapContextFiles, R as sanitizeGoogleTurnOrdering, S as isCompactionFailureError, T as isFailoverErrorMessage, _ as formatRawAssistantErrorForUi, a as isMessagingToolDuplicateNormalized, b as isBillingAssistantError, c as extractToolCallsFromAssistant, d as isAntigravityClaude, f as isGoogleModelApi, g as formatBillingErrorMessage, h as formatAssistantErrorText, j as parseImageDimensionError, k as isTimeoutErrorMessage, l as extractToolResultId, m as classifyFailoverReason, n as validateGeminiTurns, o as normalizeTextForComparison, p as BILLING_ERROR_USER_MESSAGE, r as pickFallbackThinkingLevel, s as sanitizeSessionMessagesImages, t as validateAnthropicTurns, u as downgradeOpenAIReasoningBlocks, v as getApiErrorPayloadFingerprint, w as isFailoverAssistantError, x as isCloudCodeAssistFormatError, y as isAuthAssistantError } from "./pi-embedded-helpers-Dpvjhg4I.js";
|
|
37
|
+
import { C as stripPluginOnlyAllowlist, S as resolveToolProfilePolicy, T as matchesAnyGlobPattern, _ as collectExplicitAllowlist, a as ensureSandboxWorkspaceForSession, b as mergeAlsoAllowPolicy, c as resolveSandboxRuntimeStatus, d as getBridgeAuthForPort, f as resolveSandboxConfigForAgent, g as buildPluginToolGroups, h as applyOwnerOnlyToolPolicy, o as resolveSandboxContext, v as expandPolicyWithPluginGroups, w as compileGlobPatterns, x as normalizeToolName } from "./sandbox-BAtuFSUe.js";
|
|
38
38
|
import { T as DEFAULT_AI_SNAPSHOT_MAX_CHARS } from "./chrome-C5_-AhDi.js";
|
|
39
39
|
import { i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-C1i2ojA-.js";
|
|
40
40
|
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-Ba_ROWsq.js";
|
|
@@ -63,13 +63,13 @@ import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMedia
|
|
|
63
63
|
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-DEEA7o4A.js";
|
|
64
64
|
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled, n as isNativeCommandsExplicitlyDisabled, r as isRestartEnabled, t as isCommandFlagEnabled } from "./commands-Ci4-xDAW.js";
|
|
65
65
|
import { a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, i as listChatCommands, l as parseCommandArgs, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices } from "./commands-registry-CWHnnszA.js";
|
|
66
|
-
import { _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as extractTextFromChatContent, 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, y as stripReasoningTagsFromText } from "./image-
|
|
66
|
+
import { _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as extractTextFromChatContent, 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, y as stripReasoningTagsFromText } from "./image-NuvkfwIV.js";
|
|
67
67
|
import { n as resolveToolDisplay } from "./tool-display-CXwOC-qw.js";
|
|
68
68
|
import { n as formatTimeAgo } from "./format-relative-DX-rh76l.js";
|
|
69
69
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-72dOKfLG.js";
|
|
70
|
-
import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as resolveAttachmentKind, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as buildRandomTempFilePath, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-
|
|
70
|
+
import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as resolveAttachmentKind, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as buildRandomTempFilePath, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner--ZcH-9Yy.js";
|
|
71
71
|
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-1_ccX7Ey.js";
|
|
72
|
-
import { a as loadCombinedSessionStoreForGateway, u as lookupContextTokens } from "./session-utils-
|
|
72
|
+
import { a as loadCombinedSessionStoreForGateway, u as lookupContextTokens } from "./session-utils-BVxRndLM.js";
|
|
73
73
|
import { b as ensureSkillsWatcher, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, t as listReservedChatSlashCommandNames, x as getSkillsSnapshotVersion } from "./skill-commands-BI3_XEfj.js";
|
|
74
74
|
import { i as readChannelAllowFromStore, l as listPairingChannels, o as removeChannelAllowFromStoreEntry, s as upsertChannelPairingRequest, t as addChannelAllowFromStoreEntry } from "./pairing-store-CweYfqyI.js";
|
|
75
75
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BhFkwlZW.js";
|
|
@@ -95,7 +95,7 @@ import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliv
|
|
|
95
95
|
import { r as detectBinary } from "./onboard-helpers-D60oT6LF.js";
|
|
96
96
|
import { t as resolvePairingIdLabel } from "./pairing-labels-Cz3F5C7W.js";
|
|
97
97
|
import { t as getActiveWebListener } from "./active-listener-De1JhR4W.js";
|
|
98
|
-
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, n as isToolAllowedByPolicies, r as resolveEffectiveToolPolicy, t as filterToolsByPolicy } from "./pi-tools.policy-
|
|
98
|
+
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, n as isToolAllowedByPolicies, r as resolveEffectiveToolPolicy, t as filterToolsByPolicy } from "./pi-tools.policy-BZmtnPSS.js";
|
|
99
99
|
import { createRequire } from "node:module";
|
|
100
100
|
import { execFileSync, spawn, spawnSync } from "node:child_process";
|
|
101
101
|
import os, { homedir } from "node:os";
|
|
@@ -20374,7 +20374,7 @@ async function routeReply(params) {
|
|
|
20374
20374
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
20375
20375
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
20376
20376
|
try {
|
|
20377
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
20377
|
+
const { deliverOutboundPayloads } = await import("./deliver-CqIrS6D0.js").then((n) => n.n);
|
|
20378
20378
|
return {
|
|
20379
20379
|
ok: true,
|
|
20380
20380
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -44399,7 +44399,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
44399
44399
|
return;
|
|
44400
44400
|
}
|
|
44401
44401
|
try {
|
|
44402
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
44402
|
+
const { deliverOutboundPayloads } = await import("./deliver-CqIrS6D0.js").then((n) => n.n);
|
|
44403
44403
|
await deliverOutboundPayloads({
|
|
44404
44404
|
cfg: params.cfg,
|
|
44405
44405
|
channel,
|
|
@@ -47853,7 +47853,7 @@ async function describeStickerImage(params) {
|
|
|
47853
47853
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
47854
47854
|
try {
|
|
47855
47855
|
const buffer = await fs$1.readFile(imagePath);
|
|
47856
|
-
const { describeImageWithModel } = await import("./image-
|
|
47856
|
+
const { describeImageWithModel } = await import("./image-NuvkfwIV.js").then((n) => n.n);
|
|
47857
47857
|
return (await describeImageWithModel({
|
|
47858
47858
|
buffer,
|
|
47859
47859
|
fileName: "sticker.webp",
|
|
@@ -49652,7 +49652,7 @@ async function preflightDiscordMessage(params) {
|
|
|
49652
49652
|
let preflightTranscript;
|
|
49653
49653
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
49654
49654
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
49655
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
49655
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DWJo8CKL.js");
|
|
49656
49656
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
49657
49657
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
49658
49658
|
ctx: {
|
|
@@ -53435,7 +53435,7 @@ function isVoiceChannelType(type) {
|
|
|
53435
53435
|
function createDefaultDeps() {
|
|
53436
53436
|
return {
|
|
53437
53437
|
sendMessageWhatsApp: async (...args) => {
|
|
53438
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
53438
|
+
const { sendMessageWhatsApp } = await import("./web-B1JE72ZF.js");
|
|
53439
53439
|
return await sendMessageWhatsApp(...args);
|
|
53440
53440
|
},
|
|
53441
53441
|
sendMessageTelegram: async (...args) => {
|
|
@@ -66583,7 +66583,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
66583
66583
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
66584
66584
|
let preflightTranscript;
|
|
66585
66585
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
66586
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
66586
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DWJo8CKL.js");
|
|
66587
66587
|
preflightTranscript = await transcribeFirstAudio({
|
|
66588
66588
|
ctx: {
|
|
66589
66589
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -68749,7 +68749,7 @@ function loadWebLoginQr() {
|
|
|
68749
68749
|
return webLoginQrPromise;
|
|
68750
68750
|
}
|
|
68751
68751
|
function loadWebChannel() {
|
|
68752
|
-
webChannelPromise ??= import("./web-
|
|
68752
|
+
webChannelPromise ??= import("./web-B1JE72ZF.js");
|
|
68753
68753
|
return webChannelPromise;
|
|
68754
68754
|
}
|
|
68755
68755
|
function loadWhatsAppActions() {
|
|
@@ -5,8 +5,8 @@ import { H as VERSION, i as loadConfig } from "./config-97uAFNlZ.js";
|
|
|
5
5
|
import { Nt as PROTOCOL_VERSION, t as GatewayClient } from "./client-Dm1N6o2J.js";
|
|
6
6
|
import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-Dr-Olg4Q.js";
|
|
7
7
|
import { f as GATEWAY_CLIENT_CAPS, h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-C9dERklz.js";
|
|
8
|
-
import { C as stripLeadingInboundMetadata } from "./sessions
|
|
9
|
-
import { _ as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-
|
|
8
|
+
import { C as stripLeadingInboundMetadata } from "./sessions-BXt-CbSU.js";
|
|
9
|
+
import { _ as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-Dpvjhg4I.js";
|
|
10
10
|
import { c as normalizeUsageDisplay, r as listThinkingLevelLabels, t as formatThinkingLevels, u as resolveResponseUsageMode } from "./thinking-8sKPnzpp.js";
|
|
11
11
|
import { a as listChatCommandsForConfig, i as listChatCommands } from "./commands-registry-CWHnnszA.js";
|
|
12
12
|
import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-CXwOC-qw.js";
|
|
@@ -4,8 +4,8 @@ import { l as stripAnsi, u as visibleWidth } from "./subsystem-D9vIQve0.js";
|
|
|
4
4
|
import { l as resolveDefaultAgentId } from "./agent-scope-CERuGdJI.js";
|
|
5
5
|
import { f as GATEWAY_CLIENT_CAPS, h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-aT-I_DTX.js";
|
|
6
6
|
import { H as VERSION, i as loadConfig } from "./config-BFFFJyGG.js";
|
|
7
|
-
import { _ as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-
|
|
8
|
-
import { k as stripLeadingInboundMetadata } from "./sessions-
|
|
7
|
+
import { _ as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-Dvi7N6Rm.js";
|
|
8
|
+
import { k as stripLeadingInboundMetadata } from "./sessions-b9udXn-B.js";
|
|
9
9
|
import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-D8N3rsYt.js";
|
|
10
10
|
import { a as listChatCommandsForConfig, i as listChatCommands } from "./commands-registry-CkouCUk6.js";
|
|
11
11
|
import { Nt as PROTOCOL_VERSION, t as GatewayClient } from "./client-C8eOm0zv.js";
|
|
@@ -12,8 +12,8 @@ import "./env-DPCHYPeH.js";
|
|
|
12
12
|
import "./message-channel-aT-I_DTX.js";
|
|
13
13
|
import "./config-BFFFJyGG.js";
|
|
14
14
|
import "./manifest-registry-BDSRH8nU.js";
|
|
15
|
-
import "./pi-embedded-helpers-
|
|
16
|
-
import "./sandbox-
|
|
15
|
+
import "./pi-embedded-helpers-Dvi7N6Rm.js";
|
|
16
|
+
import "./sandbox-B4TymFkn.js";
|
|
17
17
|
import "./chrome-Cx4CChuw.js";
|
|
18
18
|
import "./tailscale-D5dKabOc.js";
|
|
19
19
|
import "./auth-B741uFtk.js";
|
|
@@ -30,7 +30,7 @@ import "./image-ops-1OJMSAUX.js";
|
|
|
30
30
|
import "./store-r1DJSDq-.js";
|
|
31
31
|
import "./ports-BOmtxoTv.js";
|
|
32
32
|
import "./trash-DcMh1i4B.js";
|
|
33
|
-
import "./sessions-
|
|
33
|
+
import "./sessions-b9udXn-B.js";
|
|
34
34
|
import "./dock-BXPWY7iQ.js";
|
|
35
35
|
import "./plugins-CFHHpXfJ.js";
|
|
36
36
|
import "./accounts-BuiAFBgQ.js";
|
|
@@ -48,7 +48,7 @@ import "./call-CDBn2Uz1.js";
|
|
|
48
48
|
import "./pairing-token-CX3NN_qj.js";
|
|
49
49
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
50
50
|
import { t as parseTimeoutMs } from "./parse-timeout-2S5vp0-9.js";
|
|
51
|
-
import { t as runTui } from "./tui-
|
|
51
|
+
import { t as runTui } from "./tui-BvLA4yng.js";
|
|
52
52
|
|
|
53
53
|
//#region src/cli/tui-cli.ts
|
|
54
54
|
function registerTuiCli(program) {
|
|
@@ -11,15 +11,15 @@ import "./client-Dm1N6o2J.js";
|
|
|
11
11
|
import "./call-Dr-Olg4Q.js";
|
|
12
12
|
import "./message-channel-C9dERklz.js";
|
|
13
13
|
import "./pairing-token-Byh6drgn.js";
|
|
14
|
-
import "./sessions
|
|
14
|
+
import "./sessions-BXt-CbSU.js";
|
|
15
15
|
import "./plugins-BLbaA73l.js";
|
|
16
16
|
import "./accounts-CZNAw7_y.js";
|
|
17
17
|
import "./bindings-C8GfeaJv.js";
|
|
18
18
|
import "./logging-CFvkxgcX.js";
|
|
19
19
|
import "./accounts-Czl3t0aD.js";
|
|
20
20
|
import "./image-ops-CUkaZz2F.js";
|
|
21
|
-
import "./pi-embedded-helpers-
|
|
22
|
-
import "./sandbox-
|
|
21
|
+
import "./pi-embedded-helpers-Dpvjhg4I.js";
|
|
22
|
+
import "./sandbox-BAtuFSUe.js";
|
|
23
23
|
import "./chrome-C5_-AhDi.js";
|
|
24
24
|
import "./tailscale-CbbvYNVw.js";
|
|
25
25
|
import "./auth-BfDMhFAj.js";
|
|
@@ -43,7 +43,7 @@ import "./commands-registry-CWHnnszA.js";
|
|
|
43
43
|
import "./tool-display-CXwOC-qw.js";
|
|
44
44
|
import { t as parseTimeoutMs } from "./parse-timeout-zNJBr1fY.js";
|
|
45
45
|
import { t as formatDocsLink } from "./links-DlWpl9Yv.js";
|
|
46
|
-
import { t as runTui } from "./tui-
|
|
46
|
+
import { t as runTui } from "./tui-BgLLypDm.js";
|
|
47
47
|
|
|
48
48
|
//#region src/cli/tui-cli.ts
|
|
49
49
|
function registerTuiCli(program) {
|
|
@@ -10,7 +10,7 @@ import { $ as resolveAuthProfileDisplayLabel, B as resolveApiKeyForProvider, C a
|
|
|
10
10
|
import { n as formatCliCommand, r as resolveCliName, t as isTruthyEnvValue } from "./env-BDXYbTKj.js";
|
|
11
11
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-cCYzSU9h.js";
|
|
12
12
|
import { t as parseBooleanValue$1 } from "./boolean-CE7i9tBR.js";
|
|
13
|
-
import { $ as normalizeDeliveryContext, A as isTransientHttpError, At as DEFAULT_UPLOAD_DIR, Bt as expandToolGroups, C as isContextOverflowError, Ct as resolveGroupSessionKey, D as isRateLimitAssistantError, Dt as registerBrowserRoutes, E as isLikelyContextOverflowError, Et as createBrowserRouteContext, F as resolveSandboxContext, Ft as resolveSandboxConfigForAgent, G as updateLastRoute, Gt as compileGlobPatterns, H as loadSessionStore, Ht as normalizeToolName, I as resolveSandboxRuntimeStatus, It as applyOwnerOnlyToolPolicy, J as isCacheEnabled, Jt as ensureSessionHeader, K as updateSessionStore, Kt as matchesAnyGlobPattern, L as extractDeliveryInfo, Lt as buildPluginToolGroups, M as parseImageSizeError, Mt as getBridgeAuthForPort, N as sanitizeUserFacingText, Nt as ensureBrowserControlAuth, O as isRawApiErrorPayload, Ot as resolveBrowserConfig, P as ensureSandboxWorkspaceForSession, Pt as resolveBrowserControlAuth, Q as mergeDeliveryContext, R as parseSessionThreadInfo, Rt as collectExplicitAllowlist, S as isCompactionFailureError, St as deriveSessionMetaPatch, T as isFailoverErrorMessage, Tt as resolveSessionLockMaxHoldFromTimeout, U as readSessionUpdatedAt, Ut as resolveToolProfilePolicy, V as resolveAndPersistSessionFile, Vt as mergeAlsoAllowPolicy, W as recordSessionMetaFromInbound, Wt as stripPluginOnlyAllowlist, X as deliveryContextFromSession, Xt as resolveBootstrapTotalMaxChars, Y as resolveCacheTtlMs$1, Yt as resolveBootstrapMaxChars, Z as deliveryContextKey, Zt as sanitizeGoogleTurnOrdering, _ as formatRawAssistantErrorForUi, _t as resolveFreshSessionTotalTokens, a as isMessagingToolDuplicateNormalized, at as extractToolCallNames, b as isBillingAssistantError, bt as resolveExplicitAgentSessionKey, c as extractToolCallsFromAssistant, ct as hasInterSessionUserProvenance, d as isAntigravityClaude, dt as evaluateSessionFreshness, et as normalizeSessionDeliveryFields, f as isGoogleModelApi, ft as resolveChannelResetConfig, g as formatBillingErrorMessage, gt as DEFAULT_RESET_TRIGGERS, h as formatAssistantErrorText, ht as resolveThreadFlag, it as countToolResults, j as parseImageDimensionError, jt as resolveExistingPathsWithinRoot, k as isTimeoutErrorMessage, kt as resolveProfile, l as extractToolResultId, lt as normalizeInputProvenance, m as classifyFailoverReason, mt as resolveSessionResetType, n as validateGeminiTurns, nt as archiveSessionTranscripts, o as normalizeTextForComparison, ot as INPUT_PROVENANCE_KIND_VALUES, p as BILLING_ERROR_USER_MESSAGE, pt as resolveSessionResetPolicy, q as updateSessionStoreEntry, qt as buildBootstrapContextFiles, r as pickFallbackThinkingLevel, rt as capArrayByJsonBytes, s as sanitizeSessionMessagesImages, st as applyInputProvenanceToUserMessage, t as validateAnthropicTurns, tt as normalizeAccountId$3, u as downgradeOpenAIReasoningBlocks, ut as resolveSessionKey, v as getApiErrorPayloadFingerprint, vt as canonicalizeMainSessionAlias, w as isFailoverAssistantError, wt as acquireSessionWriteLock, x as isCloudCodeAssistFormatError, xt as resolveMainSessionKey, y as isAuthAssistantError, z as appendAssistantMessageToSessionTranscript, zt as expandPolicyWithPluginGroups } from "./pi-embedded-helpers-
|
|
13
|
+
import { $ as normalizeDeliveryContext, A as isTransientHttpError, At as DEFAULT_UPLOAD_DIR, Bt as expandToolGroups, C as isContextOverflowError, Ct as resolveGroupSessionKey, D as isRateLimitAssistantError, Dt as registerBrowserRoutes, E as isLikelyContextOverflowError, Et as createBrowserRouteContext, F as resolveSandboxContext, Ft as resolveSandboxConfigForAgent, G as updateLastRoute, Gt as compileGlobPatterns, H as loadSessionStore, Ht as normalizeToolName, I as resolveSandboxRuntimeStatus, It as applyOwnerOnlyToolPolicy, J as isCacheEnabled, Jt as ensureSessionHeader, K as updateSessionStore, Kt as matchesAnyGlobPattern, L as extractDeliveryInfo, Lt as buildPluginToolGroups, M as parseImageSizeError, Mt as getBridgeAuthForPort, N as sanitizeUserFacingText, Nt as ensureBrowserControlAuth, O as isRawApiErrorPayload, Ot as resolveBrowserConfig, P as ensureSandboxWorkspaceForSession, Pt as resolveBrowserControlAuth, Q as mergeDeliveryContext, R as parseSessionThreadInfo, Rt as collectExplicitAllowlist, S as isCompactionFailureError, St as deriveSessionMetaPatch, T as isFailoverErrorMessage, Tt as resolveSessionLockMaxHoldFromTimeout, U as readSessionUpdatedAt, Ut as resolveToolProfilePolicy, V as resolveAndPersistSessionFile, Vt as mergeAlsoAllowPolicy, W as recordSessionMetaFromInbound, Wt as stripPluginOnlyAllowlist, X as deliveryContextFromSession, Xt as resolveBootstrapTotalMaxChars, Y as resolveCacheTtlMs$1, Yt as resolveBootstrapMaxChars, Z as deliveryContextKey, Zt as sanitizeGoogleTurnOrdering, _ as formatRawAssistantErrorForUi, _t as resolveFreshSessionTotalTokens, a as isMessagingToolDuplicateNormalized, at as extractToolCallNames, b as isBillingAssistantError, bt as resolveExplicitAgentSessionKey, c as extractToolCallsFromAssistant, ct as hasInterSessionUserProvenance, d as isAntigravityClaude, dt as evaluateSessionFreshness, et as normalizeSessionDeliveryFields, f as isGoogleModelApi, ft as resolveChannelResetConfig, g as formatBillingErrorMessage, gt as DEFAULT_RESET_TRIGGERS, h as formatAssistantErrorText, ht as resolveThreadFlag, it as countToolResults, j as parseImageDimensionError, jt as resolveExistingPathsWithinRoot, k as isTimeoutErrorMessage, kt as resolveProfile, l as extractToolResultId, lt as normalizeInputProvenance, m as classifyFailoverReason, mt as resolveSessionResetType, n as validateGeminiTurns, nt as archiveSessionTranscripts, o as normalizeTextForComparison, ot as INPUT_PROVENANCE_KIND_VALUES, p as BILLING_ERROR_USER_MESSAGE, pt as resolveSessionResetPolicy, q as updateSessionStoreEntry, qt as buildBootstrapContextFiles, r as pickFallbackThinkingLevel, rt as capArrayByJsonBytes, s as sanitizeSessionMessagesImages, st as applyInputProvenanceToUserMessage, t as validateAnthropicTurns, tt as normalizeAccountId$3, u as downgradeOpenAIReasoningBlocks, ut as resolveSessionKey, v as getApiErrorPayloadFingerprint, vt as canonicalizeMainSessionAlias, w as isFailoverAssistantError, wt as acquireSessionWriteLock, x as isCloudCodeAssistFormatError, xt as resolveMainSessionKey, y as isAuthAssistantError, z as appendAssistantMessageToSessionTranscript, zt as expandPolicyWithPluginGroups } from "./pi-embedded-helpers-BCaXoHH_.js";
|
|
14
14
|
import { A as VERSION, C as getConfigValueAtPath, D as isSafeExecutableValue, E as unsetConfigValueAtPath, O as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, S as unsetConfigOverride, T as setConfigValueAtPath, _ as parseDurationMs, a as writeConfigFile, b as resetConfigOverrides, c as TELEGRAM_COMMAND_NAME_PATTERN, f as isInboundPathAllowed, g as normalizeScpRemoteHost, h as resolveIMessageRemoteAttachmentRoots, i as resolveConfigSnapshotHash, k as resolveAgentMaxConcurrent, l as normalizeTelegramCommandName, m as resolveIMessageAttachmentRoots, n as loadConfig, o as validateConfigObjectWithPlugins, r as readConfigFileSnapshot, u as resolveTelegramCustomCommands, v as validateJsonSchemaValue, w as parseConfigPath, x as setConfigOverride, y as getConfigOverrides } from "./config-BIN20Vs8.js";
|
|
15
15
|
import { a as applyTestPluginDefaults, c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, i as safeStatSync, n as discoverSymiPlugins, o as normalizePluginsConfig, r as isPathInside, s as resolveEnableState, t as loadPluginManifestRegistry, u as isPathInsideWithRealpath } from "./manifest-registry-CBCGTsIb.js";
|
|
16
16
|
import { C as rawDataToString, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as isSecureWebSocketUrl, x as ensureChromeExtensionRelayServer } from "./chrome-2hGIu-EC.js";
|
|
@@ -31,10 +31,10 @@ import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i
|
|
|
31
31
|
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, 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 applyChannelMatchMeta, 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 fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-BT5Ql2ye.js";
|
|
32
32
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BBh3Gsrx.js";
|
|
33
33
|
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-SqqWIT22.js";
|
|
34
|
-
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-
|
|
34
|
+
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as throwIfAborted, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-B_cMmLLl.js";
|
|
35
35
|
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticSymipulse, f as stopDiagnosticSymipulse, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-Dwp7APdl.js";
|
|
36
36
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-Zw87xFym.js";
|
|
37
|
-
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-
|
|
37
|
+
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-9naYHSQv.js";
|
|
38
38
|
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-Chy4m3R2.js";
|
|
39
39
|
import { i as isSilentReplyText, n as SYMIPULSE_TOKEN, r as isSilentReplyPrefixText, t as SILENT_REPLY_TOKEN } from "./tokens-FMJ3ybix.js";
|
|
40
40
|
import { $ as isVoiceCompatibleAudio, A as extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as formatLocationText, H as firstDefined$1, I as resolveTelegramReplyId, J as readChannelAllowFromStore, K as toLocationContext, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as listPairingChannels, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeAllowFromSources, X as upsertChannelPairingRequest, Y as removeChannelAllowFromStoreEntry, Z as getPairingAdapter, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildGroupLabel, c as sendStickerTelegram, d as wasSentByBot, et as parseTelegramTarget, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, o as sendMessageTelegram, p as markdownToTelegramChunks, q as addChannelAllowFromStoreEntry, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as resolveTelegramTargetChatType, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-dgsxkR24.js";
|
|
@@ -50,7 +50,7 @@ import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-Cj6k
|
|
|
50
50
|
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-CXcrSv3r.js";
|
|
51
51
|
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-Desp5iug.js";
|
|
52
52
|
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-DC0llPRC.js";
|
|
53
|
-
import { _ as CLI_OUTPUT_MAX_BUFFER, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as resolveMediaUnderstandingScope, h as normalizeMediaUnderstandingChatType, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveTimeoutMs$1, n as createMediaAttachmentCache, o as runCapability, p as resolveConcurrency, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as applyTemplate, y as registerUnhandledRejectionHandler } from "./runner-
|
|
53
|
+
import { _ as CLI_OUTPUT_MAX_BUFFER, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as buildRandomTempFilePath, g as resolveMediaUnderstandingScope, h as normalizeMediaUnderstandingChatType, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveTimeoutMs$1, n as createMediaAttachmentCache, o as runCapability, p as resolveConcurrency, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as applyTemplate, y as registerUnhandledRejectionHandler } from "./runner-ZvM4YP_p.js";
|
|
54
54
|
import { c as getSkillsSnapshotVersion, d as createAsyncLock, f as readJsonFile, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as writeJsonAtomic, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-DNOWLjhI.js";
|
|
55
55
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-Dvqh1Tgb.js";
|
|
56
56
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-Dnti0cFs.js";
|
|
@@ -10294,7 +10294,7 @@ async function routeReply(params) {
|
|
|
10294
10294
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
10295
10295
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
10296
10296
|
try {
|
|
10297
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
10297
|
+
const { deliverOutboundPayloads } = await import("./deliver-B_cMmLLl.js").then((n) => n.n);
|
|
10298
10298
|
return {
|
|
10299
10299
|
ok: true,
|
|
10300
10300
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -43736,7 +43736,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
43736
43736
|
return;
|
|
43737
43737
|
}
|
|
43738
43738
|
try {
|
|
43739
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
43739
|
+
const { deliverOutboundPayloads } = await import("./deliver-B_cMmLLl.js").then((n) => n.n);
|
|
43740
43740
|
await deliverOutboundPayloads({
|
|
43741
43741
|
cfg: params.cfg,
|
|
43742
43742
|
channel,
|
|
@@ -47182,7 +47182,7 @@ async function describeStickerImage(params) {
|
|
|
47182
47182
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
47183
47183
|
try {
|
|
47184
47184
|
const buffer = await fs$1.readFile(imagePath);
|
|
47185
|
-
const { describeImageWithModel } = await import("./image-
|
|
47185
|
+
const { describeImageWithModel } = await import("./image-9naYHSQv.js").then((n) => n.n);
|
|
47186
47186
|
return (await describeImageWithModel({
|
|
47187
47187
|
buffer,
|
|
47188
47188
|
fileName: "sticker.webp",
|
|
@@ -49844,7 +49844,7 @@ async function preflightDiscordMessage(params) {
|
|
|
49844
49844
|
let preflightTranscript;
|
|
49845
49845
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
49846
49846
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
49847
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
49847
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CyZA9tsd.js");
|
|
49848
49848
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
49849
49849
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
49850
49850
|
ctx: {
|
|
@@ -53850,7 +53850,7 @@ function isVoiceChannelType(type) {
|
|
|
53850
53850
|
function createDefaultDeps() {
|
|
53851
53851
|
return {
|
|
53852
53852
|
sendMessageWhatsApp: async (...args) => {
|
|
53853
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
53853
|
+
const { sendMessageWhatsApp } = await import("./web-DzelVjsV.js");
|
|
53854
53854
|
return await sendMessageWhatsApp(...args);
|
|
53855
53855
|
},
|
|
53856
53856
|
sendMessageTelegram: async (...args) => {
|
|
@@ -66973,7 +66973,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
66973
66973
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
66974
66974
|
let preflightTranscript;
|
|
66975
66975
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
66976
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
66976
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CyZA9tsd.js");
|
|
66977
66977
|
preflightTranscript = await transcribeFirstAudio({
|
|
66978
66978
|
ctx: {
|
|
66979
66979
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -69130,7 +69130,7 @@ function loadWebLoginQr() {
|
|
|
69130
69130
|
return webLoginQrPromise;
|
|
69131
69131
|
}
|
|
69132
69132
|
function loadWebChannel() {
|
|
69133
|
-
webChannelPromise ??= import("./web-
|
|
69133
|
+
webChannelPromise ??= import("./web-DzelVjsV.js");
|
|
69134
69134
|
return webChannelPromise;
|
|
69135
69135
|
}
|
|
69136
69136
|
function loadWhatsAppActions() {
|