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
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import "./run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import "./paths-ZhiQAuKk.js";
|
|
3
|
+
import "./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 "./plugins-Dr2YhZ4p.js";
|
|
10
|
+
import "./accounts-f6iuhXVV.js";
|
|
11
|
+
import "./image-ops-CumBuu0G.js";
|
|
12
|
+
import { o as sendMessageTelegram } from "./send-RT7WHA5n.js";
|
|
13
|
+
import "./path-alias-guards-CNSVgZrJ.js";
|
|
14
|
+
import "./redact-rnJm_Z5E.js";
|
|
15
|
+
import "./errors-CCLnP2Fs.js";
|
|
16
|
+
import "./fs-safe-Dyju4C81.js";
|
|
17
|
+
import "./proxy-env-CY4kVbFL.js";
|
|
18
|
+
import "./fetch-cQwsz0rO.js";
|
|
19
|
+
import "./fetch-guard-BkqLWF6M.js";
|
|
20
|
+
import "./proxy-fetch-08-dhqxn.js";
|
|
21
|
+
import "./ir-rIK14_OY.js";
|
|
22
|
+
import "./render-DW7AcFdD.js";
|
|
23
|
+
import "./fetch-tZXOZ9FV.js";
|
|
24
|
+
import "./channel-activity-Byj9--iR.js";
|
|
25
|
+
import "./proxy-CecQTx_Z.js";
|
|
26
|
+
|
|
27
|
+
export { sendMessageTelegram };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import "./run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import "./paths-ZhiQAuKk.js";
|
|
3
|
+
import "./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 "./tokens-9NF8L9Uh.js";
|
|
11
|
+
import "./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 "./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 "./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
|
+
import "./render-DW7AcFdD.js";
|
|
43
|
+
import "./target-errors-Ch8ZjtbC.js";
|
|
44
|
+
import "./commands-registry-tedusR2M.js";
|
|
45
|
+
import "./skill-commands-CYH1hk0d.js";
|
|
46
|
+
import "./fetch-tZXOZ9FV.js";
|
|
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
|
+
import "./proxy-CecQTx_Z.js";
|
|
53
|
+
import "./manager-B-q7-W4P.js";
|
|
54
|
+
import "./query-expansion-CeQC9es_.js";
|
|
55
|
+
import { t as sendMessageWhatsApp } from "./outbound-ZriFY47D.js";
|
|
56
|
+
import "./session-C-9V4uqt.js";
|
|
57
|
+
import "./login-BFH4YHqv.js";
|
|
58
|
+
import "./web-BeedURrs.js";
|
|
59
|
+
|
|
60
|
+
export { sendMessageWhatsApp };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { X as loadConfig } from "./model-selection-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-BJ89YjCN.js";
|
|
2
|
+
import { X as loadConfig } from "./model-selection-BEglDVk0.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/diagnostic-events.ts
|
|
5
5
|
function getDiagnosticEventsState() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir } from "./run-with-concurrency-
|
|
2
|
-
import { c as resolveStateDir } from "./paths-
|
|
3
|
-
import { w as resolvePreferredSquidClawTmpDir } from "./subsystem-
|
|
4
|
-
import { b as detectMime, x as extensionForMime } from "./image-ops-
|
|
5
|
-
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir } from "./run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import { c as resolveStateDir } from "./paths-ZhiQAuKk.js";
|
|
3
|
+
import { w as resolvePreferredSquidClawTmpDir } from "./subsystem-BJ89YjCN.js";
|
|
4
|
+
import { b as detectMime, x as extensionForMime } from "./image-ops-CumBuu0G.js";
|
|
5
|
+
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-BkqLWF6M.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/media/local-roots.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as logWarn } from "./logger-
|
|
2
|
-
import { i as createPinnedDispatcher, n as SsrFBlockedError, r as closeDispatcher, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { i as logWarn } from "./logger-onBePS9K.js";
|
|
2
|
+
import { i as createPinnedDispatcher, n as SsrFBlockedError, r as closeDispatcher, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-CY4kVbFL.js";
|
|
3
3
|
import { t as bindAbortRelay } from "./fetch-timeout-Wgx3OXYj.js";
|
|
4
4
|
import { EnvHttpProxyAgent } from "undici";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as parseBooleanValue, n as MANIFEST_KEY, t as LEGACY_MANIFEST_KEYS } from "./legacy-names-
|
|
1
|
+
import { c as parseBooleanValue, n as MANIFEST_KEY, t as LEGACY_MANIFEST_KEYS } from "./legacy-names-CDxprteD.js";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import fssync from "node:fs";
|
|
4
|
+
import json5 from "json5";
|
|
5
5
|
import YAML from "yaml";
|
|
6
6
|
|
|
7
7
|
//#region src/shared/config-eval.ts
|
|
@@ -92,7 +92,7 @@ function hasBinary(bin) {
|
|
|
92
92
|
for (const part of parts) for (const ext of extensions) {
|
|
93
93
|
const candidate = path.join(part, bin + ext);
|
|
94
94
|
try {
|
|
95
|
-
|
|
95
|
+
fssync.accessSync(candidate, fssync.constants.X_OK);
|
|
96
96
|
hasBinaryCache.set(bin, true);
|
|
97
97
|
return true;
|
|
98
98
|
} catch {}
|
|
@@ -258,7 +258,7 @@ function resolveSquidClawManifestBlock(params) {
|
|
|
258
258
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
259
259
|
if (!raw) return;
|
|
260
260
|
try {
|
|
261
|
-
const parsed =
|
|
261
|
+
const parsed = json5.parse(raw);
|
|
262
262
|
if (!parsed || typeof parsed !== "object") return;
|
|
263
263
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
264
264
|
for (const key of manifestKeys) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as expandHomePrefix } from "./paths-
|
|
2
|
-
import { D as isNotFoundPathError, E as hasNodeErrorCode, O as isPathInside, S as sameFileIdentity, k as isSymlinkOpenError } from "./workspace-
|
|
3
|
-
import { i as logWarn } from "./logger-
|
|
4
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
1
|
+
import { l as expandHomePrefix } from "./paths-ZhiQAuKk.js";
|
|
2
|
+
import { D as isNotFoundPathError, E as hasNodeErrorCode, O as isPathInside, S as sameFileIdentity, k as isSymlinkOpenError } from "./workspace-imNgYePS.js";
|
|
3
|
+
import { i as logWarn } from "./logger-onBePS9K.js";
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-CNSVgZrJ.js";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as resolveStateDir } from "./paths-
|
|
2
|
+
import { c as resolveStateDir } from "./paths-ZhiQAuKk.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fssync from "node:fs";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/json-file.ts
|
|
7
7
|
function loadJsonFile(pathname) {
|
|
8
8
|
try {
|
|
9
|
-
if (!
|
|
10
|
-
const raw =
|
|
9
|
+
if (!fssync.existsSync(pathname)) return;
|
|
10
|
+
const raw = fssync.readFileSync(pathname, "utf8");
|
|
11
11
|
return JSON.parse(raw);
|
|
12
12
|
} catch {
|
|
13
13
|
return;
|
|
@@ -15,12 +15,12 @@ function loadJsonFile(pathname) {
|
|
|
15
15
|
}
|
|
16
16
|
function saveJsonFile(pathname, data) {
|
|
17
17
|
const dir = path.dirname(pathname);
|
|
18
|
-
if (!
|
|
18
|
+
if (!fssync.existsSync(dir)) fssync.mkdirSync(dir, {
|
|
19
19
|
recursive: true,
|
|
20
20
|
mode: 448
|
|
21
21
|
});
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
fssync.writeFileSync(pathname, `${JSON.stringify(data, null, 2)}\n`, "utf8");
|
|
23
|
+
fssync.chmodSync(pathname, 384);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues } from "./run-with-concurrency-
|
|
2
|
-
import { f as isRecord, x as shortenHomeInString } from "./logger-
|
|
3
|
-
import { Wn as applyConfigEnvVars, X as loadConfig, _ as normalizeProviders, b as resolveImplicitProviders, ir as resolveSquidClawAgentDir, j as requireApiKey, k as getApiKeyForModel, pr as normalizeSecretInput, v as resolveImplicitBedrockProvider, y as resolveImplicitCopilotProvider } from "./model-selection-
|
|
4
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
5
|
-
import { n as redactToolDetail } from "./redact-
|
|
1
|
+
import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues } from "./run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import { f as isRecord, x as shortenHomeInString } from "./logger-onBePS9K.js";
|
|
3
|
+
import { Wn as applyConfigEnvVars, X as loadConfig, _ as normalizeProviders, b as resolveImplicitProviders, ir as resolveSquidClawAgentDir, j as requireApiKey, k as getApiKeyForModel, pr as normalizeSecretInput, v as resolveImplicitBedrockProvider, y as resolveImplicitCopilotProvider } from "./model-selection-BEglDVk0.js";
|
|
4
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-BYajLWsL.js";
|
|
5
|
+
import { n as redactToolDetail } from "./redact-rnJm_Z5E.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { complete } from "@mariozechner/pi-ai";
|
|
@@ -2254,7 +2254,7 @@ function resolveProviderVisionModelFromConfig(params) {
|
|
|
2254
2254
|
//#region src/media-understanding/providers/image.ts
|
|
2255
2255
|
let piModelDiscoveryRuntimePromise = null;
|
|
2256
2256
|
function loadPiModelDiscoveryRuntime() {
|
|
2257
|
-
piModelDiscoveryRuntimePromise ??= import("./pi-model-discovery-runtime
|
|
2257
|
+
piModelDiscoveryRuntimePromise ??= import("./pi-model-discovery-runtime-CV-86a0O.js");
|
|
2258
2258
|
return piModelDiscoveryRuntimePromise;
|
|
2259
2259
|
}
|
|
2260
2260
|
async function describeImageWithModel(params) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as runExec } from "./workspace-
|
|
2
|
-
import { Jt as getActivePluginRegistry, Vt as CHANNEL_IDS, qt as normalizeChatChannelId } from "./model-selection-
|
|
1
|
+
import { _ as runExec } from "./workspace-imNgYePS.js";
|
|
2
|
+
import { Jt as getActivePluginRegistry, Vt as CHANNEL_IDS, qt as normalizeChatChannelId } from "./model-selection-BEglDVk0.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import "./run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import "./paths-ZhiQAuKk.js";
|
|
3
|
+
import "./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 { t as describeImageWithModel } from "./image-kOIz_XGP.js";
|
|
28
|
+
|
|
29
|
+
export { describeImageWithModel };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-
|
|
2
|
-
import { G as normalizeAccountId } from "./workspace-
|
|
3
|
-
import { y as resolveUserPath } from "./logger-
|
|
4
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
5
|
-
import { h as resolveAccountEntry } from "./accounts-
|
|
6
|
-
import { E as kindFromMime, a as hasAlphaChannel, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, k as maxBytesForKind, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, x as extensionForMime } from "./image-ops-
|
|
7
|
-
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
8
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-
|
|
1
|
+
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-BJ89YjCN.js";
|
|
2
|
+
import { G as normalizeAccountId } from "./workspace-imNgYePS.js";
|
|
3
|
+
import { y as resolveUserPath } from "./logger-onBePS9K.js";
|
|
4
|
+
import { r as normalizeChannelId } from "./plugins-Dr2YhZ4p.js";
|
|
5
|
+
import { h as resolveAccountEntry } from "./accounts-f6iuhXVV.js";
|
|
6
|
+
import { E as kindFromMime, a as hasAlphaChannel, b as detectMime, c as INTERNAL_MESSAGE_CHANNEL, k as maxBytesForKind, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, x as extensionForMime } from "./image-ops-CumBuu0G.js";
|
|
7
|
+
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-Dyju4C81.js";
|
|
8
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-cQwsz0rO.js";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary } from "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { br as DEFAULT_MODEL, l as parseModelRef, xr as DEFAULT_PROVIDER } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
8
|
-
import "./legacy-names-
|
|
9
|
-
import "./thinking-
|
|
10
|
-
import "./tokens-
|
|
11
|
-
import { t as runEmbeddedPiAgent } 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 "./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 "./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 { a as resolveAgentDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary } from "./run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import "./paths-ZhiQAuKk.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-BJ89YjCN.js";
|
|
4
|
+
import "./workspace-imNgYePS.js";
|
|
5
|
+
import "./logger-onBePS9K.js";
|
|
6
|
+
import { br as DEFAULT_MODEL, l as parseModelRef, xr as DEFAULT_PROVIDER } from "./model-selection-BEglDVk0.js";
|
|
7
|
+
import "./github-copilot-token-B8Wx9FgQ.js";
|
|
8
|
+
import "./legacy-names-CDxprteD.js";
|
|
9
|
+
import "./thinking-BtewZXu7.js";
|
|
10
|
+
import "./tokens-9NF8L9Uh.js";
|
|
11
|
+
import { t as runEmbeddedPiAgent } 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 "./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 "./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 os from "node:os";
|
|
57
57
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-
|
|
2
|
-
import { b as getLogger, c as danger, d as logVerboseConsole, h as warn, i as defaultRuntime, l as info, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
1
|
+
import { d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-ZhiQAuKk.js";
|
|
2
|
+
import { b as getLogger, c as danger, d as logVerboseConsole, h as warn, i as defaultRuntime, l as info, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose } from "./subsystem-BJ89YjCN.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fssync from "node:fs";
|
|
6
6
|
|
|
7
7
|
//#region src/infra/plain-object.ts
|
|
8
8
|
/**
|
|
@@ -15,14 +15,14 @@ function isPlainObject(value) {
|
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/utils.ts
|
|
17
17
|
async function ensureDir(dir) {
|
|
18
|
-
await
|
|
18
|
+
await fssync.promises.mkdir(dir, { recursive: true });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Check if a file or directory exists at the given path.
|
|
22
22
|
*/
|
|
23
23
|
async function pathExists(targetPath) {
|
|
24
24
|
try {
|
|
25
|
-
await
|
|
25
|
+
await fssync.promises.access(targetPath);
|
|
26
26
|
return true;
|
|
27
27
|
} catch {
|
|
28
28
|
return false;
|
|
@@ -105,7 +105,7 @@ function readLidReverseMapping(lid, opts) {
|
|
|
105
105
|
for (const dir of mappingDirs) {
|
|
106
106
|
const mappingPath = path.join(dir, mappingFilename);
|
|
107
107
|
try {
|
|
108
|
-
const data =
|
|
108
|
+
const data = fssync.readFileSync(mappingPath, "utf8");
|
|
109
109
|
const phone = JSON.parse(data);
|
|
110
110
|
if (phone === null || phone === void 0) continue;
|
|
111
111
|
return normalizeE164(String(phone));
|
|
@@ -190,7 +190,7 @@ function resolveConfigDir(env = process.env, homedir = os.homedir) {
|
|
|
190
190
|
if (override) return resolveUserPath(override);
|
|
191
191
|
const newDir = path.join(resolveRequiredHomeDir(env, homedir), ".squidclaw");
|
|
192
192
|
try {
|
|
193
|
-
if (
|
|
193
|
+
if (fssync.existsSync(newDir)) return newDir;
|
|
194
194
|
} catch {}
|
|
195
195
|
return newDir;
|
|
196
196
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as danger, i as defaultRuntime, l as info, m as success } from "./subsystem-
|
|
2
|
-
import { r as logInfo } from "./logger-
|
|
3
|
-
import { X as loadConfig, lr as formatCliCommand } from "./model-selection-
|
|
4
|
-
import { n as resolveWhatsAppAccount, o as logoutWeb } from "./accounts-
|
|
5
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
1
|
+
import { c as danger, i as defaultRuntime, l as info, m as success } from "./subsystem-BJ89YjCN.js";
|
|
2
|
+
import { r as logInfo } from "./logger-onBePS9K.js";
|
|
3
|
+
import { X as loadConfig, lr as formatCliCommand } from "./model-selection-BEglDVk0.js";
|
|
4
|
+
import { n as resolveWhatsAppAccount, o as logoutWeb } from "./accounts-f6iuhXVV.js";
|
|
5
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-C-9V4uqt.js";
|
|
6
6
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
7
7
|
|
|
8
8
|
//#region src/web/login.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { c as danger, i as defaultRuntime, l as info, m as success } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import { r as logInfo } from "./logger-
|
|
6
|
-
import { X as loadConfig } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
8
|
-
import "./legacy-names-
|
|
9
|
-
import { m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-
|
|
10
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
1
|
+
import "./run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import "./paths-ZhiQAuKk.js";
|
|
3
|
+
import { c as danger, i as defaultRuntime, l as info, m as success } from "./subsystem-BJ89YjCN.js";
|
|
4
|
+
import "./workspace-imNgYePS.js";
|
|
5
|
+
import { r as logInfo } from "./logger-onBePS9K.js";
|
|
6
|
+
import { X as loadConfig } from "./model-selection-BEglDVk0.js";
|
|
7
|
+
import "./github-copilot-token-B8Wx9FgQ.js";
|
|
8
|
+
import "./legacy-names-CDxprteD.js";
|
|
9
|
+
import { m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-f6iuhXVV.js";
|
|
10
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-C-9V4uqt.js";
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
12
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
13
13
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, i as resolveAgentConfig } from "./run-with-concurrency-
|
|
2
|
-
import { c as resolveStateDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { E as truncateUtf16Safe, c as clampNumber, s as clampInt, y as resolveUserPath } from "./logger-
|
|
5
|
-
import { M as resolveApiKeyForProvider, N as resolveEnvApiKey, S as retryAsync, Zn as isTruthyEnvValue, fr as normalizeOptionalSecretInput, gr as normalizeResolvedSecretInputString, j as requireApiKey } from "./model-selection-
|
|
6
|
-
import { r as formatErrorMessage } from "./errors-
|
|
7
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
1
|
+
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, i as resolveAgentConfig } from "./run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import { c as resolveStateDir } from "./paths-ZhiQAuKk.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-BJ89YjCN.js";
|
|
4
|
+
import { E as truncateUtf16Safe, c as clampNumber, s as clampInt, y as resolveUserPath } from "./logger-onBePS9K.js";
|
|
5
|
+
import { M as resolveApiKeyForProvider, N as resolveEnvApiKey, S as retryAsync, Zn as isTruthyEnvValue, fr as normalizeOptionalSecretInput, gr as normalizeResolvedSecretInputString, j as requireApiKey } from "./model-selection-BEglDVk0.js";
|
|
6
|
+
import { r as formatErrorMessage } from "./errors-CCLnP2Fs.js";
|
|
7
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-CUF9-Xea.js";
|
|
8
8
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-uYL2gEou.js";
|
|
9
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
10
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
-
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-
|
|
9
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BkqLWF6M.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-6zH7pb_E.js";
|
|
11
|
+
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-CeQC9es_.js";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
13
13
|
import os from "node:os";
|
|
14
14
|
import path from "node:path";
|
|
15
|
-
import
|
|
15
|
+
import fssync from "node:fs";
|
|
16
16
|
import { randomUUID } from "node:crypto";
|
|
17
17
|
import chokidar from "chokidar";
|
|
18
18
|
import { createInterface } from "node:readline";
|
|
@@ -719,7 +719,7 @@ function canAutoSelectLocal(options) {
|
|
|
719
719
|
if (/^(hf:|https?:)/i.test(modelPath)) return false;
|
|
720
720
|
const resolved = resolveUserPath(modelPath);
|
|
721
721
|
try {
|
|
722
|
-
return
|
|
722
|
+
return fssync.statSync(resolved).isFile();
|
|
723
723
|
} catch {
|
|
724
724
|
return false;
|
|
725
725
|
}
|
|
@@ -2243,7 +2243,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2243
2243
|
]);
|
|
2244
2244
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
2245
2245
|
for (const entry of additionalPaths) try {
|
|
2246
|
-
const stat =
|
|
2246
|
+
const stat = fssync.lstatSync(entry);
|
|
2247
2247
|
if (stat.isSymbolicLink()) continue;
|
|
2248
2248
|
if (stat.isDirectory()) {
|
|
2249
2249
|
watchPaths.add(path.join(entry, "**", "*.md"));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import "./run-with-concurrency-BaKbvnLu.js";
|
|
2
|
+
import "./paths-ZhiQAuKk.js";
|
|
3
|
+
import "./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 "./redact-rnJm_Z5E.js";
|
|
10
|
+
import "./errors-CCLnP2Fs.js";
|
|
11
|
+
import "./proxy-env-CY4kVbFL.js";
|
|
12
|
+
import "./paths-CUF9-Xea.js";
|
|
13
|
+
import "./fetch-guard-BkqLWF6M.js";
|
|
14
|
+
import "./api-key-rotation-6zH7pb_E.js";
|
|
15
|
+
import { t as MemoryIndexManager } from "./manager-B-q7-W4P.js";
|
|
16
|
+
import "./query-expansion-CeQC9es_.js";
|
|
17
|
+
|
|
18
|
+
export { MemoryIndexManager };
|