squidclaw 3.3.1 → 3.3.3
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/CHANGELOG.md +6 -0
- package/dist/{audio-preflight-BSsGMMaR.js → audio-preflight-B5XvcdFX.js} +4 -4
- package/dist/{audio-transcription-runner-BUC9KMTa.js → audio-transcription-runner-DUC0ItDY.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/canvas-host/a2ui/a2ui.bundle.js +1 -1
- package/dist/{chrome-B-c9WuZW.js → chrome-BTwG9Gvh.js} +8 -8
- package/dist/{command-registry-8dFoJNwF.js → command-registry-okNPqigX.js} +4 -4
- package/dist/{completion-cli-DXKg2zHx.js → completion-cli-C_kX-zqx.js} +2 -2
- package/dist/{completion-cli-BLY0f3DS.js → completion-cli-DMPoKYSD.js} +1 -1
- package/dist/control-ui/assets/{index-BqxuPQOl.js → index-Bb5MB8jH.js} +358 -358
- package/dist/control-ui/assets/index-Bb5MB8jH.js.map +1 -0
- package/dist/control-ui/index.html +1 -1
- package/dist/{deliver-cyA5bLhi.js → deliver-DZCNXFM8.js} +1 -1
- package/dist/{deliver-runtime-BVu0kgJH.js → deliver-runtime-BJoBkkm_.js} +3 -3
- package/dist/{deps-send-whatsapp.runtime-BKbax18q.js → deps-send-whatsapp.runtime-CO3zaqTI.js} +7 -7
- package/dist/{doctor-completion-kjDYgxZk.js → doctor-completion-D6js0phx.js} +1 -1
- package/dist/{doctor-completion-B4EOgAHX.js → doctor-completion-Dzzgvaw-.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{gateway-cli-7hy6G1el.js → gateway-cli-C_bDC15s.js} +1 -1
- package/dist/{gateway-cli-lvhI_G2p.js → gateway-cli-DZSjLGTJ.js} +1 -1
- package/dist/{image-DNaaTm7C.js → image-COAbpp2B.js} +1 -1
- package/dist/{image-runtime-DzKlwROz.js → image-runtime-Dkwf1-U3.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{onboard-CNVVt7F3.js → onboard-CaDp4p48.js} +1 -1
- package/dist/{onboard-BP7rTtCO.js → onboard-qnQqEy5h.js} +1 -1
- package/dist/{onboarding-DQa8M7Fx.js → onboarding-D1z3JAaB.js} +1 -1
- package/dist/{onboarding-LbGi6oDz.js → onboarding-mo7rwJC-.js} +1 -1
- package/dist/{onboarding.finalize-D6qUa-0y.js → onboarding.finalize-CWzwBDG8.js} +67 -21
- package/dist/{onboarding.finalize-CWcaxeIO.js → onboarding.finalize-D8igsmtY.js} +66 -20
- package/dist/{pi-embedded-B0Fw5lST.js → pi-embedded-BKtpY3e4.js} +24 -24
- package/dist/{pi-embedded-helpers-DL-PzuCP.js → pi-embedded-helpers-1Z1aUoto.js} +3 -3
- package/dist/plugin-sdk/{accounts-ByCKM_Y3.js → accounts-BChIl5as.js} +2 -2
- package/dist/plugin-sdk/{accounts-BLOLIF6Q.js → accounts-BhCAa-05.js} +2 -2
- package/dist/plugin-sdk/{accounts-BvzvDHNx.js → accounts-DKXGC2Vu.js} +3 -3
- package/dist/plugin-sdk/{active-listener-Ccj2fSCa.js → active-listener-TTbK9PGk.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-0Xm0okk5.js → api-key-rotation-BqhYVBBK.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-B_pcDw8d.js → audio-preflight-DAf0ptAM.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-u6tijzUS.js → audio-transcription-runner-CBASOlbc.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-BVUdxSNs.js → channel-activity-95JVLzNY.js} +3 -3
- package/dist/plugin-sdk/{channel-web-BX2s-JXF.js → channel-web-DCkC6Ydu.js} +18 -18
- package/dist/plugin-sdk/{chrome-6EkqVcyR.js → chrome-BlXpNOQu.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-CDHo6SSs.js → commands-registry-C9y_w3eW.js} +4 -4
- package/dist/plugin-sdk/{common-Emz6EPQM.js → common-CEwMUbms.js} +2 -2
- package/dist/plugin-sdk/{config-CMjn_DSB.js → config-sMifxgre.js} +7 -7
- package/dist/plugin-sdk/{deliver-Cz6GluMN.js → deliver-2zt3NeFA.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-Dx0Sg-lg.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-bKwjojX0.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-DcxfdKGE.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-79rGat6V.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-DfMO701H.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-Bnjwm6SU.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-CS50_Jgh.js +57 -0
- package/dist/plugin-sdk/{diagnostic-DhO2TqL_.js → diagnostic-CU_mni6m.js} +2 -2
- package/dist/plugin-sdk/{errors-9oVz7reJ.js → errors-CgRPdp3o.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-CGQ35-A_.js → fetch-guard-BxMLJbqt.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-B26UxJny.js → fs-safe-5aQcM_qM.js} +3 -3
- package/dist/plugin-sdk/{image-DPgEp54d.js → image-BJXV9IMV.js} +6 -6
- package/dist/plugin-sdk/{image-ops-CbKrfi-N.js → image-ops-DovJMvdf.js} +2 -2
- package/dist/plugin-sdk/image-runtime-f-WKB3Bx.js +25 -0
- package/dist/plugin-sdk/imessage.js +2 -2
- package/dist/plugin-sdk/{ir-4JdLS2Hz.js → ir-DE2ewdq5.js} +7 -7
- package/dist/plugin-sdk/{local-roots-T6lXDGzr.js → local-roots-CIwDgpY2.js} +4 -4
- package/dist/plugin-sdk/{logger-Bg4vIUJn.js → logger-DIb2cGHp.js} +2 -2
- package/dist/plugin-sdk/{login-BNCjks0C.js → login-CLIcsAVy.js} +4 -4
- package/dist/plugin-sdk/{login-qr-CTjNgxhl.js → login-qr-BlxjA0vQ.js} +5 -5
- package/dist/plugin-sdk/{manager-D__CoDGL.js → manager-CpAGPHeX.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-DAKJEbuY.js +15 -0
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/{outbound-DTQ-9Cjw.js → outbound-DDpRevO_.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-CdHX9v0q.js → outbound-attachment-CVavq5II.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-DSCFtpsd.js → path-alias-guards-BfpU4lAT.js} +1 -1
- package/dist/plugin-sdk/{paths-BQHqKGA8.js → paths-CK3lTJYw.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-B7nmCbf7.js → pi-embedded-helpers-Cb_h9zSJ.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-DyDwYiK3.js → pi-model-discovery-B3B3R7L9.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-Bm4bHwpO.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-D_f6TDo7.js → pi-tools.before-tool-call.runtime-DivpBAM0.js} +4 -4
- package/dist/plugin-sdk/{plugins-BSPvol4w.js → plugins-BlTrm4bw.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-D-iVYTBk.js → proxy-env-Cdh-OQYk.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-Cf3IUSDw.js → proxy-fetch-Dt5BedH8.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-BO445UDA.js → pw-ai-DEDRpMlY.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-81ezWnIN.js → qmd-manager-Ct9rtJjd.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-DxTmIU4K.js → query-expansion-OdwWuN1S.js} +4 -4
- package/dist/plugin-sdk/{redact-DfACyt0X.js → redact-9WsNyb7S.js} +1 -1
- package/dist/plugin-sdk/{reply-DJ3rbbnv.js → reply-wZhosbPd.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-DtQd8TzZ.js → resolve-outbound-target-BJmCIkW_.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-CYcPpb5E.js → run-with-concurrency-EUEKeAa8.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-D74eZbH7.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-BidSddX5.js +19 -0
- package/dist/plugin-sdk/{send-CGjI0pJn.js → send-0C4KdD-T.js} +7 -7
- package/dist/plugin-sdk/{send-D6nUI0S3.js → send-BGWGV_mz.js} +6 -6
- package/dist/plugin-sdk/{send-BPEn9L0o.js → send-BMWyVUhm.js} +13 -13
- package/dist/plugin-sdk/{send-B9GVkvTk.js → send-Drs4JqVD.js} +5 -5
- package/dist/plugin-sdk/{send-CZ6HDwDu.js → send-oo6mQbab.js} +8 -8
- package/dist/plugin-sdk/{session-Bwjlseuf.js → session-CXVARKFK.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-BpB2Oe8e.js → skill-commands-CoqGFLfM.js} +4 -4
- package/dist/plugin-sdk/{skills-CaQpr1kx.js → skills-di-5uS9y.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-CseiMacz.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-88gX6CLk.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-BNrQNIZ7.js +16 -0
- package/dist/plugin-sdk/{store-K6C7eOpg.js → store-Dn_E3uaN.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-Cv8RHTjT.js +52 -0
- package/dist/plugin-sdk/{tables-CeWt6UjS.js → tables-_e9wMygc.js} +1 -1
- package/dist/plugin-sdk/{thinking-gpcjIDQZ.js → thinking-Cih_nxDY.js} +7 -7
- package/dist/plugin-sdk/{tokens-DAL_5WHL.js → tokens-CLE20fRI.js} +1 -1
- package/dist/plugin-sdk/{tool-images-l3TE_qXt.js → tool-images-D6a1Ua4p.js} +2 -2
- package/dist/plugin-sdk/web-C4tTN9Xu.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-CbzdjX4B.js → whatsapp-actions-UAnHjKbE.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{program-DZxExBPG.js → program-Crlu6-Fd.js} +2 -2
- package/dist/{program-context-Cc5-MG37.js → program-context-BUiGRFn1.js} +6 -6
- package/dist/{prompt-select-styled-BmJHQFIe.js → prompt-select-styled-BeIW1IXq.js} +1 -1
- package/dist/{prompt-select-styled-CK2Ienpq.js → prompt-select-styled-DPnXlfvv.js} +1 -1
- package/dist/{pw-ai-DKk-nxfi.js → pw-ai-4QFtj-s9.js} +1 -1
- package/dist/{register.maintenance-Di-_iCcy.js → register.maintenance-BETLfpr3.js} +4 -4
- package/dist/{register.maintenance-zjqp4gVD.js → register.maintenance-DWquSvC1.js} +5 -5
- package/dist/{register.onboard-w_EDtQ3H.js → register.onboard-CJqPKqea.js} +2 -2
- package/dist/{register.onboard-D8V8BiRf.js → register.onboard-FYANtcb-.js} +2 -2
- package/dist/{register.setup-DkncXaAW.js → register.setup-DzAgPerh.js} +2 -2
- package/dist/{register.setup-CuD_ucSh.js → register.setup-_38deeF2.js} +2 -2
- package/dist/{register.subclis-D_k3jp2m.js → register.subclis-DX9OFUYu.js} +3 -3
- package/dist/{run-main-Czc9ESzd.js → run-main-BjSdMh29.js} +3 -3
- package/dist/{slash-dispatch.runtime-C6owhNFn.js → slash-dispatch.runtime-DxM7VUio.js} +6 -6
- package/dist/{subagent-registry-runtime-Chbfn_dG.js → subagent-registry-runtime-CrVeg8cq.js} +6 -6
- package/dist/{update-cli-XGRmAcuW.js → update-cli-Bh_QpVMZ.js} +4 -4
- package/dist/{update-cli-FbS4oJu1.js → update-cli-yUlN0mCs.js} +5 -5
- package/dist/{web-snD8T3x5.js → web-BmVAq-Dx.js} +6 -6
- package/extensions/acpx/node_modules/.bin/acpx +2 -2
- package/extensions/diagnostics-otel/node_modules/.bin/acorn +2 -2
- package/extensions/diffs/node_modules/.bin/playwright-core +2 -2
- package/extensions/googlechat/node_modules/.bin/squidclaw +2 -2
- package/extensions/matrix/node_modules/.bin/markdown-it +2 -2
- package/extensions/memory-core/node_modules/.bin/squidclaw +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/openai +2 -2
- package/extensions/tlon/node_modules/.bin/tlon +2 -2
- package/package.json +1 -1
- package/dist/control-ui/assets/index-BqxuPQOl.js.map +0 -1
- package/dist/plugin-sdk/deliver-runtime-CjCJkoFM.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-C4AEwjGl.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-DCdEe-_E.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-BNO6SPmR.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-BChVBURL.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-DyCorUw2.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-DoOYrpKa.js +0 -57
- package/dist/plugin-sdk/image-runtime-DN6PHT8G.js +0 -25
- package/dist/plugin-sdk/manager-runtime-B9aBGLrF.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-CN6ZaL0W.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-ai8hcGi_.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-BzvoaI1G.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-BH06o3dH.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-BotYesgY.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-CzPvxiUD.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-BbcgUYOO.js +0 -52
- package/dist/plugin-sdk/web-DZ7nBzZy.js +0 -56
- package/docs/reference/templates/IDENTITY.md +0 -14
- package/docs/reference/templates/USER.md +0 -9
- package/extensions/nostr/node_modules/.bin/tsc +0 -21
- package/extensions/nostr/node_modules/.bin/tsserver +0 -21
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { In as withFileLock$1, Qn as isTruthyEnvValue, i as readConfigFileSnapshotForWrite, jt as resolveTelegramPreviewStreamMode, n as loadConfig, o as writeConfigFile } from "./config-
|
|
3
|
-
import { F as danger, L as logVerbose, O as createSubsystemLogger, a as CONFIG_DIR, b as safeParseJson } from "./logger-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-EUEKeAa8.js";
|
|
2
|
+
import { In as withFileLock$1, Qn as isTruthyEnvValue, i as readConfigFileSnapshotForWrite, jt as resolveTelegramPreviewStreamMode, n as loadConfig, o as writeConfigFile } from "./config-sMifxgre.js";
|
|
3
|
+
import { F as danger, L as logVerbose, O as createSubsystemLogger, a as CONFIG_DIR, b as safeParseJson } from "./logger-DIb2cGHp.js";
|
|
4
4
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-Duwviem_.js";
|
|
5
|
-
import { l as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
6
|
-
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-
|
|
5
|
+
import { l as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BlTrm4bw.js";
|
|
6
|
+
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-DovJMvdf.js";
|
|
7
7
|
import { r as writeJsonAtomic } from "./json-files-DtF9ARSD.js";
|
|
8
|
-
import { t as redactSensitiveText } from "./redact-
|
|
9
|
-
import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-
|
|
10
|
-
import { t as hasProxyEnvConfigured } from "./proxy-env-
|
|
11
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
8
|
+
import { t as redactSensitiveText } from "./redact-9WsNyb7S.js";
|
|
9
|
+
import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-CgRPdp3o.js";
|
|
10
|
+
import { t as hasProxyEnvConfigured } from "./proxy-env-Cdh-OQYk.js";
|
|
11
|
+
import { t as makeProxyFetch } from "./proxy-fetch-Dt5BedH8.js";
|
|
12
12
|
import { t as resolveFetch } from "./fetch-D3HDdlk7.js";
|
|
13
13
|
import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget, t as normalizeTelegramChatId } from "./targets-BHZKnwxJ.js";
|
|
14
|
-
import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
14
|
+
import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-DE2ewdq5.js";
|
|
15
15
|
import { t as renderMarkdownWithMarkers } from "./render-95l30zcf.js";
|
|
16
16
|
import { n as normalizePollInput } from "./polls-CuwZJ8h2.js";
|
|
17
17
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-BbCcHhSJ.js";
|
|
18
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
18
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-95JVLzNY.js";
|
|
19
19
|
import path from "node:path";
|
|
20
20
|
import fs, { readFileSync } from "node:fs";
|
|
21
21
|
import os from "node:os";
|
|
22
|
-
import
|
|
22
|
+
import JSON5 from "json5";
|
|
23
23
|
import fs$1 from "node:fs/promises";
|
|
24
24
|
import process$1 from "node:process";
|
|
25
25
|
import crypto, { randomBytes } from "node:crypto";
|
|
@@ -1720,7 +1720,7 @@ async function loadCronStore(storePath) {
|
|
|
1720
1720
|
const raw = await fs.promises.readFile(storePath, "utf-8");
|
|
1721
1721
|
let parsed;
|
|
1722
1722
|
try {
|
|
1723
|
-
parsed =
|
|
1723
|
+
parsed = JSON5.parse(raw);
|
|
1724
1724
|
} catch (err) {
|
|
1725
1725
|
throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
|
|
1726
1726
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as loadConfig } from "./config-
|
|
2
|
-
import { m as kindFromMime } from "./image-ops-
|
|
3
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
1
|
+
import { n as loadConfig } from "./config-sMifxgre.js";
|
|
2
|
+
import { m as kindFromMime } from "./image-ops-DovJMvdf.js";
|
|
3
|
+
import { n as resolveSignalAccount } from "./accounts-BChIl5as.js";
|
|
4
4
|
import { n as generateSecureUuid } from "./secure-random-D2mQUJdh.js";
|
|
5
5
|
import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
|
|
6
6
|
import { t as resolveFetch } from "./fetch-D3HDdlk7.js";
|
|
7
|
-
import { n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
8
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
7
|
+
import { n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-DE2ewdq5.js";
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-CVavq5II.js";
|
|
9
9
|
|
|
10
10
|
//#region src/signal/format.ts
|
|
11
11
|
function normalizeUrlForComparison(url) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { en as resolveRetryConfig, n as loadConfig, tn as retryAsync } from "./config-
|
|
3
|
-
import { Y as resolvePreferredSquidClawTmpDir } from "./logger-
|
|
4
|
-
import { b as resolveDiscordAccount, x as normalizeDiscordToken } from "./plugins-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-EUEKeAa8.js";
|
|
2
|
+
import { en as resolveRetryConfig, n as loadConfig, tn as retryAsync } from "./config-sMifxgre.js";
|
|
3
|
+
import { Y as resolvePreferredSquidClawTmpDir } from "./logger-DIb2cGHp.js";
|
|
4
|
+
import { b as resolveDiscordAccount, x as normalizeDiscordToken } from "./plugins-BlTrm4bw.js";
|
|
5
5
|
import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-CExphG7Z.js";
|
|
6
|
-
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
6
|
+
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-DovJMvdf.js";
|
|
7
7
|
import { t as resolveFetch } from "./fetch-D3HDdlk7.js";
|
|
8
|
-
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, m as resolveChunkMode, o as loadWebMediaRaw, s as resolveMarkdownTableMode } from "./ir-
|
|
8
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, m as resolveChunkMode, o as loadWebMediaRaw, s as resolveMarkdownTableMode } from "./ir-DE2ewdq5.js";
|
|
9
9
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-CuwZJ8h2.js";
|
|
10
10
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-BbCcHhSJ.js";
|
|
11
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
12
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
11
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-95JVLzNY.js";
|
|
12
|
+
import { t as convertMarkdownTables } from "./tables-_e9wMygc.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import { promisify } from "node:util";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Tr as formatCliCommand, qn as VERSION } from "./config-
|
|
2
|
-
import { B as success, F as danger, G as getChildLogger, K as toPinoLikeLogger, l as ensureDir, y as resolveUserPath } from "./logger-
|
|
3
|
-
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-
|
|
1
|
+
import { Tr as formatCliCommand, qn as VERSION } from "./config-sMifxgre.js";
|
|
2
|
+
import { B as success, F as danger, G as getChildLogger, K as toPinoLikeLogger, l as ensureDir, y as resolveUserPath } from "./logger-DIb2cGHp.js";
|
|
3
|
+
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-DKXGC2Vu.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { randomUUID } from "node:crypto";
|
|
6
6
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir, r as listAgentIds, s as resolveAgentSkillsFilter } from "./run-with-concurrency-
|
|
2
|
-
import { L as logVerbose, O as createSubsystemLogger, a as CONFIG_DIR, y as resolveUserPath } from "./logger-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir, r as listAgentIds, s as resolveAgentSkillsFilter } from "./run-with-concurrency-EUEKeAa8.js";
|
|
2
|
+
import { L as logVerbose, O as createSubsystemLogger, a as CONFIG_DIR, y as resolveUserPath } from "./logger-DIb2cGHp.js";
|
|
3
3
|
import { c as resolveStateDir } from "./paths-Duwviem_.js";
|
|
4
4
|
import { t as createAsyncLock } from "./json-files-DtF9ARSD.js";
|
|
5
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
6
|
-
import { i as listChatCommands } from "./commands-registry-
|
|
5
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-di-5uS9y.js";
|
|
6
|
+
import { i as listChatCommands } from "./commands-registry-C9y_w3eW.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { E as resolveSquidClawPackageRootSync, H as normalizeSkillFilter, z as isPathInside } from "./run-with-concurrency-
|
|
2
|
-
import { $n as parseBooleanValue, J as resolveMemorySlotDecision, K as normalizePluginsConfig, U as LEGACY_MANIFEST_KEYS, W as MANIFEST_KEY, Xn as isDangerousHostEnvVarName, kn as isPathInsideWithRealpath, nr as normalizeResolvedSecretInputString, q as resolveEffectiveEnableState, z as loadPluginManifestRegistry } from "./config-
|
|
3
|
-
import { O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, a as CONFIG_DIR, y as resolveUserPath } from "./logger-
|
|
4
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
1
|
+
import { E as resolveSquidClawPackageRootSync, H as normalizeSkillFilter, z as isPathInside } from "./run-with-concurrency-EUEKeAa8.js";
|
|
2
|
+
import { $n as parseBooleanValue, J as resolveMemorySlotDecision, K as normalizePluginsConfig, U as LEGACY_MANIFEST_KEYS, W as MANIFEST_KEY, Xn as isDangerousHostEnvVarName, kn as isPathInsideWithRealpath, nr as normalizeResolvedSecretInputString, q as resolveEffectiveEnableState, z as loadPluginManifestRegistry } from "./config-sMifxgre.js";
|
|
3
|
+
import { O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, a as CONFIG_DIR, y as resolveUserPath } from "./logger-DIb2cGHp.js";
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-BfpU4lAT.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import os from "node:os";
|
|
8
|
-
import
|
|
8
|
+
import JSON5 from "json5";
|
|
9
9
|
import { URL as URL$1, fileURLToPath } from "node:url";
|
|
10
10
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
11
11
|
import YAML from "yaml";
|
|
@@ -285,7 +285,7 @@ function resolveSquidClawManifestBlock(params) {
|
|
|
285
285
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
286
286
|
if (!raw) return;
|
|
287
287
|
try {
|
|
288
|
-
const parsed =
|
|
288
|
+
const parsed = JSON5.parse(raw);
|
|
289
289
|
if (!parsed || typeof parsed !== "object") return;
|
|
290
290
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
291
291
|
for (const key of manifestKeys) {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./run-with-concurrency-EUEKeAa8.js";
|
|
2
|
+
import "./config-sMifxgre.js";
|
|
3
|
+
import "./logger-DIb2cGHp.js";
|
|
4
|
+
import "./paths-Duwviem_.js";
|
|
5
|
+
import "./accounts-DKXGC2Vu.js";
|
|
6
|
+
import "./plugins-BlTrm4bw.js";
|
|
7
|
+
import "./thinking-Cih_nxDY.js";
|
|
8
|
+
import "./accounts-BhCAa-05.js";
|
|
9
|
+
import "./accounts-BChIl5as.js";
|
|
10
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
11
|
+
import { f as resolveCommandArgMenu, n as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-C9y_w3eW.js";
|
|
12
|
+
|
|
13
|
+
export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import "./run-with-concurrency-EUEKeAa8.js";
|
|
2
|
+
import "./config-sMifxgre.js";
|
|
3
|
+
import "./logger-DIb2cGHp.js";
|
|
4
|
+
import "./paths-Duwviem_.js";
|
|
5
|
+
import "./accounts-DKXGC2Vu.js";
|
|
6
|
+
import "./plugins-BlTrm4bw.js";
|
|
7
|
+
import "./thinking-Cih_nxDY.js";
|
|
8
|
+
import "./accounts-BhCAa-05.js";
|
|
9
|
+
import "./send-BGWGV_mz.js";
|
|
10
|
+
import "./common-CEwMUbms.js";
|
|
11
|
+
import { H as finalizeInboundContext, O as resolveAgentRoute, S as dispatchReplyWithDispatcher, o as deliverSlackSlashReplies, r as recordInboundSessionMetaSafe, u as createReplyPrefixOptions } from "./reply-wZhosbPd.js";
|
|
12
|
+
import "./image-ops-DovJMvdf.js";
|
|
13
|
+
import { rn as resolveConversationLabel } from "./pi-embedded-helpers-Cb_h9zSJ.js";
|
|
14
|
+
import "./accounts-BChIl5as.js";
|
|
15
|
+
import "./send-oo6mQbab.js";
|
|
16
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
17
|
+
import "./paths-CK3lTJYw.js";
|
|
18
|
+
import "./send-BMWyVUhm.js";
|
|
19
|
+
import "./tokens-CLE20fRI.js";
|
|
20
|
+
import "./audio-transcription-runner-CBASOlbc.js";
|
|
21
|
+
import "./image-BJXV9IMV.js";
|
|
22
|
+
import "./chrome-BlXpNOQu.js";
|
|
23
|
+
import "./skills-di-5uS9y.js";
|
|
24
|
+
import "./path-alias-guards-BfpU4lAT.js";
|
|
25
|
+
import "./redact-9WsNyb7S.js";
|
|
26
|
+
import "./errors-CgRPdp3o.js";
|
|
27
|
+
import "./fs-safe-5aQcM_qM.js";
|
|
28
|
+
import "./proxy-env-Cdh-OQYk.js";
|
|
29
|
+
import "./store-Dn_E3uaN.js";
|
|
30
|
+
import "./tool-images-D6a1Ua4p.js";
|
|
31
|
+
import "./fetch-guard-BxMLJbqt.js";
|
|
32
|
+
import "./api-key-rotation-BqhYVBBK.js";
|
|
33
|
+
import "./local-roots-CIwDgpY2.js";
|
|
34
|
+
import "./proxy-fetch-Dt5BedH8.js";
|
|
35
|
+
import "./deliver-2zt3NeFA.js";
|
|
36
|
+
import "./commands-registry-C9y_w3eW.js";
|
|
37
|
+
import "./skill-commands-CoqGFLfM.js";
|
|
38
|
+
import "./fetch-D3HDdlk7.js";
|
|
39
|
+
import "./diagnostic-CU_mni6m.js";
|
|
40
|
+
import "./pi-model-discovery-B3B3R7L9.js";
|
|
41
|
+
import { m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-DE2ewdq5.js";
|
|
42
|
+
import "./render-95l30zcf.js";
|
|
43
|
+
import "./send-Drs4JqVD.js";
|
|
44
|
+
import "./outbound-attachment-CVavq5II.js";
|
|
45
|
+
import "./send-0C4KdD-T.js";
|
|
46
|
+
import "./channel-activity-95JVLzNY.js";
|
|
47
|
+
import "./tables-_e9wMygc.js";
|
|
48
|
+
import "./proxy-BOZmkV9K.js";
|
|
49
|
+
import "./manager-CpAGPHeX.js";
|
|
50
|
+
import "./query-expansion-OdwWuN1S.js";
|
|
51
|
+
|
|
52
|
+
export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import "./run-with-concurrency-EUEKeAa8.js";
|
|
2
|
+
import "./config-sMifxgre.js";
|
|
3
|
+
import "./logger-DIb2cGHp.js";
|
|
4
|
+
import "./paths-Duwviem_.js";
|
|
5
|
+
import "./accounts-DKXGC2Vu.js";
|
|
6
|
+
import "./plugins-BlTrm4bw.js";
|
|
7
|
+
import "./thinking-Cih_nxDY.js";
|
|
8
|
+
import "./accounts-BhCAa-05.js";
|
|
9
|
+
import "./accounts-BChIl5as.js";
|
|
10
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
11
|
+
import "./skills-di-5uS9y.js";
|
|
12
|
+
import "./path-alias-guards-BfpU4lAT.js";
|
|
13
|
+
import "./commands-registry-C9y_w3eW.js";
|
|
14
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-CoqGFLfM.js";
|
|
15
|
+
|
|
16
|
+
export { listSkillCommandsForAgents };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as resolveConfigDir } from "./logger-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { _ as resolveConfigDir } from "./logger-DIb2cGHp.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-DovJMvdf.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs$1 from "node:fs/promises";
|
|
5
5
|
import crypto from "node:crypto";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import "./run-with-concurrency-EUEKeAa8.js";
|
|
2
|
+
import "./config-sMifxgre.js";
|
|
3
|
+
import "./logger-DIb2cGHp.js";
|
|
4
|
+
import "./paths-Duwviem_.js";
|
|
5
|
+
import "./accounts-DKXGC2Vu.js";
|
|
6
|
+
import "./plugins-BlTrm4bw.js";
|
|
7
|
+
import "./thinking-Cih_nxDY.js";
|
|
8
|
+
import "./accounts-BhCAa-05.js";
|
|
9
|
+
import "./send-BGWGV_mz.js";
|
|
10
|
+
import "./common-CEwMUbms.js";
|
|
11
|
+
import { F as resolveRequesterForChildSession, M as countPendingDescendantRuns, N as countPendingDescendantRunsExcludingRun, P as isSubagentSessionRunActive, j as countActiveDescendantRuns } from "./reply-wZhosbPd.js";
|
|
12
|
+
import "./image-ops-DovJMvdf.js";
|
|
13
|
+
import "./pi-embedded-helpers-Cb_h9zSJ.js";
|
|
14
|
+
import "./accounts-BChIl5as.js";
|
|
15
|
+
import "./send-oo6mQbab.js";
|
|
16
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
17
|
+
import "./paths-CK3lTJYw.js";
|
|
18
|
+
import "./send-BMWyVUhm.js";
|
|
19
|
+
import "./tokens-CLE20fRI.js";
|
|
20
|
+
import "./audio-transcription-runner-CBASOlbc.js";
|
|
21
|
+
import "./image-BJXV9IMV.js";
|
|
22
|
+
import "./chrome-BlXpNOQu.js";
|
|
23
|
+
import "./skills-di-5uS9y.js";
|
|
24
|
+
import "./path-alias-guards-BfpU4lAT.js";
|
|
25
|
+
import "./redact-9WsNyb7S.js";
|
|
26
|
+
import "./errors-CgRPdp3o.js";
|
|
27
|
+
import "./fs-safe-5aQcM_qM.js";
|
|
28
|
+
import "./proxy-env-Cdh-OQYk.js";
|
|
29
|
+
import "./store-Dn_E3uaN.js";
|
|
30
|
+
import "./tool-images-D6a1Ua4p.js";
|
|
31
|
+
import "./fetch-guard-BxMLJbqt.js";
|
|
32
|
+
import "./api-key-rotation-BqhYVBBK.js";
|
|
33
|
+
import "./local-roots-CIwDgpY2.js";
|
|
34
|
+
import "./proxy-fetch-Dt5BedH8.js";
|
|
35
|
+
import "./deliver-2zt3NeFA.js";
|
|
36
|
+
import "./commands-registry-C9y_w3eW.js";
|
|
37
|
+
import "./skill-commands-CoqGFLfM.js";
|
|
38
|
+
import "./fetch-D3HDdlk7.js";
|
|
39
|
+
import "./diagnostic-CU_mni6m.js";
|
|
40
|
+
import "./pi-model-discovery-B3B3R7L9.js";
|
|
41
|
+
import "./ir-DE2ewdq5.js";
|
|
42
|
+
import "./render-95l30zcf.js";
|
|
43
|
+
import "./send-Drs4JqVD.js";
|
|
44
|
+
import "./outbound-attachment-CVavq5II.js";
|
|
45
|
+
import "./send-0C4KdD-T.js";
|
|
46
|
+
import "./channel-activity-95JVLzNY.js";
|
|
47
|
+
import "./tables-_e9wMygc.js";
|
|
48
|
+
import "./proxy-BOZmkV9K.js";
|
|
49
|
+
import "./manager-CpAGPHeX.js";
|
|
50
|
+
import "./query-expansion-OdwWuN1S.js";
|
|
51
|
+
|
|
52
|
+
export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, resolveRequesterForChildSession };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { ar as CHAT_CHANNEL_ORDER, mr as requireActivePluginRegistry, or as getChatChannelMeta } from "./config-
|
|
3
|
-
import { h as normalizeE164, u as escapeRegExp } from "./logger-
|
|
4
|
-
import { i as resolveWhatsAppAccount, v as resolveAccountEntry } from "./accounts-
|
|
5
|
-
import { C as normalizeWhatsAppTarget, b as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount } from "./plugins-
|
|
6
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
7
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
1
|
+
import { ot as normalizeAccountId } from "./run-with-concurrency-EUEKeAa8.js";
|
|
2
|
+
import { ar as CHAT_CHANNEL_ORDER, mr as requireActivePluginRegistry, or as getChatChannelMeta } from "./config-sMifxgre.js";
|
|
3
|
+
import { h as normalizeE164, u as escapeRegExp } from "./logger-DIb2cGHp.js";
|
|
4
|
+
import { i as resolveWhatsAppAccount, v as resolveAccountEntry } from "./accounts-DKXGC2Vu.js";
|
|
5
|
+
import { C as normalizeWhatsAppTarget, b as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount } from "./plugins-BlTrm4bw.js";
|
|
6
|
+
import { t as resolveIMessageAccount } from "./accounts-BhCAa-05.js";
|
|
7
|
+
import { n as resolveSignalAccount } from "./accounts-BChIl5as.js";
|
|
8
8
|
|
|
9
9
|
//#region src/channels/plugins/normalize/shared.ts
|
|
10
10
|
function trimMessagingTarget(raw) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as createSubsystemLogger } from "./logger-
|
|
2
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
1
|
+
import { O as createSubsystemLogger } from "./logger-DIb2cGHp.js";
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-DovJMvdf.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/base64.ts
|
|
5
5
|
function estimateBase64DecodedBytes(base64) {
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import "./run-with-concurrency-EUEKeAa8.js";
|
|
2
|
+
import "./config-sMifxgre.js";
|
|
3
|
+
import "./logger-DIb2cGHp.js";
|
|
4
|
+
import "./paths-Duwviem_.js";
|
|
5
|
+
import { _ as webAuthExists, c as logWebSelfId, d as pickWebChannel, o as WA_WEB_AUTH_DIR } from "./accounts-DKXGC2Vu.js";
|
|
6
|
+
import "./plugins-BlTrm4bw.js";
|
|
7
|
+
import "./thinking-Cih_nxDY.js";
|
|
8
|
+
import "./accounts-BhCAa-05.js";
|
|
9
|
+
import "./send-BGWGV_mz.js";
|
|
10
|
+
import "./common-CEwMUbms.js";
|
|
11
|
+
import "./reply-wZhosbPd.js";
|
|
12
|
+
import "./image-ops-DovJMvdf.js";
|
|
13
|
+
import "./pi-embedded-helpers-Cb_h9zSJ.js";
|
|
14
|
+
import "./accounts-BChIl5as.js";
|
|
15
|
+
import "./send-oo6mQbab.js";
|
|
16
|
+
import "./github-copilot-token-C0y6vp3r.js";
|
|
17
|
+
import "./paths-CK3lTJYw.js";
|
|
18
|
+
import "./send-BMWyVUhm.js";
|
|
19
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-DCkC6Ydu.js";
|
|
20
|
+
import "./tokens-CLE20fRI.js";
|
|
21
|
+
import "./audio-transcription-runner-CBASOlbc.js";
|
|
22
|
+
import "./image-BJXV9IMV.js";
|
|
23
|
+
import "./chrome-BlXpNOQu.js";
|
|
24
|
+
import "./skills-di-5uS9y.js";
|
|
25
|
+
import "./path-alias-guards-BfpU4lAT.js";
|
|
26
|
+
import "./redact-9WsNyb7S.js";
|
|
27
|
+
import "./errors-CgRPdp3o.js";
|
|
28
|
+
import "./fs-safe-5aQcM_qM.js";
|
|
29
|
+
import "./proxy-env-Cdh-OQYk.js";
|
|
30
|
+
import "./store-Dn_E3uaN.js";
|
|
31
|
+
import "./tool-images-D6a1Ua4p.js";
|
|
32
|
+
import "./fetch-guard-BxMLJbqt.js";
|
|
33
|
+
import "./api-key-rotation-BqhYVBBK.js";
|
|
34
|
+
import "./local-roots-CIwDgpY2.js";
|
|
35
|
+
import "./proxy-fetch-Dt5BedH8.js";
|
|
36
|
+
import "./deliver-2zt3NeFA.js";
|
|
37
|
+
import "./commands-registry-C9y_w3eW.js";
|
|
38
|
+
import "./skill-commands-CoqGFLfM.js";
|
|
39
|
+
import "./fetch-D3HDdlk7.js";
|
|
40
|
+
import "./diagnostic-CU_mni6m.js";
|
|
41
|
+
import "./pi-model-discovery-B3B3R7L9.js";
|
|
42
|
+
import "./ir-DE2ewdq5.js";
|
|
43
|
+
import "./render-95l30zcf.js";
|
|
44
|
+
import "./send-Drs4JqVD.js";
|
|
45
|
+
import "./outbound-attachment-CVavq5II.js";
|
|
46
|
+
import "./send-0C4KdD-T.js";
|
|
47
|
+
import "./channel-activity-95JVLzNY.js";
|
|
48
|
+
import "./tables-_e9wMygc.js";
|
|
49
|
+
import "./proxy-BOZmkV9K.js";
|
|
50
|
+
import "./manager-CpAGPHeX.js";
|
|
51
|
+
import "./query-expansion-OdwWuN1S.js";
|
|
52
|
+
import { t as sendMessageWhatsApp } from "./outbound-DDpRevO_.js";
|
|
53
|
+
import { i as waitForWaConnection, t as createWaSocket } from "./session-CXVARKFK.js";
|
|
54
|
+
import { t as loginWeb } from "./login-CLIcsAVy.js";
|
|
55
|
+
|
|
56
|
+
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./config-
|
|
3
|
-
import "./logger-
|
|
1
|
+
import "./run-with-concurrency-EUEKeAa8.js";
|
|
2
|
+
import "./config-sMifxgre.js";
|
|
3
|
+
import "./logger-DIb2cGHp.js";
|
|
4
4
|
import "./paths-Duwviem_.js";
|
|
5
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
6
|
-
import "./plugins-
|
|
7
|
-
import { f as readStringParam, l as readReactionParams, o as jsonResult, r as createActionGate, t as ToolAuthorizationError } from "./common-
|
|
8
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
9
|
-
import "./image-ops-
|
|
5
|
+
import { i as resolveWhatsAppAccount } from "./accounts-DKXGC2Vu.js";
|
|
6
|
+
import "./plugins-BlTrm4bw.js";
|
|
7
|
+
import { f as readStringParam, l as readReactionParams, o as jsonResult, r as createActionGate, t as ToolAuthorizationError } from "./common-CEwMUbms.js";
|
|
8
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BJmCIkW_.js";
|
|
9
|
+
import "./image-ops-DovJMvdf.js";
|
|
10
10
|
import "./github-copilot-token-C0y6vp3r.js";
|
|
11
|
-
import "./path-alias-guards-
|
|
12
|
-
import "./fs-safe-
|
|
13
|
-
import "./proxy-env-
|
|
14
|
-
import "./tool-images-
|
|
15
|
-
import "./fetch-guard-
|
|
16
|
-
import "./local-roots-
|
|
17
|
-
import "./ir-
|
|
11
|
+
import "./path-alias-guards-BfpU4lAT.js";
|
|
12
|
+
import "./fs-safe-5aQcM_qM.js";
|
|
13
|
+
import "./proxy-env-Cdh-OQYk.js";
|
|
14
|
+
import "./tool-images-D6a1Ua4p.js";
|
|
15
|
+
import "./fetch-guard-BxMLJbqt.js";
|
|
16
|
+
import "./local-roots-CIwDgpY2.js";
|
|
17
|
+
import "./ir-DE2ewdq5.js";
|
|
18
18
|
import "./render-95l30zcf.js";
|
|
19
|
-
import "./tables-
|
|
20
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
19
|
+
import "./tables-_e9wMygc.js";
|
|
20
|
+
import { r as sendReactionWhatsApp } from "./outbound-DDpRevO_.js";
|
|
21
21
|
|
|
22
22
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
23
23
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand, c as WhatsAppConfigSchema, or as getChatChannelMeta } from "./config-
|
|
3
|
-
import { f as isRecord, g as pathExists, h as normalizeE164 } from "./logger-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-EUEKeAa8.js";
|
|
2
|
+
import { Tr as formatCliCommand, c as WhatsAppConfigSchema, or as getChatChannelMeta } from "./config-sMifxgre.js";
|
|
3
|
+
import { f as isRecord, g as pathExists, h as normalizeE164 } from "./logger-DIb2cGHp.js";
|
|
4
4
|
import "./paths-Duwviem_.js";
|
|
5
|
-
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-
|
|
6
|
-
import { a as listWhatsAppDirectoryPeersFromConfig, i as listWhatsAppDirectoryGroupsFromConfig } from "./plugins-
|
|
7
|
-
import { D as resolveWhatsAppConfigDefaultTo, E as resolveWhatsAppConfigAllowFrom, O as looksLikeWhatsAppTargetId, T as formatWhatsAppConfigAllowFromEntries, _ as resolveWhatsAppGroupToolPolicy, g as resolveWhatsAppGroupRequireMention, h as resolveWhatsAppMentionStripPatterns, k as normalizeWhatsAppMessagingTarget, m as resolveWhatsAppGroupIntroHint } from "./thinking-
|
|
8
|
-
import "./accounts-
|
|
9
|
-
import "./send-
|
|
10
|
-
import { f as readStringParam, r as createActionGate } from "./common-
|
|
11
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
12
|
-
import { U as resolveAllowlistProviderRuntimeGroupPolicy, W as resolveDefaultGroupPolicy, n as formatDocsLink } from "./reply-
|
|
13
|
-
import "./image-ops-
|
|
14
|
-
import "./pi-embedded-helpers-
|
|
15
|
-
import "./accounts-
|
|
16
|
-
import "./send-
|
|
5
|
+
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-DKXGC2Vu.js";
|
|
6
|
+
import { a as listWhatsAppDirectoryPeersFromConfig, i as listWhatsAppDirectoryGroupsFromConfig } from "./plugins-BlTrm4bw.js";
|
|
7
|
+
import { D as resolveWhatsAppConfigDefaultTo, E as resolveWhatsAppConfigAllowFrom, O as looksLikeWhatsAppTargetId, T as formatWhatsAppConfigAllowFromEntries, _ as resolveWhatsAppGroupToolPolicy, g as resolveWhatsAppGroupRequireMention, h as resolveWhatsAppMentionStripPatterns, k as normalizeWhatsAppMessagingTarget, m as resolveWhatsAppGroupIntroHint } from "./thinking-Cih_nxDY.js";
|
|
8
|
+
import "./accounts-BhCAa-05.js";
|
|
9
|
+
import "./send-BGWGV_mz.js";
|
|
10
|
+
import { f as readStringParam, r as createActionGate } from "./common-CEwMUbms.js";
|
|
11
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BJmCIkW_.js";
|
|
12
|
+
import { U as resolveAllowlistProviderRuntimeGroupPolicy, W as resolveDefaultGroupPolicy, n as formatDocsLink } from "./reply-wZhosbPd.js";
|
|
13
|
+
import "./image-ops-DovJMvdf.js";
|
|
14
|
+
import "./pi-embedded-helpers-Cb_h9zSJ.js";
|
|
15
|
+
import "./accounts-BChIl5as.js";
|
|
16
|
+
import "./send-oo6mQbab.js";
|
|
17
17
|
import "./github-copilot-token-C0y6vp3r.js";
|
|
18
|
-
import "./paths-
|
|
19
|
-
import "./send-
|
|
20
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
21
|
-
import "./tokens-
|
|
22
|
-
import "./audio-transcription-runner-
|
|
23
|
-
import "./image-
|
|
24
|
-
import "./chrome-
|
|
25
|
-
import "./skills-
|
|
26
|
-
import "./path-alias-guards-
|
|
27
|
-
import "./redact-
|
|
28
|
-
import "./errors-
|
|
29
|
-
import "./fs-safe-
|
|
30
|
-
import "./proxy-env-
|
|
31
|
-
import "./store-
|
|
32
|
-
import "./tool-images-
|
|
33
|
-
import "./fetch-guard-
|
|
34
|
-
import "./api-key-rotation-
|
|
35
|
-
import "./local-roots-
|
|
36
|
-
import "./proxy-fetch-
|
|
37
|
-
import "./deliver-
|
|
38
|
-
import "./commands-registry-
|
|
39
|
-
import "./skill-commands-
|
|
18
|
+
import "./paths-CK3lTJYw.js";
|
|
19
|
+
import "./send-BMWyVUhm.js";
|
|
20
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-DCkC6Ydu.js";
|
|
21
|
+
import "./tokens-CLE20fRI.js";
|
|
22
|
+
import "./audio-transcription-runner-CBASOlbc.js";
|
|
23
|
+
import "./image-BJXV9IMV.js";
|
|
24
|
+
import "./chrome-BlXpNOQu.js";
|
|
25
|
+
import "./skills-di-5uS9y.js";
|
|
26
|
+
import "./path-alias-guards-BfpU4lAT.js";
|
|
27
|
+
import "./redact-9WsNyb7S.js";
|
|
28
|
+
import "./errors-CgRPdp3o.js";
|
|
29
|
+
import "./fs-safe-5aQcM_qM.js";
|
|
30
|
+
import "./proxy-env-Cdh-OQYk.js";
|
|
31
|
+
import "./store-Dn_E3uaN.js";
|
|
32
|
+
import "./tool-images-D6a1Ua4p.js";
|
|
33
|
+
import "./fetch-guard-BxMLJbqt.js";
|
|
34
|
+
import "./api-key-rotation-BqhYVBBK.js";
|
|
35
|
+
import "./local-roots-CIwDgpY2.js";
|
|
36
|
+
import "./proxy-fetch-Dt5BedH8.js";
|
|
37
|
+
import "./deliver-2zt3NeFA.js";
|
|
38
|
+
import "./commands-registry-C9y_w3eW.js";
|
|
39
|
+
import "./skill-commands-CoqGFLfM.js";
|
|
40
40
|
import "./fetch-D3HDdlk7.js";
|
|
41
|
-
import "./diagnostic-
|
|
42
|
-
import "./pi-model-discovery-
|
|
43
|
-
import "./ir-
|
|
41
|
+
import "./diagnostic-CU_mni6m.js";
|
|
42
|
+
import "./pi-model-discovery-B3B3R7L9.js";
|
|
43
|
+
import "./ir-DE2ewdq5.js";
|
|
44
44
|
import "./render-95l30zcf.js";
|
|
45
|
-
import "./send-
|
|
46
|
-
import "./outbound-attachment-
|
|
47
|
-
import "./send-
|
|
48
|
-
import "./channel-activity-
|
|
49
|
-
import "./tables-
|
|
45
|
+
import "./send-Drs4JqVD.js";
|
|
46
|
+
import "./outbound-attachment-CVavq5II.js";
|
|
47
|
+
import "./send-0C4KdD-T.js";
|
|
48
|
+
import "./channel-activity-95JVLzNY.js";
|
|
49
|
+
import "./tables-_e9wMygc.js";
|
|
50
50
|
import "./proxy-BOZmkV9K.js";
|
|
51
|
-
import "./manager-
|
|
52
|
-
import "./query-expansion-
|
|
53
|
-
import "./outbound-
|
|
54
|
-
import "./session-
|
|
55
|
-
import { t as loginWeb } from "./login-
|
|
51
|
+
import "./manager-CpAGPHeX.js";
|
|
52
|
+
import "./query-expansion-OdwWuN1S.js";
|
|
53
|
+
import "./outbound-DDpRevO_.js";
|
|
54
|
+
import "./session-CXVARKFK.js";
|
|
55
|
+
import { t as loginWeb } from "./login-CLIcsAVy.js";
|
|
56
56
|
import path from "node:path";
|
|
57
57
|
|
|
58
58
|
//#region src/plugins/config-schema.ts
|
|
@@ -114,8 +114,8 @@ import "./help-format-CpR5cEGe.js";
|
|
|
114
114
|
import "./progress-DuhDspl6.js";
|
|
115
115
|
import "./plugin-registry-CY6rt9xp.js";
|
|
116
116
|
import { n as resolveCliChannelOptions } from "./channel-options-D0gk9W37.js";
|
|
117
|
-
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-
|
|
118
|
-
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-
|
|
117
|
+
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-DX9OFUYu.js";
|
|
118
|
+
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-okNPqigX.js";
|
|
119
119
|
import { r as setProgramContext } from "./program-context-DKVuITe2.js";
|
|
120
120
|
import { t as forceFreePort } from "./ports-BzfeaNjw.js";
|
|
121
121
|
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-C9hwqM49.js";
|
|
@@ -58,7 +58,7 @@ const entries = [
|
|
|
58
58
|
description: "Run, inspect, and query the WebSocket Gateway",
|
|
59
59
|
hasSubcommands: true,
|
|
60
60
|
register: async (program) => {
|
|
61
|
-
(await import("./gateway-cli-
|
|
61
|
+
(await import("./gateway-cli-DZSjLGTJ.js")).registerGatewayCli(program);
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
{
|
|
@@ -262,7 +262,7 @@ const entries = [
|
|
|
262
262
|
description: "Update SquidClaw and inspect update channel status",
|
|
263
263
|
hasSubcommands: true,
|
|
264
264
|
register: async (program) => {
|
|
265
|
-
(await import("./update-cli-
|
|
265
|
+
(await import("./update-cli-Bh_QpVMZ.js")).registerUpdateCli(program);
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
{
|
|
@@ -270,7 +270,7 @@ const entries = [
|
|
|
270
270
|
description: "Generate shell completion script",
|
|
271
271
|
hasSubcommands: false,
|
|
272
272
|
register: async (program) => {
|
|
273
|
-
(await import("./completion-cli-
|
|
273
|
+
(await import("./completion-cli-DMPoKYSD.js").then((n) => n.n)).registerCompletionCli(program);
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
];
|
|
@@ -327,7 +327,7 @@ const coreEntries = [
|
|
|
327
327
|
hasSubcommands: false
|
|
328
328
|
}],
|
|
329
329
|
register: async ({ program }) => {
|
|
330
|
-
(await import("./register.setup-
|
|
330
|
+
(await import("./register.setup-_38deeF2.js")).registerSetupCommand(program);
|
|
331
331
|
}
|
|
332
332
|
},
|
|
333
333
|
{
|
|
@@ -337,7 +337,7 @@ const coreEntries = [
|
|
|
337
337
|
hasSubcommands: false
|
|
338
338
|
}],
|
|
339
339
|
register: async ({ program }) => {
|
|
340
|
-
(await import("./register.onboard-
|
|
340
|
+
(await import("./register.onboard-FYANtcb-.js")).registerOnboardCommand(program);
|
|
341
341
|
}
|
|
342
342
|
},
|
|
343
343
|
{
|
|
@@ -384,7 +384,7 @@ const coreEntries = [
|
|
|
384
384
|
}
|
|
385
385
|
],
|
|
386
386
|
register: async ({ program }) => {
|
|
387
|
-
(await import("./register.maintenance-
|
|
387
|
+
(await import("./register.maintenance-BETLfpr3.js")).registerMaintenanceCommands(program);
|
|
388
388
|
}
|
|
389
389
|
},
|
|
390
390
|
{
|