@termix-it/cryptoclaw 1.0.3 → 1.0.4
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/README.md +55 -525
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/plugin-sdk/{accounts-CfCelvuS.js → accounts-CGsBZitB.js} +2 -2
- package/dist/plugin-sdk/{accounts-BO6eVvIk.js → accounts-DCJygCEu.js} +2 -2
- package/dist/plugin-sdk/{accounts-D8HzIleM.js → accounts-OQhwq095.js} +3 -3
- package/dist/plugin-sdk/{active-listener-MfT2Dfk_.js → active-listener-B3uuO0hs.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-CGkG2TdX.js → api-key-rotation-BtsbePHg.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-C5aEkQA7.js → audio-preflight-AU7gChXe.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-CByI6S2h.js → audio-transcription-runner-HEBuWWAy.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-BpoX61hv.js → audit-membership-runtime-DvBMQsDC.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-CBnzERF5.js → channel-activity-DyI7jd_J.js} +3 -3
- package/dist/plugin-sdk/{channel-web-Camrgn9Y.js → channel-web-3rQke4lb.js} +18 -18
- package/dist/plugin-sdk/{chrome-sBjdgZ5F.js → chrome-6Sk7pLY6.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-Ba7pk4Ta.js → commands-registry-CrUYTcEC.js} +4 -4
- package/dist/plugin-sdk/{common-0gnzU6l1.js → common-DGsZt0BZ.js} +2 -2
- package/dist/plugin-sdk/{config-D5DQfSMn.js → config-Dhw5h35s.js} +7 -7
- package/dist/plugin-sdk/{deliver-C4PPp4UX.js → deliver-BY-NHTcM.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-3zydbKGf.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-CT4Za_tX.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-BGNmg99V.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-DI3j6n83.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-Bpsc574S.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-DIXdFk2A.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-PFhn0IIR.js +57 -0
- package/dist/plugin-sdk/{diagnostic-OpNk6rpy.js → diagnostic-CtKfuST-.js} +2 -2
- package/dist/plugin-sdk/discord.js +6 -6
- package/dist/plugin-sdk/{errors-Cn3JyiMn.js → errors-B2jpHiod.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Djhxeh6F.js → fetch-guard-CFw9w93V.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-B1CdzxMU.js → fs-safe-D51tGdcB.js} +3 -3
- package/dist/plugin-sdk/{image-CwJbQyj6.js → image-DJPbGAeM.js} +6 -6
- package/dist/plugin-sdk/{image-ops-C6_PnsHU.js → image-ops-CYGIIp7B.js} +2 -2
- package/dist/plugin-sdk/image-runtime-DvTR_k2A.js +25 -0
- package/dist/plugin-sdk/{ir-CveiIg5T.js → ir-DUaFgyfF.js} +7 -7
- package/dist/plugin-sdk/{local-roots-BU9pDzPT.js → local-roots-DPoYqwGy.js} +4 -4
- package/dist/plugin-sdk/{logger-Dj4IX2UB.js → logger-Bl138Nx7.js} +2 -2
- package/dist/plugin-sdk/{login-CcqeqBu0.js → login-DWWzbOcy.js} +4 -4
- package/dist/plugin-sdk/{login-qr-DA7TCczl.js → login-qr-BJzd9BYx.js} +5 -5
- package/dist/plugin-sdk/{manager-CJspWlod.js → manager-kvjCsbh-.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-xEKyekyY.js +15 -0
- package/dist/plugin-sdk/{outbound-attachment-BG_O2YgC.js → outbound-attachment-DQAafXn8.js} +2 -2
- package/dist/plugin-sdk/{outbound-Dfl6t4_i.js → outbound-lNvDJeBz.js} +5 -5
- package/dist/plugin-sdk/{path-alias-guards-C-nlHZJ5.js → path-alias-guards-CoYTMiOE.js} +1 -1
- package/dist/plugin-sdk/{paths-BTYNazdG.js → paths-D764z9IH.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-Jj0ybrpG.js → pi-embedded-helpers-BiF7I8hC.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-D_O1PWhS.js → pi-model-discovery-BZmrv91u.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-1hhBydi5.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-BHvn7UqF.js → pi-tools.before-tool-call.runtime-DVX22Rkt.js} +4 -4
- package/dist/plugin-sdk/{plugins-DA7pP5dp.js → plugins-BQBprVuu.js} +4 -4
- package/dist/plugin-sdk/{proxy-env--jKoUvSq.js → proxy-env-ClmIANMV.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-rtc8GmoB.js → proxy-fetch-C-fXKPD2.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-4w6gEw9_.js → pw-ai-1li4c5a7.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-CLFLkfXW.js → qmd-manager-1COW5fC7.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-C7kzB0Xa.js → query-expansion-BcKMYGvP.js} +4 -4
- package/dist/plugin-sdk/{redact-CBwV828t.js → redact-C3rEm8A0.js} +1 -1
- package/dist/plugin-sdk/{reply-CWB5iDDe.js → reply-BMhUA5WB.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-4FJ3k4-0.js → resolve-outbound-target-DzBSTXS5.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-Cq53ODkG.js → run-with-concurrency-CuSLxX3g.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-0y9M2JQr.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-G14X8iMC.js +19 -0
- package/dist/plugin-sdk/{send-BitUV_gH.js → send-COSo_L1u.js} +13 -13
- package/dist/plugin-sdk/{send-BA1Qi3mp.js → send-CvRudyW3.js} +6 -6
- package/dist/plugin-sdk/{send-C_-TpLLe.js → send-DB-60Msd.js} +7 -7
- package/dist/plugin-sdk/{send-DZpoWNap.js → send-eAODLWdR.js} +5 -5
- package/dist/plugin-sdk/{send-BniZypKV.js → send-hDY3onGp.js} +8 -8
- package/dist/plugin-sdk/{session-CqJc4lFX.js → session-C0s_0CGs.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-BgOojXk-.js → skill-commands-D9OuggWL.js} +4 -4
- package/dist/plugin-sdk/{skills-DiUnGRgw.js → skills-CV7pZMXS.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-DMTbx7Tn.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-D-Sbk7S8.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-DXdAjUOe.js +16 -0
- package/dist/plugin-sdk/{store-DcImhEzi.js → store-QO7iGajx.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-BRsstI9w.js +52 -0
- package/dist/plugin-sdk/{tables-injYpabh.js → tables-CfbETQOG.js} +1 -1
- package/dist/plugin-sdk/{thinking-BD1Xt4YG.js → thinking-s9W2mlGh.js} +7 -7
- package/dist/plugin-sdk/{tokens-D2fpVQt3.js → tokens-DMbd3-Ct.js} +1 -1
- package/dist/plugin-sdk/{tool-images-D5NJxNog.js → tool-images-2uaYTd7D.js} +2 -2
- package/dist/plugin-sdk/web-C4htBVBv.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-Zdo-gL1s.js → whatsapp-actions-Bw9bC72n.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/package.json +19 -6
- package/dist/plugin-sdk/deliver-runtime-BEDNR6MJ.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-C1PlirFk.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-DNY09ba8.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-B3BJZMQw.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-DpTjKhX1.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-Ddp3k4bN.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-UC-3al_B.js +0 -57
- package/dist/plugin-sdk/image-runtime-Dduz79Jm.js +0 -25
- package/dist/plugin-sdk/manager-runtime-CcDuKcL3.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-CgCuSp4o.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-CBdNprU2.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DJk9RY4Z.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-BKVp7-z6.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-CtUAEJtN.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-Du7AGDaV.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-BkYg4qeD.js +0 -52
- package/dist/plugin-sdk/web-a-YsDYgy.js +0 -56
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0035d00a29acba71fe89cad9d54300b196bd7502e1c6d85ee589f6c482afb434
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-
|
|
1
|
+
import { ot as normalizeAccountId } from "./run-with-concurrency-CuSLxX3g.js";
|
|
2
|
+
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-OQhwq095.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-
|
|
1
|
+
import { ot as normalizeAccountId } from "./run-with-concurrency-CuSLxX3g.js";
|
|
2
|
+
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-OQhwq095.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand } from "./config-
|
|
3
|
-
import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-CuSLxX3g.js";
|
|
2
|
+
import { Tr as formatCliCommand } from "./config-Dhw5h35s.js";
|
|
3
|
+
import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-Bl138Nx7.js";
|
|
4
4
|
import { o as resolveOAuthDir } from "./paths-0d8fBoC4.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand } from "./config-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-CuSLxX3g.js";
|
|
2
|
+
import { Tr as formatCliCommand } from "./config-Dhw5h35s.js";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/logging/redact-identifier.ts
|
|
@@ -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-Dhw5h35s.js";
|
|
2
|
+
import { r as formatErrorMessage } from "./errors-B2jpHiod.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-CuSLxX3g.js";
|
|
2
|
+
import "./config-Dhw5h35s.js";
|
|
3
|
+
import { L as logVerbose, z as shouldLogVerbose } from "./logger-Bl138Nx7.js";
|
|
4
4
|
import "./paths-0d8fBoC4.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-OQhwq095.js";
|
|
6
|
+
import "./plugins-BQBprVuu.js";
|
|
7
|
+
import "./thinking-s9W2mlGh.js";
|
|
8
|
+
import "./accounts-DCJygCEu.js";
|
|
9
|
+
import "./image-ops-CYGIIp7B.js";
|
|
10
|
+
import "./pi-embedded-helpers-BiF7I8hC.js";
|
|
11
|
+
import "./accounts-CGsBZitB.js";
|
|
12
12
|
import "./github-copilot-token-CKKBybuX.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-D764z9IH.js";
|
|
14
|
+
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-HEBuWWAy.js";
|
|
15
|
+
import "./image-DJPbGAeM.js";
|
|
16
|
+
import "./chrome-6Sk7pLY6.js";
|
|
17
|
+
import "./skills-CV7pZMXS.js";
|
|
18
|
+
import "./path-alias-guards-CoYTMiOE.js";
|
|
19
|
+
import "./redact-C3rEm8A0.js";
|
|
20
|
+
import "./errors-B2jpHiod.js";
|
|
21
|
+
import "./fs-safe-D51tGdcB.js";
|
|
22
|
+
import "./proxy-env-ClmIANMV.js";
|
|
23
|
+
import "./store-QO7iGajx.js";
|
|
24
|
+
import "./tool-images-2uaYTd7D.js";
|
|
25
|
+
import "./fetch-guard-CFw9w93V.js";
|
|
26
|
+
import "./api-key-rotation-BtsbePHg.js";
|
|
27
|
+
import "./local-roots-DPoYqwGy.js";
|
|
28
|
+
import "./proxy-fetch-C-fXKPD2.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 resolveOpenClawAgentDir, 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 resolvePreferredOpenClawTmpDir, 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 ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
1
|
+
import { O as runExec, U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-CuSLxX3g.js";
|
|
2
|
+
import { Fn as resolveOpenClawAgentDir, 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-Dhw5h35s.js";
|
|
3
|
+
import { L as logVerbose, O as createSubsystemLogger, Y as resolvePreferredOpenClawTmpDir, z as shouldLogVerbose } from "./logger-Bl138Nx7.js";
|
|
4
|
+
import { _ as normalizeChatType } from "./plugins-BQBprVuu.js";
|
|
5
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-CYGIIp7B.js";
|
|
6
|
+
import { C as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-DJPbGAeM.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-CFw9w93V.js";
|
|
9
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-BtsbePHg.js";
|
|
10
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-DPoYqwGy.js";
|
|
11
|
+
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-C-fXKPD2.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-BZmrv91u.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-Bl138Nx7.js";
|
|
2
2
|
import "./paths-0d8fBoC4.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-C-fXKPD2.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-Dhw5h35s.js";
|
|
2
|
+
import { O as createSubsystemLogger } from "./logger-Bl138Nx7.js";
|
|
3
|
+
import { r as formatErrorMessage } from "./errors-B2jpHiod.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-CuSLxX3g.js";
|
|
2
|
+
import { Tr as formatCliCommand, n as loadConfig, ur as normalizeChatChannelId } from "./config-Dhw5h35s.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-Bl138Nx7.js";
|
|
4
|
+
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-OQhwq095.js";
|
|
5
|
+
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy } from "./thinking-s9W2mlGh.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-BMhUA5WB.js";
|
|
7
|
+
import { _t as loadSessionStore, bt as updateLastRoute, in as resolveGroupSessionKey, yt as recordSessionMetaFromInbound } from "./pi-embedded-helpers-BiF7I8hC.js";
|
|
8
|
+
import { s as resolveStorePath } from "./paths-D764z9IH.js";
|
|
9
|
+
import { X as toLocationContext, Y as formatLocationText, et as readChannelAllowFromStoreSync, nt as upsertChannelPairingRequest } from "./send-COSo_L1u.js";
|
|
10
|
+
import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-HEBuWWAy.js";
|
|
11
|
+
import { i as saveMediaBuffer } from "./store-QO7iGajx.js";
|
|
12
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-DPoYqwGy.js";
|
|
13
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-DUaFgyfF.js";
|
|
14
|
+
import { n as recordChannelActivity } from "./channel-activity-DyI7jd_J.js";
|
|
15
|
+
import { t as convertMarkdownTables } from "./tables-CfbETQOG.js";
|
|
16
|
+
import { r as setActiveWebListener } from "./active-listener-B3uuO0hs.js";
|
|
17
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-lNvDJeBz.js";
|
|
18
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-C0s_0CGs.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 resolvePreferredOpenClawTmpDir, 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-CuSLxX3g.js";
|
|
2
|
+
import { A as normalizeIpAddress, O as isLoopbackIpAddress, k as isPrivateOrLoopbackIpAddress, n as loadConfig } from "./config-Dhw5h35s.js";
|
|
3
|
+
import { O as createSubsystemLogger, Y as resolvePreferredOpenClawTmpDir, a as CONFIG_DIR } from "./logger-Bl138Nx7.js";
|
|
4
|
+
import { a as isErrno } from "./errors-B2jpHiod.js";
|
|
5
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-D51tGdcB.js";
|
|
6
|
+
import { o as isPrivateNetworkAllowedByPolicy, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-ClmIANMV.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-Dhw5h35s.js";
|
|
2
|
+
import { D as isPlainObject, u as escapeRegExp } from "./logger-Bl138Nx7.js";
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-BQBprVuu.js";
|
|
4
|
+
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-s9W2mlGh.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-CYGIIp7B.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-2uaYTd7D.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-CuSLxX3g.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-Bl138Nx7.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-0d8fBoC4.js";
|
|
5
5
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-CKKBybuX.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.
|
|
@@ -17330,7 +17330,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
17330
17330
|
function normalizeDeps(overrides = {}) {
|
|
17331
17331
|
return {
|
|
17332
17332
|
fs: overrides.fs ?? fs,
|
|
17333
|
-
json5: overrides.json5 ??
|
|
17333
|
+
json5: overrides.json5 ?? JSON5,
|
|
17334
17334
|
env: overrides.env ?? process.env,
|
|
17335
17335
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
17336
17336
|
configPath: overrides.configPath ?? "",
|
|
@@ -17341,11 +17341,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
17341
17341
|
if (env !== process.env) return;
|
|
17342
17342
|
loadDotEnv({ quiet: true });
|
|
17343
17343
|
}
|
|
17344
|
-
function parseConfigJson5(raw, json5
|
|
17344
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
17345
17345
|
try {
|
|
17346
17346
|
return {
|
|
17347
17347
|
ok: true,
|
|
17348
|
-
parsed: json5
|
|
17348
|
+
parsed: json5.parse(raw)
|
|
17349
17349
|
};
|
|
17350
17350
|
} catch (err) {
|
|
17351
17351
|
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-CuSLxX3g.js";
|
|
2
|
+
import { Cr as createInternalHookEvent, dr as getActivePluginRegistry, pr as getActivePluginRegistryVersion, wr as triggerInternalHook } from "./config-Dhw5h35s.js";
|
|
3
|
+
import { L as logVerbose, O as createSubsystemLogger } from "./logger-Bl138Nx7.js";
|
|
4
4
|
import { c as resolveStateDir } from "./paths-0d8fBoC4.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-BQBprVuu.js";
|
|
6
|
+
import { d as getChannelDock } from "./thinking-s9W2mlGh.js";
|
|
7
|
+
import { Ft as parseInlineDirectives, ht as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, mt as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-BiF7I8hC.js";
|
|
8
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-DMbd3-Ct.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-DPoYqwGy.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-DUaFgyfF.js";
|
|
13
|
+
import { c as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-eAODLWdR.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-CuSLxX3g.js";
|
|
2
|
+
import "./config-Dhw5h35s.js";
|
|
3
|
+
import "./logger-Bl138Nx7.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-OQhwq095.js";
|
|
6
|
+
import "./plugins-BQBprVuu.js";
|
|
7
|
+
import "./thinking-s9W2mlGh.js";
|
|
8
|
+
import "./accounts-DCJygCEu.js";
|
|
9
|
+
import "./image-ops-CYGIIp7B.js";
|
|
10
|
+
import "./pi-embedded-helpers-BiF7I8hC.js";
|
|
11
|
+
import "./accounts-CGsBZitB.js";
|
|
12
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
13
|
+
import "./paths-D764z9IH.js";
|
|
14
|
+
import "./tokens-DMbd3-Ct.js";
|
|
15
|
+
import "./chrome-6Sk7pLY6.js";
|
|
16
|
+
import "./skills-CV7pZMXS.js";
|
|
17
|
+
import "./path-alias-guards-CoYTMiOE.js";
|
|
18
|
+
import "./redact-C3rEm8A0.js";
|
|
19
|
+
import "./errors-B2jpHiod.js";
|
|
20
|
+
import "./fs-safe-D51tGdcB.js";
|
|
21
|
+
import "./proxy-env-ClmIANMV.js";
|
|
22
|
+
import "./store-QO7iGajx.js";
|
|
23
|
+
import "./tool-images-2uaYTd7D.js";
|
|
24
|
+
import "./fetch-guard-CFw9w93V.js";
|
|
25
|
+
import "./local-roots-DPoYqwGy.js";
|
|
26
|
+
import { t as deliverOutboundPayloads } from "./deliver-BY-NHTcM.js";
|
|
27
|
+
import "./fetch-O45GieZo.js";
|
|
28
|
+
import "./ir-DUaFgyfF.js";
|
|
29
|
+
import "./send-eAODLWdR.js";
|
|
30
|
+
import "./outbound-attachment-DQAafXn8.js";
|
|
31
|
+
|
|
32
|
+
export { deliverOutboundPayloads };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import "./run-with-concurrency-CuSLxX3g.js";
|
|
2
|
+
import "./config-Dhw5h35s.js";
|
|
3
|
+
import "./logger-Bl138Nx7.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-OQhwq095.js";
|
|
6
|
+
import "./plugins-BQBprVuu.js";
|
|
7
|
+
import "./image-ops-CYGIIp7B.js";
|
|
8
|
+
import { h as sendMessageDiscord } from "./send-hDY3onGp.js";
|
|
9
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
10
|
+
import "./path-alias-guards-CoYTMiOE.js";
|
|
11
|
+
import "./redact-C3rEm8A0.js";
|
|
12
|
+
import "./errors-B2jpHiod.js";
|
|
13
|
+
import "./fs-safe-D51tGdcB.js";
|
|
14
|
+
import "./proxy-env-ClmIANMV.js";
|
|
15
|
+
import "./fetch-guard-CFw9w93V.js";
|
|
16
|
+
import "./local-roots-DPoYqwGy.js";
|
|
17
|
+
import "./fetch-O45GieZo.js";
|
|
18
|
+
import "./ir-DUaFgyfF.js";
|
|
19
|
+
import "./render-95l30zcf.js";
|
|
20
|
+
import "./channel-activity-DyI7jd_J.js";
|
|
21
|
+
import "./tables-CfbETQOG.js";
|
|
22
|
+
|
|
23
|
+
export { sendMessageDiscord };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "./run-with-concurrency-CuSLxX3g.js";
|
|
2
|
+
import "./config-Dhw5h35s.js";
|
|
3
|
+
import "./logger-Bl138Nx7.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-OQhwq095.js";
|
|
6
|
+
import "./plugins-BQBprVuu.js";
|
|
7
|
+
import "./accounts-DCJygCEu.js";
|
|
8
|
+
import "./image-ops-CYGIIp7B.js";
|
|
9
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
10
|
+
import "./path-alias-guards-CoYTMiOE.js";
|
|
11
|
+
import "./fs-safe-D51tGdcB.js";
|
|
12
|
+
import "./proxy-env-ClmIANMV.js";
|
|
13
|
+
import "./store-QO7iGajx.js";
|
|
14
|
+
import "./fetch-guard-CFw9w93V.js";
|
|
15
|
+
import "./local-roots-DPoYqwGy.js";
|
|
16
|
+
import "./ir-DUaFgyfF.js";
|
|
17
|
+
import "./render-95l30zcf.js";
|
|
18
|
+
import "./outbound-attachment-DQAafXn8.js";
|
|
19
|
+
import { t as sendMessageIMessage } from "./send-DB-60Msd.js";
|
|
20
|
+
import "./tables-CfbETQOG.js";
|
|
21
|
+
|
|
22
|
+
export { sendMessageIMessage };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "./run-with-concurrency-CuSLxX3g.js";
|
|
2
|
+
import "./config-Dhw5h35s.js";
|
|
3
|
+
import "./logger-Bl138Nx7.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-OQhwq095.js";
|
|
6
|
+
import "./plugins-BQBprVuu.js";
|
|
7
|
+
import "./image-ops-CYGIIp7B.js";
|
|
8
|
+
import "./accounts-CGsBZitB.js";
|
|
9
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
10
|
+
import "./path-alias-guards-CoYTMiOE.js";
|
|
11
|
+
import "./fs-safe-D51tGdcB.js";
|
|
12
|
+
import "./proxy-env-ClmIANMV.js";
|
|
13
|
+
import "./store-QO7iGajx.js";
|
|
14
|
+
import "./fetch-guard-CFw9w93V.js";
|
|
15
|
+
import "./local-roots-DPoYqwGy.js";
|
|
16
|
+
import "./fetch-O45GieZo.js";
|
|
17
|
+
import "./ir-DUaFgyfF.js";
|
|
18
|
+
import { t as sendMessageSignal } from "./send-eAODLWdR.js";
|
|
19
|
+
import "./outbound-attachment-DQAafXn8.js";
|
|
20
|
+
|
|
21
|
+
export { sendMessageSignal };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "./run-with-concurrency-CuSLxX3g.js";
|
|
2
|
+
import "./config-Dhw5h35s.js";
|
|
3
|
+
import "./logger-Bl138Nx7.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-OQhwq095.js";
|
|
6
|
+
import "./plugins-BQBprVuu.js";
|
|
7
|
+
import { t as sendMessageSlack } from "./send-CvRudyW3.js";
|
|
8
|
+
import "./image-ops-CYGIIp7B.js";
|
|
9
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
10
|
+
import "./tokens-DMbd3-Ct.js";
|
|
11
|
+
import "./path-alias-guards-CoYTMiOE.js";
|
|
12
|
+
import "./fs-safe-D51tGdcB.js";
|
|
13
|
+
import "./proxy-env-ClmIANMV.js";
|
|
14
|
+
import "./fetch-guard-CFw9w93V.js";
|
|
15
|
+
import "./local-roots-DPoYqwGy.js";
|
|
16
|
+
import "./ir-DUaFgyfF.js";
|
|
17
|
+
import "./render-95l30zcf.js";
|
|
18
|
+
|
|
19
|
+
export { sendMessageSlack };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import "./run-with-concurrency-CuSLxX3g.js";
|
|
2
|
+
import "./config-Dhw5h35s.js";
|
|
3
|
+
import "./logger-Bl138Nx7.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-OQhwq095.js";
|
|
6
|
+
import "./plugins-BQBprVuu.js";
|
|
7
|
+
import "./image-ops-CYGIIp7B.js";
|
|
8
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
9
|
+
import { o as sendMessageTelegram } from "./send-COSo_L1u.js";
|
|
10
|
+
import "./path-alias-guards-CoYTMiOE.js";
|
|
11
|
+
import "./redact-C3rEm8A0.js";
|
|
12
|
+
import "./errors-B2jpHiod.js";
|
|
13
|
+
import "./fs-safe-D51tGdcB.js";
|
|
14
|
+
import "./proxy-env-ClmIANMV.js";
|
|
15
|
+
import "./fetch-guard-CFw9w93V.js";
|
|
16
|
+
import "./local-roots-DPoYqwGy.js";
|
|
17
|
+
import "./proxy-fetch-C-fXKPD2.js";
|
|
18
|
+
import "./fetch-O45GieZo.js";
|
|
19
|
+
import "./ir-DUaFgyfF.js";
|
|
20
|
+
import "./render-95l30zcf.js";
|
|
21
|
+
import "./channel-activity-DyI7jd_J.js";
|
|
22
|
+
import "./proxy-BOZmkV9K.js";
|
|
23
|
+
|
|
24
|
+
export { sendMessageTelegram };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import "./run-with-concurrency-CuSLxX3g.js";
|
|
2
|
+
import "./config-Dhw5h35s.js";
|
|
3
|
+
import "./logger-Bl138Nx7.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-OQhwq095.js";
|
|
6
|
+
import "./plugins-BQBprVuu.js";
|
|
7
|
+
import "./thinking-s9W2mlGh.js";
|
|
8
|
+
import "./accounts-DCJygCEu.js";
|
|
9
|
+
import "./send-CvRudyW3.js";
|
|
10
|
+
import "./common-DGsZt0BZ.js";
|
|
11
|
+
import "./reply-BMhUA5WB.js";
|
|
12
|
+
import "./image-ops-CYGIIp7B.js";
|
|
13
|
+
import "./pi-embedded-helpers-BiF7I8hC.js";
|
|
14
|
+
import "./accounts-CGsBZitB.js";
|
|
15
|
+
import "./send-hDY3onGp.js";
|
|
16
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
17
|
+
import "./paths-D764z9IH.js";
|
|
18
|
+
import "./send-COSo_L1u.js";
|
|
19
|
+
import "./channel-web-3rQke4lb.js";
|
|
20
|
+
import "./tokens-DMbd3-Ct.js";
|
|
21
|
+
import "./audio-transcription-runner-HEBuWWAy.js";
|
|
22
|
+
import "./image-DJPbGAeM.js";
|
|
23
|
+
import "./chrome-6Sk7pLY6.js";
|
|
24
|
+
import "./skills-CV7pZMXS.js";
|
|
25
|
+
import "./path-alias-guards-CoYTMiOE.js";
|
|
26
|
+
import "./redact-C3rEm8A0.js";
|
|
27
|
+
import "./errors-B2jpHiod.js";
|
|
28
|
+
import "./fs-safe-D51tGdcB.js";
|
|
29
|
+
import "./proxy-env-ClmIANMV.js";
|
|
30
|
+
import "./store-QO7iGajx.js";
|
|
31
|
+
import "./tool-images-2uaYTd7D.js";
|
|
32
|
+
import "./fetch-guard-CFw9w93V.js";
|
|
33
|
+
import "./api-key-rotation-BtsbePHg.js";
|
|
34
|
+
import "./local-roots-DPoYqwGy.js";
|
|
35
|
+
import "./proxy-fetch-C-fXKPD2.js";
|
|
36
|
+
import "./deliver-BY-NHTcM.js";
|
|
37
|
+
import "./commands-registry-CrUYTcEC.js";
|
|
38
|
+
import "./skill-commands-D9OuggWL.js";
|
|
39
|
+
import "./fetch-O45GieZo.js";
|
|
40
|
+
import "./diagnostic-CtKfuST-.js";
|
|
41
|
+
import "./pi-model-discovery-BZmrv91u.js";
|
|
42
|
+
import "./ir-DUaFgyfF.js";
|
|
43
|
+
import "./render-95l30zcf.js";
|
|
44
|
+
import "./send-eAODLWdR.js";
|
|
45
|
+
import "./outbound-attachment-DQAafXn8.js";
|
|
46
|
+
import "./send-DB-60Msd.js";
|
|
47
|
+
import "./channel-activity-DyI7jd_J.js";
|
|
48
|
+
import "./tables-CfbETQOG.js";
|
|
49
|
+
import "./proxy-BOZmkV9K.js";
|
|
50
|
+
import "./manager-kvjCsbh-.js";
|
|
51
|
+
import "./query-expansion-BcKMYGvP.js";
|
|
52
|
+
import { t as sendMessageWhatsApp } from "./outbound-lNvDJeBz.js";
|
|
53
|
+
import "./session-C0s_0CGs.js";
|
|
54
|
+
import "./login-DWWzbOcy.js";
|
|
55
|
+
import "./web-C4htBVBv.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-Dhw5h35s.js";
|
|
2
|
+
import { O as createSubsystemLogger } from "./logger-Bl138Nx7.js";
|
|
3
3
|
|
|
4
4
|
//#region src/logging/diagnostic-session-state.ts
|
|
5
5
|
const diagnosticSessionStates = /* @__PURE__ */ new Map();
|
|
@@ -4,7 +4,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
4
4
|
import fs, { constants } from "node:fs";
|
|
5
5
|
import { Logger } from "tslog";
|
|
6
6
|
import os from "node:os";
|
|
7
|
-
import
|
|
7
|
+
import JSON5 from "json5";
|
|
8
8
|
import { isDeepStrictEqual, promisify } from "node:util";
|
|
9
9
|
import fs$1 from "node:fs/promises";
|
|
10
10
|
import { execFile, execFileSync, spawn } from "node:child_process";
|
|
@@ -802,7 +802,7 @@ function readLoggingConfig() {
|
|
|
802
802
|
try {
|
|
803
803
|
if (!fs.existsSync(configPath)) return;
|
|
804
804
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
805
|
-
const logging =
|
|
805
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
806
806
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
807
807
|
return logging;
|
|
808
808
|
} catch {
|
|
@@ -5861,7 +5861,7 @@ const defaultResolver = {
|
|
|
5861
5861
|
resolvedPath,
|
|
5862
5862
|
rootRealDir
|
|
5863
5863
|
}),
|
|
5864
|
-
parseJson: (raw) =>
|
|
5864
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
5865
5865
|
};
|
|
5866
5866
|
/**
|
|
5867
5867
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -13176,7 +13176,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
13176
13176
|
function normalizeDeps(overrides = {}) {
|
|
13177
13177
|
return {
|
|
13178
13178
|
fs: overrides.fs ?? fs,
|
|
13179
|
-
json5: overrides.json5 ??
|
|
13179
|
+
json5: overrides.json5 ?? JSON5,
|
|
13180
13180
|
env: overrides.env ?? process.env,
|
|
13181
13181
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
13182
13182
|
configPath: overrides.configPath ?? "",
|
|
@@ -13187,11 +13187,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
13187
13187
|
if (env !== process.env) return;
|
|
13188
13188
|
loadDotEnv({ quiet: true });
|
|
13189
13189
|
}
|
|
13190
|
-
function parseConfigJson5(raw, json5
|
|
13190
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
13191
13191
|
try {
|
|
13192
13192
|
return {
|
|
13193
13193
|
ok: true,
|
|
13194
|
-
parsed: json5
|
|
13194
|
+
parsed: json5.parse(raw)
|
|
13195
13195
|
};
|
|
13196
13196
|
} catch (err) {
|
|
13197
13197
|
return {
|