squidclaw 3.0.28 → 3.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-C7pGQPcS.js → accounts-A_9Khwyv.js} +2 -2
- package/dist/{accounts-DjhBQg_8.js → accounts-Cz_Fvguv.js} +2 -2
- package/dist/{accounts-DwGoZKGm.js → accounts-f6iuhXVV.js} +17 -17
- package/dist/{active-listener-DPc_PGsA.js → active-listener-Cpv61XW5.js} +2 -2
- package/dist/{api-key-rotation-DVyYtQxC.js → api-key-rotation-6zH7pb_E.js} +2 -2
- package/dist/{audio-preflight-BUCBED7N.js → audio-preflight-DsLwB4dE.js} +32 -32
- package/dist/{audio-transcription-runner-Cv0Q47cM.js → audio-transcription-runner-zGqnorSY.js} +12 -12
- package/dist/{audit-membership-runtime-DyLj-uhz.js → audit-membership-runtime-By9-qSwl.js} +4 -4
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +51 -51
- package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +153 -60
- package/dist/{channel-activity-CPpt4XaL.js → channel-activity-Byj9--iR.js} +3 -3
- package/dist/{chrome-OgCChbC_.js → chrome-BvWxjtGl.js} +18 -18
- package/dist/{commands-registry-BJjv8_oR.js → commands-registry-tedusR2M.js} +4 -4
- package/dist/{deliver-DMTUTpTM.js → deliver-RetmM0fn.js} +21 -21
- package/dist/deliver-runtime-tqK6d8Uv.js +36 -0
- package/dist/deps-send-discord.runtime-BGaHOctc.js +26 -0
- package/dist/deps-send-imessage.runtime-BIYidS73.js +25 -0
- package/dist/deps-send-signal.runtime-CjglZ1PO.js +24 -0
- package/dist/deps-send-slack.runtime-DOkzJ6nC.js +22 -0
- package/dist/deps-send-telegram.runtime-Cz8mtMyE.js +27 -0
- package/dist/deps-send-whatsapp.runtime-DFfgQ9HF.js +60 -0
- package/dist/{diagnostic-CnVwZNbm.js → diagnostic-DnZCgMrc.js} +2 -2
- package/dist/{errors-kkRuS2Cs.js → errors-CCLnP2Fs.js} +1 -1
- package/dist/{fetch-DP-JjB6Z.js → fetch-cQwsz0rO.js} +5 -5
- package/dist/{fetch-guard-BDy975wP.js → fetch-guard-BkqLWF6M.js} +2 -2
- package/dist/{frontmatter-Cq1TcIQ2.js → frontmatter-vSrur-r-.js} +5 -5
- package/dist/{fs-safe-BoB4X3GD.js → fs-safe-Dyju4C81.js} +4 -4
- package/dist/{github-copilot-token-B5cPlwaz.js → github-copilot-token-B8Wx9FgQ.js} +7 -7
- package/dist/{image-kKMG59st.js → image-kOIz_XGP.js} +6 -6
- package/dist/{image-ops-Dg8iraUV.js → image-ops-CumBuu0G.js} +2 -2
- package/dist/image-runtime-CSRwqD0g.js +29 -0
- package/dist/{ir-CKK03mBV.js → ir-rIK14_OY.js} +8 -8
- package/dist/{legacy-names-aGJJuzM_.js → legacy-names-CDxprteD.js} +1 -1
- package/dist/llm-slug-generator.js +51 -51
- package/dist/{logger-CnTSBL7T.js → logger-onBePS9K.js} +7 -7
- package/dist/{login-CeKDrz6_.js → login-BFH4YHqv.js} +5 -5
- package/dist/{login-qr-KbOpR0GQ.js → login-qr-BuzK_3o4.js} +10 -10
- package/dist/{manager-DINhLnMi.js → manager-B-q7-W4P.js} +13 -13
- package/dist/manager-runtime-CF4Tq0lu.js +18 -0
- package/dist/{model-selection-DuNLFQPR.js → model-selection-BEglDVk0.js} +48 -48
- package/dist/{outbound-C9svt6RH.js → outbound-ZriFY47D.js} +6 -6
- package/dist/{outbound-attachment-DwupUxYF.js → outbound-attachment-CtS0mrgi.js} +2 -2
- package/dist/{path-alias-guards-DORgbZ1w.js → path-alias-guards-CNSVgZrJ.js} +1 -1
- package/dist/{paths-DSd911Oe.js → paths-CUF9-Xea.js} +4 -4
- package/dist/{paths-DA5srn0U.js → paths-ZhiQAuKk.js} +5 -5
- package/dist/{pi-embedded-Zmr4Opc3.js → pi-embedded-NI8lHL1N.js} +160 -160
- package/dist/{pi-embedded-helpers-Di58J7Eh.js → pi-embedded-helpers-BYajLWsL.js} +52 -52
- package/dist/{pi-model-discovery-V-InbjOM.js → pi-model-discovery-COoRoqoO.js} +7 -7
- package/dist/pi-model-discovery-runtime-CV-86a0O.js +11 -0
- package/dist/{pi-tools.before-tool-call.runtime-Bpk4qTgV.js → pi-tools.before-tool-call.runtime-pbvzHMRb.js} +9 -9
- package/dist/plugin-sdk/imessage.js +2 -2
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/{plugins-DvejjZnJ.js → plugins-Dr2YhZ4p.js} +11 -11
- package/dist/{proxy-env-D-fike7s.js → proxy-env-CY4kVbFL.js} +1 -1
- package/dist/{proxy-fetch-lH6RsRTE.js → proxy-fetch-08-dhqxn.js} +1 -1
- package/dist/{pw-ai-B8ymIYub.js → pw-ai-D2Tp5DPG.js} +14 -14
- package/dist/{qmd-manager-BN0siR2Z.js → qmd-manager-v3fVcsJ9.js} +10 -10
- package/dist/{query-expansion-Dzxt6kXo.js → query-expansion-CeQC9es_.js} +6 -6
- package/dist/{redact-DvzicBMu.js → redact-rnJm_Z5E.js} +1 -1
- package/dist/{run-with-concurrency-BFR3ReeF.js → run-with-concurrency-BaKbvnLu.js} +4 -4
- package/dist/runtime-whatsapp-login.runtime-Dw75S1uv.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-aHIvDvKJ.js +22 -0
- package/dist/{send-dTQd-IyJ.js → send-5d2Ieqww.js} +5 -5
- package/dist/{send-4nRsZJXH.js → send-Bz835W6s.js} +7 -7
- package/dist/{send-BTUU1jWM.js → send-JKHC2tCh.js} +8 -8
- package/dist/{send-BGlcHjUD.js → send-RT7WHA5n.js} +28 -28
- package/dist/{send-DdBbRpTP.js → send-rbU7BzyJ.js} +6 -6
- package/dist/{session-CnCwDJke.js → session-C-9V4uqt.js} +8 -8
- package/dist/{skill-commands-Cz45_nme.js → skill-commands-CYH1hk0d.js} +9 -9
- package/dist/{skills-CdCS1HeL.js → skills-CZ1lBgEC.js} +22 -22
- package/dist/slash-commands.runtime-DNDYdj2t.js +16 -0
- package/dist/slash-dispatch.runtime-BjHf74oU.js +56 -0
- package/dist/slash-skill-commands.runtime-DdMrdbxl.js +20 -0
- package/dist/{store-D9z0dn7D.js → store-Dcz4tfzS.js} +2 -2
- package/dist/subagent-registry-runtime-CUpD6G1o.js +56 -0
- package/dist/{subsystem-6v7sWnAD.js → subsystem-BJ89YjCN.js} +16 -16
- package/dist/{tables-BTFiZyRU.js → tables-8uP1Il18.js} +1 -1
- package/dist/{target-errors-DgNRx3Nr.js → target-errors-Ch8ZjtbC.js} +2 -2
- package/dist/{thinking-B75CXkTT.js → thinking-BtewZXu7.js} +7 -7
- package/dist/{tokens-DfbMVF9y.js → tokens-9NF8L9Uh.js} +1 -1
- package/dist/{tool-images-Dp5OiXeA.js → tool-images-DDvIxFgD.js} +2 -2
- package/dist/{web-CgLD9XZC.js → web-BeedURrs.js} +55 -55
- package/dist/{whatsapp-actions-CzqsuSGx.js → whatsapp-actions-D6yjFXCT.js} +21 -21
- package/dist/{workspace-kVMIaBrV.js → workspace-imNgYePS.js} +20 -20
- package/package.json +2 -2
- package/dist/deliver-runtime-B80olQwJ.js +0 -36
- package/dist/deps-send-discord.runtime-GIuvX7Xw.js +0 -26
- package/dist/deps-send-imessage.runtime-B3TC7G80.js +0 -25
- package/dist/deps-send-signal.runtime-CuVJyw7n.js +0 -24
- package/dist/deps-send-slack.runtime-cbfFoLZ4.js +0 -22
- package/dist/deps-send-telegram.runtime-CRyP-xDQ.js +0 -27
- package/dist/deps-send-whatsapp.runtime-C5L5YIp9.js +0 -60
- package/dist/image-runtime-BqIv7p_K.js +0 -29
- package/dist/manager-runtime-D6ckUNSs.js +0 -18
- package/dist/pi-model-discovery-runtime--t6tAlar.js +0 -11
- package/dist/runtime-whatsapp-login.runtime-DxV9iv6l.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-DQqIlwhS.js +0 -22
- package/dist/slash-commands.runtime-CZz6v6b3.js +0 -16
- package/dist/slash-dispatch.runtime-ocKNC56j.js +0 -56
- package/dist/slash-skill-commands.runtime-Bawt7j0r.js +0 -20
- package/dist/subagent-registry-runtime-CeMECsgS.js +0 -56
- /package/dist/{config-DWRgGn0l.js → hooks-DubLZ3ar.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as normalizeAccountId } from "./workspace-
|
|
2
|
-
import { g as createAccountListHelpers, h as resolveAccountEntry } from "./accounts-
|
|
1
|
+
import { G as normalizeAccountId } from "./workspace-imNgYePS.js";
|
|
2
|
+
import { g as createAccountListHelpers, h as resolveAccountEntry } from "./accounts-f6iuhXVV.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as normalizeAccountId } from "./workspace-
|
|
2
|
-
import { g as createAccountListHelpers, h as resolveAccountEntry } from "./accounts-
|
|
1
|
+
import { G as normalizeAccountId } from "./workspace-imNgYePS.js";
|
|
2
|
+
import { g as createAccountListHelpers, h as resolveAccountEntry } from "./accounts-f6iuhXVV.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { o as resolveOAuthDir } from "./paths-
|
|
2
|
-
import { i as defaultRuntime, l as info, m as success, y as getChildLogger } from "./subsystem-
|
|
3
|
-
import { G as normalizeAccountId, K as normalizeOptionalAccountId, W as DEFAULT_ACCOUNT_ID } from "./workspace-
|
|
4
|
-
import { m as jidToE164, y as resolveUserPath } from "./logger-
|
|
5
|
-
import { lr as formatCliCommand } from "./model-selection-
|
|
1
|
+
import { o as resolveOAuthDir } from "./paths-ZhiQAuKk.js";
|
|
2
|
+
import { i as defaultRuntime, l as info, m as success, y as getChildLogger } from "./subsystem-BJ89YjCN.js";
|
|
3
|
+
import { G as normalizeAccountId, K as normalizeOptionalAccountId, W as DEFAULT_ACCOUNT_ID } from "./workspace-imNgYePS.js";
|
|
4
|
+
import { m as jidToE164, y as resolveUserPath } from "./logger-onBePS9K.js";
|
|
5
|
+
import { lr as formatCliCommand } from "./model-selection-BEglDVk0.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fssync from "node:fs";
|
|
9
9
|
|
|
10
10
|
//#region src/channels/plugins/account-helpers.ts
|
|
11
11
|
function createAccountListHelpers(channelKey) {
|
|
@@ -63,7 +63,7 @@ function resolveWebCredsBackupPath(authDir) {
|
|
|
63
63
|
}
|
|
64
64
|
function hasWebCredsSync(authDir) {
|
|
65
65
|
try {
|
|
66
|
-
const stats =
|
|
66
|
+
const stats = fssync.statSync(resolveWebCredsPath(authDir));
|
|
67
67
|
return stats.isFile() && stats.size > 1;
|
|
68
68
|
} catch {
|
|
69
69
|
return false;
|
|
@@ -71,10 +71,10 @@ function hasWebCredsSync(authDir) {
|
|
|
71
71
|
}
|
|
72
72
|
function readCredsJsonRaw(filePath) {
|
|
73
73
|
try {
|
|
74
|
-
if (!
|
|
75
|
-
const stats =
|
|
74
|
+
if (!fssync.existsSync(filePath)) return null;
|
|
75
|
+
const stats = fssync.statSync(filePath);
|
|
76
76
|
if (!stats.isFile() || stats.size <= 1) return null;
|
|
77
|
-
return
|
|
77
|
+
return fssync.readFileSync(filePath, "utf-8");
|
|
78
78
|
} catch {
|
|
79
79
|
return null;
|
|
80
80
|
}
|
|
@@ -92,9 +92,9 @@ function maybeRestoreCredsFromBackup(authDir) {
|
|
|
92
92
|
const backupRaw = readCredsJsonRaw(backupPath);
|
|
93
93
|
if (!backupRaw) return;
|
|
94
94
|
JSON.parse(backupRaw);
|
|
95
|
-
|
|
95
|
+
fssync.copyFileSync(backupPath, credsPath);
|
|
96
96
|
try {
|
|
97
|
-
|
|
97
|
+
fssync.chmodSync(credsPath, 384);
|
|
98
98
|
} catch {}
|
|
99
99
|
logger.warn({ credsPath }, "restored corrupted WhatsApp creds.json from backup");
|
|
100
100
|
} catch {}
|
|
@@ -150,11 +150,11 @@ async function logoutWeb(params) {
|
|
|
150
150
|
function readWebSelfId(authDir = resolveDefaultWebAuthDir()) {
|
|
151
151
|
try {
|
|
152
152
|
const credsPath = resolveWebCredsPath(resolveUserPath(authDir));
|
|
153
|
-
if (!
|
|
153
|
+
if (!fssync.existsSync(credsPath)) return {
|
|
154
154
|
e164: null,
|
|
155
155
|
jid: null
|
|
156
156
|
};
|
|
157
|
-
const raw =
|
|
157
|
+
const raw = fssync.readFileSync(credsPath, "utf-8");
|
|
158
158
|
const jid = JSON.parse(raw)?.me?.id ?? null;
|
|
159
159
|
return {
|
|
160
160
|
e164: jid ? jidToE164(jid, { authDir }) : null,
|
|
@@ -173,7 +173,7 @@ function readWebSelfId(authDir = resolveDefaultWebAuthDir()) {
|
|
|
173
173
|
*/
|
|
174
174
|
function getWebAuthAgeMs(authDir = resolveDefaultWebAuthDir()) {
|
|
175
175
|
try {
|
|
176
|
-
const stats =
|
|
176
|
+
const stats = fssync.statSync(resolveWebCredsPath(resolveUserPath(authDir)));
|
|
177
177
|
return Date.now() - stats.mtimeMs;
|
|
178
178
|
} catch {
|
|
179
179
|
return null;
|
|
@@ -205,7 +205,7 @@ function listWhatsAppAuthDirs(cfg) {
|
|
|
205
205
|
accountId
|
|
206
206
|
}).authDir);
|
|
207
207
|
try {
|
|
208
|
-
const entries =
|
|
208
|
+
const entries = fssync.readdirSync(whatsappDir, { withFileTypes: true });
|
|
209
209
|
for (const entry of entries) {
|
|
210
210
|
if (!entry.isDirectory()) continue;
|
|
211
211
|
authDirs.add(path.join(whatsappDir, entry.name));
|
|
@@ -227,7 +227,7 @@ function resolveLegacyAuthDir() {
|
|
|
227
227
|
}
|
|
228
228
|
function legacyAuthExists(authDir) {
|
|
229
229
|
try {
|
|
230
|
-
return
|
|
230
|
+
return fssync.existsSync(path.join(authDir, "creds.json"));
|
|
231
231
|
} catch {
|
|
232
232
|
return false;
|
|
233
233
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as DEFAULT_ACCOUNT_ID } from "./workspace-
|
|
2
|
-
import { lr as formatCliCommand } from "./model-selection-
|
|
1
|
+
import { W as DEFAULT_ACCOUNT_ID } from "./workspace-imNgYePS.js";
|
|
2
|
+
import { lr as formatCliCommand } from "./model-selection-BEglDVk0.js";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/logging/redact-identifier.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as normalizeProviderId } from "./model-selection-
|
|
2
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { c as normalizeProviderId } from "./model-selection-BEglDVk0.js";
|
|
2
|
+
import { r as formatErrorMessage } from "./errors-CCLnP2Fs.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/gemini-auth.ts
|
|
5
5
|
/**
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
8
|
-
import "./legacy-names-
|
|
9
|
-
import "./thinking-
|
|
10
|
-
import "./plugins-
|
|
11
|
-
import "./accounts-
|
|
12
|
-
import "./accounts-
|
|
13
|
-
import "./image-ops-
|
|
14
|
-
import "./pi-embedded-helpers-
|
|
15
|
-
import "./chrome-
|
|
16
|
-
import "./frontmatter-
|
|
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 "./accounts-
|
|
25
|
-
import "./paths-
|
|
26
|
-
import "./tool-images-
|
|
27
|
-
import "./image-
|
|
28
|
-
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
29
|
-
import "./fetch-
|
|
30
|
-
import "./fetch-guard-
|
|
31
|
-
import "./api-key-rotation-
|
|
32
|
-
import "./proxy-fetch-
|
|
1
|
+
import "./run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import "./paths-ZhiQAuKk.js";
|
|
3
|
+
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-BJ89YjCN.js";
|
|
4
|
+
import "./workspace-imNgYePS.js";
|
|
5
|
+
import "./logger-onBePS9K.js";
|
|
6
|
+
import "./model-selection-BEglDVk0.js";
|
|
7
|
+
import "./github-copilot-token-B8Wx9FgQ.js";
|
|
8
|
+
import "./legacy-names-CDxprteD.js";
|
|
9
|
+
import "./thinking-BtewZXu7.js";
|
|
10
|
+
import "./plugins-Dr2YhZ4p.js";
|
|
11
|
+
import "./accounts-f6iuhXVV.js";
|
|
12
|
+
import "./accounts-A_9Khwyv.js";
|
|
13
|
+
import "./image-ops-CumBuu0G.js";
|
|
14
|
+
import "./pi-embedded-helpers-BYajLWsL.js";
|
|
15
|
+
import "./chrome-BvWxjtGl.js";
|
|
16
|
+
import "./frontmatter-vSrur-r-.js";
|
|
17
|
+
import "./skills-CZ1lBgEC.js";
|
|
18
|
+
import "./path-alias-guards-CNSVgZrJ.js";
|
|
19
|
+
import "./redact-rnJm_Z5E.js";
|
|
20
|
+
import "./errors-CCLnP2Fs.js";
|
|
21
|
+
import "./fs-safe-Dyju4C81.js";
|
|
22
|
+
import "./proxy-env-CY4kVbFL.js";
|
|
23
|
+
import "./store-Dcz4tfzS.js";
|
|
24
|
+
import "./accounts-Cz_Fvguv.js";
|
|
25
|
+
import "./paths-CUF9-Xea.js";
|
|
26
|
+
import "./tool-images-DDvIxFgD.js";
|
|
27
|
+
import "./image-kOIz_XGP.js";
|
|
28
|
+
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-zGqnorSY.js";
|
|
29
|
+
import "./fetch-cQwsz0rO.js";
|
|
30
|
+
import "./fetch-guard-BkqLWF6M.js";
|
|
31
|
+
import "./api-key-rotation-6zH7pb_E.js";
|
|
32
|
+
import "./proxy-fetch-08-dhqxn.js";
|
|
33
33
|
|
|
34
34
|
//#region src/media-understanding/audio-preflight.ts
|
|
35
35
|
/**
|
package/dist/{audio-transcription-runner-Cv0Q47cM.js → audio-transcription-runner-zGqnorSY.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues } from "./run-with-concurrency-
|
|
2
|
-
import { p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, w as resolvePreferredSquidClawTmpDir } from "./subsystem-
|
|
3
|
-
import { _ as runExec } from "./workspace-
|
|
4
|
-
import { M as resolveApiKeyForProvider, X as loadConfig, at as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, c as normalizeProviderId, ct as resolveIMessageAttachmentRoots, g as normalizeGoogleModelId, ir as resolveSquidClawAgentDir, j as requireApiKey, ot as isInboundPathAllowed, st as mergeInboundPathRoots } from "./model-selection-
|
|
5
|
-
import { _ as normalizeChatType } from "./plugins-
|
|
6
|
-
import { E as kindFromMime, S as getFileExtension, b as detectMime, w as isAudioFileName } from "./image-ops-
|
|
7
|
-
import { t as describeImageWithModel, w as ensureSquidClawModelsJson } from "./image-
|
|
8
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-
|
|
1
|
+
import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues } from "./run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import { p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, w as resolvePreferredSquidClawTmpDir } from "./subsystem-BJ89YjCN.js";
|
|
3
|
+
import { _ as runExec } from "./workspace-imNgYePS.js";
|
|
4
|
+
import { M as resolveApiKeyForProvider, X as loadConfig, at as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, c as normalizeProviderId, ct as resolveIMessageAttachmentRoots, g as normalizeGoogleModelId, ir as resolveSquidClawAgentDir, j as requireApiKey, ot as isInboundPathAllowed, st as mergeInboundPathRoots } from "./model-selection-BEglDVk0.js";
|
|
5
|
+
import { _ as normalizeChatType } from "./plugins-Dr2YhZ4p.js";
|
|
6
|
+
import { E as kindFromMime, S as getFileExtension, b as detectMime, w as isAudioFileName } from "./image-ops-CumBuu0G.js";
|
|
7
|
+
import { t as describeImageWithModel, w as ensureSquidClawModelsJson } from "./image-kOIz_XGP.js";
|
|
8
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-cQwsz0rO.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-Wgx3OXYj.js";
|
|
10
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
11
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
12
|
-
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-
|
|
10
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BkqLWF6M.js";
|
|
11
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-6zH7pb_E.js";
|
|
12
|
+
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-08-dhqxn.js";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
14
14
|
import os from "node:os";
|
|
15
15
|
import path from "node:path";
|
|
@@ -22,7 +22,7 @@ import crypto from "node:crypto";
|
|
|
22
22
|
const log = createSubsystemLogger("model-catalog");
|
|
23
23
|
let modelCatalogPromise = null;
|
|
24
24
|
let hasLoggedModelCatalogError = false;
|
|
25
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
25
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-COoRoqoO.js").then((n) => n.r);
|
|
26
26
|
let importPiSdk = defaultImportPiSdk;
|
|
27
27
|
const CODEX_PROVIDER = "openai-codex";
|
|
28
28
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./subsystem-
|
|
3
|
-
import { f as isRecord } from "./logger-
|
|
1
|
+
import "./paths-ZhiQAuKk.js";
|
|
2
|
+
import "./subsystem-BJ89YjCN.js";
|
|
3
|
+
import { f as isRecord } from "./logger-onBePS9K.js";
|
|
4
4
|
import { n as fetchWithTimeout } from "./fetch-timeout-Wgx3OXYj.js";
|
|
5
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
5
|
+
import { t as makeProxyFetch } from "./proxy-fetch-08-dhqxn.js";
|
|
6
6
|
import "./proxy-CecQTx_Z.js";
|
|
7
7
|
|
|
8
8
|
//#region src/telegram/audit-membership-runtime.ts
|
package/dist/build-info.json
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir, r as listAgentIds } from "../../run-with-concurrency-
|
|
2
|
-
import "../../paths-
|
|
3
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "../../subsystem-
|
|
4
|
-
import { B as resolveAgentIdFromSessionKey } from "../../workspace-
|
|
5
|
-
import "../../logger-
|
|
6
|
-
import "../../model-selection-
|
|
7
|
-
import "../../github-copilot-token-
|
|
8
|
-
import { a as isGatewayStartupEvent } from "../../legacy-names-
|
|
9
|
-
import "../../thinking-
|
|
10
|
-
import { n as SILENT_REPLY_TOKEN } from "../../tokens-
|
|
11
|
-
import { a as agentCommand, o as createDefaultDeps } from "../../pi-embedded-
|
|
12
|
-
import "../../plugins-
|
|
13
|
-
import "../../accounts-
|
|
14
|
-
import "../../send-
|
|
15
|
-
import "../../send-
|
|
16
|
-
import "../../deliver-
|
|
17
|
-
import "../../diagnostic-
|
|
18
|
-
import "../../accounts-
|
|
19
|
-
import "../../image-ops-
|
|
20
|
-
import "../../send-
|
|
21
|
-
import "../../pi-model-discovery-
|
|
22
|
-
import { Dt as resolveMainSessionKey, J as updateSessionStore, Tt as resolveAgentMainSessionKey, W as loadSessionStore } from "../../pi-embedded-helpers-
|
|
23
|
-
import "../../chrome-
|
|
24
|
-
import "../../frontmatter-
|
|
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 "../../accounts-
|
|
33
|
-
import { s as resolveStorePath } from "../../paths-
|
|
34
|
-
import "../../tool-images-
|
|
35
|
-
import "../../image-
|
|
36
|
-
import "../../audio-transcription-runner-
|
|
37
|
-
import "../../fetch-
|
|
38
|
-
import "../../fetch-guard-
|
|
39
|
-
import "../../api-key-rotation-
|
|
40
|
-
import "../../proxy-fetch-
|
|
41
|
-
import "../../ir-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir, r as listAgentIds } from "../../run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import "../../paths-ZhiQAuKk.js";
|
|
3
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "../../subsystem-BJ89YjCN.js";
|
|
4
|
+
import { B as resolveAgentIdFromSessionKey } from "../../workspace-imNgYePS.js";
|
|
5
|
+
import "../../logger-onBePS9K.js";
|
|
6
|
+
import "../../model-selection-BEglDVk0.js";
|
|
7
|
+
import "../../github-copilot-token-B8Wx9FgQ.js";
|
|
8
|
+
import { a as isGatewayStartupEvent } from "../../legacy-names-CDxprteD.js";
|
|
9
|
+
import "../../thinking-BtewZXu7.js";
|
|
10
|
+
import { n as SILENT_REPLY_TOKEN } from "../../tokens-9NF8L9Uh.js";
|
|
11
|
+
import { a as agentCommand, o as createDefaultDeps } from "../../pi-embedded-NI8lHL1N.js";
|
|
12
|
+
import "../../plugins-Dr2YhZ4p.js";
|
|
13
|
+
import "../../accounts-f6iuhXVV.js";
|
|
14
|
+
import "../../send-rbU7BzyJ.js";
|
|
15
|
+
import "../../send-JKHC2tCh.js";
|
|
16
|
+
import "../../deliver-RetmM0fn.js";
|
|
17
|
+
import "../../diagnostic-DnZCgMrc.js";
|
|
18
|
+
import "../../accounts-A_9Khwyv.js";
|
|
19
|
+
import "../../image-ops-CumBuu0G.js";
|
|
20
|
+
import "../../send-RT7WHA5n.js";
|
|
21
|
+
import "../../pi-model-discovery-COoRoqoO.js";
|
|
22
|
+
import { Dt as resolveMainSessionKey, J as updateSessionStore, Tt as resolveAgentMainSessionKey, W as loadSessionStore } from "../../pi-embedded-helpers-BYajLWsL.js";
|
|
23
|
+
import "../../chrome-BvWxjtGl.js";
|
|
24
|
+
import "../../frontmatter-vSrur-r-.js";
|
|
25
|
+
import "../../skills-CZ1lBgEC.js";
|
|
26
|
+
import "../../path-alias-guards-CNSVgZrJ.js";
|
|
27
|
+
import "../../redact-rnJm_Z5E.js";
|
|
28
|
+
import "../../errors-CCLnP2Fs.js";
|
|
29
|
+
import "../../fs-safe-Dyju4C81.js";
|
|
30
|
+
import "../../proxy-env-CY4kVbFL.js";
|
|
31
|
+
import "../../store-Dcz4tfzS.js";
|
|
32
|
+
import "../../accounts-Cz_Fvguv.js";
|
|
33
|
+
import { s as resolveStorePath } from "../../paths-CUF9-Xea.js";
|
|
34
|
+
import "../../tool-images-DDvIxFgD.js";
|
|
35
|
+
import "../../image-kOIz_XGP.js";
|
|
36
|
+
import "../../audio-transcription-runner-zGqnorSY.js";
|
|
37
|
+
import "../../fetch-cQwsz0rO.js";
|
|
38
|
+
import "../../fetch-guard-BkqLWF6M.js";
|
|
39
|
+
import "../../api-key-rotation-6zH7pb_E.js";
|
|
40
|
+
import "../../proxy-fetch-08-dhqxn.js";
|
|
41
|
+
import "../../ir-rIK14_OY.js";
|
|
42
42
|
import "../../render-DW7AcFdD.js";
|
|
43
|
-
import "../../target-errors-
|
|
44
|
-
import "../../commands-registry-
|
|
45
|
-
import "../../skill-commands-
|
|
43
|
+
import "../../target-errors-Ch8ZjtbC.js";
|
|
44
|
+
import "../../commands-registry-tedusR2M.js";
|
|
45
|
+
import "../../skill-commands-CYH1hk0d.js";
|
|
46
46
|
import "../../fetch-tZXOZ9FV.js";
|
|
47
|
-
import "../../channel-activity-
|
|
48
|
-
import "../../tables-
|
|
49
|
-
import "../../send-
|
|
50
|
-
import "../../outbound-attachment-
|
|
51
|
-
import "../../send-
|
|
47
|
+
import "../../channel-activity-Byj9--iR.js";
|
|
48
|
+
import "../../tables-8uP1Il18.js";
|
|
49
|
+
import "../../send-5d2Ieqww.js";
|
|
50
|
+
import "../../outbound-attachment-CtS0mrgi.js";
|
|
51
|
+
import "../../send-Bz835W6s.js";
|
|
52
52
|
import "../../proxy-CecQTx_Z.js";
|
|
53
|
-
import "../../manager-
|
|
54
|
-
import "../../query-expansion-
|
|
53
|
+
import "../../manager-B-q7-W4P.js";
|
|
54
|
+
import "../../query-expansion-CeQC9es_.js";
|
|
55
55
|
import fs from "node:fs/promises";
|
|
56
56
|
import path from "node:path";
|
|
57
57
|
import crypto from "node:crypto";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../paths-
|
|
2
|
-
import { t as createSubsystemLogger } from "../../subsystem-
|
|
3
|
-
import { d as loadExtraBootstrapFilesWithDiagnostics, u as filterBootstrapFilesForSession } from "../../workspace-
|
|
4
|
-
import "../../logger-
|
|
5
|
-
import { i as isAgentBootstrapEvent } from "../../legacy-names-
|
|
6
|
-
import "../../frontmatter-
|
|
7
|
-
import { t as resolveHookConfig } from "../../
|
|
1
|
+
import "../../paths-ZhiQAuKk.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "../../subsystem-BJ89YjCN.js";
|
|
3
|
+
import { d as loadExtraBootstrapFilesWithDiagnostics, u as filterBootstrapFilesForSession } from "../../workspace-imNgYePS.js";
|
|
4
|
+
import "../../logger-onBePS9K.js";
|
|
5
|
+
import { i as isAgentBootstrapEvent } from "../../legacy-names-CDxprteD.js";
|
|
6
|
+
import "../../frontmatter-vSrur-r-.js";
|
|
7
|
+
import { t as resolveHookConfig } from "../../hooks-DubLZ3ar.js";
|
|
8
8
|
|
|
9
9
|
//#region src/hooks/bundled/bootstrap-extra-files/handler.ts
|
|
10
10
|
const HOOK_KEY = "bootstrap-extra-files";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as resolveStateDir } from "../../paths-
|
|
2
|
-
import { t as createSubsystemLogger } from "../../subsystem-
|
|
1
|
+
import { c as resolveStateDir } from "../../paths-ZhiQAuKk.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "../../subsystem-BJ89YjCN.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|