@termix-it/cryptoclaw 1.0.7 → 1.0.8
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-adGJqtm-.js → accounts-BCWrb_kQ.js} +1 -1
- package/dist/{accounts-B2_P2IHX.js → accounts-BLfGSTTQ.js} +3 -3
- package/dist/{accounts-BQVDbUTH.js → accounts-Dt59VmPe.js} +1 -1
- package/dist/{active-listener-DTrOoTq0.js → active-listener-RqwDePXt.js} +1 -1
- package/dist/{api-key-rotation-Bo0_PZkm.js → api-key-rotation-D2kYeIQQ.js} +2 -2
- package/dist/{audio-preflight-BgYpUIka.js → audio-preflight-_6ttSHmt.js} +30 -30
- package/dist/{audio-transcription-runner-CoRZTvdf.js → audio-transcription-runner-CR_2AH5G.js} +12 -12
- package/dist/{audit-membership-runtime-Dg3H6a5z.js → audit-membership-runtime-C6dnIaXJ.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +49 -49
- package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +49 -49
- package/dist/bundled/soul-evil/handler.js +4 -4
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-CFlDtT9S.js → channel-activity-CJkA_hhR.js} +3 -3
- package/dist/{chrome-B01dR7lb.js → chrome-CXIrNn6H.js} +7 -7
- package/dist/{commands-registry-CUMFNBz2.js → commands-registry-ByjAF5Xl.js} +4 -4
- package/dist/{deliver-BNNy-X_P.js → deliver-BFJn3-fC.js} +10 -10
- package/dist/deliver-runtime-Bw0VKYNI.js +37 -0
- package/dist/deps-send-discord.runtime-DyDqzykC.js +27 -0
- package/dist/deps-send-imessage.runtime-D2FIWwrH.js +26 -0
- package/dist/deps-send-signal.runtime-9X3-kR2c.js +25 -0
- package/dist/deps-send-slack.runtime-DvLKewKN.js +23 -0
- package/dist/deps-send-telegram.runtime-CK0JK9qi.js +28 -0
- package/dist/deps-send-whatsapp.runtime-ChcUz7xZ.js +61 -0
- package/dist/{diagnostic-7IyfJnrm.js → diagnostic-kVA702dh.js} +2 -2
- package/dist/{errors-DqgvfHhI.js → errors-C1YF712P.js} +1 -1
- package/dist/{fetch-C86spdPU.js → fetch-C_Dvxwo-.js} +4 -4
- package/dist/{fetch-guard-WvRGlw62.js → fetch-guard-De2c-A0w.js} +2 -2
- package/dist/{frontmatter-BMvyqQHI.js → frontmatter-Dn68lQ_o.js} +3 -3
- package/dist/{fs-safe-NSocNqxE.js → fs-safe-CgO4FuI9.js} +3 -3
- package/dist/{image-SNsgc9XL.js → image-BI9ZrRUQ.js} +6 -6
- package/dist/{image-ops-C39uL98D.js → image-ops-ChaTXg5i.js} +2 -2
- package/dist/image-runtime-CPYGXqpg.js +30 -0
- package/dist/{ir-BIEsxi3i.js → ir-08dII-cl.js} +7 -7
- package/dist/{legacy-names-iGQfUMAW.js → legacy-names-BAiRv0I2.js} +1 -1
- package/dist/llm-slug-generator.js +49 -49
- package/dist/{logger-DeYjzyXs.js → logger-C53B395N.js} +1 -1
- package/dist/{login-D1_-Z38_.js → login-CIGbOUov.js} +5 -5
- package/dist/{login-qr-BOsJq2T3.js → login-qr-DJc-gJTS.js} +9 -9
- package/dist/{manager-IUfBDe4v.js → manager-CJr-QF3U.js} +8 -8
- package/dist/manager-runtime-DhSqCQ7_.js +19 -0
- package/dist/{model-selection-B5T1HKZP.js → model-selection-CecWmBpu.js} +10 -10
- package/dist/{outbound-attachment-C27x0RYd.js → outbound-attachment-B02zhzHs.js} +2 -2
- package/dist/{outbound-Bs60iMsB.js → outbound-sNa9-var.js} +6 -6
- package/dist/{path-alias-guards-BCCgaXwI.js → path-alias-guards-BfOFxARa.js} +1 -1
- package/dist/{pi-embedded-NC2kaVQ5.js → pi-embedded--j-vyCUK.js} +76 -76
- package/dist/{pi-embedded-helpers-K-SoquI3.js → pi-embedded-helpers-CNzY8t5q.js} +18 -18
- package/dist/{pi-model-discovery-DECF7CNQ.js → pi-model-discovery-CTFYQaxY.js} +1 -1
- package/dist/pi-model-discovery-runtime-CskD35tG.js +12 -0
- package/dist/{pi-tools.before-tool-call.runtime-D_-a-ap7.js → pi-tools.before-tool-call.runtime-CPPt0F7Z.js} +8 -8
- package/dist/{plugins-C7B5a5Kw.js → plugins-DBkX-V6R.js} +5 -5
- package/dist/{proxy-env-CrHlhd9C.js → proxy-env-Dh9Q_Pbx.js} +1 -1
- package/dist/{proxy-fetch-BNoCHTJq.js → proxy-fetch-CVSmQMZt.js} +1 -1
- package/dist/{pw-ai-UAXl1Fr-.js → pw-ai-CuA0BkwK.js} +13 -13
- package/dist/{qmd-manager-NQOYZ3Ld.js → qmd-manager-OQfYi977.js} +9 -9
- package/dist/{query-expansion-B1-x3SnK.js → query-expansion-C4Jm5bwm.js} +3 -3
- package/dist/{redact-DLKBjGbP.js → redact-BXURioma.js} +1 -1
- package/dist/{run-with-concurrency-BuhIdzLh.js → run-with-concurrency-Nt31vJUG.js} +3 -3
- package/dist/runtime-whatsapp-login.runtime-CotlhVMr.js +14 -0
- package/dist/runtime-whatsapp-outbound.runtime-BFmswqyg.js +23 -0
- package/dist/{send-DneG3Y6W.js → send-B186cJBK.js} +6 -6
- package/dist/{send-CO0SLbe1.js → send-Bv1bYz85.js} +5 -5
- package/dist/{send-Du9t4AGe.js → send-C7fVX3Aa.js} +7 -7
- package/dist/{send-sLJZ7IY5.js → send-DkisVBoc.js} +7 -7
- package/dist/{send-XLlQzPe6.js → send-MX_Rfded.js} +13 -13
- package/dist/{session-CqC7SBSQ.js → session-1Yl8Frr-.js} +4 -4
- package/dist/{skill-commands-BMBlilhl.js → skill-commands-DJeNfhnA.js} +5 -5
- package/dist/{skills-3xdwtD86.js → skills-OI1KPfGe.js} +7 -7
- package/dist/slash-commands.runtime-C8ykFSb4.js +17 -0
- package/dist/slash-dispatch.runtime-DGex1-6v.js +57 -0
- package/dist/slash-skill-commands.runtime-YPlwoNDe.js +21 -0
- package/dist/{store-C2cz5_ir.js → store-B1AWPmNF.js} +2 -2
- package/dist/subagent-registry-runtime-DUQVA-gN.js +57 -0
- package/dist/{subsystem-D7UWJNhH.js → subsystem-W834z9Wa.js} +2 -2
- package/dist/{tables-wy_zOeNt.js → tables-cH0bKocg.js} +1 -1
- package/dist/{target-errors-DuBDh-hv.js → target-errors-CnpYma3r.js} +2 -2
- package/dist/{thinking-BTyVdUNj.js → thinking-CPVJ1bGB.js} +6 -6
- package/dist/{tokens-D44Sg_H7.js → tokens-DxcVnNVJ.js} +1 -1
- package/dist/{tool-images-DglcBYRa.js → tool-images-PZo0DcO2.js} +2 -2
- package/dist/{utils-BYUbDw97.js → utils-D2oM4XHm.js} +1 -1
- package/dist/{web-BPaW_2gD.js → web-BlqPhzy5.js} +53 -53
- package/dist/{whatsapp-actions-DY_gelO0.js → whatsapp-actions-D-ZrE5Zf.js} +20 -20
- package/dist/{workspace-TO6lxFaG.js → workspace-Thv5xKBi.js} +3 -3
- package/package.json +2 -3
- package/dist/deliver-runtime-D3UqVG2a.js +0 -37
- package/dist/deps-send-discord.runtime-1ABqH4jI.js +0 -27
- package/dist/deps-send-imessage.runtime-BxIgxxVD.js +0 -26
- package/dist/deps-send-signal.runtime-BrjjXQ_9.js +0 -25
- package/dist/deps-send-slack.runtime-D2Lr4jUM.js +0 -23
- package/dist/deps-send-telegram.runtime-Bki4Zhpg.js +0 -28
- package/dist/deps-send-whatsapp.runtime-h0TYRFbx.js +0 -61
- package/dist/image-runtime-DGFCE6eP.js +0 -30
- package/dist/manager-runtime-DAdjOUFO.js +0 -19
- package/dist/pi-model-discovery-runtime-DTzSS-sX.js +0 -12
- package/dist/runtime-whatsapp-login.runtime-y737nfzV.js +0 -14
- package/dist/runtime-whatsapp-outbound.runtime-Dcv3ZDOz.js +0 -23
- package/dist/slash-commands.runtime-D7uWN_ny.js +0 -17
- package/dist/slash-dispatch.runtime-D-1yM5hX.js +0 -57
- package/dist/slash-skill-commands.runtime-DHl6ydtz.js +0 -21
- package/dist/subagent-registry-runtime-DHNLqrbe.js +0 -57
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import "./run-with-concurrency-Nt31vJUG.js";
|
|
2
|
+
import "./paths-C6TxBCvO.js";
|
|
3
|
+
import "./subsystem-W834z9Wa.js";
|
|
4
|
+
import "./utils-D2oM4XHm.js";
|
|
5
|
+
import "./workspace-Thv5xKBi.js";
|
|
6
|
+
import "./logger-C53B395N.js";
|
|
7
|
+
import "./model-selection-CecWmBpu.js";
|
|
8
|
+
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
+
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
+
import "./plugins-DBkX-V6R.js";
|
|
11
|
+
import "./accounts-BLfGSTTQ.js";
|
|
12
|
+
import "./accounts-Dt59VmPe.js";
|
|
13
|
+
import "./image-ops-ChaTXg5i.js";
|
|
14
|
+
import "./path-alias-guards-BfOFxARa.js";
|
|
15
|
+
import "./fs-safe-CgO4FuI9.js";
|
|
16
|
+
import "./proxy-env-Dh9Q_Pbx.js";
|
|
17
|
+
import "./store-B1AWPmNF.js";
|
|
18
|
+
import "./fetch-C_Dvxwo-.js";
|
|
19
|
+
import "./fetch-guard-De2c-A0w.js";
|
|
20
|
+
import "./ir-08dII-cl.js";
|
|
21
|
+
import "./fetch-CTN5ATFT.js";
|
|
22
|
+
import { t as sendMessageSignal } from "./send-Bv1bYz85.js";
|
|
23
|
+
import "./outbound-attachment-B02zhzHs.js";
|
|
24
|
+
|
|
25
|
+
export { sendMessageSignal };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import "./run-with-concurrency-Nt31vJUG.js";
|
|
2
|
+
import "./paths-C6TxBCvO.js";
|
|
3
|
+
import "./subsystem-W834z9Wa.js";
|
|
4
|
+
import "./utils-D2oM4XHm.js";
|
|
5
|
+
import "./workspace-Thv5xKBi.js";
|
|
6
|
+
import "./logger-C53B395N.js";
|
|
7
|
+
import "./model-selection-CecWmBpu.js";
|
|
8
|
+
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
+
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
+
import "./tokens-DxcVnNVJ.js";
|
|
11
|
+
import "./plugins-DBkX-V6R.js";
|
|
12
|
+
import "./accounts-BLfGSTTQ.js";
|
|
13
|
+
import { t as sendMessageSlack } from "./send-B186cJBK.js";
|
|
14
|
+
import "./image-ops-ChaTXg5i.js";
|
|
15
|
+
import "./path-alias-guards-BfOFxARa.js";
|
|
16
|
+
import "./fs-safe-CgO4FuI9.js";
|
|
17
|
+
import "./proxy-env-Dh9Q_Pbx.js";
|
|
18
|
+
import "./fetch-C_Dvxwo-.js";
|
|
19
|
+
import "./fetch-guard-De2c-A0w.js";
|
|
20
|
+
import "./ir-08dII-cl.js";
|
|
21
|
+
import "./render-BZdJrUxT.js";
|
|
22
|
+
|
|
23
|
+
export { sendMessageSlack };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "./run-with-concurrency-Nt31vJUG.js";
|
|
2
|
+
import "./paths-C6TxBCvO.js";
|
|
3
|
+
import "./subsystem-W834z9Wa.js";
|
|
4
|
+
import "./utils-D2oM4XHm.js";
|
|
5
|
+
import "./workspace-Thv5xKBi.js";
|
|
6
|
+
import "./logger-C53B395N.js";
|
|
7
|
+
import "./model-selection-CecWmBpu.js";
|
|
8
|
+
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
+
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
+
import "./plugins-DBkX-V6R.js";
|
|
11
|
+
import "./accounts-BLfGSTTQ.js";
|
|
12
|
+
import "./image-ops-ChaTXg5i.js";
|
|
13
|
+
import { o as sendMessageTelegram } from "./send-MX_Rfded.js";
|
|
14
|
+
import "./path-alias-guards-BfOFxARa.js";
|
|
15
|
+
import "./redact-BXURioma.js";
|
|
16
|
+
import "./errors-C1YF712P.js";
|
|
17
|
+
import "./fs-safe-CgO4FuI9.js";
|
|
18
|
+
import "./proxy-env-Dh9Q_Pbx.js";
|
|
19
|
+
import "./fetch-C_Dvxwo-.js";
|
|
20
|
+
import "./fetch-guard-De2c-A0w.js";
|
|
21
|
+
import "./proxy-fetch-CVSmQMZt.js";
|
|
22
|
+
import "./ir-08dII-cl.js";
|
|
23
|
+
import "./render-BZdJrUxT.js";
|
|
24
|
+
import "./fetch-CTN5ATFT.js";
|
|
25
|
+
import "./channel-activity-CJkA_hhR.js";
|
|
26
|
+
import "./proxy-BMKyKeTK.js";
|
|
27
|
+
|
|
28
|
+
export { sendMessageTelegram };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import "./run-with-concurrency-Nt31vJUG.js";
|
|
2
|
+
import "./paths-C6TxBCvO.js";
|
|
3
|
+
import "./subsystem-W834z9Wa.js";
|
|
4
|
+
import "./utils-D2oM4XHm.js";
|
|
5
|
+
import "./workspace-Thv5xKBi.js";
|
|
6
|
+
import "./logger-C53B395N.js";
|
|
7
|
+
import "./model-selection-CecWmBpu.js";
|
|
8
|
+
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
+
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
+
import "./thinking-CPVJ1bGB.js";
|
|
11
|
+
import "./tokens-DxcVnNVJ.js";
|
|
12
|
+
import "./pi-embedded--j-vyCUK.js";
|
|
13
|
+
import "./plugins-DBkX-V6R.js";
|
|
14
|
+
import "./accounts-BLfGSTTQ.js";
|
|
15
|
+
import "./send-B186cJBK.js";
|
|
16
|
+
import "./send-C7fVX3Aa.js";
|
|
17
|
+
import "./deliver-BFJn3-fC.js";
|
|
18
|
+
import "./diagnostic-kVA702dh.js";
|
|
19
|
+
import "./accounts-Dt59VmPe.js";
|
|
20
|
+
import "./image-ops-ChaTXg5i.js";
|
|
21
|
+
import "./send-MX_Rfded.js";
|
|
22
|
+
import "./pi-model-discovery-CTFYQaxY.js";
|
|
23
|
+
import "./pi-embedded-helpers-CNzY8t5q.js";
|
|
24
|
+
import "./chrome-CXIrNn6H.js";
|
|
25
|
+
import "./frontmatter-Dn68lQ_o.js";
|
|
26
|
+
import "./skills-OI1KPfGe.js";
|
|
27
|
+
import "./path-alias-guards-BfOFxARa.js";
|
|
28
|
+
import "./redact-BXURioma.js";
|
|
29
|
+
import "./errors-C1YF712P.js";
|
|
30
|
+
import "./fs-safe-CgO4FuI9.js";
|
|
31
|
+
import "./proxy-env-Dh9Q_Pbx.js";
|
|
32
|
+
import "./store-B1AWPmNF.js";
|
|
33
|
+
import "./accounts-BCWrb_kQ.js";
|
|
34
|
+
import "./paths-CZ0nrg7g.js";
|
|
35
|
+
import "./tool-images-PZo0DcO2.js";
|
|
36
|
+
import "./image-BI9ZrRUQ.js";
|
|
37
|
+
import "./audio-transcription-runner-CR_2AH5G.js";
|
|
38
|
+
import "./fetch-C_Dvxwo-.js";
|
|
39
|
+
import "./fetch-guard-De2c-A0w.js";
|
|
40
|
+
import "./api-key-rotation-D2kYeIQQ.js";
|
|
41
|
+
import "./proxy-fetch-CVSmQMZt.js";
|
|
42
|
+
import "./ir-08dII-cl.js";
|
|
43
|
+
import "./render-BZdJrUxT.js";
|
|
44
|
+
import "./target-errors-CnpYma3r.js";
|
|
45
|
+
import "./commands-registry-ByjAF5Xl.js";
|
|
46
|
+
import "./skill-commands-DJeNfhnA.js";
|
|
47
|
+
import "./fetch-CTN5ATFT.js";
|
|
48
|
+
import "./channel-activity-CJkA_hhR.js";
|
|
49
|
+
import "./tables-cH0bKocg.js";
|
|
50
|
+
import "./send-Bv1bYz85.js";
|
|
51
|
+
import "./outbound-attachment-B02zhzHs.js";
|
|
52
|
+
import "./send-DkisVBoc.js";
|
|
53
|
+
import "./proxy-BMKyKeTK.js";
|
|
54
|
+
import "./manager-CJr-QF3U.js";
|
|
55
|
+
import "./query-expansion-C4Jm5bwm.js";
|
|
56
|
+
import { t as sendMessageWhatsApp } from "./outbound-sNa9-var.js";
|
|
57
|
+
import "./session-1Yl8Frr-.js";
|
|
58
|
+
import "./login-CIGbOUov.js";
|
|
59
|
+
import "./web-BlqPhzy5.js";
|
|
60
|
+
|
|
61
|
+
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-W834z9Wa.js";
|
|
2
|
+
import { X as loadConfig } from "./model-selection-CecWmBpu.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-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir } from "./run-with-concurrency-Nt31vJUG.js";
|
|
2
2
|
import { c as resolveStateDir } from "./paths-C6TxBCvO.js";
|
|
3
|
-
import { w as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
4
|
-
import { b as detectMime, x as extensionForMime } from "./image-ops-
|
|
5
|
-
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
3
|
+
import { w as resolvePreferredOpenClawTmpDir } from "./subsystem-W834z9Wa.js";
|
|
4
|
+
import { b as detectMime, x as extensionForMime } from "./image-ops-ChaTXg5i.js";
|
|
5
|
+
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-De2c-A0w.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-C53B395N.js";
|
|
2
|
+
import { i as createPinnedDispatcher, n as SsrFBlockedError, r as closeDispatcher, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-Dh9Q_Pbx.js";
|
|
3
3
|
import { t as bindAbortRelay } from "./fetch-timeout-CSrVj6X7.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-BAiRv0I2.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import syncFs from "node:fs";
|
|
4
|
-
import
|
|
4
|
+
import JSON5 from "json5";
|
|
5
5
|
import YAML from "yaml";
|
|
6
6
|
|
|
7
7
|
//#region src/shared/config-eval.ts
|
|
@@ -258,7 +258,7 @@ function resolveOpenClawManifestBlock(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
1
|
import { l as expandHomePrefix } from "./paths-C6TxBCvO.js";
|
|
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-
|
|
2
|
+
import { D as isNotFoundPathError, E as hasNodeErrorCode, O as isPathInside, S as sameFileIdentity, k as isSymlinkOpenError } from "./workspace-Thv5xKBi.js";
|
|
3
|
+
import { i as logWarn } from "./logger-C53B395N.js";
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-BfOFxARa.js";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValues } from "./run-with-concurrency-
|
|
2
|
-
import { _ as shortenHomeInString, c as isRecord } from "./utils-
|
|
3
|
-
import { Un as applyConfigEnvVars, X as loadConfig, _ as normalizeProviders, b as resolveImplicitProviders, fr as normalizeSecretInput, j as requireApiKey, k as getApiKeyForModel, rr as resolveOpenClawAgentDir, 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-Nt31vJUG.js";
|
|
2
|
+
import { _ as shortenHomeInString, c as isRecord } from "./utils-D2oM4XHm.js";
|
|
3
|
+
import { Un as applyConfigEnvVars, X as loadConfig, _ as normalizeProviders, b as resolveImplicitProviders, fr as normalizeSecretInput, j as requireApiKey, k as getApiKeyForModel, rr as resolveOpenClawAgentDir, v as resolveImplicitBedrockProvider, y as resolveImplicitCopilotProvider } from "./model-selection-CecWmBpu.js";
|
|
4
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-CNzY8t5q.js";
|
|
5
|
+
import { n as redactToolDetail } from "./redact-BXURioma.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-CskD35tG.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 { Bt as CHANNEL_IDS, Kt as normalizeChatChannelId, qt as getActivePluginRegistry } from "./model-selection-
|
|
1
|
+
import { _ as runExec } from "./workspace-Thv5xKBi.js";
|
|
2
|
+
import { Bt as CHANNEL_IDS, Kt as normalizeChatChannelId, qt as getActivePluginRegistry } from "./model-selection-CecWmBpu.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,30 @@
|
|
|
1
|
+
import "./run-with-concurrency-Nt31vJUG.js";
|
|
2
|
+
import "./paths-C6TxBCvO.js";
|
|
3
|
+
import "./subsystem-W834z9Wa.js";
|
|
4
|
+
import "./utils-D2oM4XHm.js";
|
|
5
|
+
import "./workspace-Thv5xKBi.js";
|
|
6
|
+
import "./logger-C53B395N.js";
|
|
7
|
+
import "./model-selection-CecWmBpu.js";
|
|
8
|
+
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
+
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
+
import "./thinking-CPVJ1bGB.js";
|
|
11
|
+
import "./plugins-DBkX-V6R.js";
|
|
12
|
+
import "./accounts-BLfGSTTQ.js";
|
|
13
|
+
import "./accounts-Dt59VmPe.js";
|
|
14
|
+
import "./image-ops-ChaTXg5i.js";
|
|
15
|
+
import "./pi-embedded-helpers-CNzY8t5q.js";
|
|
16
|
+
import "./chrome-CXIrNn6H.js";
|
|
17
|
+
import "./frontmatter-Dn68lQ_o.js";
|
|
18
|
+
import "./skills-OI1KPfGe.js";
|
|
19
|
+
import "./path-alias-guards-BfOFxARa.js";
|
|
20
|
+
import "./redact-BXURioma.js";
|
|
21
|
+
import "./errors-C1YF712P.js";
|
|
22
|
+
import "./fs-safe-CgO4FuI9.js";
|
|
23
|
+
import "./proxy-env-Dh9Q_Pbx.js";
|
|
24
|
+
import "./store-B1AWPmNF.js";
|
|
25
|
+
import "./accounts-BCWrb_kQ.js";
|
|
26
|
+
import "./paths-CZ0nrg7g.js";
|
|
27
|
+
import "./tool-images-PZo0DcO2.js";
|
|
28
|
+
import { t as describeImageWithModel } from "./image-BI9ZrRUQ.js";
|
|
29
|
+
|
|
30
|
+
export { describeImageWithModel };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-
|
|
1
|
+
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-W834z9Wa.js";
|
|
2
2
|
import { h as normalizeAccountId } from "./session-key-DgdmD4k7.js";
|
|
3
|
-
import { h as resolveUserPath } from "./utils-
|
|
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-
|
|
3
|
+
import { h as resolveUserPath } from "./utils-D2oM4XHm.js";
|
|
4
|
+
import { r as normalizeChannelId } from "./plugins-DBkX-V6R.js";
|
|
5
|
+
import { h as resolveAccountEntry } from "./accounts-BLfGSTTQ.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-ChaTXg5i.js";
|
|
7
|
+
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-CgO4FuI9.js";
|
|
8
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-C_Dvxwo-.js";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary } from "./run-with-concurrency-
|
|
1
|
+
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary } from "./run-with-concurrency-Nt31vJUG.js";
|
|
2
2
|
import "./paths-C6TxBCvO.js";
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./utils-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import "./logger-
|
|
7
|
-
import { br as DEFAULT_PROVIDER, l as parseModelRef, yr as DEFAULT_MODEL } from "./model-selection-
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-W834z9Wa.js";
|
|
4
|
+
import "./utils-D2oM4XHm.js";
|
|
5
|
+
import "./workspace-Thv5xKBi.js";
|
|
6
|
+
import "./logger-C53B395N.js";
|
|
7
|
+
import { br as DEFAULT_PROVIDER, l as parseModelRef, yr as DEFAULT_MODEL } from "./model-selection-CecWmBpu.js";
|
|
8
8
|
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
-
import "./legacy-names-
|
|
10
|
-
import "./thinking-
|
|
11
|
-
import "./tokens-
|
|
12
|
-
import { t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
13
|
-
import "./plugins-
|
|
14
|
-
import "./accounts-
|
|
15
|
-
import "./send-
|
|
16
|
-
import "./send-
|
|
17
|
-
import "./deliver-
|
|
18
|
-
import "./diagnostic-
|
|
19
|
-
import "./accounts-
|
|
20
|
-
import "./image-ops-
|
|
21
|
-
import "./send-
|
|
22
|
-
import "./pi-model-discovery-
|
|
23
|
-
import "./pi-embedded-helpers-
|
|
24
|
-
import "./chrome-
|
|
25
|
-
import "./frontmatter-
|
|
26
|
-
import "./skills-
|
|
27
|
-
import "./path-alias-guards-
|
|
28
|
-
import "./redact-
|
|
29
|
-
import "./errors-
|
|
30
|
-
import "./fs-safe-
|
|
31
|
-
import "./proxy-env-
|
|
32
|
-
import "./store-
|
|
33
|
-
import "./accounts-
|
|
9
|
+
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
+
import "./thinking-CPVJ1bGB.js";
|
|
11
|
+
import "./tokens-DxcVnNVJ.js";
|
|
12
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded--j-vyCUK.js";
|
|
13
|
+
import "./plugins-DBkX-V6R.js";
|
|
14
|
+
import "./accounts-BLfGSTTQ.js";
|
|
15
|
+
import "./send-B186cJBK.js";
|
|
16
|
+
import "./send-C7fVX3Aa.js";
|
|
17
|
+
import "./deliver-BFJn3-fC.js";
|
|
18
|
+
import "./diagnostic-kVA702dh.js";
|
|
19
|
+
import "./accounts-Dt59VmPe.js";
|
|
20
|
+
import "./image-ops-ChaTXg5i.js";
|
|
21
|
+
import "./send-MX_Rfded.js";
|
|
22
|
+
import "./pi-model-discovery-CTFYQaxY.js";
|
|
23
|
+
import "./pi-embedded-helpers-CNzY8t5q.js";
|
|
24
|
+
import "./chrome-CXIrNn6H.js";
|
|
25
|
+
import "./frontmatter-Dn68lQ_o.js";
|
|
26
|
+
import "./skills-OI1KPfGe.js";
|
|
27
|
+
import "./path-alias-guards-BfOFxARa.js";
|
|
28
|
+
import "./redact-BXURioma.js";
|
|
29
|
+
import "./errors-C1YF712P.js";
|
|
30
|
+
import "./fs-safe-CgO4FuI9.js";
|
|
31
|
+
import "./proxy-env-Dh9Q_Pbx.js";
|
|
32
|
+
import "./store-B1AWPmNF.js";
|
|
33
|
+
import "./accounts-BCWrb_kQ.js";
|
|
34
34
|
import "./paths-CZ0nrg7g.js";
|
|
35
|
-
import "./tool-images-
|
|
36
|
-
import "./image-
|
|
37
|
-
import "./audio-transcription-runner-
|
|
38
|
-
import "./fetch-
|
|
39
|
-
import "./fetch-guard-
|
|
40
|
-
import "./api-key-rotation-
|
|
41
|
-
import "./proxy-fetch-
|
|
42
|
-
import "./ir-
|
|
35
|
+
import "./tool-images-PZo0DcO2.js";
|
|
36
|
+
import "./image-BI9ZrRUQ.js";
|
|
37
|
+
import "./audio-transcription-runner-CR_2AH5G.js";
|
|
38
|
+
import "./fetch-C_Dvxwo-.js";
|
|
39
|
+
import "./fetch-guard-De2c-A0w.js";
|
|
40
|
+
import "./api-key-rotation-D2kYeIQQ.js";
|
|
41
|
+
import "./proxy-fetch-CVSmQMZt.js";
|
|
42
|
+
import "./ir-08dII-cl.js";
|
|
43
43
|
import "./render-BZdJrUxT.js";
|
|
44
|
-
import "./target-errors-
|
|
45
|
-
import "./commands-registry-
|
|
46
|
-
import "./skill-commands-
|
|
44
|
+
import "./target-errors-CnpYma3r.js";
|
|
45
|
+
import "./commands-registry-ByjAF5Xl.js";
|
|
46
|
+
import "./skill-commands-DJeNfhnA.js";
|
|
47
47
|
import "./fetch-CTN5ATFT.js";
|
|
48
|
-
import "./channel-activity-
|
|
49
|
-
import "./tables-
|
|
50
|
-
import "./send-
|
|
51
|
-
import "./outbound-attachment-
|
|
52
|
-
import "./send-
|
|
48
|
+
import "./channel-activity-CJkA_hhR.js";
|
|
49
|
+
import "./tables-cH0bKocg.js";
|
|
50
|
+
import "./send-Bv1bYz85.js";
|
|
51
|
+
import "./outbound-attachment-B02zhzHs.js";
|
|
52
|
+
import "./send-DkisVBoc.js";
|
|
53
53
|
import "./proxy-BMKyKeTK.js";
|
|
54
|
-
import "./manager-
|
|
55
|
-
import "./query-expansion-
|
|
54
|
+
import "./manager-CJr-QF3U.js";
|
|
55
|
+
import "./query-expansion-C4Jm5bwm.js";
|
|
56
56
|
import fs from "node:fs/promises";
|
|
57
57
|
import os from "node:os";
|
|
58
58
|
import path from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as getLogger, c as danger, d as logVerboseConsole, h as warn, i as defaultRuntime, l as info, t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { b as getLogger, c as danger, d as logVerboseConsole, h as warn, i as defaultRuntime, l as info, t as createSubsystemLogger } from "./subsystem-W834z9Wa.js";
|
|
2
2
|
|
|
3
3
|
//#region src/logger.ts
|
|
4
4
|
const subsystemPrefixRe = /^([a-z][a-z0-9-]{1,20}):\s+(.*)$/i;
|
|
@@ -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, cr 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-W834z9Wa.js";
|
|
2
|
+
import { r as logInfo } from "./logger-C53B395N.js";
|
|
3
|
+
import { X as loadConfig, cr as formatCliCommand } from "./model-selection-CecWmBpu.js";
|
|
4
|
+
import { n as resolveWhatsAppAccount, o as logoutWeb } from "./accounts-BLfGSTTQ.js";
|
|
5
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-1Yl8Frr-.js";
|
|
6
6
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
7
7
|
|
|
8
8
|
//#region src/web/login.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
1
|
+
import "./run-with-concurrency-Nt31vJUG.js";
|
|
2
2
|
import "./paths-C6TxBCvO.js";
|
|
3
|
-
import { c as danger, i as defaultRuntime, l as info, m as success } from "./subsystem-
|
|
4
|
-
import "./utils-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import { r as logInfo } from "./logger-
|
|
7
|
-
import { X as loadConfig } from "./model-selection-
|
|
3
|
+
import { c as danger, i as defaultRuntime, l as info, m as success } from "./subsystem-W834z9Wa.js";
|
|
4
|
+
import "./utils-D2oM4XHm.js";
|
|
5
|
+
import "./workspace-Thv5xKBi.js";
|
|
6
|
+
import { r as logInfo } from "./logger-C53B395N.js";
|
|
7
|
+
import { X as loadConfig } from "./model-selection-CecWmBpu.js";
|
|
8
8
|
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
-
import "./legacy-names-
|
|
10
|
-
import { m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-
|
|
11
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
9
|
+
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
+
import { m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-BLfGSTTQ.js";
|
|
11
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-1Yl8Frr-.js";
|
|
12
12
|
import { randomUUID } from "node:crypto";
|
|
13
13
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
14
14
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, i as resolveAgentConfig } from "./run-with-concurrency-
|
|
1
|
+
import { a as resolveAgentDir, c as resolveAgentWorkspaceDir, i as resolveAgentConfig } from "./run-with-concurrency-Nt31vJUG.js";
|
|
2
2
|
import { c as resolveStateDir } from "./paths-C6TxBCvO.js";
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { S as truncateUtf16Safe, h as resolveUserPath, i as clampNumber, r as clampInt } from "./utils-
|
|
5
|
-
import { M as resolveApiKeyForProvider, N as resolveEnvApiKey, S as retryAsync, Xn as isTruthyEnvValue, dr as normalizeOptionalSecretInput, hr as normalizeResolvedSecretInputString, j as requireApiKey } from "./model-selection-
|
|
6
|
-
import { r as formatErrorMessage } from "./errors-
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-W834z9Wa.js";
|
|
4
|
+
import { S as truncateUtf16Safe, h as resolveUserPath, i as clampNumber, r as clampInt } from "./utils-D2oM4XHm.js";
|
|
5
|
+
import { M as resolveApiKeyForProvider, N as resolveEnvApiKey, S as retryAsync, Xn as isTruthyEnvValue, dr as normalizeOptionalSecretInput, hr as normalizeResolvedSecretInputString, j as requireApiKey } from "./model-selection-CecWmBpu.js";
|
|
6
|
+
import { r as formatErrorMessage } from "./errors-C1YF712P.js";
|
|
7
7
|
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-CZ0nrg7g.js";
|
|
8
8
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-Db-3GZzv.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-De2c-A0w.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-D2kYeIQQ.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-C4Jm5bwm.js";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
13
13
|
import os from "node:os";
|
|
14
14
|
import path from "node:path";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "./run-with-concurrency-Nt31vJUG.js";
|
|
2
|
+
import "./paths-C6TxBCvO.js";
|
|
3
|
+
import "./subsystem-W834z9Wa.js";
|
|
4
|
+
import "./utils-D2oM4XHm.js";
|
|
5
|
+
import "./workspace-Thv5xKBi.js";
|
|
6
|
+
import "./logger-C53B395N.js";
|
|
7
|
+
import "./model-selection-CecWmBpu.js";
|
|
8
|
+
import "./github-copilot-token-DDa7O18e.js";
|
|
9
|
+
import "./legacy-names-BAiRv0I2.js";
|
|
10
|
+
import "./redact-BXURioma.js";
|
|
11
|
+
import "./errors-C1YF712P.js";
|
|
12
|
+
import "./proxy-env-Dh9Q_Pbx.js";
|
|
13
|
+
import "./paths-CZ0nrg7g.js";
|
|
14
|
+
import "./fetch-guard-De2c-A0w.js";
|
|
15
|
+
import "./api-key-rotation-D2kYeIQQ.js";
|
|
16
|
+
import { t as MemoryIndexManager } from "./manager-CJr-QF3U.js";
|
|
17
|
+
import "./query-expansion-C4Jm5bwm.js";
|
|
18
|
+
|
|
19
|
+
export { MemoryIndexManager };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { _ as toAgentModelListLike, c as resolveAgentWorkspaceDir, g as resolveAgentModelPrimaryValue, i as resolveAgentConfig, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary, t as runTasksWithConcurrency } from "./run-with-concurrency-
|
|
2
|
+
import { _ as toAgentModelListLike, c as resolveAgentWorkspaceDir, g as resolveAgentModelPrimaryValue, i as resolveAgentConfig, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary, t as runTasksWithConcurrency } from "./run-with-concurrency-Nt31vJUG.js";
|
|
3
3
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-C6TxBCvO.js";
|
|
4
|
-
import { n as stripAnsi, t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
4
|
+
import { n as stripAnsi, t as createSubsystemLogger, u as logVerbose } from "./subsystem-W834z9Wa.js";
|
|
5
5
|
import { _ as isBlockedObjectKey, c as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DgdmD4k7.js";
|
|
6
|
-
import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir, y as sleep } from "./utils-
|
|
7
|
-
import { O as isPathInside$2, _ as runExec, x as openBoundaryFileSync, y as canUseBoundaryFileOpen } from "./workspace-
|
|
6
|
+
import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir, y as sleep } from "./utils-D2oM4XHm.js";
|
|
7
|
+
import { O as isPathInside$2, _ as runExec, x as openBoundaryFileSync, y as canUseBoundaryFileOpen } from "./workspace-Thv5xKBi.js";
|
|
8
8
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-DDa7O18e.js";
|
|
9
|
-
import { c as parseBooleanValue, n as MANIFEST_KEY, o as registerInternalHook } from "./legacy-names-
|
|
9
|
+
import { c as parseBooleanValue, n as MANIFEST_KEY, o as registerInternalHook } from "./legacy-names-BAiRv0I2.js";
|
|
10
10
|
import { t as parseDurationMs } from "./parse-duration-D8SaZ9Wv.js";
|
|
11
11
|
import { createRequire } from "node:module";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
13
13
|
import os from "node:os";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import syncFs from "node:fs";
|
|
16
|
-
import
|
|
16
|
+
import JSON5 from "json5";
|
|
17
17
|
import { isDeepStrictEqual } from "node:util";
|
|
18
18
|
import { execFileSync, spawn } from "node:child_process";
|
|
19
19
|
import { fileURLToPath } from "node:url";
|
|
@@ -2499,7 +2499,7 @@ const defaultResolver = {
|
|
|
2499
2499
|
resolvedPath,
|
|
2500
2500
|
rootRealDir
|
|
2501
2501
|
}),
|
|
2502
|
-
parseJson: (raw) =>
|
|
2502
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
2503
2503
|
};
|
|
2504
2504
|
/**
|
|
2505
2505
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -12348,7 +12348,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
12348
12348
|
function normalizeDeps(overrides = {}) {
|
|
12349
12349
|
return {
|
|
12350
12350
|
fs: overrides.fs ?? syncFs,
|
|
12351
|
-
json5: overrides.json5 ??
|
|
12351
|
+
json5: overrides.json5 ?? JSON5,
|
|
12352
12352
|
env: overrides.env ?? process.env,
|
|
12353
12353
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
12354
12354
|
configPath: overrides.configPath ?? "",
|
|
@@ -12359,11 +12359,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
12359
12359
|
if (env !== process.env) return;
|
|
12360
12360
|
loadDotEnv({ quiet: true });
|
|
12361
12361
|
}
|
|
12362
|
-
function parseConfigJson5(raw, json5
|
|
12362
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
12363
12363
|
try {
|
|
12364
12364
|
return {
|
|
12365
12365
|
ok: true,
|
|
12366
|
-
parsed: json5
|
|
12366
|
+
parsed: json5.parse(raw)
|
|
12367
12367
|
};
|
|
12368
12368
|
} catch (err) {
|
|
12369
12369
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as saveMediaBuffer } from "./store-
|
|
2
|
-
import { a as loadWebMedia } from "./ir-
|
|
1
|
+
import { i as saveMediaBuffer } from "./store-B1AWPmNF.js";
|
|
2
|
+
import { a as loadWebMedia } from "./ir-08dII-cl.js";
|
|
3
3
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-BXqJ6gxm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/media/outbound-attachment.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as createSubsystemLogger, y as getChildLogger } from "./subsystem-
|
|
2
|
-
import { o as escapeRegExp, x as toWhatsappJid } from "./utils-
|
|
3
|
-
import { X as loadConfig } from "./model-selection-
|
|
1
|
+
import { t as createSubsystemLogger, y as getChildLogger } from "./subsystem-W834z9Wa.js";
|
|
2
|
+
import { o as escapeRegExp, x as toWhatsappJid } from "./utils-D2oM4XHm.js";
|
|
3
|
+
import { X as loadConfig } from "./model-selection-CecWmBpu.js";
|
|
4
4
|
import { n as generateSecureUuid } from "./secure-random-xpZo1jCG.js";
|
|
5
|
-
import { a as loadWebMedia, s as resolveMarkdownTableMode } from "./ir-
|
|
5
|
+
import { a as loadWebMedia, s as resolveMarkdownTableMode } from "./ir-08dII-cl.js";
|
|
6
6
|
import { n as normalizePollInput } from "./polls-CVGKOEN8.js";
|
|
7
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
8
|
-
import { i as redactIdentifier, n as requireActiveWebListener } from "./active-listener-
|
|
7
|
+
import { t as convertMarkdownTables } from "./tables-cH0bKocg.js";
|
|
8
|
+
import { i as redactIdentifier, n as requireActiveWebListener } from "./active-listener-RqwDePXt.js";
|
|
9
9
|
|
|
10
10
|
//#region src/markdown/whatsapp.ts
|
|
11
11
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as BOUNDARY_PATH_ALIAS_POLICIES, D as isNotFoundPathError, w as resolveBoundaryPath } from "./workspace-
|
|
1
|
+
import { C as BOUNDARY_PATH_ALIAS_POLICIES, D as isNotFoundPathError, w as resolveBoundaryPath } from "./workspace-Thv5xKBi.js";
|
|
2
2
|
import fs from "node:fs/promises";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
|