openclaw-multi-auto 1.8.0 → 1.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-BomWJjOy.js → agent-ef71Xoo3.js} +10 -10
- package/dist/{audio-preflight-GAYJDgGF.js → audio-preflight-BK4MI6Gs.js} +1 -1
- package/dist/{audio-preflight-CZHCr2-5.js → audio-preflight-BQoP-O-0.js} +9 -9
- package/dist/{audio-preflight-SOY4qjTl.js → audio-preflight-DcneE70v.js} +6 -6
- package/dist/{audit-membership-runtime-fBOVjLNx.js → audit-membership-runtime-0b4ZhE41.js} +4 -4
- package/dist/{audit-membership-runtime-BQmoiW7f.js → audit-membership-runtime-BDoMjPgy.js} +3 -3
- package/dist/{auth-profiles-CEEqFOKJ.js → auth-profiles-Dta-Mhaw.js} +438 -438
- package/dist/auth-profiles.runtime-CLSx3zsq.js +7 -0
- package/dist/auth-profiles.runtime-CuInvQ6F.js +11 -0
- package/dist/{auth-profiles.runtime-IXde-3_L.js → auth-profiles.runtime-DEhTAVAo.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +10 -10
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/compact.runtime-BOg89Gro.js +11 -0
- package/dist/compact.runtime-BgRco6mO.js +7 -0
- package/dist/{compact.runtime-BCHQpekB.js → compact.runtime-CH24Vvny.js} +1 -1
- package/dist/daemon-cli.js +53 -53
- package/dist/{deliver-runtime-Bm3VqH55.js → deliver-runtime-6WeFOxSI.js} +1 -1
- package/dist/deliver-runtime-BBwve6gL.js +7 -0
- package/dist/deliver-runtime-CUrIlSzN.js +11 -0
- package/dist/extensionAPI.js +1 -1
- package/dist/{fetch-wjPVlu-r.js → fetch-Bdod8UI1.js} +3 -3
- package/dist/{fetch-BdTTF2z-.js → fetch-sH_NN8SV.js} +2 -2
- package/dist/{frontmatter-DZlWsaUx.js → frontmatter-DhmdUnBP.js} +3 -3
- package/dist/{github-copilot-token-C-NbPL95.js → github-copilot-token-368sRGBD.js} +2 -2
- package/dist/{github-copilot-token-BeFx3MLn.js → github-copilot-token-BgPOyCXe.js} +7 -7
- package/dist/{image-runtime-CReMeTZL.js → image-runtime-BwzYRCA5.js} +1 -1
- package/dist/image-runtime-DiA6CU2y.js +7 -0
- package/dist/image-runtime-Dur8cmII.js +11 -0
- package/dist/llm-slug-generator.js +9 -9
- package/dist/{logger-mQKrXyAc.js → logger-Budylr6i.js} +18 -18
- package/dist/{logger-DCBlX1uz.js → logger-C0l_Gj8Y.js} +7 -7
- package/dist/{login-xsvrgJJt.js → login-BEOnxdap.js} +2 -2
- package/dist/{login-Ctt81ov4.js → login-Bk8BjEUN.js} +3 -3
- package/dist/{login-CKmmxErc.js → login-CvFRLU0k.js} +4 -4
- package/dist/{login-qr-CHrXhUJY.js → login-qr-CVQlH0l0.js} +7 -7
- package/dist/{login-qr-KVA4wuh0.js → login-qr-D-_3HfJq.js} +10 -10
- package/dist/{login-qr-D2jYdV8v.js → login-qr-FW_sLvPl.js} +2 -2
- package/dist/manager-runtime-BW_M_Kzt.js +7 -0
- package/dist/manager-runtime-CfBjUnwB.js +11 -0
- package/dist/{manager-runtime-BBxiBzvv.js → manager-runtime-DV0_pZDZ.js} +1 -1
- package/dist/{manager.runtime-CF3GyuMb.js → manager.runtime-CynsHdcO.js} +7 -7
- package/dist/{manager.runtime-BV-CBNb2.js → manager.runtime-DF-LRAbL.js} +10 -10
- package/dist/{manager.runtime-C5odxL4B.js → manager.runtime-KPIwNjNW.js} +12 -12
- package/dist/{model-selection-CNRMBWfR.js → model-selection-C9tlIhgN.js} +271 -271
- package/dist/{model-selection-BQm6_iuT.js → model-selection-qaBek98Q.js} +43 -43
- package/dist/{paths-jtwudEDq.js → paths-BnSNMlFT.js} +5 -5
- package/dist/{paths-CNIc83Pn.js → paths-BwJ6yG6k.js} +5 -5
- package/dist/pi-model-discovery-runtime-CK36RhYz.js +11 -0
- package/dist/{pi-model-discovery-runtime-C-YPAOQR.js → pi-model-discovery-runtime-CLfgSk3o.js} +6 -6
- package/dist/{pi-model-discovery-runtime-DeRljgTs.js → pi-model-discovery-runtime-Q0BoklY3.js} +1 -1
- package/dist/{pi-tools.before-tool-call.runtime-PhxG0y1R.js → pi-tools.before-tool-call.runtime-B_uML_Gt.js} +1 -1
- package/dist/{pi-tools.before-tool-call.runtime-CWgsv7kC.js → pi-tools.before-tool-call.runtime-CKzFGrVv.js} +6 -6
- package/dist/{pi-tools.before-tool-call.runtime-DgAiY2la.js → pi-tools.before-tool-call.runtime-CLRTNt4A.js} +9 -9
- package/dist/plugin-sdk/{audio-preflight-yyFn-I5K.js → audio-preflight-CVWl4NKo.js} +12 -12
- package/dist/plugin-sdk/{audit-membership-runtime-DHo6vLy0.js → audit-membership-runtime-D1VvFm38.js} +5 -5
- package/dist/plugin-sdk/{auth-profiles.runtime-DN3bNNeo.js → auth-profiles.runtime-Cy2e2Wah.js} +12 -12
- package/dist/plugin-sdk/{bluebubbles-BPDNQxEz.js → bluebubbles-B_tcmPhi.js} +1 -1
- package/dist/plugin-sdk/bluebubbles.js +15 -15
- package/dist/plugin-sdk/{channel-access-BaZDvsTA.js → channel-access-GDk6vyOi.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-DLZc22_m.js → channel-access-configure-CerQrsyV.js} +1 -1
- package/dist/plugin-sdk/{channel-config-helpers-CFkTEzkz.js → channel-config-helpers-CX9AfjCJ.js} +3 -3
- package/dist/plugin-sdk/{compact.runtime-D1HfZ8IJ.js → compact.runtime-0XuiRVw-.js} +12 -12
- package/dist/plugin-sdk/compat.js +28 -28
- package/dist/plugin-sdk/core.js +14 -14
- package/dist/plugin-sdk/{deliver-runtime-DrD2s_GI.js → deliver-runtime-D37pd8wU.js} +12 -12
- package/dist/plugin-sdk/device-pair.js +5 -5
- package/dist/plugin-sdk/diagnostics-otel.js +2 -2
- package/dist/plugin-sdk/{discord-BZR9M1Ft.js → discord-dU71XVvQ.js} +4 -4
- package/dist/plugin-sdk/discord.js +16 -16
- package/dist/plugin-sdk/{exec-BvTkR9oI.js → exec-88qB5pUO.js} +2 -2
- package/dist/plugin-sdk/feishu.js +14 -14
- package/dist/plugin-sdk/{fetch-yk-axchG.js → fetch-Cqwcg-Kq.js} +2 -2
- package/dist/plugin-sdk/{fetch-guard-Cwx1pJhf.js → fetch-guard-DEyOIg88.js} +1 -1
- package/dist/plugin-sdk/google-gemini-cli-auth.js +4 -4
- package/dist/plugin-sdk/googlechat.js +14 -14
- package/dist/plugin-sdk/{helpers-Cj2lgcNt.js → helpers-zm9M-XCJ.js} +1 -1
- package/dist/plugin-sdk/{http-registry-DyBqqyPO.js → http-registry-CR-l0QpT.js} +2 -2
- package/dist/plugin-sdk/{image-runtime-ChtfQsK-.js → image-runtime-CSZNFoHc.js} +12 -12
- package/dist/plugin-sdk/{imessage-DtibPuZP.js → imessage-DvtFTwJr.js} +3 -3
- package/dist/plugin-sdk/imessage.js +14 -14
- package/dist/plugin-sdk/{inbound-reply-dispatch-CfNEV0ZG.js → inbound-reply-dispatch-DpGprwTU.js} +1 -1
- package/dist/plugin-sdk/index.js +28 -28
- package/dist/plugin-sdk/irc.js +15 -15
- package/dist/plugin-sdk/{logger-C9fkmDdb.js → logger-D-go2oXy.js} +2 -2
- package/dist/plugin-sdk/{logger-DXnvMlr-.js → logger-Jt8cCPPV.js} +2 -2
- package/dist/plugin-sdk/{login-BC7QDpvj.js → login-CnT14vQ1.js} +5 -5
- package/dist/plugin-sdk/{login-qr-rnZFcwNs.js → login-qr-Di9Gqms7.js} +13 -13
- package/dist/plugin-sdk/{manager-runtime-B8O--3Jt.js → manager-runtime-DzCE2bL1.js} +12 -12
- package/dist/plugin-sdk/{manager.runtime-U_d65Qv1.js → manager.runtime-D6nT5fqn.js} +18 -18
- package/dist/plugin-sdk/matrix.js +16 -16
- package/dist/plugin-sdk/mattermost.js +14 -14
- package/dist/plugin-sdk/msteams.js +16 -16
- package/dist/plugin-sdk/nextcloud-talk.js +15 -15
- package/dist/plugin-sdk/nostr.js +4 -4
- package/dist/plugin-sdk/{outbound-media-DWtG1X8J.js → outbound-media-CN8bsq-T.js} +1 -1
- package/dist/plugin-sdk/{persistent-dedupe-BroxGf3Q.js → persistent-dedupe-CjCe_L5g.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-DWyENOD9.js → pi-model-discovery-runtime-1vkd_hCn.js} +12 -12
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-CPBeYJY2.js → pi-tools.before-tool-call.runtime-D0XEYwCa.js} +12 -12
- package/dist/plugin-sdk/{pw-ai-DR8Hjs-J.js → pw-ai-DkDE5awL.js} +12 -12
- package/dist/plugin-sdk/{qmd-manager-3qRPZ5ye.js → qmd-manager-CguAGtaF.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-BnFYorqr.js → query-expansion-ChYs46vb.js} +5 -5
- package/dist/plugin-sdk/{redact-DTcVTGFU.js → redact-CqHkGWow.js} +1 -1
- package/dist/plugin-sdk/{run-command-qzkvaQG1.js → run-command-nYfMDZC3.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-UvsfFa7Q.js +24 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-CYBj8E4x.js +23 -0
- package/dist/plugin-sdk/{send-BZgg6N38.js → send-BDZssl9O.js} +5 -5
- package/dist/plugin-sdk/{session-Dm0FT_vI.js → session-DPhL1rLb.js} +5 -5
- package/dist/plugin-sdk/{signal-Dy_XjHKL.js → signal-BKMAyRnz.js} +6 -6
- package/dist/plugin-sdk/signal.js +14 -14
- package/dist/plugin-sdk/{slack-DNwpGTSd.js → slack-jues0BBq.js} +3 -3
- package/dist/plugin-sdk/slack.js +16 -16
- package/dist/plugin-sdk/{slash-commands.runtime-Bn7T59g3.js → slash-commands.runtime-BJ6veGjC.js} +12 -12
- package/dist/plugin-sdk/{slash-dispatch.runtime-BPsvStS0.js → slash-dispatch.runtime-CyWyh0DI.js} +12 -12
- package/dist/plugin-sdk/{slash-skill-commands.runtime-TDVZ7jxr.js → slash-skill-commands.runtime-BiDqNceZ.js} +12 -12
- package/dist/plugin-sdk/{subagent-registry-runtime-D3DovVGQ.js → subagent-registry-runtime-BVsFNLUF.js} +12 -12
- package/dist/plugin-sdk/{subsystem-DXcqLSNd.js → subsystem-DOh66yR6.js} +1 -1
- package/dist/plugin-sdk/synology-chat.js +4 -4
- package/dist/plugin-sdk/{telegram-B1RGxv8p.js → telegram-D3JLaXTI.js} +4 -4
- package/dist/plugin-sdk/telegram.js +14 -14
- package/dist/plugin-sdk/{text-chunking-CaqMErUv.js → text-chunking-Bd2LMKfE.js} +1 -1
- package/dist/plugin-sdk/{thread-bindings-Bp_o0GHR.js → thread-bindings-Cc59nx4d.js} +48 -48
- package/dist/plugin-sdk/tlon.js +13 -13
- package/dist/plugin-sdk/twitch.js +14 -14
- package/dist/plugin-sdk/{utils-BQpbGej3.js → utils-BhiRkVxe.js} +1 -1
- package/dist/plugin-sdk/{vllm-setup-wjrX_svM.js → vllm-setup-R5M9rOvm.js} +2 -2
- package/dist/plugin-sdk/voice-call.js +12 -12
- package/dist/plugin-sdk/{web-Dz6AjTQn.js → web-BpHTS6sG.js} +16 -16
- package/dist/plugin-sdk/{webhook-targets-yTQuv0k1.js → webhook-targets-t3fxeJQf.js} +1 -1
- package/dist/plugin-sdk/{whatsapp-actions-C5SohPL-.js → whatsapp-actions-BAJ27s8B.js} +13 -13
- package/dist/plugin-sdk/{whatsapp-heartbeat-_Kw4PPKA.js → whatsapp-heartbeat-D6NF4OC0.js} +3 -3
- package/dist/plugin-sdk/whatsapp.js +13 -13
- package/dist/plugin-sdk/zalo.js +15 -15
- package/dist/plugin-sdk/zalouser.js +16 -16
- package/dist/{pw-ai-BFfAJexr.js → pw-ai-BZnl84YT.js} +6 -6
- package/dist/{pw-ai-3ual6adI.js → pw-ai-CRL5SGWK.js} +9 -9
- package/dist/{pw-ai-CzFFsGR7.js → pw-ai-DzdseGw2.js} +1 -1
- package/dist/{qmd-manager-rY-Y6sbN.js → qmd-manager-BmuMJQP3.js} +3 -3
- package/dist/{qmd-manager-DvglNhlJ.js → qmd-manager-CFVuAj9l.js} +5 -5
- package/dist/{query-expansion-BIMwPSMg.js → query-expansion-BMQzl41m.js} +89 -89
- package/dist/{query-expansion-DXwSmE_K.js → query-expansion-DnS6CGY2.js} +8 -8
- package/dist/runtime-whatsapp-login.runtime-CO-iUlqS.js +13 -0
- package/dist/runtime-whatsapp-login.runtime-Dd6rJjLo.js +9 -0
- package/dist/{runtime-whatsapp-login.runtime-vKFKNi8Z.js → runtime-whatsapp-login.runtime-Dsz-DNfa.js} +3 -3
- package/dist/{runtime-whatsapp-outbound.runtime-SAT-C6UE.js → runtime-whatsapp-outbound.runtime-BeZMBTt6.js} +2 -2
- package/dist/runtime-whatsapp-outbound.runtime-CatYliOE.js +8 -0
- package/dist/runtime-whatsapp-outbound.runtime-IeVUgrJu.js +12 -0
- package/dist/{send-UG1n3OAg.js → send-CHO1gc7n.js} +2 -2
- package/dist/{send-CXnKWzde.js → send-CsgNtXyY.js} +3 -3
- package/dist/{send-DGQUY-kp.js → send-DxYxezcL.js} +1 -1
- package/dist/{session-CbQ43pUq.js → session--tqRfZQU.js} +1 -1
- package/dist/{session-kt-bqE_z.js → session-BhX4LYCK.js} +7 -7
- package/dist/{session-Bpmn--zO.js → session-r38wrRC6.js} +6 -6
- package/dist/slash-commands.runtime-BTNXGYOP.js +11 -0
- package/dist/{slash-commands.runtime-DoT9bJKb.js → slash-commands.runtime-C8j-n-bX.js} +1 -1
- package/dist/{slash-commands.runtime-DIrX0Ynq.js → slash-commands.runtime-J-gBOPcL.js} +6 -6
- package/dist/{slash-dispatch.runtime--9HmQuIE.js → slash-dispatch.runtime-BA-MMy0P.js} +1 -1
- package/dist/{slash-dispatch.runtime-CG-xSDdf.js → slash-dispatch.runtime-CwO02PY8.js} +6 -6
- package/dist/{slash-dispatch.runtime-Cu8ghe1h.js → slash-dispatch.runtime-cYx62DOd.js} +9 -9
- package/dist/slash-skill-commands.runtime-BQRfyLdb.js +7 -0
- package/dist/{slash-skill-commands.runtime-BZqnnkHJ.js → slash-skill-commands.runtime-Cm8K1kWM.js} +1 -1
- package/dist/slash-skill-commands.runtime-ThOxhaze.js +11 -0
- package/dist/{subagent-registry-runtime-rBYzVSXG.js → subagent-registry-runtime-1IiL0xom.js} +6 -6
- package/dist/{subagent-registry-runtime-9WfVik2h.js → subagent-registry-runtime-DKOXxZgH.js} +1 -1
- package/dist/{subagent-registry-runtime-Z0fdsGSq.js → subagent-registry-runtime-DkamrsVw.js} +9 -9
- package/dist/{subsystem-Cr1MiLhx.js → subsystem-CDcEQtQK.js} +14 -14
- package/dist/{web-DbsQPRh2.js → web-B_GcnsRF.js} +9 -9
- package/dist/{web-B_EVHbEP.js → web-RzQ9jrtt.js} +4 -4
- package/dist/{web-CXyjF_si.js → web-bHB4SzXZ.js} +12 -12
- package/dist/{whatsapp-actions-CnWp29AN.js → whatsapp-actions-BCgsmzOa.js} +7 -7
- package/dist/{whatsapp-actions-pQqLTCXJ.js → whatsapp-actions-BmDvJijd.js} +2 -2
- package/dist/{whatsapp-actions-BUvGEDSk.js → whatsapp-actions-BqFiZbuw.js} +10 -10
- package/dist/{workspace-Bi8vpJN0.js → workspace-Cg3kGb1y.js} +20 -20
- package/package.json +1 -1
- package/scripts/create-instance.sh +21 -3
- package/dist/auth-profiles.runtime-DNqCx0L5.js +0 -11
- package/dist/auth-profiles.runtime-DXPqJP5A.js +0 -7
- package/dist/compact.runtime-DS9UVeOh.js +0 -7
- package/dist/compact.runtime-pgjSlzSY.js +0 -11
- package/dist/deliver-runtime-D4aWAXZ9.js +0 -11
- package/dist/deliver-runtime-D929PgeO.js +0 -7
- package/dist/image-runtime-Brryt_BU.js +0 -11
- package/dist/image-runtime-CkdY0-Oo.js +0 -7
- package/dist/manager-runtime-D9AEoM1M.js +0 -11
- package/dist/manager-runtime-PqJtJx-b.js +0 -7
- package/dist/pi-model-discovery-runtime-CDKkuBYh.js +0 -11
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BDbgMnYK.js +0 -24
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-BYZKJw25.js +0 -23
- package/dist/runtime-whatsapp-login.runtime-Br3SxDXL.js +0 -13
- package/dist/runtime-whatsapp-login.runtime-DeV-bhiR.js +0 -9
- package/dist/runtime-whatsapp-outbound.runtime-BFY32bnC.js +0 -8
- package/dist/runtime-whatsapp-outbound.runtime-L3Qkst0n.js +0 -12
- package/dist/slash-commands.runtime-BYfxn_xu.js +0 -11
- package/dist/slash-skill-commands.runtime-8dS5PTaH.js +0 -11
- package/dist/slash-skill-commands.runtime-JEA80FeR.js +0 -7
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
|
-
import {
|
|
2
|
+
import { l as resolveStateDir } from "./paths-BnSNMlFT.js";
|
|
3
|
+
import fsSync from "node:fs";
|
|
3
4
|
import path from "node:path";
|
|
4
|
-
import syncFs from "node:fs";
|
|
5
5
|
//#region src/infra/json-file.ts
|
|
6
6
|
function loadJsonFile(pathname) {
|
|
7
7
|
try {
|
|
8
|
-
if (!
|
|
9
|
-
const raw =
|
|
8
|
+
if (!fsSync.existsSync(pathname)) return;
|
|
9
|
+
const raw = fsSync.readFileSync(pathname, "utf8");
|
|
10
10
|
return JSON.parse(raw);
|
|
11
11
|
} catch {
|
|
12
12
|
return;
|
|
@@ -14,12 +14,12 @@ function loadJsonFile(pathname) {
|
|
|
14
14
|
}
|
|
15
15
|
function saveJsonFile(pathname, data) {
|
|
16
16
|
const dir = path.dirname(pathname);
|
|
17
|
-
if (!
|
|
17
|
+
if (!fsSync.existsSync(dir)) fsSync.mkdirSync(dir, {
|
|
18
18
|
recursive: true,
|
|
19
19
|
mode: 448
|
|
20
20
|
});
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
fsSync.writeFileSync(pathname, `${JSON.stringify(data, null, 2)}\n`, "utf8");
|
|
22
|
+
fsSync.chmodSync(pathname, 384);
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/providers/github-copilot-token.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./query-expansion-C6UNkw7W.js";
|
|
2
2
|
import "./paths-CzCvxHkV.js";
|
|
3
3
|
import "./logger-Cmh2bFJD.js";
|
|
4
|
-
import { Wn as describeImageWithModel } from "./model-selection-
|
|
4
|
+
import { Wn as describeImageWithModel } from "./model-selection-qaBek98Q.js";
|
|
5
5
|
import "./github-copilot-token-xzmo0MIc.js";
|
|
6
6
|
import "./fetch-sqCl8SIJ.js";
|
|
7
7
|
export { describeImageWithModel };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import "./logger-Budylr6i.js";
|
|
3
|
+
import { Sr as describeImageWithModel } from "./auth-profiles-Dta-Mhaw.js";
|
|
4
|
+
import "./query-expansion-BMQzl41m.js";
|
|
5
|
+
import "./github-copilot-token-BgPOyCXe.js";
|
|
6
|
+
import "./fetch-Bdod8UI1.js";
|
|
7
|
+
export { describeImageWithModel };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import "./paths-BwJ6yG6k.js";
|
|
3
|
+
import "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import "./logger-C0l_Gj8Y.js";
|
|
6
|
+
import { qn as describeImageWithModel } from "./model-selection-C9tlIhgN.js";
|
|
7
|
+
import "./github-copilot-token-368sRGBD.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./fetch-sH_NN8SV.js";
|
|
10
|
+
import "./frontmatter-DhmdUnBP.js";
|
|
11
|
+
export { describeImageWithModel };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Ct as resolveAgentWorkspaceDir, vt as resolveAgentDir, wt as resolveDefaultAgentId, yt as resolveAgentEffectiveModelPrimary } from "./query-expansion-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { J as runEmbeddedPiAgent, ji as DEFAULT_PROVIDER, o as parseModelRef } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
1
|
+
import { Ct as resolveAgentWorkspaceDir, vt as resolveAgentDir, wt as resolveDefaultAgentId, yt as resolveAgentEffectiveModelPrimary } from "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import "./paths-BwJ6yG6k.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import "./logger-C0l_Gj8Y.js";
|
|
6
|
+
import { J as runEmbeddedPiAgent, ji as DEFAULT_PROVIDER, o as parseModelRef } from "./model-selection-C9tlIhgN.js";
|
|
7
|
+
import "./github-copilot-token-368sRGBD.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./frontmatter-
|
|
9
|
+
import "./fetch-sH_NN8SV.js";
|
|
10
|
+
import "./frontmatter-DhmdUnBP.js";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as resolveEffectiveHomeDir, f as resolveHomeRelativePath, p as resolveRequiredHomeDir, r as resolveConfigPath, s as resolveOAuthDir } from "./paths-
|
|
2
|
-
import
|
|
1
|
+
import { d as resolveEffectiveHomeDir, f as resolveHomeRelativePath, p as resolveRequiredHomeDir, r as resolveConfigPath, s as resolveOAuthDir } from "./paths-BnSNMlFT.js";
|
|
2
|
+
import fsSync from "node:fs";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { Logger } from "tslog";
|
|
@@ -64,15 +64,15 @@ function getCommandPathInternal(argv, depth, opts) {
|
|
|
64
64
|
//#endregion
|
|
65
65
|
//#region src/infra/tmp-openclaw-dir.ts
|
|
66
66
|
const POSIX_OPENCLAW_TMP_DIR = "/tmp/openclaw";
|
|
67
|
-
const TMP_DIR_ACCESS_MODE =
|
|
67
|
+
const TMP_DIR_ACCESS_MODE = fsSync.constants.W_OK | fsSync.constants.X_OK;
|
|
68
68
|
function isNodeErrorWithCode(err, code) {
|
|
69
69
|
return typeof err === "object" && err !== null && "code" in err && err.code === code;
|
|
70
70
|
}
|
|
71
71
|
function resolvePreferredOpenClawTmpDir(options = {}) {
|
|
72
|
-
const accessSync = options.accessSync ??
|
|
73
|
-
const chmodSync = options.chmodSync ??
|
|
74
|
-
const lstatSync = options.lstatSync ??
|
|
75
|
-
const mkdirSync = options.mkdirSync ??
|
|
72
|
+
const accessSync = options.accessSync ?? fsSync.accessSync;
|
|
73
|
+
const chmodSync = options.chmodSync ?? fsSync.chmodSync;
|
|
74
|
+
const lstatSync = options.lstatSync ?? fsSync.lstatSync;
|
|
75
|
+
const mkdirSync = options.mkdirSync ?? fsSync.mkdirSync;
|
|
76
76
|
const warn = options.warn ?? ((message) => console.warn(message));
|
|
77
77
|
const getuid = options.getuid ?? (() => {
|
|
78
78
|
try {
|
|
@@ -164,8 +164,8 @@ function resolvePreferredOpenClawTmpDir(options = {}) {
|
|
|
164
164
|
function readLoggingConfig() {
|
|
165
165
|
const configPath = resolveConfigPath();
|
|
166
166
|
try {
|
|
167
|
-
if (!
|
|
168
|
-
const raw =
|
|
167
|
+
if (!fsSync.existsSync(configPath)) return;
|
|
168
|
+
const raw = fsSync.readFileSync(configPath, "utf-8");
|
|
169
169
|
const logging = JSON5.parse(raw)?.logging;
|
|
170
170
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
171
171
|
return logging;
|
|
@@ -347,7 +347,7 @@ function buildLogger(settings) {
|
|
|
347
347
|
for (const transport of externalTransports) attachExternalTransport(logger, transport);
|
|
348
348
|
return logger;
|
|
349
349
|
}
|
|
350
|
-
|
|
350
|
+
fsSync.mkdirSync(path.dirname(settings.file), { recursive: true });
|
|
351
351
|
if (isRollingPath(settings.file)) pruneOldRollingLogs(path.dirname(settings.file));
|
|
352
352
|
let currentFileBytes = getCurrentLogFileBytes(settings.file);
|
|
353
353
|
let warnedAboutSizeCap = false;
|
|
@@ -386,14 +386,14 @@ function resolveMaxLogFileBytes(raw) {
|
|
|
386
386
|
}
|
|
387
387
|
function getCurrentLogFileBytes(file) {
|
|
388
388
|
try {
|
|
389
|
-
return
|
|
389
|
+
return fsSync.statSync(file).size;
|
|
390
390
|
} catch {
|
|
391
391
|
return 0;
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
394
|
function appendLogLine(file, line) {
|
|
395
395
|
try {
|
|
396
|
-
|
|
396
|
+
fsSync.appendFileSync(file, line, { encoding: "utf8" });
|
|
397
397
|
return true;
|
|
398
398
|
} catch {
|
|
399
399
|
return false;
|
|
@@ -448,14 +448,14 @@ function isRollingPath(file) {
|
|
|
448
448
|
}
|
|
449
449
|
function pruneOldRollingLogs(dir) {
|
|
450
450
|
try {
|
|
451
|
-
const entries =
|
|
451
|
+
const entries = fsSync.readdirSync(dir, { withFileTypes: true });
|
|
452
452
|
const cutoff = Date.now() - MAX_LOG_AGE_MS;
|
|
453
453
|
for (const entry of entries) {
|
|
454
454
|
if (!entry.isFile()) continue;
|
|
455
455
|
if (!entry.name.startsWith(`${LOG_PREFIX}-`) || !entry.name.endsWith(LOG_SUFFIX)) continue;
|
|
456
456
|
const fullPath = path.join(dir, entry.name);
|
|
457
457
|
try {
|
|
458
|
-
if (
|
|
458
|
+
if (fsSync.statSync(fullPath).mtimeMs < cutoff) fsSync.rmSync(fullPath, { force: true });
|
|
459
459
|
} catch {}
|
|
460
460
|
}
|
|
461
461
|
} catch {}
|
|
@@ -531,14 +531,14 @@ function isPlainObject(value) {
|
|
|
531
531
|
//#endregion
|
|
532
532
|
//#region src/utils.ts
|
|
533
533
|
async function ensureDir(dir) {
|
|
534
|
-
await
|
|
534
|
+
await fsSync.promises.mkdir(dir, { recursive: true });
|
|
535
535
|
}
|
|
536
536
|
/**
|
|
537
537
|
* Check if a file or directory exists at the given path.
|
|
538
538
|
*/
|
|
539
539
|
async function pathExists(targetPath) {
|
|
540
540
|
try {
|
|
541
|
-
await
|
|
541
|
+
await fsSync.promises.access(targetPath);
|
|
542
542
|
return true;
|
|
543
543
|
} catch {
|
|
544
544
|
return false;
|
|
@@ -621,7 +621,7 @@ function readLidReverseMapping(lid, opts) {
|
|
|
621
621
|
for (const dir of mappingDirs) {
|
|
622
622
|
const mappingPath = path.join(dir, mappingFilename);
|
|
623
623
|
try {
|
|
624
|
-
const data =
|
|
624
|
+
const data = fsSync.readFileSync(mappingPath, "utf8");
|
|
625
625
|
const phone = JSON.parse(data);
|
|
626
626
|
if (phone === null || phone === void 0) continue;
|
|
627
627
|
return normalizeE164(String(phone));
|
|
@@ -699,7 +699,7 @@ function resolveConfigDir(env = process.env, homedir = os.homedir) {
|
|
|
699
699
|
if (override) return resolveUserPath(override, env, homedir);
|
|
700
700
|
const newDir = path.join(resolveRequiredHomeDir(env, homedir), ".openclaw");
|
|
701
701
|
try {
|
|
702
|
-
if (
|
|
702
|
+
if (fsSync.existsSync(newDir)) return newDir;
|
|
703
703
|
} catch {}
|
|
704
704
|
return newDir;
|
|
705
705
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as resolveHomeRelativePath, f as resolveRequiredHomeDir, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-
|
|
2
|
-
import { a as defaultRuntime, d as logVerbose, f as logVerboseConsole, g as warn, l as danger, m as shouldLogVerbose, t as createSubsystemLogger, u as info, x as getLogger } from "./subsystem-
|
|
1
|
+
import { d as resolveHomeRelativePath, f as resolveRequiredHomeDir, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-BwJ6yG6k.js";
|
|
2
|
+
import { a as defaultRuntime, d as logVerbose, f as logVerboseConsole, g as warn, l as danger, m as shouldLogVerbose, t as createSubsystemLogger, u as info, x as getLogger } from "./subsystem-CDcEQtQK.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fs from "node:fs";
|
|
6
6
|
//#region src/infra/plain-object.ts
|
|
7
7
|
/**
|
|
8
8
|
* Strict plain-object guard (excludes arrays and host objects).
|
|
@@ -13,14 +13,14 @@ function isPlainObject(value) {
|
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/utils.ts
|
|
15
15
|
async function ensureDir(dir) {
|
|
16
|
-
await
|
|
16
|
+
await fs.promises.mkdir(dir, { recursive: true });
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* Check if a file or directory exists at the given path.
|
|
20
20
|
*/
|
|
21
21
|
async function pathExists(targetPath) {
|
|
22
22
|
try {
|
|
23
|
-
await
|
|
23
|
+
await fs.promises.access(targetPath);
|
|
24
24
|
return true;
|
|
25
25
|
} catch {
|
|
26
26
|
return false;
|
|
@@ -103,7 +103,7 @@ function readLidReverseMapping(lid, opts) {
|
|
|
103
103
|
for (const dir of mappingDirs) {
|
|
104
104
|
const mappingPath = path.join(dir, mappingFilename);
|
|
105
105
|
try {
|
|
106
|
-
const data =
|
|
106
|
+
const data = fs.readFileSync(mappingPath, "utf8");
|
|
107
107
|
const phone = JSON.parse(data);
|
|
108
108
|
if (phone === null || phone === void 0) continue;
|
|
109
109
|
return normalizeE164(String(phone));
|
|
@@ -181,7 +181,7 @@ function resolveConfigDir(env = process.env, homedir = os.homedir) {
|
|
|
181
181
|
if (override) return resolveUserPath(override, env, homedir);
|
|
182
182
|
const newDir = path.join(resolveRequiredHomeDir(env, homedir), ".openclaw");
|
|
183
183
|
try {
|
|
184
|
-
if (
|
|
184
|
+
if (fs.existsSync(newDir)) return newDir;
|
|
185
185
|
} catch {}
|
|
186
186
|
return newDir;
|
|
187
187
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I as danger, L as info, M as defaultRuntime, V as success, r as logInfo } from "./logger-Cmh2bFJD.js";
|
|
2
|
-
import { mr as resolveWhatsAppAccount, pi as loadConfig, vi as formatCliCommand, yr as logoutWeb } from "./model-selection-
|
|
3
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session
|
|
2
|
+
import { mr as resolveWhatsAppAccount, pi as loadConfig, vi as formatCliCommand, yr as logoutWeb } from "./model-selection-qaBek98Q.js";
|
|
3
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session--tqRfZQU.js";
|
|
4
4
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
5
5
|
//#region extensions/whatsapp/src/login.ts
|
|
6
6
|
async function loginWeb(verbose, waitForConnection, runtime = defaultRuntime, accountId) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as danger, L as info, V as success, l as defaultRuntime, r as logInfo } from "./logger-
|
|
2
|
-
import { Da as formatCliCommand, Jr as logoutWeb, Ur as resolveWhatsAppAccount, sa as loadConfig } from "./auth-profiles-
|
|
3
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
1
|
+
import { I as danger, L as info, V as success, l as defaultRuntime, r as logInfo } from "./logger-Budylr6i.js";
|
|
2
|
+
import { Da as formatCliCommand, Jr as logoutWeb, Ur as resolveWhatsAppAccount, sa as loadConfig } from "./auth-profiles-Dta-Mhaw.js";
|
|
3
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-r38wrRC6.js";
|
|
4
4
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
5
5
|
//#region extensions/whatsapp/src/login.ts
|
|
6
6
|
async function loginWeb(verbose, waitForConnection, runtime = defaultRuntime, accountId) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as defaultRuntime, h as success, l as danger, u as info } from "./subsystem-
|
|
2
|
-
import { r as logInfo } from "./logger-
|
|
3
|
-
import { Ci as formatCliCommand, vi as loadConfig, wr as logoutWeb, yr as resolveWhatsAppAccount } from "./model-selection-
|
|
4
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
1
|
+
import { a as defaultRuntime, h as success, l as danger, u as info } from "./subsystem-CDcEQtQK.js";
|
|
2
|
+
import { r as logInfo } from "./logger-C0l_Gj8Y.js";
|
|
3
|
+
import { Ci as formatCliCommand, vi as loadConfig, wr as logoutWeb, yr as resolveWhatsAppAccount } from "./model-selection-C9tlIhgN.js";
|
|
4
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-BhX4LYCK.js";
|
|
5
5
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
6
6
|
//#region extensions/whatsapp/src/login.ts
|
|
7
7
|
async function loginWeb(verbose, waitForConnection, runtime = defaultRuntime, accountId) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { I as danger, L as info, V as success, l as defaultRuntime, r as logInfo } from "./logger-
|
|
3
|
-
import { Jr as logoutWeb, Qr as readWebSelfId, Ur as resolveWhatsAppAccount, ni as webAuthExists, sa as loadConfig } from "./auth-profiles-
|
|
4
|
-
import "./query-expansion-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./fetch-
|
|
7
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import { I as danger, L as info, V as success, l as defaultRuntime, r as logInfo } from "./logger-Budylr6i.js";
|
|
3
|
+
import { Jr as logoutWeb, Qr as readWebSelfId, Ur as resolveWhatsAppAccount, ni as webAuthExists, sa as loadConfig } from "./auth-profiles-Dta-Mhaw.js";
|
|
4
|
+
import "./query-expansion-BMQzl41m.js";
|
|
5
|
+
import "./github-copilot-token-BgPOyCXe.js";
|
|
6
|
+
import "./fetch-Bdod8UI1.js";
|
|
7
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-r38wrRC6.js";
|
|
8
8
|
import { randomUUID } from "node:crypto";
|
|
9
9
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
10
10
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./query-expansion-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { a as defaultRuntime, h as success, l as danger, u as info } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import { r as logInfo } from "./logger-
|
|
6
|
-
import { Mr as webAuthExists, Or as readWebSelfId, vi as loadConfig, wr as logoutWeb, yr as resolveWhatsAppAccount } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
1
|
+
import "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import "./paths-BwJ6yG6k.js";
|
|
3
|
+
import { a as defaultRuntime, h as success, l as danger, u as info } from "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import { r as logInfo } from "./logger-C0l_Gj8Y.js";
|
|
6
|
+
import { Mr as webAuthExists, Or as readWebSelfId, vi as loadConfig, wr as logoutWeb, yr as resolveWhatsAppAccount } from "./model-selection-C9tlIhgN.js";
|
|
7
|
+
import "./github-copilot-token-368sRGBD.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./frontmatter-
|
|
11
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
9
|
+
import "./fetch-sH_NN8SV.js";
|
|
10
|
+
import "./frontmatter-DhmdUnBP.js";
|
|
11
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BhX4LYCK.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,10 +1,10 @@
|
|
|
1
1
|
import "./query-expansion-C6UNkw7W.js";
|
|
2
2
|
import "./paths-CzCvxHkV.js";
|
|
3
3
|
import { I as danger, L as info, M as defaultRuntime, V as success, r as logInfo } from "./logger-Cmh2bFJD.js";
|
|
4
|
-
import { Cr as readWebSelfId, Dr as webAuthExists, mr as resolveWhatsAppAccount, pi as loadConfig, yr as logoutWeb } from "./model-selection-
|
|
4
|
+
import { Cr as readWebSelfId, Dr as webAuthExists, mr as resolveWhatsAppAccount, pi as loadConfig, yr as logoutWeb } from "./model-selection-qaBek98Q.js";
|
|
5
5
|
import "./github-copilot-token-xzmo0MIc.js";
|
|
6
6
|
import "./fetch-sqCl8SIJ.js";
|
|
7
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session
|
|
7
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session--tqRfZQU.js";
|
|
8
8
|
import { randomUUID } from "node:crypto";
|
|
9
9
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
10
10
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import "./logger-Budylr6i.js";
|
|
3
|
+
import { Tn as closeAllMemoryIndexManagers, wn as MemoryIndexManager } from "./auth-profiles-Dta-Mhaw.js";
|
|
4
|
+
import "./query-expansion-BMQzl41m.js";
|
|
5
|
+
import "./github-copilot-token-BgPOyCXe.js";
|
|
6
|
+
import "./fetch-Bdod8UI1.js";
|
|
7
|
+
export { MemoryIndexManager, closeAllMemoryIndexManagers };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import "./paths-BwJ6yG6k.js";
|
|
3
|
+
import "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import "./logger-C0l_Gj8Y.js";
|
|
6
|
+
import { Xt as MemoryIndexManager, Zt as closeAllMemoryIndexManagers } from "./model-selection-C9tlIhgN.js";
|
|
7
|
+
import "./github-copilot-token-368sRGBD.js";
|
|
8
|
+
import "./boolean-C7Ct_klp.js";
|
|
9
|
+
import "./fetch-sH_NN8SV.js";
|
|
10
|
+
import "./frontmatter-DhmdUnBP.js";
|
|
11
|
+
export { MemoryIndexManager, closeAllMemoryIndexManagers };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./query-expansion-C6UNkw7W.js";
|
|
2
2
|
import "./paths-CzCvxHkV.js";
|
|
3
3
|
import "./logger-Cmh2bFJD.js";
|
|
4
|
-
import { Jt as closeAllMemoryIndexManagers, qt as MemoryIndexManager } from "./model-selection-
|
|
4
|
+
import { Jt as closeAllMemoryIndexManagers, qt as MemoryIndexManager } from "./model-selection-qaBek98Q.js";
|
|
5
5
|
import "./github-copilot-token-xzmo0MIc.js";
|
|
6
6
|
import "./fetch-sqCl8SIJ.js";
|
|
7
7
|
export { MemoryIndexManager, closeAllMemoryIndexManagers };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Et as resolveSessionAgentId, It as ensureAgentWorkspace, R as resolveStorePath, St as resolveAgentWorkspaceDir, fn as normalizeAgentId, gt as listAgentIds, mn as resolveAgentIdFromSessionKey, pn as normalizeMainKey, vt as resolveAgentDir, wt as resolveEffectiveModelFallbacks, xt as resolveAgentSkillsFilter } from "./query-expansion-C6UNkw7W.js";
|
|
2
2
|
import "./paths-CzCvxHkV.js";
|
|
3
3
|
import { B as shouldLogVerbose, M as defaultRuntime, O as createSubsystemLogger, R as logVerbose, Z as resolvePreferredOpenClawTmpDir } from "./logger-Cmh2bFJD.js";
|
|
4
|
-
import { $t as toAcpRuntimeError, At as buildOutboundSessionContext, B as resolveSendPolicy, Bn as createMediaAttachmentCache, Ci as supportsXHighThinking, Ct as normalizeReplyPayload, Fr as isInternalMessageChannel, I as getRemoteSkillEligibility, Ir as normalizeMessageChannel, It as resolveMessageChannelSelection, J as prepareSessionManagerForRun, Jn as loadModelCatalog, L as getSkillsSnapshotVersion, Lr as resolveMessageChannel, Lt as runWithModelFallback, M as setCliSessionId, Mn as textToSpeech, Mr as INTERNAL_MESSAGE_CHANNEL, Mt as formatOutboundPayloadLog, N as runCliAgent, Nn as parseTtsDirectives, Nr as isDeliverableMessageChannel, Nt as normalizeOutboundPayloads, Oi as DEFAULT_MODEL, Ot as resolveOutboundTarget, P as applyVerboseOverride, Pr as isGatewayMessageChannel, Pt as normalizeOutboundPayloadsForJson, Qt as getAcpSessionManager, R as clearSessionAuthProfileOverride, Rt as FailoverError, Si as normalizeVerboseLevel, Sn as formatDiscordUserTag, Un as runCapability, Vn as normalizeMediaAttachments, Wt as clearBootstrapSnapshotOnSessionRollover, Xn as emitSessionTranscriptUpdate, Xt as isSilentReplyPrefixText, Y as resolveBootstrapWarningSignaturesSeen, Yn as resolveSessionTranscriptFile, Zn as loadSessionStore, Zt as isSilentReplyText, _i as ensureAuthProfileStore, _n as formatMention, _t as deriveSessionTotalTokens, a as normalizeProviderId, ar as resolveChannelResetConfig, at as resolveAgentTimeoutMs, bi as formatXHighModelHint, c as resolveThinkingDefault, cr as mergeSessionEntry, ct as clearAgentRunContext, di as buildWorkspaceSkillSnapshot, dr as getChannelPlugin, dt as resolveAcpSessionCwd, fn as resolveAgentRoute, fr as normalizeChannelId, ft as resolveAcpAgentPolicyError, gt as applyModelOverrideToSessionEntry, hi as setRuntimeConfigSnapshot, ht as AGENT_LANE_SUBAGENT, i as normalizeModelRef, ir as evaluateSessionFreshness, j as getCliSessionId, jn as resolveTtsConfig, jt as deliverOutboundPayloads, ki as DEFAULT_PROVIDER, kt as resolveSessionDeliveryTarget, l as getAgentRuntimeCommandSecretTargetIds, lr as setSessionRuntimeModel, lt as emitAgentEvent, mi as readConfigFileSnapshotForWrite, mt as AGENT_LANE_NESTED, n as isCliProvider, nr as normalizeAccountId, o as resolveConfiguredModelRef, or as resolveSessionResetPolicy, ot as formatAgentInternalEventsForPrompt, pi as loadConfig, pt as resolveAcpDispatchPolicyError, q as runEmbeddedPiAgent, r as modelKey, ri as formatErrorMessage, rr as resolveSessionKey, s as resolveDefaultModelForAgent, sr as resolveSessionResetType, st as normalizeSpawnedRunMetadata, t as buildAllowedModelSet, tr as updateSessionStore, u as resolveCommandSecretRefsViaGateway, ur as resolveExplicitAgentSessionKey, ut as registerAgentRunContext, vi as formatCliCommand, vt as hasNonzeroUsage, w as isDangerousNameMatchingEnabled, xi as normalizeThinkLevel, xn as resolveDiscordOwnerAccess, yi as formatThinkingLevels, yt as resolveContextTokensForModel, zn as buildProviderRegistry } from "./model-selection-
|
|
4
|
+
import { $t as toAcpRuntimeError, At as buildOutboundSessionContext, B as resolveSendPolicy, Bn as createMediaAttachmentCache, Ci as supportsXHighThinking, Ct as normalizeReplyPayload, Fr as isInternalMessageChannel, I as getRemoteSkillEligibility, Ir as normalizeMessageChannel, It as resolveMessageChannelSelection, J as prepareSessionManagerForRun, Jn as loadModelCatalog, L as getSkillsSnapshotVersion, Lr as resolveMessageChannel, Lt as runWithModelFallback, M as setCliSessionId, Mn as textToSpeech, Mr as INTERNAL_MESSAGE_CHANNEL, Mt as formatOutboundPayloadLog, N as runCliAgent, Nn as parseTtsDirectives, Nr as isDeliverableMessageChannel, Nt as normalizeOutboundPayloads, Oi as DEFAULT_MODEL, Ot as resolveOutboundTarget, P as applyVerboseOverride, Pr as isGatewayMessageChannel, Pt as normalizeOutboundPayloadsForJson, Qt as getAcpSessionManager, R as clearSessionAuthProfileOverride, Rt as FailoverError, Si as normalizeVerboseLevel, Sn as formatDiscordUserTag, Un as runCapability, Vn as normalizeMediaAttachments, Wt as clearBootstrapSnapshotOnSessionRollover, Xn as emitSessionTranscriptUpdate, Xt as isSilentReplyPrefixText, Y as resolveBootstrapWarningSignaturesSeen, Yn as resolveSessionTranscriptFile, Zn as loadSessionStore, Zt as isSilentReplyText, _i as ensureAuthProfileStore, _n as formatMention, _t as deriveSessionTotalTokens, a as normalizeProviderId, ar as resolveChannelResetConfig, at as resolveAgentTimeoutMs, bi as formatXHighModelHint, c as resolveThinkingDefault, cr as mergeSessionEntry, ct as clearAgentRunContext, di as buildWorkspaceSkillSnapshot, dr as getChannelPlugin, dt as resolveAcpSessionCwd, fn as resolveAgentRoute, fr as normalizeChannelId, ft as resolveAcpAgentPolicyError, gt as applyModelOverrideToSessionEntry, hi as setRuntimeConfigSnapshot, ht as AGENT_LANE_SUBAGENT, i as normalizeModelRef, ir as evaluateSessionFreshness, j as getCliSessionId, jn as resolveTtsConfig, jt as deliverOutboundPayloads, ki as DEFAULT_PROVIDER, kt as resolveSessionDeliveryTarget, l as getAgentRuntimeCommandSecretTargetIds, lr as setSessionRuntimeModel, lt as emitAgentEvent, mi as readConfigFileSnapshotForWrite, mt as AGENT_LANE_NESTED, n as isCliProvider, nr as normalizeAccountId, o as resolveConfiguredModelRef, or as resolveSessionResetPolicy, ot as formatAgentInternalEventsForPrompt, pi as loadConfig, pt as resolveAcpDispatchPolicyError, q as runEmbeddedPiAgent, r as modelKey, ri as formatErrorMessage, rr as resolveSessionKey, s as resolveDefaultModelForAgent, sr as resolveSessionResetType, st as normalizeSpawnedRunMetadata, t as buildAllowedModelSet, tr as updateSessionStore, u as resolveCommandSecretRefsViaGateway, ur as resolveExplicitAgentSessionKey, ut as registerAgentRunContext, vi as formatCliCommand, vt as hasNonzeroUsage, w as isDangerousNameMatchingEnabled, xi as normalizeThinkLevel, xn as resolveDiscordOwnerAccess, yi as formatThinkingLevels, yt as resolveContextTokensForModel, zn as buildProviderRegistry } from "./model-selection-qaBek98Q.js";
|
|
5
5
|
import "./github-copilot-token-xzmo0MIc.js";
|
|
6
6
|
import "./fetch-sqCl8SIJ.js";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
@@ -64,12 +64,12 @@ function createLazySender(channelId, loader, exportName) {
|
|
|
64
64
|
}
|
|
65
65
|
function createDefaultDeps() {
|
|
66
66
|
return {
|
|
67
|
-
whatsapp: createLazySender("whatsapp", () => import("./web-
|
|
68
|
-
telegram: createLazySender("telegram", () => import("./model-selection-
|
|
69
|
-
discord: createLazySender("discord", () => import("./model-selection-
|
|
70
|
-
slack: createLazySender("slack", () => import("./model-selection-
|
|
71
|
-
signal: createLazySender("signal", () => import("./model-selection-
|
|
72
|
-
imessage: createLazySender("imessage", () => import("./model-selection-
|
|
67
|
+
whatsapp: createLazySender("whatsapp", () => import("./web-RzQ9jrtt.js"), "sendMessageWhatsApp"),
|
|
68
|
+
telegram: createLazySender("telegram", () => import("./model-selection-qaBek98Q.js").then((n) => n.h), "sendMessageTelegram"),
|
|
69
|
+
discord: createLazySender("discord", () => import("./model-selection-qaBek98Q.js").then((n) => n.gn), "sendMessageDiscord"),
|
|
70
|
+
slack: createLazySender("slack", () => import("./model-selection-qaBek98Q.js").then((n) => n._), "sendMessageSlack"),
|
|
71
|
+
signal: createLazySender("signal", () => import("./model-selection-qaBek98Q.js").then((n) => n.Ft), "sendMessageSignal"),
|
|
72
|
+
imessage: createLazySender("imessage", () => import("./model-selection-qaBek98Q.js").then((n) => n.v), "sendMessageIMessage")
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
//#endregion
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { vt as resolveAgentDir } from "./query-expansion-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { E as resolvePreferredOpenClawTmpDir, d as logVerbose, m as shouldLogVerbose, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { Fn as textToSpeech, Hn as buildProviderRegistry, In as parseTtsDirectives, Kn as runCapability, Pn as resolveTtsConfig, T as isDangerousNameMatchingEnabled, Tn as formatDiscordUserTag, Un as createMediaAttachmentCache, Wn as normalizeMediaAttachments, bn as formatMention, ci as formatErrorMessage, hn as resolveAgentRoute, wn as resolveDiscordOwnerAccess } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
1
|
+
import { vt as resolveAgentDir } from "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import "./paths-BwJ6yG6k.js";
|
|
3
|
+
import { E as resolvePreferredOpenClawTmpDir, d as logVerbose, m as shouldLogVerbose, t as createSubsystemLogger } from "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import "./logger-C0l_Gj8Y.js";
|
|
6
|
+
import { Fn as textToSpeech, Hn as buildProviderRegistry, In as parseTtsDirectives, Kn as runCapability, Pn as resolveTtsConfig, T as isDangerousNameMatchingEnabled, Tn as formatDiscordUserTag, Un as createMediaAttachmentCache, Wn as normalizeMediaAttachments, bn as formatMention, ci as formatErrorMessage, hn as resolveAgentRoute, wn as resolveDiscordOwnerAccess } from "./model-selection-C9tlIhgN.js";
|
|
7
|
+
import "./github-copilot-token-368sRGBD.js";
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
|
-
import "./fetch-
|
|
10
|
-
import "./frontmatter-
|
|
11
|
-
import { n as agentCommandFromIngress } from "./agent-
|
|
9
|
+
import "./fetch-sH_NN8SV.js";
|
|
10
|
+
import "./frontmatter-DhmdUnBP.js";
|
|
11
|
+
import { n as agentCommandFromIngress } from "./agent-ef71Xoo3.js";
|
|
12
12
|
import { createRequire } from "node:module";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
14
14
|
import path from "node:path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { B as shouldLogVerbose, Q as resolvePreferredOpenClawTmpDir, R as logVerbose, a as createSubsystemLogger, l as defaultRuntime } from "./logger-
|
|
3
|
-
import { $ as prepareSessionManagerForRun, $n as resolveDiscordOwnerAccess, An as toAcpRuntimeError, Br as getChannelPlugin, Bt as normalizeOutboundPayloads, Ca as formatXHighModelHint, Cr as resolveSessionTranscriptFile, Ct as hasNonzeroUsage, Da as formatCliCommand, Dn as isSilentReplyPrefixText, Ea as supportsXHighThinking, Fr as resolveSessionResetPolicy, Ft as resolveOutboundTarget, G as resolveSendPolicy, H as getSkillsSnapshotVersion, I as getCliSessionId, Ir as resolveSessionResetType, It as resolveSessionDeliveryTarget, Kt as FailoverError, L as setCliSessionId, Lr as mergeSessionEntry, Lt as buildOutboundSessionContext, Mr as resolveSessionKey, Nr as evaluateSessionFreshness, On as isSilentReplyText, Or as updateSessionStore, Ot as normalizeReplyPayload, Pr as resolveChannelResetConfig, Q as runEmbeddedPiAgent, R as runCliAgent, Rr as setSessionRuntimeModel, Rt as deliverOutboundPayloads, Sa as formatThinkingLevels, St as deriveSessionTotalTokens, Ta as normalizeVerboseLevel, Tr as loadSessionStore, U as clearSessionAuthProfileOverride, Ut as resolveMessageChannelSelection, V as getRemoteSkillEligibility, Vr as normalizeChannelId, Vt as normalizeOutboundPayloadsForJson, Wi as buildWorkspaceSkillSnapshot, Wn as resolveAgentRoute, Wt as runWithModelFallback, Yn as formatMention, _r as buildProviderRegistry, _t as resolveAcpAgentPolicyError, a as modelKey, aa as loadModelCatalog, ba as DEFAULT_MODEL, bt as AGENT_LANE_SUBAGENT, c as resolveConfiguredModelRef, ci as isDeliverableMessageChannel, da as setRuntimeConfigSnapshot, di as normalizeMessageChannel, dr as parseTtsDirectives, dt as formatAgentInternalEventsForPrompt, er as formatDiscordUserTag, et as resolveBootstrapWarningSignaturesSeen, f as getAgentRuntimeCommandSecretTargetIds, fi as resolveMessageChannel, ft as normalizeSpawnedRunMetadata, gt as resolveAcpSessionCwd, ht as registerAgentRunContext, i as isCliProvider, jr as normalizeAccountId, k as isDangerousNameMatchingEnabled, kn as getAcpSessionManager, l as resolveDefaultModelForAgent, li as isGatewayMessageChannel, lr as resolveTtsConfig, mt as emitAgentEvent, na as formatErrorMessage, o as normalizeModelRef, p as resolveCommandSecretRefsViaGateway, pt as clearAgentRunContext, r as buildAllowedModelSet, s as normalizeProviderId, sa as loadConfig, si as INTERNAL_MESSAGE_CHANNEL, t as ensureAuthProfileStore, u as resolveThinkingDefault, ua as readConfigFileSnapshotForWrite, ui as isInternalMessageChannel, ur as textToSpeech, ut as resolveAgentTimeoutMs, vr as createMediaAttachmentCache, vt as resolveAcpDispatchPolicyError, wa as normalizeThinkLevel, wr as emitSessionTranscriptUpdate, wt as resolveContextTokensForModel, xa as DEFAULT_PROVIDER, xn as clearBootstrapSnapshotOnSessionRollover, xr as runCapability, xt as applyModelOverrideToSessionEntry, yr as normalizeMediaAttachments, yt as AGENT_LANE_NESTED, z as applyVerboseOverride, zr as resolveExplicitAgentSessionKey, zt as formatOutboundPayloadLog } from "./auth-profiles-
|
|
4
|
-
import { Et as resolveSessionAgentId, It as ensureAgentWorkspace, R as resolveStorePath, St as resolveAgentWorkspaceDir, fn as normalizeAgentId, gt as listAgentIds, mn as resolveAgentIdFromSessionKey, pn as normalizeMainKey, vt as resolveAgentDir, wt as resolveEffectiveModelFallbacks, xt as resolveAgentSkillsFilter } from "./query-expansion-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./fetch-
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import { B as shouldLogVerbose, Q as resolvePreferredOpenClawTmpDir, R as logVerbose, a as createSubsystemLogger, l as defaultRuntime } from "./logger-Budylr6i.js";
|
|
3
|
+
import { $ as prepareSessionManagerForRun, $n as resolveDiscordOwnerAccess, An as toAcpRuntimeError, Br as getChannelPlugin, Bt as normalizeOutboundPayloads, Ca as formatXHighModelHint, Cr as resolveSessionTranscriptFile, Ct as hasNonzeroUsage, Da as formatCliCommand, Dn as isSilentReplyPrefixText, Ea as supportsXHighThinking, Fr as resolveSessionResetPolicy, Ft as resolveOutboundTarget, G as resolveSendPolicy, H as getSkillsSnapshotVersion, I as getCliSessionId, Ir as resolveSessionResetType, It as resolveSessionDeliveryTarget, Kt as FailoverError, L as setCliSessionId, Lr as mergeSessionEntry, Lt as buildOutboundSessionContext, Mr as resolveSessionKey, Nr as evaluateSessionFreshness, On as isSilentReplyText, Or as updateSessionStore, Ot as normalizeReplyPayload, Pr as resolveChannelResetConfig, Q as runEmbeddedPiAgent, R as runCliAgent, Rr as setSessionRuntimeModel, Rt as deliverOutboundPayloads, Sa as formatThinkingLevels, St as deriveSessionTotalTokens, Ta as normalizeVerboseLevel, Tr as loadSessionStore, U as clearSessionAuthProfileOverride, Ut as resolveMessageChannelSelection, V as getRemoteSkillEligibility, Vr as normalizeChannelId, Vt as normalizeOutboundPayloadsForJson, Wi as buildWorkspaceSkillSnapshot, Wn as resolveAgentRoute, Wt as runWithModelFallback, Yn as formatMention, _r as buildProviderRegistry, _t as resolveAcpAgentPolicyError, a as modelKey, aa as loadModelCatalog, ba as DEFAULT_MODEL, bt as AGENT_LANE_SUBAGENT, c as resolveConfiguredModelRef, ci as isDeliverableMessageChannel, da as setRuntimeConfigSnapshot, di as normalizeMessageChannel, dr as parseTtsDirectives, dt as formatAgentInternalEventsForPrompt, er as formatDiscordUserTag, et as resolveBootstrapWarningSignaturesSeen, f as getAgentRuntimeCommandSecretTargetIds, fi as resolveMessageChannel, ft as normalizeSpawnedRunMetadata, gt as resolveAcpSessionCwd, ht as registerAgentRunContext, i as isCliProvider, jr as normalizeAccountId, k as isDangerousNameMatchingEnabled, kn as getAcpSessionManager, l as resolveDefaultModelForAgent, li as isGatewayMessageChannel, lr as resolveTtsConfig, mt as emitAgentEvent, na as formatErrorMessage, o as normalizeModelRef, p as resolveCommandSecretRefsViaGateway, pt as clearAgentRunContext, r as buildAllowedModelSet, s as normalizeProviderId, sa as loadConfig, si as INTERNAL_MESSAGE_CHANNEL, t as ensureAuthProfileStore, u as resolveThinkingDefault, ua as readConfigFileSnapshotForWrite, ui as isInternalMessageChannel, ur as textToSpeech, ut as resolveAgentTimeoutMs, vr as createMediaAttachmentCache, vt as resolveAcpDispatchPolicyError, wa as normalizeThinkLevel, wr as emitSessionTranscriptUpdate, wt as resolveContextTokensForModel, xa as DEFAULT_PROVIDER, xn as clearBootstrapSnapshotOnSessionRollover, xr as runCapability, xt as applyModelOverrideToSessionEntry, yr as normalizeMediaAttachments, yt as AGENT_LANE_NESTED, z as applyVerboseOverride, zr as resolveExplicitAgentSessionKey, zt as formatOutboundPayloadLog } from "./auth-profiles-Dta-Mhaw.js";
|
|
4
|
+
import { Et as resolveSessionAgentId, It as ensureAgentWorkspace, R as resolveStorePath, St as resolveAgentWorkspaceDir, fn as normalizeAgentId, gt as listAgentIds, mn as resolveAgentIdFromSessionKey, pn as normalizeMainKey, vt as resolveAgentDir, wt as resolveEffectiveModelFallbacks, xt as resolveAgentSkillsFilter } from "./query-expansion-BMQzl41m.js";
|
|
5
|
+
import "./github-copilot-token-BgPOyCXe.js";
|
|
6
|
+
import "./fetch-Bdod8UI1.js";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
@@ -64,12 +64,12 @@ function createLazySender(channelId, loader, exportName) {
|
|
|
64
64
|
}
|
|
65
65
|
function createDefaultDeps() {
|
|
66
66
|
return {
|
|
67
|
-
whatsapp: createLazySender("whatsapp", () => import("./web-
|
|
68
|
-
telegram: createLazySender("telegram", () => import("./auth-profiles-
|
|
69
|
-
discord: createLazySender("discord", () => import("./auth-profiles-
|
|
70
|
-
slack: createLazySender("slack", () => import("./auth-profiles-
|
|
71
|
-
signal: createLazySender("signal", () => import("./auth-profiles-
|
|
72
|
-
imessage: createLazySender("imessage", () => import("./auth-profiles-
|
|
67
|
+
whatsapp: createLazySender("whatsapp", () => import("./web-B_GcnsRF.js"), "sendMessageWhatsApp"),
|
|
68
|
+
telegram: createLazySender("telegram", () => import("./auth-profiles-Dta-Mhaw.js").then((n) => n.v), "sendMessageTelegram"),
|
|
69
|
+
discord: createLazySender("discord", () => import("./auth-profiles-Dta-Mhaw.js").then((n) => n.Jn), "sendMessageDiscord"),
|
|
70
|
+
slack: createLazySender("slack", () => import("./auth-profiles-Dta-Mhaw.js").then((n) => n.b), "sendMessageSlack"),
|
|
71
|
+
signal: createLazySender("signal", () => import("./auth-profiles-Dta-Mhaw.js").then((n) => n.Ht), "sendMessageSignal"),
|
|
72
|
+
imessage: createLazySender("imessage", () => import("./auth-profiles-Dta-Mhaw.js").then((n) => n.x), "sendMessageIMessage")
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
//#endregion
|