@symerian/symi 2.6.6 → 2.6.8
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-DPdRUY_O.js → agents-DUCHzmZ7.js} +4 -4
- package/dist/{agents.config-Cr6DcdaD.js → agents.config-CHQebF9q.js} +1 -1
- package/dist/{agents.config-DIumfxnN.js → agents.config-CwoBiqZ_.js} +1 -1
- package/dist/{auth-choice-C5etRQcH.js → auth-choice-B1zaWakt.js} +1 -1
- package/dist/{auth-choice-z3-Baeyd.js → auth-choice-DGzjLihE.js} +1 -1
- package/dist/{banner-om7BRUIc.js → banner-Dy01rdll.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-BqnokE7_.js → channel-options-Ba5tfq9-.js} +1 -1
- package/dist/{channel-options-Cb1PgfNV.js → channel-options-Cte5qJHT.js} +1 -1
- package/dist/{channel-web-DztB2W6w.js → channel-web-NGDI-tJN.js} +1 -1
- package/dist/{channels-cli-xlZ2mjBu.js → channels-cli-BDlDCL3R.js} +4 -4
- package/dist/{channels-cli-R2PHQWVd.js → channels-cli-CgNtcB-z.js} +4 -4
- package/dist/{cli-DLly6H0w.js → cli-C2ZGBmO9.js} +1 -1
- package/dist/{cli-DNGrFH7L.js → cli-Da_Dnvvp.js} +1 -1
- package/dist/{command-registry-xEOR2NPq.js → command-registry-CLcFUFJs.js} +9 -9
- package/dist/{completion-cli-CRhFwMiA.js → completion-cli-BzXhONEe.js} +2 -2
- package/dist/{completion-cli-CFJbuU6i.js → completion-cli-MbaQCbTj.js} +1 -1
- package/dist/{config-cli-CbdeNt0M.js → config-cli-BHHGJx1I.js} +1 -1
- package/dist/{config-cli-BaH8OVQ-.js → config-cli-CT6Q4rhy.js} +1 -1
- package/dist/{configure-BmNOfGox.js → configure-BOLt9A-A.js} +3 -3
- package/dist/{configure-D5dSJprr.js → configure-CVcHuLVe.js} +3 -3
- package/dist/{doctor-completion-DCc4SxWN.js → doctor-completion-BZ-FYLu9.js} +1 -1
- package/dist/{doctor-completion-D0L7wK2h.js → doctor-completion-CislKWHy.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-DYXn5A0z.js → gateway-cli-2yQf_hKZ.js} +168 -35
- package/dist/{gateway-cli-zN6V2qw8.js → gateway-cli-Bzz6Rduw.js} +167 -34
- package/dist/{glass-ui-ws-Cj9wbO1L.js → glass-ui-ws-ibSNo7RU.js} +7 -7
- package/dist/{glass-ui-ws-B7V2wHEu.js → glass-ui-ws-uRv3KH-0.js} +7 -7
- package/dist/{health-DUKLANXu.js → health-CBwxQHlQ.js} +1 -1
- package/dist/{health-BPOuBmYt.js → health-D4ySlvOE.js} +1 -1
- package/dist/{hooks-cli-BF0mbqlZ.js → hooks-cli-BFN2xMj8.js} +2 -2
- package/dist/{hooks-cli-BpfIySkB.js → hooks-cli-CreZeBlG.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{models-Bt8lm_nD.js → models-Dk7Q5cSF.js} +2 -2
- package/dist/{models-cli-bHYoiL5x.js → models-cli-C9Y-HfLg.js} +2 -2
- package/dist/{models-cli-BmBmBUgl.js → models-cli-DzSb3Scm.js} +3 -3
- package/dist/{onboard-ttzux1w7.js → onboard-D_PsLQiw.js} +2 -2
- package/dist/{onboard-i7lit3dF.js → onboard-N-KB8jvT.js} +2 -2
- package/dist/{onboard-channels-DEFF3Rjo.js → onboard-channels-Bp74i8iG.js} +1 -1
- package/dist/{onboard-channels-D0RHtaJE.js → onboard-channels-VuJyK9g-.js} +1 -1
- package/dist/{onboarding-CAlILYcN.js → onboarding-CRAQ2s_3.js} +3 -3
- package/dist/{onboarding-By0D-QmK.js → onboarding-D1AsOvXd.js} +3 -3
- package/dist/{onboarding.finalize-DSNIp08z.js → onboarding.finalize-DLUoLFNl.js} +6 -6
- package/dist/{onboarding.finalize-BDmc4k2T.js → onboarding.finalize-ZYLgVmdn.js} +5 -5
- package/dist/{pi-embedded-BzE5v-JN.js → pi-embedded-BSoqm4lP.js} +47 -52
- package/dist/{plugin-registry-C1ghjhOE.js → plugin-registry-CTu9B9S3.js} +1 -1
- package/dist/{plugin-registry-CDIOKK_i.js → plugin-registry-DDIcHkNU.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-bEk__wbB.js → active-listener-BXYeALs0.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-C3gMMKCU.js → agent-scope-CYYpcO9W.js} +2 -2
- package/dist/plugin-sdk/agents/pi-tools.validate-wrapper.d.ts +8 -8
- package/dist/plugin-sdk/{api-key-rotation-CVBMpnPc.js → api-key-rotation-D_sMvI5W.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-DoQQKlxa.js → audio-preflight-VpItkiy3.js} +24 -24
- package/dist/plugin-sdk/{bindings-BbwoUGPx.js → bindings-C7hRtgYW.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-Ji7f0gqq.js → channel-activity-DoC1xtDu.js} +1 -1
- package/dist/plugin-sdk/{channel-web-CxwLjrWk.js → channel-web-BmV3Tuy0.js} +22 -22
- package/dist/plugin-sdk/{chrome-C7c_0I5M.js → chrome-B7RdxmJ0.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-CQFbmUMs.js → commands-registry-COIaslGl.js} +4 -4
- package/dist/plugin-sdk/{config-DDkdiUOR.js → config-KlTNfkFF.js} +9 -9
- package/dist/plugin-sdk/{deliver-BZ6iNLl7.js → deliver-BZ99UKQq.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-mFf4i4G9.js → diagnostic-05pm5Rxi.js} +1 -1
- package/dist/plugin-sdk/{image-BOYy0Ump.js → image-CLOPx7yW.js} +4 -4
- package/dist/plugin-sdk/{image-ops-Bnp6LXEx.js → image-ops-BlQR__MN.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-Fb3qpcis.js → ir-BJ6BHE5b.js} +4 -4
- package/dist/plugin-sdk/{local-roots-Ckk1QfzI.js → local-roots-BHLNSI8U.js} +3 -3
- package/dist/plugin-sdk/{login-Bh3DZPam.js → login-DQMXuxOk.js} +7 -7
- package/dist/plugin-sdk/{login-qr-DbR7odSr.js → login-qr-BjVZSoCi.js} +9 -9
- package/dist/plugin-sdk/{manager-DckktAQ3.js → manager-CBSBFuFz.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-B3ugY9-f.js → manifest-registry-CPnHl_K3.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-Dfaqilz6.js → markdown-tables-BoYFajMu.js} +1 -1
- package/dist/plugin-sdk/{message-channel-BdI5Ra9S.js → message-channel-COTAJzHd.js} +1 -1
- package/dist/plugin-sdk/{model-selection-OpU8HN50.js → model-selection-CsbEfrS0.js} +4 -4
- package/dist/plugin-sdk/{outbound-rF6G8Xpr.js → outbound-B0e8KdaR.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DnVQfTG2.js → outbound-attachment-CnslKL38.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-CJk8t14T.js → pi-auth-json-qWi7ZIYV.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-BveUP4hk.js → pi-embedded-helpers-CW630epe.js} +17 -17
- package/dist/plugin-sdk/{plugins-BbAvhC25.js → plugins-BNByVCIH.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-DjGUsee-.js → pw-ai-CnbPIPY9.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-mjKcdwVr.js → qmd-manager-CH0XbIHf.js} +4 -4
- package/dist/plugin-sdk/{registry--_pGht6S.js → registry-D0xTnUWt.js} +2 -2
- package/dist/plugin-sdk/{replies-fI39rPGa.js → replies-LLcQL3w6.js} +3 -3
- package/dist/plugin-sdk/{reply-CyZfsjrl.js → reply-LQcs9anV.js} +123 -128
- package/dist/plugin-sdk/{reply-prefix-BHuV5t70.js → reply-prefix-uxfMZW4p.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BkCUbYGV.js → resolve-outbound-target-BiyAyTWz.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-D3JH_D2N.js → resolve-route-B3CCBumQ.js} +3 -3
- package/dist/plugin-sdk/{retry-ilSJqnz9.js → retry-CwQ_iIj8.js} +1 -1
- package/dist/plugin-sdk/{runner-BVqnEfNe.js → runner-CGBT7tgF.js} +9 -9
- package/dist/plugin-sdk/{send-BtANzsAo.js → send-B2CEnVLL.js} +6 -6
- package/dist/plugin-sdk/{send-BHbXh8Ly.js → send-C5h_YxNb.js} +7 -7
- package/dist/plugin-sdk/{send-D6LMZJ_h.js → send-CRsR8-vO.js} +10 -10
- package/dist/plugin-sdk/{send-Bxdu6ZZy.js → send-CjOBB3Vo.js} +10 -10
- package/dist/plugin-sdk/{send-BMfJIhCk.js → send-pYqe432l.js} +6 -6
- package/dist/plugin-sdk/{session-kI0tzViQ.js → session-BsOrxiMj.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-DCNXVERE.js → skill-commands-ff_01_r3.js} +5 -5
- package/dist/plugin-sdk/{skills-B1GeRYlu.js → skills-_yTP47Cd.js} +7 -7
- package/dist/plugin-sdk/{sqlite-Cq_7Cg4E.js → sqlite-CxAR5ttJ.js} +1 -1
- package/dist/plugin-sdk/{store-Do3t33-c.js → store-BdrNabcU.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Coz2AgU8.js → subsystem-B2uDN3TV.js} +1 -1
- package/dist/plugin-sdk/{tables-DR0NmBeH.js → tables-DNwXwNFa.js} +1 -1
- package/dist/plugin-sdk/{target-errors-B7YyMnIi.js → target-errors-Paro1BjP.js} +2 -2
- package/dist/plugin-sdk/{thinking-DCNUIAHY.js → thinking-CXqf7WTe.js} +5 -5
- package/dist/plugin-sdk/{tokens-CWMflosr.js → tokens-bC3UVmVH.js} +1 -1
- package/dist/plugin-sdk/{tool-images-D7Lno-TE.js → tool-images-HJ2sfZDV.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-DU5sTIKg.js → tool-loop-detection-at_K42K7.js} +2 -2
- package/dist/plugin-sdk/web-DvzecOyx.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-CcBzDuL-.js → whatsapp-actions-DfseosPO.js} +21 -21
- package/dist/{plugins-cli-BFCJyRBX.js → plugins-cli-DJUkvonf.js} +2 -2
- package/dist/{plugins-cli-jv-Bqq1t.js → plugins-cli-DdfBwKlP.js} +2 -2
- package/dist/{program-sDlUcw2S.js → program-DyPb-tj_.js} +7 -7
- package/dist/{program-context-N9-4Ubpp.js → program-context-Bz_GuT_l.js} +17 -17
- package/dist/{prompt-select-styled-BtG_t1Tf.js → prompt-select-styled-BKnaBZhj.js} +4 -4
- package/dist/{prompt-select-styled-eBoNrCn6.js → prompt-select-styled-CghdSf8F.js} +4 -4
- package/dist/{provider-auth-helpers-CqDTEFnD.js → provider-auth-helpers-BdNgfdWd.js} +1 -1
- package/dist/{provider-auth-helpers-CfBPNN7J.js → provider-auth-helpers-CXKXgdFl.js} +1 -1
- package/dist/{push-apns-CVRC-O3Q.js → push-apns-A--Taj2b.js} +1 -1
- package/dist/{push-apns-CHIVwHRD.js → push-apns-Cdjd6L8R.js} +1 -1
- package/dist/{register.agent-B0ExzmtM.js → register.agent-BLWVTdIg.js} +6 -6
- package/dist/{register.agent-DD2QErXm.js → register.agent-C4tjED3B.js} +5 -5
- package/dist/{register.configure-ByNKeAo7.js → register.configure-De6KxZc8.js} +6 -6
- package/dist/{register.configure-DpHCcS5d.js → register.configure-DkNQpMco.js} +6 -6
- package/dist/{register.maintenance-BMrBjqU4.js → register.maintenance-B7dlUmZQ.js} +7 -7
- package/dist/{register.maintenance-_S91q7Rv.js → register.maintenance-el_O34pN.js} +8 -8
- package/dist/{register.message-DZ45n1GX.js → register.message-Bg38q7xU.js} +2 -2
- package/dist/{register.message-BveFb6IW.js → register.message-CNub6pDr.js} +2 -2
- package/dist/{register.onboard-CLGWOBoy.js → register.onboard-DUIvvhd3.js} +4 -4
- package/dist/{register.onboard-CUTbssYt.js → register.onboard-OXQpAbIU.js} +4 -4
- package/dist/{register.setup-B_cLbC3d.js → register.setup-BAZ3txi6.js} +4 -4
- package/dist/{register.setup-CcDqU6WR.js → register.setup-BQLAOnSQ.js} +4 -4
- package/dist/{register.status-health-sessions-DgNzHYE-.js → register.status-health-sessions-BU25Fv8p.js} +3 -3
- package/dist/{register.status-health-sessions-CMJ_l4rs.js → register.status-health-sessions-bw_2svPd.js} +3 -3
- package/dist/{register.subclis-D6LLN38B.js → register.subclis-Bop-tTBx.js} +9 -9
- package/dist/{reply-DcyKvFor.js → reply-BR3MMmPE.js} +47 -52
- package/dist/{run-main-QW59Pk-I.js → run-main-DFp18fyd.js} +14 -14
- package/dist/{server-methods-D1W-tViM.js → server-methods-B7KrCq1B.js} +7 -7
- package/dist/{server-methods-BdXCfO_O.js → server-methods-BMrgMa55.js} +7 -7
- package/dist/{server-node-events-BwGehjys.js → server-node-events-DcIWSJrb.js} +2 -2
- package/dist/{server-node-events-DqVmWjof.js → server-node-events-tKdBKitQ.js} +2 -2
- package/dist/{status-CfLq5R5j.js → status-CChK9DsL.js} +2 -2
- package/dist/{status-BY4CnB2O.js → status-DAeh7JKa.js} +2 -2
- package/dist/{status-kPaSg3RB.js → status-DkAuXji3.js} +1 -1
- package/dist/{status-BvnWSBQl.js → status-Ta_hiT2w.js} +1 -1
- package/dist/{subagent-registry-CVQOC9Jw.js → subagent-registry-DovA8Baf.js} +47 -52
- package/dist/{unified-runner-DpWGASP3.js → unified-runner-OplgmcEq.js} +47 -52
- package/dist/{update-cli-DcUr7_Lg.js → update-cli-DPewzEht.js} +8 -8
- package/dist/{update-cli-BpSFY22r.js → update-cli-hfO-LduQ.js} +7 -7
- package/dist/{update-runner-DdPdhkw5.js → update-runner-DvkWGO1t.js} +1 -1
- package/dist/{update-runner-CPOm0f_6.js → update-runner-WFWqzZw8.js} +1 -1
- package/dist/{web-DhofKbBh.js → web-BbEzqR_T.js} +1 -1
- package/dist/{web-DqjNQqGK.js → web-CEP_xmdJ.js} +2 -2
- package/dist/{web-ZnFT5LP9.js → web-DMBrhq3h.js} +1 -1
- package/dist/{web-CHV60IdQ.js → web-WfZujXg4.js} +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/web-C2OyRvIo.js +0 -65
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
-
import { H as isPlainObject, T as escapeRegExp, c as getActivePluginRegistry } from "./registry
|
|
4
|
-
import { J as DEFAULT_MODEL, Y as DEFAULT_PROVIDER, u as resolveConfiguredModelRef } from "./model-selection-
|
|
5
|
-
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-
|
|
2
|
+
import { r as normalizeChannelId } from "./plugins-BNByVCIH.js";
|
|
3
|
+
import { H as isPlainObject, T as escapeRegExp, c as getActivePluginRegistry } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import { J as DEFAULT_MODEL, Y as DEFAULT_PROVIDER, u as resolveConfiguredModelRef } from "./model-selection-CsbEfrS0.js";
|
|
5
|
+
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-CXqf7WTe.js";
|
|
6
6
|
|
|
7
7
|
//#region src/config/commands.ts
|
|
8
8
|
function resolveAutoDefault(providerId) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DR2yt_mP.js";
|
|
3
|
-
import { D as isRecord, H as isPlainObject$1, M as resolveConfigDir, P as resolveUserPath, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry
|
|
4
|
-
import { $ as shouldDeferShellEnvFallback, Q as resolveShellEnvFallbackTimeoutMs, Z as loadShellEnvFallback, et as shouldEnableShellEnvFallback, l as parseModelRef, q as DEFAULT_CONTEXT_TOKENS } from "./model-selection-
|
|
5
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import { c as normalizePluginsConfig, d as isPathInside, l as resolveEnableState, m as normalizeEnvVarKey, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-
|
|
3
|
+
import { D as isRecord, H as isPlainObject$1, M as resolveConfigDir, P as resolveUserPath, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import { $ as shouldDeferShellEnvFallback, Q as resolveShellEnvFallbackTimeoutMs, Z as loadShellEnvFallback, et as shouldEnableShellEnvFallback, l as parseModelRef, q as DEFAULT_CONTEXT_TOKENS } from "./model-selection-CsbEfrS0.js";
|
|
5
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-CYYpcO9W.js";
|
|
6
|
+
import { c as normalizePluginsConfig, d as isPathInside, l as resolveEnableState, m as normalizeEnvVarKey, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-CPnHl_K3.js";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
11
|
-
import
|
|
11
|
+
import JSON5 from "json5";
|
|
12
12
|
import crypto from "node:crypto";
|
|
13
13
|
import { isDeepStrictEqual } from "node:util";
|
|
14
14
|
import dotenv from "dotenv";
|
|
@@ -892,7 +892,7 @@ function safeRealpath(target) {
|
|
|
892
892
|
}
|
|
893
893
|
const defaultResolver = {
|
|
894
894
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
895
|
-
parseJson: (raw) =>
|
|
895
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
896
896
|
};
|
|
897
897
|
/**
|
|
898
898
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -5584,7 +5584,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
5584
5584
|
function normalizeDeps(overrides = {}) {
|
|
5585
5585
|
return {
|
|
5586
5586
|
fs: overrides.fs ?? fs,
|
|
5587
|
-
json5: overrides.json5 ??
|
|
5587
|
+
json5: overrides.json5 ?? JSON5,
|
|
5588
5588
|
env: overrides.env ?? process.env,
|
|
5589
5589
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
5590
5590
|
configPath: overrides.configPath ?? "",
|
|
@@ -5595,11 +5595,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
5595
5595
|
if (env !== process.env) return;
|
|
5596
5596
|
loadDotEnv({ quiet: true });
|
|
5597
5597
|
}
|
|
5598
|
-
function parseConfigJson5(raw, json5
|
|
5598
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
5599
5599
|
try {
|
|
5600
5600
|
return {
|
|
5601
5601
|
ok: true,
|
|
5602
|
-
parsed: json5
|
|
5602
|
+
parsed: json5.parse(raw)
|
|
5603
5603
|
};
|
|
5604
5604
|
} catch (err) {
|
|
5605
5605
|
return {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { m as normalizeOptionalAccountId, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
3
3
|
import { s as resolveStateDir } from "./paths-DR2yt_mP.js";
|
|
4
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
5
|
-
import { c as getActivePluginRegistry, v as createInternalHookEvent, y as triggerInternalHook } from "./registry
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
8
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-
|
|
9
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
10
|
-
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
11
|
-
import { d as getChannelDock } from "./thinking-
|
|
12
|
-
import { dt as appendAssistantMessageToSessionTranscript, ft as resolveMirroredTranscriptText, i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
13
|
-
import { a as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
4
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BNByVCIH.js";
|
|
5
|
+
import { c as getActivePluginRegistry, v as createInternalHookEvent, y as triggerInternalHook } from "./registry-D0xTnUWt.js";
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
7
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-BHLNSI8U.js";
|
|
8
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-Dw2XBYXv.js";
|
|
9
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BoYFajMu.js";
|
|
10
|
+
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-bC3UVmVH.js";
|
|
11
|
+
import { d as getChannelDock } from "./thinking-CXqf7WTe.js";
|
|
12
|
+
import { dt as appendAssistantMessageToSessionTranscript, ft as resolveMirroredTranscriptText, i as isMessagingToolDuplicate } from "./pi-embedded-helpers-CW630epe.js";
|
|
13
|
+
import { a as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-pYqe432l.js";
|
|
14
14
|
import fs from "node:fs";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import crypto from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
3
3
|
import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-Wd5tNeQG.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { D as isRecord, I as shortenHomeInString } from "./registry
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
4
|
-
import { B as resolveSymiAgentDir, G as normalizeSecretInput, S as getApiKeyForModel, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-
|
|
2
|
+
import { D as isRecord, I as shortenHomeInString } from "./registry-D0xTnUWt.js";
|
|
3
|
+
import { n as loadConfig } from "./config-KlTNfkFF.js";
|
|
4
|
+
import { B as resolveSymiAgentDir, G as normalizeSecretInput, S as getApiKeyForModel, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-CsbEfrS0.js";
|
|
5
5
|
import { n as redactToolDetail } from "./redact-DPnDWsnT.js";
|
|
6
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
6
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-CW630epe.js";
|
|
7
7
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-LbcEa65a.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { _ as createAccountListHelpers, i as resolveWhatsAppAuthDir, n as resolveDefaultWhatsAppAccountId, r as resolveWhatsAppAccount, t as listWhatsAppAccountIds } from "./accounts-
|
|
3
|
-
import { $ as clearHistoryEntriesIfEnabled, A as resolveDiscordUserAllowlist, B as logTypingFailure, C as stripMarkdown, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, Et as BLUEBUBBLES_ACTIONS, F as stringEnum, G as resolveMentionGating, H as removeAckReactionAfterReply, I as recordInboundSession, J as summarizeMapping, K as resolveMentionGatingWithBypass, L as resolveControlCommandGate, M as collectDiscordAuditChannelIds, N as formatDocsLink, O as resolveSlackChannelAllowlist, Ot as BLUEBUBBLES_GROUP_ACTIONS, P as optionalStringEnum, Q as clearHistoryEntries, R as logAckFailure, S as processLineMessage, St as listThreadBindingsBySessionKey, T as attachFooterText, Tt as resolveAllowlistMatchSimple, U as shouldAckReaction, V as createTypingCallbacks, W as shouldAckReactionForWhatsApp, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, _t as listDevicePairing, a as normalizeAccountId$1, at as isWSLEnv, bt as registerPluginHttpRoute, ct as DEFAULT_WEBHOOK_MAX_BODY_BYTES, dt as isRequestBodyLimitError, et as recordPendingHistoryEntry, ft as readJsonBodyWithLimit, gt as approveDevicePairing, ht as createDedupeCache, i as listLineAccountIds, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, o as resolveDefaultLineAccountId, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, s as resolveLineAccount, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as createReceiptCard, wt as formatAllowlistMatchMeta, x as hasMarkdownToConvert, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./reply-
|
|
2
|
+
import { _ as createAccountListHelpers, i as resolveWhatsAppAuthDir, n as resolveDefaultWhatsAppAccountId, r as resolveWhatsAppAccount, t as listWhatsAppAccountIds } from "./accounts-Ddm33hQm.js";
|
|
3
|
+
import { $ as clearHistoryEntriesIfEnabled, A as resolveDiscordUserAllowlist, B as logTypingFailure, C as stripMarkdown, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, Et as BLUEBUBBLES_ACTIONS, F as stringEnum, G as resolveMentionGating, H as removeAckReactionAfterReply, I as recordInboundSession, J as summarizeMapping, K as resolveMentionGatingWithBypass, L as resolveControlCommandGate, M as collectDiscordAuditChannelIds, N as formatDocsLink, O as resolveSlackChannelAllowlist, Ot as BLUEBUBBLES_GROUP_ACTIONS, P as optionalStringEnum, Q as clearHistoryEntries, R as logAckFailure, S as processLineMessage, St as listThreadBindingsBySessionKey, T as attachFooterText, Tt as resolveAllowlistMatchSimple, U as shouldAckReaction, V as createTypingCallbacks, W as shouldAckReactionForWhatsApp, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, _t as listDevicePairing, a as normalizeAccountId$1, at as isWSLEnv, bt as registerPluginHttpRoute, ct as DEFAULT_WEBHOOK_MAX_BODY_BYTES, dt as isRequestBodyLimitError, et as recordPendingHistoryEntry, ft as readJsonBodyWithLimit, gt as approveDevicePairing, ht as createDedupeCache, i as listLineAccountIds, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, o as resolveDefaultLineAccountId, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, s as resolveLineAccount, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as createReceiptCard, wt as formatAllowlistMatchMeta, x as hasMarkdownToConvert, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./reply-LQcs9anV.js";
|
|
4
4
|
import "./paths-DR2yt_mP.js";
|
|
5
5
|
import "./github-copilot-token-D9X2phUj.js";
|
|
6
|
-
import { D as resolveSlackAccount, E as resolveDefaultSlackAccountId, F as resolveDiscordAccount, M as listDiscordAccountIds, O as resolveSlackReplyToMode, P as resolveDefaultDiscordAccountId, S as resolveTelegramAccount, T as listSlackAccountIds, _ as normalizeWhatsAppTarget, a as listDiscordDirectoryPeersFromConfig, b as listTelegramAccountIds, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, g as isWhatsAppGroupJid, i as listDiscordDirectoryGroupsFromConfig, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, w as listEnabledSlackAccounts, x as resolveDefaultTelegramAccountId } from "./plugins-
|
|
6
|
+
import { D as resolveSlackAccount, E as resolveDefaultSlackAccountId, F as resolveDiscordAccount, M as listDiscordAccountIds, O as resolveSlackReplyToMode, P as resolveDefaultDiscordAccountId, S as resolveTelegramAccount, T as listSlackAccountIds, _ as normalizeWhatsAppTarget, a as listDiscordDirectoryPeersFromConfig, b as listTelegramAccountIds, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, g as isWhatsAppGroupJid, i as listDiscordDirectoryGroupsFromConfig, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, w as listEnabledSlackAccounts, x as resolveDefaultTelegramAccountId } from "./plugins-BNByVCIH.js";
|
|
7
7
|
import "./fetch-CUNoPTKm.js";
|
|
8
|
-
import { A as normalizeE164, D as isRecord, F as safeParseJson, R as sleep, T as escapeRegExp, b as CONFIG_DIR, f as normalizePluginHttpPath, i as getChatChannelMeta, it as registerLogTransport, j as pathExists, x as clamp } from "./registry
|
|
9
|
-
import "./retry-
|
|
10
|
-
import { Dt as resolveChannelEntryMatch, Et as normalizeChannelSlug, Ot as resolveChannelEntryMatchWithFallback, Tt as buildChannelKeyCandidates, dt as normalizeDiscordSlug, it as parseDiscordTarget, kt as resolveNestedAllowlistDecision } from "./send-
|
|
11
|
-
import { A as MarkdownConfigSchema, D as DmConfigSchema, E as BlockStreamingCoalesceSchema, F as TtsProviderSchema, I as normalizeAllowFrom, L as requireOpenAllowFrom, M as TtsAutoSchema, N as TtsConfigSchema, O as DmPolicySchema, P as TtsModeSchema, T as ToolPolicySchema, c as WhatsAppConfigSchema, d as IMessageConfigSchema, f as MSTeamsConfigSchema, h as TelegramConfigSchema, j as MarkdownTableModeSchema, k as GroupPolicySchema, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema } from "./config-
|
|
12
|
-
import { n as stripAnsi } from "./subsystem-
|
|
13
|
-
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
14
|
-
import { H as withFileLock, V as acquireFileLock } from "./model-selection-
|
|
15
|
-
import { T as runCommandWithTimeout } from "./agent-scope-
|
|
16
|
-
import "./manifest-registry-
|
|
8
|
+
import { A as normalizeE164, D as isRecord, F as safeParseJson, R as sleep, T as escapeRegExp, b as CONFIG_DIR, f as normalizePluginHttpPath, i as getChatChannelMeta, it as registerLogTransport, j as pathExists, x as clamp } from "./registry-D0xTnUWt.js";
|
|
9
|
+
import "./retry-CwQ_iIj8.js";
|
|
10
|
+
import { Dt as resolveChannelEntryMatch, Et as normalizeChannelSlug, Ot as resolveChannelEntryMatchWithFallback, Tt as buildChannelKeyCandidates, dt as normalizeDiscordSlug, it as parseDiscordTarget, kt as resolveNestedAllowlistDecision } from "./send-CjOBB3Vo.js";
|
|
11
|
+
import { A as MarkdownConfigSchema, D as DmConfigSchema, E as BlockStreamingCoalesceSchema, F as TtsProviderSchema, I as normalizeAllowFrom, L as requireOpenAllowFrom, M as TtsAutoSchema, N as TtsConfigSchema, O as DmPolicySchema, P as TtsModeSchema, T as ToolPolicySchema, c as WhatsAppConfigSchema, d as IMessageConfigSchema, f as MSTeamsConfigSchema, h as TelegramConfigSchema, j as MarkdownTableModeSchema, k as GroupPolicySchema, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema } from "./config-KlTNfkFF.js";
|
|
12
|
+
import { n as stripAnsi } from "./subsystem-B2uDN3TV.js";
|
|
13
|
+
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-GKSevep4.js";
|
|
14
|
+
import { H as withFileLock, V as acquireFileLock } from "./model-selection-CsbEfrS0.js";
|
|
15
|
+
import { T as runCommandWithTimeout } from "./agent-scope-CYYpcO9W.js";
|
|
16
|
+
import "./manifest-registry-CPnHl_K3.js";
|
|
17
17
|
import "./redact-DPnDWsnT.js";
|
|
18
18
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
19
|
-
import "./channel-activity-
|
|
20
|
-
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-
|
|
19
|
+
import "./channel-activity-DoC1xtDu.js";
|
|
20
|
+
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-BlQR__MN.js";
|
|
21
21
|
import { a as isBlockedHostnameOrIp, i as isBlockedHostname, o as isPrivateIpAddress, t as SsrFBlockedError } from "./ssrf-DKZ8eBrk.js";
|
|
22
|
-
import { o as fetchWithSsrFGuard } from "./local-roots-
|
|
23
|
-
import { a as loadWebMedia } from "./ir-
|
|
24
|
-
import { u as chunkTextByBreakResolver } from "./chunk-
|
|
25
|
-
import "./message-channel-
|
|
26
|
-
import "./bindings-
|
|
27
|
-
import "./markdown-tables-
|
|
22
|
+
import { o as fetchWithSsrFGuard } from "./local-roots-BHLNSI8U.js";
|
|
23
|
+
import { a as loadWebMedia } from "./ir-BJ6BHE5b.js";
|
|
24
|
+
import { u as chunkTextByBreakResolver } from "./chunk-Dw2XBYXv.js";
|
|
25
|
+
import "./message-channel-COTAJzHd.js";
|
|
26
|
+
import "./bindings-C7hRtgYW.js";
|
|
27
|
+
import "./markdown-tables-BoYFajMu.js";
|
|
28
28
|
import "./render-BiJZ5W4Z.js";
|
|
29
|
-
import "./tables-
|
|
30
|
-
import { d as resolveServicePrefixedAllowTarget, f as resolveServicePrefixedTarget, l as parseChatAllowTargetPrefixes, m as isAllowedParsedChatSender, p as formatAllowFromLowercase, s as normalizeIMessageHandle, u as parseChatTargetPrefixesOrThrow } from "./send-
|
|
31
|
-
import "./tool-images-
|
|
32
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, m as readStringParam, n as missingTargetError, u as readNumberParam } from "./target-errors-
|
|
33
|
-
import { s as parseSlackBlocksInput } from "./send-
|
|
34
|
-
import { it as writeJsonFileAtomically, nt as toLocationContext, rt as readJsonFileWithFallback, tt as formatLocationText } from "./send-
|
|
35
|
-
import { b as withTempDownloadPath, y as buildRandomTempFilePath } from "./runner-
|
|
36
|
-
import { a as resolveAckReaction, n as createReplyPrefixOptions, t as createReplyPrefixContext } from "./reply-prefix-
|
|
37
|
-
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
38
|
-
import "./skill-commands-
|
|
39
|
-
import "./skills-
|
|
40
|
-
import { N as rawDataToString } from "./chrome-
|
|
41
|
-
import { C as resolveSlackGroupRequireMention, D as resolveWhatsAppGroupRequireMention, E as resolveTelegramGroupToolPolicy, L as resolveToolsBySender, N as buildSlackThreadingToolContext, O as resolveWhatsAppGroupToolPolicy, S as resolveIMessageGroupToolPolicy, T as resolveTelegramGroupRequireMention, _ as resolveDiscordGroupRequireMention, b as resolveGoogleChatGroupToolPolicy, g as resolveBlueBubblesGroupToolPolicy, h as resolveBlueBubblesGroupRequireMention, m as normalizeSignalMessagingTarget, p as looksLikeSignalTargetId, v as resolveDiscordGroupToolPolicy, w as resolveSlackGroupToolPolicy, x as resolveIMessageGroupRequireMention, y as resolveGoogleChatGroupRequireMention } from "./thinking-
|
|
42
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
43
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
44
|
-
import { T as resolveChannelMediaMaxBytes } from "./deliver-
|
|
45
|
-
import "./pi-embedded-helpers-
|
|
29
|
+
import "./tables-DNwXwNFa.js";
|
|
30
|
+
import { d as resolveServicePrefixedAllowTarget, f as resolveServicePrefixedTarget, l as parseChatAllowTargetPrefixes, m as isAllowedParsedChatSender, p as formatAllowFromLowercase, s as normalizeIMessageHandle, u as parseChatTargetPrefixesOrThrow } from "./send-C5h_YxNb.js";
|
|
31
|
+
import "./tool-images-HJ2sfZDV.js";
|
|
32
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, m as readStringParam, n as missingTargetError, u as readNumberParam } from "./target-errors-Paro1BjP.js";
|
|
33
|
+
import { s as parseSlackBlocksInput } from "./send-B2CEnVLL.js";
|
|
34
|
+
import { it as writeJsonFileAtomically, nt as toLocationContext, rt as readJsonFileWithFallback, tt as formatLocationText } from "./send-CRsR8-vO.js";
|
|
35
|
+
import { b as withTempDownloadPath, y as buildRandomTempFilePath } from "./runner-CGBT7tgF.js";
|
|
36
|
+
import { a as resolveAckReaction, n as createReplyPrefixOptions, t as createReplyPrefixContext } from "./reply-prefix-uxfMZW4p.js";
|
|
37
|
+
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-bC3UVmVH.js";
|
|
38
|
+
import "./skill-commands-ff_01_r3.js";
|
|
39
|
+
import "./skills-_yTP47Cd.js";
|
|
40
|
+
import { N as rawDataToString } from "./chrome-B7RdxmJ0.js";
|
|
41
|
+
import { C as resolveSlackGroupRequireMention, D as resolveWhatsAppGroupRequireMention, E as resolveTelegramGroupToolPolicy, L as resolveToolsBySender, N as buildSlackThreadingToolContext, O as resolveWhatsAppGroupToolPolicy, S as resolveIMessageGroupToolPolicy, T as resolveTelegramGroupRequireMention, _ as resolveDiscordGroupRequireMention, b as resolveGoogleChatGroupToolPolicy, g as resolveBlueBubblesGroupToolPolicy, h as resolveBlueBubblesGroupRequireMention, m as normalizeSignalMessagingTarget, p as looksLikeSignalTargetId, v as resolveDiscordGroupToolPolicy, w as resolveSlackGroupToolPolicy, x as resolveIMessageGroupRequireMention, y as resolveGoogleChatGroupRequireMention } from "./thinking-CXqf7WTe.js";
|
|
42
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-s-AdhXVR.js";
|
|
43
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-BtaOa4z_.js";
|
|
44
|
+
import { T as resolveChannelMediaMaxBytes } from "./deliver-BZ99UKQq.js";
|
|
45
|
+
import "./pi-embedded-helpers-CW630epe.js";
|
|
46
46
|
import "./paths-A0xdf3yk.js";
|
|
47
|
-
import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-
|
|
48
|
-
import { n as extractOriginalFilename } from "./store-
|
|
49
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
50
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
51
|
-
import "./image-
|
|
47
|
+
import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-05pm5Rxi.js";
|
|
48
|
+
import { n as extractOriginalFilename } from "./store-BdrNabcU.js";
|
|
49
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BiyAyTWz.js";
|
|
50
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-BmV3Tuy0.js";
|
|
51
|
+
import "./image-CLOPx7yW.js";
|
|
52
52
|
import "./pi-model-discovery-LbcEa65a.js";
|
|
53
|
-
import "./api-key-rotation-
|
|
54
|
-
import "./sqlite-
|
|
53
|
+
import "./api-key-rotation-D_sMvI5W.js";
|
|
54
|
+
import "./sqlite-CxAR5ttJ.js";
|
|
55
55
|
import "./diagnostic-session-state-Wd5tNeQG.js";
|
|
56
|
-
import "./manager-
|
|
57
|
-
import "./commands-registry-
|
|
58
|
-
import "./send-
|
|
56
|
+
import "./manager-CBSBFuFz.js";
|
|
57
|
+
import "./commands-registry-COIaslGl.js";
|
|
58
|
+
import "./send-pYqe432l.js";
|
|
59
59
|
import "./proxy-MquBDehr.js";
|
|
60
|
-
import "./resolve-route-
|
|
61
|
-
import "./replies-
|
|
62
|
-
import "./outbound-attachment-
|
|
63
|
-
import "./outbound-
|
|
64
|
-
import "./session-
|
|
65
|
-
import { t as loginWeb } from "./login-
|
|
60
|
+
import "./resolve-route-B3CCBumQ.js";
|
|
61
|
+
import "./replies-LLcQL3w6.js";
|
|
62
|
+
import "./outbound-attachment-CnslKL38.js";
|
|
63
|
+
import "./outbound-B0e8KdaR.js";
|
|
64
|
+
import "./session-BsOrxiMj.js";
|
|
65
|
+
import { t as loginWeb } from "./login-DQMXuxOk.js";
|
|
66
66
|
import fs, { createWriteStream } from "node:fs";
|
|
67
67
|
import path from "node:path";
|
|
68
68
|
import os from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { K as logVerbose, P as resolveUserPath, Y as shouldLogVerbose } from "./registry
|
|
2
|
-
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime, x as readLocalFileSafely, y as SafeOpenError } from "./image-ops-
|
|
3
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-
|
|
4
|
-
import { a as chunkText } from "./chunk-
|
|
1
|
+
import { K as logVerbose, P as resolveUserPath, Y as shouldLogVerbose } from "./registry-D0xTnUWt.js";
|
|
2
|
+
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime, x as readLocalFileSafely, y as SafeOpenError } from "./image-ops-BlQR__MN.js";
|
|
3
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-BHLNSI8U.js";
|
|
4
|
+
import { a as chunkText } from "./chunk-Dw2XBYXv.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as resolveStateDir } from "./paths-DR2yt_mP.js";
|
|
2
2
|
import { t as bindAbortRelay } from "./fetch-timeout-ChYuW7LE.js";
|
|
3
|
-
import { ut as resolvePreferredSymiTmpDir } from "./registry
|
|
4
|
-
import { j as logWarn, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
3
|
+
import { ut as resolvePreferredSymiTmpDir } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import { j as logWarn, s as resolveAgentWorkspaceDir } from "./agent-scope-CYYpcO9W.js";
|
|
5
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-BlQR__MN.js";
|
|
6
6
|
import { n as closeDispatcher, r as createPinnedDispatcher, s as resolvePinnedHostnameWithPolicy, t as SsrFBlockedError } from "./ssrf-DKZ8eBrk.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as logoutWeb, r as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { U as danger, W as info, X as success } from "./registry
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { i as defaultRuntime } from "./subsystem-
|
|
6
|
-
import { t as formatCliCommand } from "./command-format-
|
|
7
|
-
import { A as logInfo } from "./agent-scope-
|
|
8
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
2
|
+
import { c as logoutWeb, r as resolveWhatsAppAccount } from "./accounts-Ddm33hQm.js";
|
|
3
|
+
import { U as danger, W as info, X as success } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import { n as loadConfig } from "./config-KlTNfkFF.js";
|
|
5
|
+
import { i as defaultRuntime } from "./subsystem-B2uDN3TV.js";
|
|
6
|
+
import { t as formatCliCommand } from "./command-format-GKSevep4.js";
|
|
7
|
+
import { A as logInfo } from "./agent-scope-CYYpcO9W.js";
|
|
8
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-BsOrxiMj.js";
|
|
9
9
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
10
10
|
|
|
11
11
|
//#region src/web/login.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, r as resolveWhatsAppAccount } from "./accounts-
|
|
1
|
+
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, r as resolveWhatsAppAccount } from "./accounts-Ddm33hQm.js";
|
|
2
2
|
import "./paths-DR2yt_mP.js";
|
|
3
3
|
import "./github-copilot-token-D9X2phUj.js";
|
|
4
|
-
import { U as danger, W as info, X as success } from "./registry
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
6
|
-
import { i as defaultRuntime } from "./subsystem-
|
|
7
|
-
import "./command-format-
|
|
8
|
-
import "./model-selection-
|
|
9
|
-
import { A as logInfo } from "./agent-scope-
|
|
10
|
-
import "./manifest-registry-
|
|
11
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
4
|
+
import { U as danger, W as info, X as success } from "./registry-D0xTnUWt.js";
|
|
5
|
+
import { n as loadConfig } from "./config-KlTNfkFF.js";
|
|
6
|
+
import { i as defaultRuntime } from "./subsystem-B2uDN3TV.js";
|
|
7
|
+
import "./command-format-GKSevep4.js";
|
|
8
|
+
import "./model-selection-CsbEfrS0.js";
|
|
9
|
+
import { A as logInfo } from "./agent-scope-CYYpcO9W.js";
|
|
10
|
+
import "./manifest-registry-CPnHl_K3.js";
|
|
11
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BsOrxiMj.js";
|
|
12
12
|
import { randomUUID } from "node:crypto";
|
|
13
13
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
14
14
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-DR2yt_mP.js";
|
|
3
|
-
import { C as clampNumber, P as resolveUserPath, S as clampInt, V as truncateUtf16Safe } from "./registry
|
|
4
|
-
import { n as retryAsync } from "./retry-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
7
|
-
import { T as resolveApiKeyForProvider, w as requireApiKey } from "./model-selection-
|
|
8
|
-
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { C as clampNumber, P as resolveUserPath, S as clampInt, V as truncateUtf16Safe } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import { n as retryAsync } from "./retry-CwQ_iIj8.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
6
|
+
import { r as isTruthyEnvValue } from "./command-format-GKSevep4.js";
|
|
7
|
+
import { T as resolveApiKeyForProvider, w as requireApiKey } from "./model-selection-CsbEfrS0.js";
|
|
8
|
+
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-CYYpcO9W.js";
|
|
9
9
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
10
10
|
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-A0xdf3yk.js";
|
|
11
11
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-x1D4Vniz.js";
|
|
12
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
13
|
-
import { _ as statRegularFile, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as isFileMissingError, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath } from "./sqlite-
|
|
12
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-D_sMvI5W.js";
|
|
13
|
+
import { _ as statRegularFile, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as isFileMissingError, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath } from "./sqlite-CxAR5ttJ.js";
|
|
14
14
|
import fs from "node:fs";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import os from "node:os";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as isRecord, M as resolveConfigDir, P as resolveUserPath } from "./registry
|
|
1
|
+
import { D as isRecord, M as resolveConfigDir, P as resolveUserPath } from "./registry-D0xTnUWt.js";
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-BNByVCIH.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry
|
|
1
|
+
import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-D0xTnUWt.js";
|
|
2
2
|
|
|
3
3
|
//#region src/gateway/protocol/client-info.ts
|
|
4
4
|
const GATEWAY_CLIENT_IDS = {
|
|
@@ -2,10 +2,10 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { t as DEFAULT_AGENT_ID } from "./session-key-C_0eELjb.js";
|
|
3
3
|
import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-DR2yt_mP.js";
|
|
4
4
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-D9X2phUj.js";
|
|
5
|
-
import { P as resolveUserPath } from "./registry
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-
|
|
5
|
+
import { P as resolveUserPath } from "./registry-D0xTnUWt.js";
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
7
|
+
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-GKSevep4.js";
|
|
8
|
+
import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-CYYpcO9W.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { B as toWhatsappJid, T as escapeRegExp, tt as getChildLogger } from "./registry
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { B as toWhatsappJid, T as escapeRegExp, tt as getChildLogger } from "./registry-D0xTnUWt.js";
|
|
3
|
+
import { n as loadConfig } from "./config-KlTNfkFF.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
5
5
|
import { n as normalizePollInput } from "./polls-3WJMd-G-.js";
|
|
6
|
-
import { a as loadWebMedia } from "./ir-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
9
|
-
import { n as requireActiveWebListener } from "./active-listener-
|
|
6
|
+
import { a as loadWebMedia } from "./ir-BJ6BHE5b.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BoYFajMu.js";
|
|
8
|
+
import { t as convertMarkdownTables } from "./tables-DNwXwNFa.js";
|
|
9
|
+
import { n as requireActiveWebListener } from "./active-listener-BXYeALs0.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/markdown/whatsapp.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as loadWebMedia } from "./ir-
|
|
2
|
-
import { i as saveMediaBuffer } from "./store-
|
|
1
|
+
import { a as loadWebMedia } from "./ir-BJ6BHE5b.js";
|
|
2
|
+
import { i as saveMediaBuffer } from "./store-BdrNabcU.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/outbound-attachment.ts
|
|
5
5
|
async function resolveOutboundAttachmentFromUrl(mediaUrl, maxBytes, options) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./paths-DR2yt_mP.js";
|
|
2
2
|
import "./github-copilot-token-D9X2phUj.js";
|
|
3
|
-
import "./registry
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./command-format-
|
|
6
|
-
import { R as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-
|
|
7
|
-
import "./agent-scope-
|
|
3
|
+
import "./registry-D0xTnUWt.js";
|
|
4
|
+
import "./subsystem-B2uDN3TV.js";
|
|
5
|
+
import "./command-format-GKSevep4.js";
|
|
6
|
+
import { R as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-CsbEfrS0.js";
|
|
7
|
+
import "./agent-scope-CYYpcO9W.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { c as normalizeMainKey, l as resolveAgentIdFromSessionKey, m as normalizeOptionalAccountId, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { i as resolveGatewayPort, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-DR2yt_mP.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
4
|
-
import { A as normalizeE164, P as resolveUserPath, V as truncateUtf16Safe, t as CHANNEL_IDS, ut as resolvePreferredSymiTmpDir } from "./registry
|
|
5
|
-
import { R as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-
|
|
6
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { i as parseBooleanValue, t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { U as resolveProcessScopedMap, W as isPidAlive } from "./model-selection-
|
|
9
|
-
import { E as runExec, _ as DEFAULT_SYMIPULSE_FILENAME, b as ensureAgentWorkspace, f as DEFAULT_AGENTS_FILENAME, g as DEFAULT_SYMICORE_FILENAME, h as DEFAULT_IDENTITY_FILENAME, m as DEFAULT_BOOTSTRAP_FILENAME, n as resolveAgentConfig, p as DEFAULT_AGENT_WORKSPACE_DIR, u as resolveSessionAgentId, v as DEFAULT_TOOLS_FILENAME, y as DEFAULT_USER_FILENAME } from "./agent-scope-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-BNByVCIH.js";
|
|
4
|
+
import { A as normalizeE164, P as resolveUserPath, V as truncateUtf16Safe, t as CHANNEL_IDS, ut as resolvePreferredSymiTmpDir } from "./registry-D0xTnUWt.js";
|
|
5
|
+
import { R as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-KlTNfkFF.js";
|
|
6
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
7
|
+
import { i as parseBooleanValue, t as formatCliCommand } from "./command-format-GKSevep4.js";
|
|
8
|
+
import { U as resolveProcessScopedMap, W as isPidAlive } from "./model-selection-CsbEfrS0.js";
|
|
9
|
+
import { E as runExec, _ as DEFAULT_SYMIPULSE_FILENAME, b as ensureAgentWorkspace, f as DEFAULT_AGENTS_FILENAME, g as DEFAULT_SYMICORE_FILENAME, h as DEFAULT_IDENTITY_FILENAME, m as DEFAULT_BOOTSTRAP_FILENAME, n as resolveAgentConfig, p as DEFAULT_AGENT_WORKSPACE_DIR, u as resolveSessionAgentId, v as DEFAULT_TOOLS_FILENAME, y as DEFAULT_USER_FILENAME } from "./agent-scope-CYYpcO9W.js";
|
|
10
10
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-Bv8oZiTO.js";
|
|
11
|
-
import { b as openFileWithinRoot, i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS, y as SafeOpenError } from "./image-ops-
|
|
11
|
+
import { b as openFileWithinRoot, i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS, y as SafeOpenError } from "./image-ops-BlQR__MN.js";
|
|
12
12
|
import { t as SsrFBlockedError } from "./ssrf-DKZ8eBrk.js";
|
|
13
|
-
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-
|
|
13
|
+
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-COTAJzHd.js";
|
|
14
14
|
import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
|
|
15
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
16
|
-
import { a as syncSkillsToWorkspace, h as safeEqualSecret, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
17
|
-
import { A as DEFAULT_SYMI_BROWSER_PROFILE_NAME, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_SYMI_BROWSER_COLOR, S as stopChromeExtensionRelayServer, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as isLoopbackHost, k as DEFAULT_SYMI_BROWSER_ENABLED, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
18
|
-
import { A as normalizeHyphenSlug, d as getChannelDock, o as normalizeThinkLevel } from "./thinking-
|
|
15
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-HJ2sfZDV.js";
|
|
16
|
+
import { a as syncSkillsToWorkspace, h as safeEqualSecret, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-_yTP47Cd.js";
|
|
17
|
+
import { A as DEFAULT_SYMI_BROWSER_PROFILE_NAME, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_SYMI_BROWSER_COLOR, S as stopChromeExtensionRelayServer, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as isLoopbackHost, k as DEFAULT_SYMI_BROWSER_ENABLED, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-B7RdxmJ0.js";
|
|
18
|
+
import { A as normalizeHyphenSlug, d as getChannelDock, o as normalizeThinkLevel } from "./thinking-CXqf7WTe.js";
|
|
19
19
|
import { n as resolveConversationLabel } from "./conversation-label-yNSj43Jt.js";
|
|
20
20
|
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-A0xdf3yk.js";
|
|
21
21
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-x1D4Vniz.js";
|
|
22
|
-
import { i as saveMediaBuffer, t as ensureMediaDir } from "./store-
|
|
22
|
+
import { i as saveMediaBuffer, t as ensureMediaDir } from "./store-BdrNabcU.js";
|
|
23
23
|
import fs, { existsSync, realpathSync } from "node:fs";
|
|
24
24
|
import path, { posix } from "node:path";
|
|
25
25
|
import os from "node:os";
|
|
@@ -2538,7 +2538,7 @@ function isModuleNotFoundError(err) {
|
|
|
2538
2538
|
}
|
|
2539
2539
|
async function loadPwAiModule(mode) {
|
|
2540
2540
|
try {
|
|
2541
|
-
return await import("./pw-ai-
|
|
2541
|
+
return await import("./pw-ai-CnbPIPY9.js");
|
|
2542
2542
|
} catch (err) {
|
|
2543
2543
|
if (mode === "soft") return null;
|
|
2544
2544
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -5078,11 +5078,11 @@ function createProfileContext(opts, profile) {
|
|
|
5078
5078
|
const userDataDir = resolveSymiUserDataDir(profile.name);
|
|
5079
5079
|
const profileState = getProfileState();
|
|
5080
5080
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
5081
|
-
await (await import("./pw-ai-
|
|
5081
|
+
await (await import("./pw-ai-CnbPIPY9.js")).closePlaywrightBrowserConnection();
|
|
5082
5082
|
} catch {}
|
|
5083
5083
|
if (profileState.running) await stopRunningBrowser();
|
|
5084
5084
|
try {
|
|
5085
|
-
await (await import("./pw-ai-
|
|
5085
|
+
await (await import("./pw-ai-CnbPIPY9.js")).closePlaywrightBrowserConnection();
|
|
5086
5086
|
} catch {}
|
|
5087
5087
|
if (!fs.existsSync(userDataDir)) return {
|
|
5088
5088
|
moved: false,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { _ as createAccountListHelpers, r as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { A as normalizeE164, a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry
|
|
4
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
2
|
+
import { _ as createAccountListHelpers, r as resolveWhatsAppAccount } from "./accounts-Ddm33hQm.js";
|
|
3
|
+
import { A as normalizeE164, a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import { r as isTruthyEnvValue } from "./command-format-GKSevep4.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
|
|
6
|
-
import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-
|
|
6
|
+
import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-C7hRtgYW.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
|
|
9
9
|
//#region src/channels/targets.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "./paths-DR2yt_mP.js";
|
|
2
2
|
import "./github-copilot-token-D9X2phUj.js";
|
|
3
|
-
import { ut as resolvePreferredSymiTmpDir } from "./registry
|
|
4
|
-
import "./config-
|
|
5
|
-
import "./subsystem-
|
|
6
|
-
import { t as formatCliCommand } from "./command-format-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import "./agent-scope-
|
|
9
|
-
import "./manifest-registry-
|
|
3
|
+
import { ut as resolvePreferredSymiTmpDir } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import "./config-KlTNfkFF.js";
|
|
5
|
+
import "./subsystem-B2uDN3TV.js";
|
|
6
|
+
import { t as formatCliCommand } from "./command-format-GKSevep4.js";
|
|
7
|
+
import "./model-selection-CsbEfrS0.js";
|
|
8
|
+
import "./agent-scope-CYYpcO9W.js";
|
|
9
|
+
import "./manifest-registry-CPnHl_K3.js";
|
|
10
10
|
import "./redact-DPnDWsnT.js";
|
|
11
11
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
12
12
|
import "./ssrf-DKZ8eBrk.js";
|
|
13
|
-
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-
|
|
13
|
+
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-B7RdxmJ0.js";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import crypto from "node:crypto";
|
|
16
16
|
import fs from "node:fs/promises";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { y as parseAgentSessionKey } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-DR2yt_mP.js";
|
|
3
|
-
import "./registry
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import "./registry-D0xTnUWt.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
5
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-CYYpcO9W.js";
|
|
6
6
|
import "./redact-DPnDWsnT.js";
|
|
7
7
|
import "./paths-A0xdf3yk.js";
|
|
8
|
-
import { _ as statRegularFile, g as isFileMissingError, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-
|
|
8
|
+
import { _ as statRegularFile, g as isFileMissingError, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-CxAR5ttJ.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import { spawn } from "node:child_process";
|