squidclaw 3.0.21 → 3.0.22
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/{audio-preflight-BUCBED7N.js → audio-preflight-xfe9w6_6.js} +4 -4
- package/dist/{audio-transcription-runner-Cv0Q47cM.js → audio-transcription-runner-CqKnvAJf.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{chrome-OgCChbC_.js → chrome-x5E5XzEB.js} +8 -8
- package/dist/{deliver-DMTUTpTM.js → deliver-h7T-Od1d.js} +1 -1
- package/dist/{deliver-runtime-B80olQwJ.js → deliver-runtime-BKO22_He.js} +3 -3
- package/dist/{deps-send-whatsapp.runtime-4aOUBP2J.js → deps-send-whatsapp.runtime-DIdFPzJE.js} +7 -7
- package/dist/{image-kKMG59st.js → image-Cepp_eYU.js} +1 -1
- package/dist/{image-runtime-BqIv7p_K.js → image-runtime-BTfDy-um.js} +3 -3
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{pi-embedded-BiC4tIJ8.js → pi-embedded-BjRmfjDB.js} +24 -24
- package/dist/{pi-embedded-helpers-Di58J7Eh.js → pi-embedded-helpers-BvJVQtA3.js} +3 -3
- package/dist/plugin-sdk/{accounts-C5PAuCTj.js → accounts-0kF5cxkn.js} +2 -2
- package/dist/plugin-sdk/{accounts-DC5cbH9r.js → accounts-u0-JAHzj.js} +2 -2
- package/dist/plugin-sdk/{accounts-DncG0Hx9.js → accounts-xZOA23tQ.js} +3 -3
- package/dist/plugin-sdk/{active-listener-Bd3HH2km.js → active-listener-C5xPUSTb.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-BAZ0GD26.js → api-key-rotation-DyjMI2n3.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-tpVm-t9O.js → audio-preflight-C0q7lu6y.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-DSScb434.js → audio-transcription-runner-Ced47O1H.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-DHQDvH4u.js → audit-membership-runtime-Xl20kCBe.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-cYEaofTH.js → channel-activity-CNffKOEQ.js} +3 -3
- package/dist/plugin-sdk/{channel-web-CbeCrQ4C.js → channel-web-Sj8reff_.js} +18 -18
- package/dist/plugin-sdk/{chrome-DB2h0uN0.js → chrome-DJQWo149.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-DGZ1oFXJ.js → commands-registry-_kBPE22q.js} +4 -4
- package/dist/plugin-sdk/{common-D5lLWoCW.js → common-J8vIST9Q.js} +2 -2
- package/dist/plugin-sdk/{config-Bt-c7PWF.js → config-CnZ1TlEw.js} +7 -7
- package/dist/plugin-sdk/{deliver-MvrkIeKJ.js → deliver-Xh6voz9H.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-5UVcSskg.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-DTspXSCt.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-qThAwDEe.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-DnjnVzZF.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-CbKevLnv.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-C6y29O9E.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-BpMl725h.js +57 -0
- package/dist/plugin-sdk/{diagnostic-B6F3BtCX.js → diagnostic-DKsyROPi.js} +2 -2
- package/dist/plugin-sdk/{errors-9oVz7reJ.js → errors-CgRPdp3o.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-cfPCfkrw.js → fetch-guard-BBAT8G-1.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DFbwq9CS.js → fs-safe-DqCO1D4C.js} +3 -3
- package/dist/plugin-sdk/{image-FK5xhY5u.js → image-4ay2cw7G.js} +6 -6
- package/dist/plugin-sdk/{image-ops-BSYgrL7E.js → image-ops-G8KoEfY8.js} +2 -2
- package/dist/plugin-sdk/image-runtime-CpfepTDc.js +25 -0
- package/dist/plugin-sdk/{ir-CWmryq5f.js → ir-DXj1KGnL.js} +7 -7
- package/dist/plugin-sdk/{local-roots-U25IdeDH.js → local-roots-ovKHgVSP.js} +4 -4
- package/dist/plugin-sdk/{logger-Bg4vIUJn.js → logger-DIb2cGHp.js} +2 -2
- package/dist/plugin-sdk/{login-8qzl2H7G.js → login-Cgtm70by.js} +4 -4
- package/dist/plugin-sdk/{login-qr-kalCTJEw.js → login-qr-BrixqhMx.js} +5 -5
- package/dist/plugin-sdk/{manager-ijYHktIt.js → manager-PEQ_cPYF.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-BmgTeb5G.js +15 -0
- package/dist/plugin-sdk/{outbound-BIVf0aPq.js → outbound-BK75h9CQ.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-F5tzeNUD.js → outbound-attachment-BI1QngTS.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-DA0MhfkG.js → path-alias-guards-TnxupPQC.js} +1 -1
- package/dist/plugin-sdk/{paths-CP67O8eN.js → paths-B7_75Pdr.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CxMnPQ37.js → pi-embedded-helpers-BioULNev.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-8OL77kCh.js → pi-model-discovery-BMmAbnil.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-COnuGwZt.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-B7FW36KX.js → pi-tools.before-tool-call.runtime-rdRqZ9lk.js} +4 -4
- package/dist/plugin-sdk/{plugins-D3mrhffi.js → plugins-BqKpJkqt.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-CUUXO6rv.js → proxy-env-C4s12rr8.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-Cf3IUSDw.js → proxy-fetch-Dt5BedH8.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-dPmKdw_w.js → pw-ai-Cb0ZDSq4.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-Ov9ElEfG.js → qmd-manager-Bei6TaFq.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-CzjwW461.js → query-expansion-POz2za8a.js} +4 -4
- package/dist/plugin-sdk/{redact-DfACyt0X.js → redact-9WsNyb7S.js} +1 -1
- package/dist/plugin-sdk/{reply-Dfjh1YtV.js → reply-C_eN3l25.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-BeIB_jm0.js → resolve-outbound-target-DL1adXpk.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-kVooFCVo.js → run-with-concurrency-DmTrN5JG.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-99sCh8RG.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-dTkDaXHl.js +19 -0
- package/dist/plugin-sdk/{send-CgkNzAhS.js → send-BCVXt-3e.js} +8 -8
- package/dist/plugin-sdk/{send-DV5kR0Hg.js → send-BNePC8CO.js} +6 -6
- package/dist/plugin-sdk/{send-CuENGOhq.js → send-CAG0Or0G.js} +7 -7
- package/dist/plugin-sdk/{send-DtA6ngBJ.js → send-DhGDAZnT.js} +13 -13
- package/dist/plugin-sdk/{send-D6Uh2D1D.js → send-X6QuS7x0.js} +5 -5
- package/dist/plugin-sdk/{session-CnlZn-bR.js → session-CAqYQVhe.js} +3 -3
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/{skill-commands-Ckfii7h8.js → skill-commands-Bk-IFyNw.js} +4 -4
- package/dist/plugin-sdk/{skills-v0WQqKTa.js → skills-C5bT9-q4.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-EAZKpRKq.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-BpWhUY9B.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-DGd_JSWX.js +16 -0
- package/dist/plugin-sdk/{store-C_UrNuM3.js → store-D3lgWnS2.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-TEkOfcqG.js +52 -0
- package/dist/plugin-sdk/{tables-CJP05iMa.js → tables-Dmlu4_q_.js} +1 -1
- package/dist/plugin-sdk/{thinking-BhP3vn1l.js → thinking-DRNOh5Xx.js} +7 -7
- package/dist/plugin-sdk/{tokens-DAL_5WHL.js → tokens-CLE20fRI.js} +1 -1
- package/dist/plugin-sdk/{tool-images-ZE5G5UM0.js → tool-images-BY1gsRyE.js} +2 -2
- package/dist/plugin-sdk/web-CmLgZUIO.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-DJmx6ihj.js → whatsapp-actions-BCJYmWCB.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{pw-ai-B8ymIYub.js → pw-ai-DOeiV3Pj.js} +1 -1
- package/dist/{slash-dispatch.runtime-SO7HOe8q.js → slash-dispatch.runtime-CYsywpzU.js} +6 -6
- package/dist/{subagent-registry-runtime-D2rUxU5J.js → subagent-registry-runtime-DS-c6Duv.js} +6 -6
- package/dist/{web-QsxgXbNK.js → web-sFV1riEV.js} +6 -6
- package/docs/reference/templates/IDENTITY.md +14 -0
- package/package.json +1 -1
- package/dist/plugin-sdk/deliver-runtime-i50kjcNM.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-hOYq9ov0.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-D5n9DXyL.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-CwEaRyJU.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-DOZeLIaC.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-BW1hSPKh.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-JKmTtCFM.js +0 -57
- package/dist/plugin-sdk/image-runtime-B95EPFpg.js +0 -25
- package/dist/plugin-sdk/manager-runtime--JrLQE03.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-DGRFpUfd.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-B6EcC22F.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DH8J0Ie7.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-BYoxsxkX.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-JfFr7bNy.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-D0399tia.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-DVl5xKOW.js +0 -52
- package/dist/plugin-sdk/web-CNY_ky8h.js +0 -56
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ht as normalizeProviderId } from "./config-
|
|
2
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { Ht as normalizeProviderId } from "./config-CnZ1TlEw.js";
|
|
2
|
+
import { r as formatErrorMessage } from "./errors-CgRPdp3o.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/gemini-auth.ts
|
|
5
5
|
/**
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./config-
|
|
3
|
-
import { L as logVerbose, z as shouldLogVerbose } from "./logger-
|
|
1
|
+
import "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import "./config-CnZ1TlEw.js";
|
|
3
|
+
import { L as logVerbose, z as shouldLogVerbose } from "./logger-DIb2cGHp.js";
|
|
4
4
|
import "./paths-Duwviem_.js";
|
|
5
|
-
import "./accounts-
|
|
6
|
-
import "./plugins-
|
|
7
|
-
import "./thinking-
|
|
8
|
-
import "./accounts-
|
|
9
|
-
import "./image-ops-
|
|
10
|
-
import "./pi-embedded-helpers-
|
|
11
|
-
import "./accounts-
|
|
5
|
+
import "./accounts-xZOA23tQ.js";
|
|
6
|
+
import "./plugins-BqKpJkqt.js";
|
|
7
|
+
import "./thinking-DRNOh5Xx.js";
|
|
8
|
+
import "./accounts-0kF5cxkn.js";
|
|
9
|
+
import "./image-ops-G8KoEfY8.js";
|
|
10
|
+
import "./pi-embedded-helpers-BioULNev.js";
|
|
11
|
+
import "./accounts-u0-JAHzj.js";
|
|
12
12
|
import "./github-copilot-token-C0y6vp3r.js";
|
|
13
|
-
import "./paths-
|
|
14
|
-
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
15
|
-
import "./image-
|
|
16
|
-
import "./chrome-
|
|
17
|
-
import "./skills-
|
|
18
|
-
import "./path-alias-guards-
|
|
19
|
-
import "./redact-
|
|
20
|
-
import "./errors-
|
|
21
|
-
import "./fs-safe-
|
|
22
|
-
import "./proxy-env-
|
|
23
|
-
import "./store-
|
|
24
|
-
import "./tool-images-
|
|
25
|
-
import "./fetch-guard-
|
|
26
|
-
import "./api-key-rotation-
|
|
27
|
-
import "./local-roots-
|
|
28
|
-
import "./proxy-fetch-
|
|
13
|
+
import "./paths-B7_75Pdr.js";
|
|
14
|
+
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-Ced47O1H.js";
|
|
15
|
+
import "./image-4ay2cw7G.js";
|
|
16
|
+
import "./chrome-DJQWo149.js";
|
|
17
|
+
import "./skills-C5bT9-q4.js";
|
|
18
|
+
import "./path-alias-guards-TnxupPQC.js";
|
|
19
|
+
import "./redact-9WsNyb7S.js";
|
|
20
|
+
import "./errors-CgRPdp3o.js";
|
|
21
|
+
import "./fs-safe-DqCO1D4C.js";
|
|
22
|
+
import "./proxy-env-C4s12rr8.js";
|
|
23
|
+
import "./store-D3lgWnS2.js";
|
|
24
|
+
import "./tool-images-BY1gsRyE.js";
|
|
25
|
+
import "./fetch-guard-BBAT8G-1.js";
|
|
26
|
+
import "./api-key-rotation-DyjMI2n3.js";
|
|
27
|
+
import "./local-roots-ovKHgVSP.js";
|
|
28
|
+
import "./proxy-fetch-Dt5BedH8.js";
|
|
29
29
|
|
|
30
30
|
//#region src/media-understanding/audio-preflight.ts
|
|
31
31
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { O as runExec, U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-
|
|
2
|
-
import { Fn as resolveSquidClawAgentDir, Ht as normalizeProviderId, Yt as normalizeGoogleModelId, dn as resolveApiKeyForProvider, f as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, h as resolveIMessageAttachmentRoots, m as mergeInboundPathRoots, n as loadConfig, p as isInboundPathAllowed, un as requireApiKey } from "./config-
|
|
3
|
-
import { L as logVerbose, O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, z as shouldLogVerbose } from "./logger-
|
|
4
|
-
import { _ as normalizeChatType } from "./plugins-
|
|
5
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
6
|
-
import { C as ensureSquidClawModelsJson, t as describeImageWithModel } from "./image-
|
|
1
|
+
import { O as runExec, U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import { Fn as resolveSquidClawAgentDir, Ht as normalizeProviderId, Yt as normalizeGoogleModelId, dn as resolveApiKeyForProvider, f as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, h as resolveIMessageAttachmentRoots, m as mergeInboundPathRoots, n as loadConfig, p as isInboundPathAllowed, un as requireApiKey } from "./config-CnZ1TlEw.js";
|
|
3
|
+
import { L as logVerbose, O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, z as shouldLogVerbose } from "./logger-DIb2cGHp.js";
|
|
4
|
+
import { _ as normalizeChatType } from "./plugins-BqKpJkqt.js";
|
|
5
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-G8KoEfY8.js";
|
|
6
|
+
import { C as ensureSquidClawModelsJson, t as describeImageWithModel } from "./image-4ay2cw7G.js";
|
|
7
7
|
import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
|
|
8
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
9
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
10
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-
|
|
11
|
-
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-
|
|
8
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BBAT8G-1.js";
|
|
9
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DyjMI2n3.js";
|
|
10
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-ovKHgVSP.js";
|
|
11
|
+
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-Dt5BedH8.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import { constants } from "node:fs";
|
|
14
14
|
import os from "node:os";
|
|
@@ -990,7 +990,7 @@ var MediaAttachmentCache = class {
|
|
|
990
990
|
const log = createSubsystemLogger("model-catalog");
|
|
991
991
|
let modelCatalogPromise = null;
|
|
992
992
|
let hasLoggedModelCatalogError = false;
|
|
993
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
993
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-BMmAbnil.js").then((n) => n.r);
|
|
994
994
|
let importPiSdk = defaultImportPiSdk;
|
|
995
995
|
const CODEX_PROVIDER = "openai-codex";
|
|
996
996
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as isRecord } from "./logger-
|
|
1
|
+
import { f as isRecord } from "./logger-DIb2cGHp.js";
|
|
2
2
|
import "./paths-Duwviem_.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
|
|
4
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
4
|
+
import { t as makeProxyFetch } from "./proxy-fetch-Dt5BedH8.js";
|
|
5
5
|
import "./proxy-BOZmkV9K.js";
|
|
6
6
|
|
|
7
7
|
//#region src/telegram/audit-membership-runtime.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { en as resolveRetryConfig, tn as retryAsync } from "./config-
|
|
2
|
-
import { O as createSubsystemLogger } from "./logger-
|
|
3
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { en as resolveRetryConfig, tn as retryAsync } from "./config-CnZ1TlEw.js";
|
|
2
|
+
import { O as createSubsystemLogger } from "./logger-DIb2cGHp.js";
|
|
3
|
+
import { r as formatErrorMessage } from "./errors-CgRPdp3o.js";
|
|
4
4
|
import { RateLimitError } from "@buape/carbon";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/retry-policy.ts
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { $ as normalizeAgentId, J as buildAgentMainSessionKey, X as buildGroupHistoryKey, at as DEFAULT_ACCOUNT_ID, q as DEFAULT_MAIN_KEY } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand, n as loadConfig, ur as normalizeChatChannelId } from "./config-
|
|
3
|
-
import { C as sleep, G as getChildLogger, L as logVerbose, O as createSubsystemLogger, T as toWhatsappJid, h as normalizeE164, j as defaultRuntime, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164, z as shouldLogVerbose } from "./logger-
|
|
4
|
-
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-
|
|
5
|
-
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy } from "./thinking-
|
|
6
|
-
import { A as shouldComputeCommandAuthorized, B as formatDurationPrecise, C as createInboundDebouncer, D as buildAgentSessionKey, E as createDedupeCache, G as resolveOpenProviderRuntimeGroupPolicy, H as finalizeInboundContext, I as resolveIdentityNamePrefix, K as warnMissingProviderGroupPolicyFallbackOnce, L as resolveMessagePrefix, O as resolveAgentRoute, R as buildMentionRegexes, T as formatInboundEnvelope, V as enqueueSystemEvent, W as resolveDefaultGroupPolicy, _ as resolveDmGroupAccessWithCommandGate, a as parseActivationCommand, b as shouldAckReactionForWhatsApp, c as computeBackoff, d as buildPairingReply, f as resolveMentionGating, g as readStoreAllowFromForDmPolicy, h as recordPendingHistoryEntryIfEnabled, i as normalizeGroupActivation, k as hasControlCommand, l as sleepWithAbort, m as buildHistoryContextFromEntries, p as DEFAULT_GROUP_HISTORY_LIMIT, s as resolveInboundSessionEnvelopeContext, t as getReplyFromConfig, u as createReplyPrefixOptions, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as normalizeMentionText } from "./reply-
|
|
7
|
-
import { _t as loadSessionStore, bt as updateLastRoute, in as resolveGroupSessionKey, yt as recordSessionMetaFromInbound } from "./pi-embedded-helpers-
|
|
8
|
-
import { s as resolveStorePath } from "./paths-
|
|
9
|
-
import { X as toLocationContext, Y as formatLocationText, et as readChannelAllowFromStoreSync, nt as upsertChannelPairingRequest } from "./send-
|
|
10
|
-
import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
11
|
-
import { i as saveMediaBuffer } from "./store-
|
|
12
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
13
|
-
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-
|
|
14
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
15
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
16
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
17
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
18
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
1
|
+
import { $ as normalizeAgentId, J as buildAgentMainSessionKey, X as buildGroupHistoryKey, at as DEFAULT_ACCOUNT_ID, q as DEFAULT_MAIN_KEY } from "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import { Tr as formatCliCommand, n as loadConfig, ur as normalizeChatChannelId } from "./config-CnZ1TlEw.js";
|
|
3
|
+
import { C as sleep, G as getChildLogger, L as logVerbose, O as createSubsystemLogger, T as toWhatsappJid, h as normalizeE164, j as defaultRuntime, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164, z as shouldLogVerbose } from "./logger-DIb2cGHp.js";
|
|
4
|
+
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-xZOA23tQ.js";
|
|
5
|
+
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy } from "./thinking-DRNOh5Xx.js";
|
|
6
|
+
import { A as shouldComputeCommandAuthorized, B as formatDurationPrecise, C as createInboundDebouncer, D as buildAgentSessionKey, E as createDedupeCache, G as resolveOpenProviderRuntimeGroupPolicy, H as finalizeInboundContext, I as resolveIdentityNamePrefix, K as warnMissingProviderGroupPolicyFallbackOnce, L as resolveMessagePrefix, O as resolveAgentRoute, R as buildMentionRegexes, T as formatInboundEnvelope, V as enqueueSystemEvent, W as resolveDefaultGroupPolicy, _ as resolveDmGroupAccessWithCommandGate, a as parseActivationCommand, b as shouldAckReactionForWhatsApp, c as computeBackoff, d as buildPairingReply, f as resolveMentionGating, g as readStoreAllowFromForDmPolicy, h as recordPendingHistoryEntryIfEnabled, i as normalizeGroupActivation, k as hasControlCommand, l as sleepWithAbort, m as buildHistoryContextFromEntries, p as DEFAULT_GROUP_HISTORY_LIMIT, s as resolveInboundSessionEnvelopeContext, t as getReplyFromConfig, u as createReplyPrefixOptions, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as normalizeMentionText } from "./reply-C_eN3l25.js";
|
|
7
|
+
import { _t as loadSessionStore, bt as updateLastRoute, in as resolveGroupSessionKey, yt as recordSessionMetaFromInbound } from "./pi-embedded-helpers-BioULNev.js";
|
|
8
|
+
import { s as resolveStorePath } from "./paths-B7_75Pdr.js";
|
|
9
|
+
import { X as toLocationContext, Y as formatLocationText, et as readChannelAllowFromStoreSync, nt as upsertChannelPairingRequest } from "./send-DhGDAZnT.js";
|
|
10
|
+
import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-Ced47O1H.js";
|
|
11
|
+
import { i as saveMediaBuffer } from "./store-D3lgWnS2.js";
|
|
12
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-ovKHgVSP.js";
|
|
13
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-DXj1KGnL.js";
|
|
14
|
+
import { n as recordChannelActivity } from "./channel-activity-CNffKOEQ.js";
|
|
15
|
+
import { t as convertMarkdownTables } from "./tables-Dmlu4_q_.js";
|
|
16
|
+
import { r as setActiveWebListener } from "./active-listener-C5xPUSTb.js";
|
|
17
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-BK75h9CQ.js";
|
|
18
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-CAqYQVhe.js";
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
20
20
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
21
21
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { R as isNotFoundPathError, z as isPathInside } from "./run-with-concurrency-
|
|
2
|
-
import { A as normalizeIpAddress, O as isLoopbackIpAddress, k as isPrivateOrLoopbackIpAddress, n as loadConfig } from "./config-
|
|
3
|
-
import { O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, a as CONFIG_DIR } from "./logger-
|
|
4
|
-
import { a as isErrno } from "./errors-
|
|
5
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
6
|
-
import { o as isPrivateNetworkAllowedByPolicy, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { R as isNotFoundPathError, z as isPathInside } from "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import { A as normalizeIpAddress, O as isLoopbackIpAddress, k as isPrivateOrLoopbackIpAddress, n as loadConfig } from "./config-CnZ1TlEw.js";
|
|
3
|
+
import { O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, a as CONFIG_DIR } from "./logger-DIb2cGHp.js";
|
|
4
|
+
import { a as isErrno } from "./errors-CgRPdp3o.js";
|
|
5
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-DqCO1D4C.js";
|
|
6
|
+
import { o as isPrivateNetworkAllowedByPolicy, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-C4s12rr8.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Gn as DEFAULT_MODEL, Kn as DEFAULT_PROVIDER, Ut as resolveConfiguredModelRef, dr as getActivePluginRegistry } from "./config-
|
|
2
|
-
import { D as isPlainObject, u as escapeRegExp } from "./logger-
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
4
|
-
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-
|
|
1
|
+
import { Gn as DEFAULT_MODEL, Kn as DEFAULT_PROVIDER, Ut as resolveConfiguredModelRef, dr as getActivePluginRegistry } from "./config-CnZ1TlEw.js";
|
|
2
|
+
import { D as isPlainObject, u as escapeRegExp } from "./logger-DIb2cGHp.js";
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-BqKpJkqt.js";
|
|
4
|
+
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-DRNOh5Xx.js";
|
|
5
5
|
|
|
6
6
|
//#region src/config/commands.ts
|
|
7
7
|
function resolveAutoDefault(providerId) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as detectMime } from "./image-ops-
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
1
|
+
import { c as detectMime } from "./image-ops-G8KoEfY8.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-BY1gsRyE.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/outbound/target-errors.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $ as normalizeAgentId, A as canUseBoundaryFileOpen, G as toAgentModelListLike, K as DEFAULT_AGENT_ID, M as openBoundaryFileSync, O as runExec, W as resolveAgentModelPrimaryValue, c as resolveAgentWorkspaceDir, ct as isBlockedObjectKey, i as resolveAgentConfig, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary, t as runTasksWithConcurrency, z as isPathInside$2 } from "./run-with-concurrency-
|
|
3
|
-
import { C as sleep, D as isPlainObject$2, L as logVerbose, O as createSubsystemLogger, _ as resolveConfigDir, f as isRecord$3, k as stripAnsi, y as resolveUserPath } from "./logger-
|
|
2
|
+
import { $ as normalizeAgentId, A as canUseBoundaryFileOpen, G as toAgentModelListLike, K as DEFAULT_AGENT_ID, M as openBoundaryFileSync, O as runExec, W as resolveAgentModelPrimaryValue, c as resolveAgentWorkspaceDir, ct as isBlockedObjectKey, i as resolveAgentConfig, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary, t as runTasksWithConcurrency, z as isPathInside$2 } from "./run-with-concurrency-DmTrN5JG.js";
|
|
3
|
+
import { C as sleep, D as isPlainObject$2, L as logVerbose, O as createSubsystemLogger, _ as resolveConfigDir, f as isRecord$3, k as stripAnsi, y as resolveUserPath } from "./logger-DIb2cGHp.js";
|
|
4
4
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-Duwviem_.js";
|
|
5
5
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-C0y6vp3r.js";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
10
|
-
import
|
|
10
|
+
import JSON5 from "json5";
|
|
11
11
|
import { isDeepStrictEqual } from "node:util";
|
|
12
12
|
import fs$1 from "node:fs/promises";
|
|
13
13
|
import { execFileSync, spawn } from "node:child_process";
|
|
@@ -8162,7 +8162,7 @@ const defaultResolver = {
|
|
|
8162
8162
|
resolvedPath,
|
|
8163
8163
|
rootRealDir
|
|
8164
8164
|
}),
|
|
8165
|
-
parseJson: (raw) =>
|
|
8165
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
8166
8166
|
};
|
|
8167
8167
|
/**
|
|
8168
8168
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -17370,7 +17370,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
17370
17370
|
function normalizeDeps(overrides = {}) {
|
|
17371
17371
|
return {
|
|
17372
17372
|
fs: overrides.fs ?? fs,
|
|
17373
|
-
json5: overrides.json5 ??
|
|
17373
|
+
json5: overrides.json5 ?? JSON5,
|
|
17374
17374
|
env: overrides.env ?? process.env,
|
|
17375
17375
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
17376
17376
|
configPath: overrides.configPath ?? "",
|
|
@@ -17381,11 +17381,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
17381
17381
|
if (env !== process.env) return;
|
|
17382
17382
|
loadDotEnv({ quiet: true });
|
|
17383
17383
|
}
|
|
17384
|
-
function parseConfigJson5(raw, json5
|
|
17384
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
17385
17385
|
try {
|
|
17386
17386
|
return {
|
|
17387
17387
|
ok: true,
|
|
17388
|
-
parsed: json5
|
|
17388
|
+
parsed: json5.parse(raw)
|
|
17389
17389
|
};
|
|
17390
17390
|
} catch (err) {
|
|
17391
17391
|
return {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { Cr as createInternalHookEvent, dr as getActivePluginRegistry, pr as getActivePluginRegistryVersion, wr as triggerInternalHook } from "./config-
|
|
3
|
-
import { L as logVerbose, O as createSubsystemLogger } from "./logger-
|
|
1
|
+
import { ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import { Cr as createInternalHookEvent, dr as getActivePluginRegistry, pr as getActivePluginRegistryVersion, wr as triggerInternalHook } from "./config-CnZ1TlEw.js";
|
|
3
|
+
import { L as logVerbose, O as createSubsystemLogger } from "./logger-DIb2cGHp.js";
|
|
4
4
|
import { c as resolveStateDir } from "./paths-Duwviem_.js";
|
|
5
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
6
|
-
import { d as getChannelDock } from "./thinking-
|
|
7
|
-
import { Ft as parseInlineDirectives, ht as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, mt as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-
|
|
8
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
5
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BqKpJkqt.js";
|
|
6
|
+
import { d as getChannelDock } from "./thinking-DRNOh5Xx.js";
|
|
7
|
+
import { Ft as parseInlineDirectives, ht as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, mt as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-BioULNev.js";
|
|
8
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-CLE20fRI.js";
|
|
9
9
|
import { n as generateSecureUuid } from "./secure-random-D2mQUJdh.js";
|
|
10
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
10
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-ovKHgVSP.js";
|
|
11
11
|
import { r as parseTelegramTarget } from "./targets-BHZKnwxJ.js";
|
|
12
|
-
import { d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, l as chunkByParagraph, m as resolveChunkMode, s as resolveMarkdownTableMode, v as parseFenceSpans } from "./ir-
|
|
13
|
-
import { c as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
12
|
+
import { d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, l as chunkByParagraph, m as resolveChunkMode, s as resolveMarkdownTableMode, v as parseFenceSpans } from "./ir-DXj1KGnL.js";
|
|
13
|
+
import { c as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-X6QuS7x0.js";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import "./config-CnZ1TlEw.js";
|
|
3
|
+
import "./logger-DIb2cGHp.js";
|
|
4
|
+
import "./paths-Duwviem_.js";
|
|
5
|
+
import "./accounts-xZOA23tQ.js";
|
|
6
|
+
import "./plugins-BqKpJkqt.js";
|
|
7
|
+
import "./thinking-DRNOh5Xx.js";
|
|
8
|
+
import "./accounts-0kF5cxkn.js";
|
|
9
|
+
import "./image-ops-G8KoEfY8.js";
|
|
10
|
+
import "./pi-embedded-helpers-BioULNev.js";
|
|
11
|
+
import "./accounts-u0-JAHzj.js";
|
|
12
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
13
|
+
import "./paths-B7_75Pdr.js";
|
|
14
|
+
import "./tokens-CLE20fRI.js";
|
|
15
|
+
import "./chrome-DJQWo149.js";
|
|
16
|
+
import "./skills-C5bT9-q4.js";
|
|
17
|
+
import "./path-alias-guards-TnxupPQC.js";
|
|
18
|
+
import "./redact-9WsNyb7S.js";
|
|
19
|
+
import "./errors-CgRPdp3o.js";
|
|
20
|
+
import "./fs-safe-DqCO1D4C.js";
|
|
21
|
+
import "./proxy-env-C4s12rr8.js";
|
|
22
|
+
import "./store-D3lgWnS2.js";
|
|
23
|
+
import "./tool-images-BY1gsRyE.js";
|
|
24
|
+
import "./fetch-guard-BBAT8G-1.js";
|
|
25
|
+
import "./local-roots-ovKHgVSP.js";
|
|
26
|
+
import { t as deliverOutboundPayloads } from "./deliver-Xh6voz9H.js";
|
|
27
|
+
import "./fetch-D3HDdlk7.js";
|
|
28
|
+
import "./ir-DXj1KGnL.js";
|
|
29
|
+
import "./send-X6QuS7x0.js";
|
|
30
|
+
import "./outbound-attachment-BI1QngTS.js";
|
|
31
|
+
|
|
32
|
+
export { deliverOutboundPayloads };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import "./config-CnZ1TlEw.js";
|
|
3
|
+
import "./logger-DIb2cGHp.js";
|
|
4
|
+
import "./paths-Duwviem_.js";
|
|
5
|
+
import "./accounts-xZOA23tQ.js";
|
|
6
|
+
import "./plugins-BqKpJkqt.js";
|
|
7
|
+
import "./image-ops-G8KoEfY8.js";
|
|
8
|
+
import { h as sendMessageDiscord } from "./send-BCVXt-3e.js";
|
|
9
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
10
|
+
import "./path-alias-guards-TnxupPQC.js";
|
|
11
|
+
import "./redact-9WsNyb7S.js";
|
|
12
|
+
import "./errors-CgRPdp3o.js";
|
|
13
|
+
import "./fs-safe-DqCO1D4C.js";
|
|
14
|
+
import "./proxy-env-C4s12rr8.js";
|
|
15
|
+
import "./fetch-guard-BBAT8G-1.js";
|
|
16
|
+
import "./local-roots-ovKHgVSP.js";
|
|
17
|
+
import "./fetch-D3HDdlk7.js";
|
|
18
|
+
import "./ir-DXj1KGnL.js";
|
|
19
|
+
import "./render-95l30zcf.js";
|
|
20
|
+
import "./channel-activity-CNffKOEQ.js";
|
|
21
|
+
import "./tables-Dmlu4_q_.js";
|
|
22
|
+
|
|
23
|
+
export { sendMessageDiscord };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import "./config-CnZ1TlEw.js";
|
|
3
|
+
import "./logger-DIb2cGHp.js";
|
|
4
|
+
import "./paths-Duwviem_.js";
|
|
5
|
+
import "./accounts-xZOA23tQ.js";
|
|
6
|
+
import "./plugins-BqKpJkqt.js";
|
|
7
|
+
import "./accounts-0kF5cxkn.js";
|
|
8
|
+
import "./image-ops-G8KoEfY8.js";
|
|
9
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
10
|
+
import "./path-alias-guards-TnxupPQC.js";
|
|
11
|
+
import "./fs-safe-DqCO1D4C.js";
|
|
12
|
+
import "./proxy-env-C4s12rr8.js";
|
|
13
|
+
import "./store-D3lgWnS2.js";
|
|
14
|
+
import "./fetch-guard-BBAT8G-1.js";
|
|
15
|
+
import "./local-roots-ovKHgVSP.js";
|
|
16
|
+
import "./ir-DXj1KGnL.js";
|
|
17
|
+
import "./render-95l30zcf.js";
|
|
18
|
+
import "./outbound-attachment-BI1QngTS.js";
|
|
19
|
+
import { t as sendMessageIMessage } from "./send-CAG0Or0G.js";
|
|
20
|
+
import "./tables-Dmlu4_q_.js";
|
|
21
|
+
|
|
22
|
+
export { sendMessageIMessage };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import "./config-CnZ1TlEw.js";
|
|
3
|
+
import "./logger-DIb2cGHp.js";
|
|
4
|
+
import "./paths-Duwviem_.js";
|
|
5
|
+
import "./accounts-xZOA23tQ.js";
|
|
6
|
+
import "./plugins-BqKpJkqt.js";
|
|
7
|
+
import "./image-ops-G8KoEfY8.js";
|
|
8
|
+
import "./accounts-u0-JAHzj.js";
|
|
9
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
10
|
+
import "./path-alias-guards-TnxupPQC.js";
|
|
11
|
+
import "./fs-safe-DqCO1D4C.js";
|
|
12
|
+
import "./proxy-env-C4s12rr8.js";
|
|
13
|
+
import "./store-D3lgWnS2.js";
|
|
14
|
+
import "./fetch-guard-BBAT8G-1.js";
|
|
15
|
+
import "./local-roots-ovKHgVSP.js";
|
|
16
|
+
import "./fetch-D3HDdlk7.js";
|
|
17
|
+
import "./ir-DXj1KGnL.js";
|
|
18
|
+
import { t as sendMessageSignal } from "./send-X6QuS7x0.js";
|
|
19
|
+
import "./outbound-attachment-BI1QngTS.js";
|
|
20
|
+
|
|
21
|
+
export { sendMessageSignal };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import "./config-CnZ1TlEw.js";
|
|
3
|
+
import "./logger-DIb2cGHp.js";
|
|
4
|
+
import "./paths-Duwviem_.js";
|
|
5
|
+
import "./accounts-xZOA23tQ.js";
|
|
6
|
+
import "./plugins-BqKpJkqt.js";
|
|
7
|
+
import { t as sendMessageSlack } from "./send-BNePC8CO.js";
|
|
8
|
+
import "./image-ops-G8KoEfY8.js";
|
|
9
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
10
|
+
import "./tokens-CLE20fRI.js";
|
|
11
|
+
import "./path-alias-guards-TnxupPQC.js";
|
|
12
|
+
import "./fs-safe-DqCO1D4C.js";
|
|
13
|
+
import "./proxy-env-C4s12rr8.js";
|
|
14
|
+
import "./fetch-guard-BBAT8G-1.js";
|
|
15
|
+
import "./local-roots-ovKHgVSP.js";
|
|
16
|
+
import "./ir-DXj1KGnL.js";
|
|
17
|
+
import "./render-95l30zcf.js";
|
|
18
|
+
|
|
19
|
+
export { sendMessageSlack };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import "./config-CnZ1TlEw.js";
|
|
3
|
+
import "./logger-DIb2cGHp.js";
|
|
4
|
+
import "./paths-Duwviem_.js";
|
|
5
|
+
import "./accounts-xZOA23tQ.js";
|
|
6
|
+
import "./plugins-BqKpJkqt.js";
|
|
7
|
+
import "./image-ops-G8KoEfY8.js";
|
|
8
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
9
|
+
import { o as sendMessageTelegram } from "./send-DhGDAZnT.js";
|
|
10
|
+
import "./path-alias-guards-TnxupPQC.js";
|
|
11
|
+
import "./redact-9WsNyb7S.js";
|
|
12
|
+
import "./errors-CgRPdp3o.js";
|
|
13
|
+
import "./fs-safe-DqCO1D4C.js";
|
|
14
|
+
import "./proxy-env-C4s12rr8.js";
|
|
15
|
+
import "./fetch-guard-BBAT8G-1.js";
|
|
16
|
+
import "./local-roots-ovKHgVSP.js";
|
|
17
|
+
import "./proxy-fetch-Dt5BedH8.js";
|
|
18
|
+
import "./fetch-D3HDdlk7.js";
|
|
19
|
+
import "./ir-DXj1KGnL.js";
|
|
20
|
+
import "./render-95l30zcf.js";
|
|
21
|
+
import "./channel-activity-CNffKOEQ.js";
|
|
22
|
+
import "./proxy-BOZmkV9K.js";
|
|
23
|
+
|
|
24
|
+
export { sendMessageTelegram };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import "./config-CnZ1TlEw.js";
|
|
3
|
+
import "./logger-DIb2cGHp.js";
|
|
4
|
+
import "./paths-Duwviem_.js";
|
|
5
|
+
import "./accounts-xZOA23tQ.js";
|
|
6
|
+
import "./plugins-BqKpJkqt.js";
|
|
7
|
+
import "./thinking-DRNOh5Xx.js";
|
|
8
|
+
import "./accounts-0kF5cxkn.js";
|
|
9
|
+
import "./send-BNePC8CO.js";
|
|
10
|
+
import "./common-J8vIST9Q.js";
|
|
11
|
+
import "./reply-C_eN3l25.js";
|
|
12
|
+
import "./image-ops-G8KoEfY8.js";
|
|
13
|
+
import "./pi-embedded-helpers-BioULNev.js";
|
|
14
|
+
import "./accounts-u0-JAHzj.js";
|
|
15
|
+
import "./send-BCVXt-3e.js";
|
|
16
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
17
|
+
import "./paths-B7_75Pdr.js";
|
|
18
|
+
import "./send-DhGDAZnT.js";
|
|
19
|
+
import "./channel-web-Sj8reff_.js";
|
|
20
|
+
import "./tokens-CLE20fRI.js";
|
|
21
|
+
import "./audio-transcription-runner-Ced47O1H.js";
|
|
22
|
+
import "./image-4ay2cw7G.js";
|
|
23
|
+
import "./chrome-DJQWo149.js";
|
|
24
|
+
import "./skills-C5bT9-q4.js";
|
|
25
|
+
import "./path-alias-guards-TnxupPQC.js";
|
|
26
|
+
import "./redact-9WsNyb7S.js";
|
|
27
|
+
import "./errors-CgRPdp3o.js";
|
|
28
|
+
import "./fs-safe-DqCO1D4C.js";
|
|
29
|
+
import "./proxy-env-C4s12rr8.js";
|
|
30
|
+
import "./store-D3lgWnS2.js";
|
|
31
|
+
import "./tool-images-BY1gsRyE.js";
|
|
32
|
+
import "./fetch-guard-BBAT8G-1.js";
|
|
33
|
+
import "./api-key-rotation-DyjMI2n3.js";
|
|
34
|
+
import "./local-roots-ovKHgVSP.js";
|
|
35
|
+
import "./proxy-fetch-Dt5BedH8.js";
|
|
36
|
+
import "./deliver-Xh6voz9H.js";
|
|
37
|
+
import "./commands-registry-_kBPE22q.js";
|
|
38
|
+
import "./skill-commands-Bk-IFyNw.js";
|
|
39
|
+
import "./fetch-D3HDdlk7.js";
|
|
40
|
+
import "./diagnostic-DKsyROPi.js";
|
|
41
|
+
import "./pi-model-discovery-BMmAbnil.js";
|
|
42
|
+
import "./ir-DXj1KGnL.js";
|
|
43
|
+
import "./render-95l30zcf.js";
|
|
44
|
+
import "./send-X6QuS7x0.js";
|
|
45
|
+
import "./outbound-attachment-BI1QngTS.js";
|
|
46
|
+
import "./send-CAG0Or0G.js";
|
|
47
|
+
import "./channel-activity-CNffKOEQ.js";
|
|
48
|
+
import "./tables-Dmlu4_q_.js";
|
|
49
|
+
import "./proxy-BOZmkV9K.js";
|
|
50
|
+
import "./manager-PEQ_cPYF.js";
|
|
51
|
+
import "./query-expansion-POz2za8a.js";
|
|
52
|
+
import { t as sendMessageWhatsApp } from "./outbound-BK75h9CQ.js";
|
|
53
|
+
import "./session-CAqYQVhe.js";
|
|
54
|
+
import "./login-Cgtm70by.js";
|
|
55
|
+
import "./web-CmLgZUIO.js";
|
|
56
|
+
|
|
57
|
+
export { sendMessageWhatsApp };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as loadConfig } from "./config-
|
|
2
|
-
import { O as createSubsystemLogger } from "./logger-
|
|
1
|
+
import { n as loadConfig } from "./config-CnZ1TlEw.js";
|
|
2
|
+
import { O as createSubsystemLogger } from "./logger-DIb2cGHp.js";
|
|
3
3
|
|
|
4
4
|
//#region src/logging/diagnostic-session-state.ts
|
|
5
5
|
const diagnosticSessionStates = /* @__PURE__ */ new Map();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as logWarn } from "./logger-
|
|
2
|
-
import { i as createPinnedDispatcher, n as SsrFBlockedError, r as closeDispatcher, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { i as logWarn } from "./logger-DIb2cGHp.js";
|
|
2
|
+
import { i as createPinnedDispatcher, n as SsrFBlockedError, r as closeDispatcher, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-C4s12rr8.js";
|
|
3
3
|
import { t as bindAbortRelay } from "./fetch-timeout-CR10Uz2k.js";
|
|
4
4
|
import { EnvHttpProxyAgent } from "undici";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as isSymlinkOpenError, L as hasNodeErrorCode, N as sameFileIdentity, R as isNotFoundPathError, z as isPathInside } from "./run-with-concurrency-
|
|
2
|
-
import { i as logWarn } from "./logger-
|
|
1
|
+
import { B as isSymlinkOpenError, L as hasNodeErrorCode, N as sameFileIdentity, R as isNotFoundPathError, z as isPathInside } from "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import { i as logWarn } from "./logger-DIb2cGHp.js";
|
|
3
3
|
import { l as expandHomePrefix } from "./paths-Duwviem_.js";
|
|
4
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-TnxupPQC.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { constants } from "node:fs";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-
|
|
2
|
-
import { $t as resolveImplicitProviders, Fn as resolveSquidClawAgentDir, Hn as normalizeSecretInput, Mt as applyConfigEnvVars, Qt as resolveImplicitCopilotProvider, Xt as normalizeProviders, Zt as resolveImplicitBedrockProvider, cn as getApiKeyForModel, n as loadConfig, un as requireApiKey } from "./config-
|
|
3
|
-
import { f as isRecord, x as shortenHomeInString } from "./logger-
|
|
4
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
5
|
-
import { n as redactToolDetail } from "./redact-
|
|
1
|
+
import { U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import { $t as resolveImplicitProviders, Fn as resolveSquidClawAgentDir, Hn as normalizeSecretInput, Mt as applyConfigEnvVars, Qt as resolveImplicitCopilotProvider, Xt as normalizeProviders, Zt as resolveImplicitBedrockProvider, cn as getApiKeyForModel, n as loadConfig, un as requireApiKey } from "./config-CnZ1TlEw.js";
|
|
3
|
+
import { f as isRecord, x as shortenHomeInString } from "./logger-DIb2cGHp.js";
|
|
4
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-BioULNev.js";
|
|
5
|
+
import { n as redactToolDetail } from "./redact-9WsNyb7S.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import { complete } from "@mariozechner/pi-ai";
|
|
@@ -2254,7 +2254,7 @@ function resolveProviderVisionModelFromConfig(params) {
|
|
|
2254
2254
|
//#region src/media-understanding/providers/image.ts
|
|
2255
2255
|
let piModelDiscoveryRuntimePromise = null;
|
|
2256
2256
|
function loadPiModelDiscoveryRuntime() {
|
|
2257
|
-
piModelDiscoveryRuntimePromise ??= import("./pi-model-discovery-runtime-
|
|
2257
|
+
piModelDiscoveryRuntimePromise ??= import("./pi-model-discovery-runtime-COnuGwZt.js");
|
|
2258
2258
|
return piModelDiscoveryRuntimePromise;
|
|
2259
2259
|
}
|
|
2260
2260
|
async function describeImageWithModel(params) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as runExec } from "./run-with-concurrency-
|
|
2
|
-
import { dr as getActivePluginRegistry, ir as CHANNEL_IDS, ur as normalizeChatChannelId } from "./config-
|
|
1
|
+
import { O as runExec } from "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import { dr as getActivePluginRegistry, ir as CHANNEL_IDS, ur as normalizeChatChannelId } from "./config-CnZ1TlEw.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import "./run-with-concurrency-DmTrN5JG.js";
|
|
2
|
+
import "./config-CnZ1TlEw.js";
|
|
3
|
+
import "./logger-DIb2cGHp.js";
|
|
4
|
+
import "./paths-Duwviem_.js";
|
|
5
|
+
import "./accounts-xZOA23tQ.js";
|
|
6
|
+
import "./plugins-BqKpJkqt.js";
|
|
7
|
+
import "./thinking-DRNOh5Xx.js";
|
|
8
|
+
import "./accounts-0kF5cxkn.js";
|
|
9
|
+
import "./image-ops-G8KoEfY8.js";
|
|
10
|
+
import "./pi-embedded-helpers-BioULNev.js";
|
|
11
|
+
import "./accounts-u0-JAHzj.js";
|
|
12
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
13
|
+
import "./paths-B7_75Pdr.js";
|
|
14
|
+
import { t as describeImageWithModel } from "./image-4ay2cw7G.js";
|
|
15
|
+
import "./chrome-DJQWo149.js";
|
|
16
|
+
import "./skills-C5bT9-q4.js";
|
|
17
|
+
import "./path-alias-guards-TnxupPQC.js";
|
|
18
|
+
import "./redact-9WsNyb7S.js";
|
|
19
|
+
import "./errors-CgRPdp3o.js";
|
|
20
|
+
import "./fs-safe-DqCO1D4C.js";
|
|
21
|
+
import "./proxy-env-C4s12rr8.js";
|
|
22
|
+
import "./store-D3lgWnS2.js";
|
|
23
|
+
import "./tool-images-BY1gsRyE.js";
|
|
24
|
+
|
|
25
|
+
export { describeImageWithModel };
|