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
|
-
import { c as resolveStateDir, f as resolveRequiredHomeDir, l as expandHomePrefix } from "./paths-
|
|
2
|
-
import { C as resolveNodeRequireFromMeta, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { A as isNotFoundPathError, D as resolveBoundaryPath, E as BOUNDARY_PATH_ALIAS_POLICIES, M as isSymlinkOpenError, P as DEFAULT_AGENT_ID, T as sameFileIdentity, U as resolveAgentIdFromSessionKey, V as normalizeAgentId, it as parseAgentSessionKey, j as isPathInside, k as hasNodeErrorCode, p as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
4
|
-
import { i as logWarn, y as resolveUserPath } from "./logger-
|
|
1
|
+
import { c as resolveStateDir, f as resolveRequiredHomeDir, l as expandHomePrefix } from "./paths-BwJ6yG6k.js";
|
|
2
|
+
import { C as resolveNodeRequireFromMeta, t as createSubsystemLogger } from "./subsystem-CDcEQtQK.js";
|
|
3
|
+
import { A as isNotFoundPathError, D as resolveBoundaryPath, E as BOUNDARY_PATH_ALIAS_POLICIES, M as isSymlinkOpenError, P as DEFAULT_AGENT_ID, T as sameFileIdentity, U as resolveAgentIdFromSessionKey, V as normalizeAgentId, it as parseAgentSessionKey, j as isPathInside, k as hasNodeErrorCode, p as resolveDefaultAgentWorkspaceDir } from "./workspace-Cg3kGb1y.js";
|
|
4
|
+
import { i as logWarn, y as resolveUserPath } from "./logger-C0l_Gj8Y.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fs$1, { constants, readFileSync, statSync } from "node:fs";
|
|
10
10
|
import { spawn } from "node:child_process";
|
|
11
11
|
import crypto, { randomUUID } from "node:crypto";
|
|
12
12
|
import { once } from "node:events";
|
|
@@ -191,7 +191,7 @@ function normalizePathForComparison(input) {
|
|
|
191
191
|
const resolved = path.resolve(stripNullBytes(resolveUserPath(input)));
|
|
192
192
|
let normalized = resolved;
|
|
193
193
|
try {
|
|
194
|
-
normalized =
|
|
194
|
+
normalized = fs$1.realpathSync.native(resolved);
|
|
195
195
|
} catch {}
|
|
196
196
|
if (process.platform === "win32") return normalized.toLowerCase();
|
|
197
197
|
return normalized;
|
|
@@ -1690,7 +1690,7 @@ function resolveStructuralSessionFallbackPath(candidateAbsPath, expectedAgentId)
|
|
|
1690
1690
|
}
|
|
1691
1691
|
function safeRealpathSync(filePath) {
|
|
1692
1692
|
try {
|
|
1693
|
-
return
|
|
1693
|
+
return fs$1.realpathSync(filePath);
|
|
1694
1694
|
} catch {
|
|
1695
1695
|
return;
|
|
1696
1696
|
}
|
|
@@ -1933,7 +1933,7 @@ const DISABLED_MULTIMODAL_SETTINGS = {
|
|
|
1933
1933
|
};
|
|
1934
1934
|
function ensureDir(dir) {
|
|
1935
1935
|
try {
|
|
1936
|
-
|
|
1936
|
+
fs$1.mkdirSync(dir, { recursive: true });
|
|
1937
1937
|
} catch {}
|
|
1938
1938
|
return dir;
|
|
1939
1939
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 "./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
|
+
import "./session-BhX4LYCK.js";
|
|
12
|
+
import { t as loginWeb } from "./login-CvFRLU0k.js";
|
|
13
|
+
export { loginWeb };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import "./logger-Budylr6i.js";
|
|
3
|
+
import "./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 "./session-r38wrRC6.js";
|
|
8
|
+
import { t as loginWeb } from "./login-Bk8BjEUN.js";
|
|
9
|
+
export { loginWeb };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./query-expansion-C6UNkw7W.js";
|
|
2
2
|
import "./paths-CzCvxHkV.js";
|
|
3
3
|
import "./logger-Cmh2bFJD.js";
|
|
4
|
-
import "./model-selection-
|
|
4
|
+
import "./model-selection-qaBek98Q.js";
|
|
5
5
|
import "./github-copilot-token-xzmo0MIc.js";
|
|
6
6
|
import "./fetch-sqCl8SIJ.js";
|
|
7
|
-
import "./session
|
|
8
|
-
import { t as loginWeb } from "./login-
|
|
7
|
+
import "./session--tqRfZQU.js";
|
|
8
|
+
import { t as loginWeb } from "./login-BEOnxdap.js";
|
|
9
9
|
export { loginWeb };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./query-expansion-C6UNkw7W.js";
|
|
2
2
|
import "./paths-CzCvxHkV.js";
|
|
3
3
|
import "./logger-Cmh2bFJD.js";
|
|
4
|
-
import "./model-selection-
|
|
4
|
+
import "./model-selection-qaBek98Q.js";
|
|
5
5
|
import "./github-copilot-token-xzmo0MIc.js";
|
|
6
6
|
import "./fetch-sqCl8SIJ.js";
|
|
7
|
-
import { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./send-
|
|
7
|
+
import { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./send-DxYxezcL.js";
|
|
8
8
|
export { sendMessageWhatsApp, sendPollWhatsApp };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import "./logger-Budylr6i.js";
|
|
3
|
+
import "./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 { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./send-CHO1gc7n.js";
|
|
8
|
+
export { sendMessageWhatsApp, sendPollWhatsApp };
|
|
@@ -0,0 +1,12 @@
|
|
|
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 "./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
|
+
import { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./send-CsgNtXyY.js";
|
|
12
|
+
export { sendMessageWhatsApp, sendPollWhatsApp };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { K as getChildLogger, N as toWhatsappJid, a as createSubsystemLogger, v as escapeRegExp } from "./logger-
|
|
2
|
-
import { Ei as generateSecureUuid, Gt as redactIdentifier, Qn as resolveMarkdownTableMode, Ur as resolveWhatsAppAccount, Wr as resolveWhatsAppMediaMaxBytes, Xn as convertMarkdownTables, cr as normalizePollInput, m as requireActiveWebListener, sa as loadConfig, sr as loadWebMedia } from "./auth-profiles-
|
|
1
|
+
import { K as getChildLogger, N as toWhatsappJid, a as createSubsystemLogger, v as escapeRegExp } from "./logger-Budylr6i.js";
|
|
2
|
+
import { Ei as generateSecureUuid, Gt as redactIdentifier, Qn as resolveMarkdownTableMode, Ur as resolveWhatsAppAccount, Wr as resolveWhatsAppMediaMaxBytes, Xn as convertMarkdownTables, cr as normalizePollInput, m as requireActiveWebListener, sa as loadConfig, sr as loadWebMedia } from "./auth-profiles-Dta-Mhaw.js";
|
|
3
3
|
//#region src/markdown/whatsapp.ts
|
|
4
4
|
/**
|
|
5
5
|
* Convert standard Markdown formatting to WhatsApp-compatible markup.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as getChildLogger, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { T as toWhatsappJid, u as escapeRegExp } from "./logger-
|
|
3
|
-
import { Cn as resolveMarkdownTableMode, Mn as loadWebMedia, Nn as normalizePollInput, _i as redactIdentifier, br as resolveWhatsAppMediaMaxBytes, ei as generateSecureUuid, f as requireActiveWebListener, vi as loadConfig, xn as convertMarkdownTables, yr as resolveWhatsAppAccount } from "./model-selection-
|
|
1
|
+
import { b as getChildLogger, t as createSubsystemLogger } from "./subsystem-CDcEQtQK.js";
|
|
2
|
+
import { T as toWhatsappJid, u as escapeRegExp } from "./logger-C0l_Gj8Y.js";
|
|
3
|
+
import { Cn as resolveMarkdownTableMode, Mn as loadWebMedia, Nn as normalizePollInput, _i as redactIdentifier, br as resolveWhatsAppMediaMaxBytes, ei as generateSecureUuid, f as requireActiveWebListener, vi as loadConfig, xn as convertMarkdownTables, yr as resolveWhatsAppAccount } from "./model-selection-C9tlIhgN.js";
|
|
4
4
|
//#region src/markdown/whatsapp.ts
|
|
5
5
|
/**
|
|
6
6
|
* Convert standard Markdown formatting to WhatsApp-compatible markup.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { K as getChildLogger, O as createSubsystemLogger, T as toWhatsappJid, u as escapeRegExp } from "./logger-Cmh2bFJD.js";
|
|
2
|
-
import { An as normalizePollInput, Yr as generateSecureUuid, bn as resolveMarkdownTableMode, d as requireActiveWebListener, fi as redactIdentifier, hr as resolveWhatsAppMediaMaxBytes, kn as loadWebMedia, mr as resolveWhatsAppAccount, pi as loadConfig, vn as convertMarkdownTables } from "./model-selection-
|
|
2
|
+
import { An as normalizePollInput, Yr as generateSecureUuid, bn as resolveMarkdownTableMode, d as requireActiveWebListener, fi as redactIdentifier, hr as resolveWhatsAppMediaMaxBytes, kn as loadWebMedia, mr as resolveWhatsAppAccount, pi as loadConfig, vn as convertMarkdownTables } from "./model-selection-qaBek98Q.js";
|
|
3
3
|
//#region src/markdown/whatsapp.ts
|
|
4
4
|
/**
|
|
5
5
|
* Convert standard Markdown formatting to WhatsApp-compatible markup.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { I as danger, K as getChildLogger, V as success, l as ensureDir, q as toPinoLikeLogger, y as resolveUserPath } from "./logger-Cmh2bFJD.js";
|
|
2
|
-
import { Er as resolveWebCredsPath, Sr as readCredsJsonRaw, Tr as resolveWebCredsBackupPath, br as maybeRestoreCredsFromBackup, gi as VERSION, vi as formatCliCommand, wr as resolveDefaultWebAuthDir } from "./model-selection-
|
|
2
|
+
import { Er as resolveWebCredsPath, Sr as readCredsJsonRaw, Tr as resolveWebCredsBackupPath, br as maybeRestoreCredsFromBackup, gi as VERSION, vi as formatCliCommand, wr as resolveDefaultWebAuthDir } from "./model-selection-qaBek98Q.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import "node:crypto";
|
|
5
5
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as toPinoLikeLogger, b as getChildLogger, h as success, l as danger } from "./subsystem-
|
|
2
|
-
import { l as ensureDir, y as resolveUserPath } from "./logger-
|
|
3
|
-
import { Ar as resolveWebCredsBackupPath, Ci as formatCliCommand, Dr as readCredsJsonRaw, Tr as maybeRestoreCredsFromBackup, jr as resolveWebCredsPath, kr as resolveDefaultWebAuthDir, xi as VERSION } from "./model-selection-
|
|
4
|
-
import
|
|
1
|
+
import { S as toPinoLikeLogger, b as getChildLogger, h as success, l as danger } from "./subsystem-CDcEQtQK.js";
|
|
2
|
+
import { l as ensureDir, y as resolveUserPath } from "./logger-C0l_Gj8Y.js";
|
|
3
|
+
import { Ar as resolveWebCredsBackupPath, Ci as formatCliCommand, Dr as readCredsJsonRaw, Tr as maybeRestoreCredsFromBackup, jr as resolveWebCredsPath, kr as resolveDefaultWebAuthDir, xi as VERSION } from "./model-selection-C9tlIhgN.js";
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
import "node:crypto";
|
|
6
6
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
7
7
|
import qrcode from "qrcode-terminal";
|
|
@@ -19,16 +19,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
|
19
19
|
const raw = readCredsJsonRaw(credsPath);
|
|
20
20
|
if (raw) try {
|
|
21
21
|
JSON.parse(raw);
|
|
22
|
-
|
|
22
|
+
fs.copyFileSync(credsPath, backupPath);
|
|
23
23
|
try {
|
|
24
|
-
|
|
24
|
+
fs.chmodSync(backupPath, 384);
|
|
25
25
|
} catch {}
|
|
26
26
|
} catch {}
|
|
27
27
|
} catch {}
|
|
28
28
|
try {
|
|
29
29
|
await Promise.resolve(saveCreds());
|
|
30
30
|
try {
|
|
31
|
-
|
|
31
|
+
fs.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
32
32
|
} catch {}
|
|
33
33
|
} catch (err) {
|
|
34
34
|
logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as resolveUserPath, I as danger, J as toPinoLikeLogger, K as getChildLogger, V as success, _ as ensureDir } from "./logger-
|
|
2
|
-
import { $r as resolveDefaultWebAuthDir, Da as formatCliCommand, Yr as maybeRestoreCredsFromBackup, Zr as readCredsJsonRaw, ei as resolveWebCredsBackupPath, ha as VERSION, ti as resolveWebCredsPath } from "./auth-profiles-
|
|
3
|
-
import
|
|
1
|
+
import { D as resolveUserPath, I as danger, J as toPinoLikeLogger, K as getChildLogger, V as success, _ as ensureDir } from "./logger-Budylr6i.js";
|
|
2
|
+
import { $r as resolveDefaultWebAuthDir, Da as formatCliCommand, Yr as maybeRestoreCredsFromBackup, Zr as readCredsJsonRaw, ei as resolveWebCredsBackupPath, ha as VERSION, ti as resolveWebCredsPath } from "./auth-profiles-Dta-Mhaw.js";
|
|
3
|
+
import fsSync from "node:fs";
|
|
4
4
|
import "node:crypto";
|
|
5
5
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
6
6
|
import qrcode from "qrcode-terminal";
|
|
@@ -18,16 +18,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
|
18
18
|
const raw = readCredsJsonRaw(credsPath);
|
|
19
19
|
if (raw) try {
|
|
20
20
|
JSON.parse(raw);
|
|
21
|
-
|
|
21
|
+
fsSync.copyFileSync(credsPath, backupPath);
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
fsSync.chmodSync(backupPath, 384);
|
|
24
24
|
} catch {}
|
|
25
25
|
} catch {}
|
|
26
26
|
} catch {}
|
|
27
27
|
try {
|
|
28
28
|
await Promise.resolve(saveCreds());
|
|
29
29
|
try {
|
|
30
|
-
|
|
30
|
+
fsSync.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
31
31
|
} catch {}
|
|
32
32
|
} catch (err) {
|
|
33
33
|
logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
|
|
@@ -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 { an as listNativeCommandSpecsForConfig, in as findCommandByNativeName, on as parseCommandArgs, rn as buildCommandTextFromArgs, sn as resolveCommandArgMenu } 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 { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
|
|
@@ -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 { en as buildCommandTextFromArgs, in as resolveCommandArgMenu, nn as listNativeCommandSpecsForConfig, rn as parseCommandArgs, tn as findCommandByNativeName } from "./model-selection-
|
|
4
|
+
import { en as buildCommandTextFromArgs, in as resolveCommandArgMenu, nn as listNativeCommandSpecsForConfig, rn as parseCommandArgs, tn as findCommandByNativeName } from "./model-selection-qaBek98Q.js";
|
|
5
5
|
import "./github-copilot-token-xzmo0MIc.js";
|
|
6
6
|
import "./fetch-sqCl8SIJ.js";
|
|
7
7
|
export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./logger-
|
|
3
|
-
import { Fn as resolveCommandArgMenu, Mn as findCommandByNativeName, Nn as listNativeCommandSpecsForConfig, Pn as parseCommandArgs, jn as buildCommandTextFromArgs } from "./auth-profiles-
|
|
4
|
-
import "./query-expansion-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./fetch-
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import "./logger-Budylr6i.js";
|
|
3
|
+
import { Fn as resolveCommandArgMenu, Mn as findCommandByNativeName, Nn as listNativeCommandSpecsForConfig, Pn as parseCommandArgs, jn as buildCommandTextFromArgs } 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
7
|
export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
|
|
@@ -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 { Ar as resolveConversationLabel, Dn as resolveChunkMode, T as createReplyPrefixOptions, bn as resolveMarkdownTableMode, fn as resolveAgentRoute, g as deliverSlackSlashReplies, m as recordInboundSessionMetaSafe, x as dispatchReplyWithDispatcher, z as finalizeInboundContext } from "./model-selection-
|
|
4
|
+
import { Ar as resolveConversationLabel, Dn as resolveChunkMode, T as createReplyPrefixOptions, bn as resolveMarkdownTableMode, fn as resolveAgentRoute, g as deliverSlackSlashReplies, m as recordInboundSessionMetaSafe, x as dispatchReplyWithDispatcher, z as finalizeInboundContext } from "./model-selection-qaBek98Q.js";
|
|
5
5
|
import "./github-copilot-token-xzmo0MIc.js";
|
|
6
6
|
import "./fetch-sqCl8SIJ.js";
|
|
7
7
|
export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./logger-
|
|
3
|
-
import { A as createReplyPrefixOptions, E as dispatchReplyWithDispatcher, Qn as resolveMarkdownTableMode, W as finalizeInboundContext, Wn as resolveAgentRoute, _ as recordInboundSessionMetaSafe, ai as resolveConversationLabel, ar as resolveChunkMode, y as deliverSlackSlashReplies } from "./auth-profiles-
|
|
4
|
-
import "./query-expansion-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./fetch-
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import "./logger-Budylr6i.js";
|
|
3
|
+
import { A as createReplyPrefixOptions, E as dispatchReplyWithDispatcher, Qn as resolveMarkdownTableMode, W as finalizeInboundContext, Wn as resolveAgentRoute, _ as recordInboundSessionMetaSafe, ai as resolveConversationLabel, ar as resolveChunkMode, y as deliverSlackSlashReplies } 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
7
|
export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./query-expansion-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { An as resolveChunkMode, B as finalizeInboundContext, Cn as resolveMarkdownTableMode, E as createReplyPrefixOptions, Fr as resolveConversationLabel, S as dispatchReplyWithDispatcher, _ as deliverSlackSlashReplies, h as recordInboundSessionMetaSafe, hn as resolveAgentRoute } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
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 { An as resolveChunkMode, B as finalizeInboundContext, Cn as resolveMarkdownTableMode, E as createReplyPrefixOptions, Fr as resolveConversationLabel, S as dispatchReplyWithDispatcher, _ as deliverSlackSlashReplies, h as recordInboundSessionMetaSafe, hn as resolveAgentRoute } 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
|
export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import "./logger-Budylr6i.js";
|
|
3
|
+
import { B as listSkillCommandsForAgents } 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 { listSkillCommandsForAgents };
|
package/dist/{slash-skill-commands.runtime-BZqnnkHJ.js → slash-skill-commands.runtime-Cm8K1kWM.js}
RENAMED
|
@@ -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 { F as listSkillCommandsForAgents } from "./model-selection-
|
|
4
|
+
import { F as listSkillCommandsForAgents } from "./model-selection-qaBek98Q.js";
|
|
5
5
|
import "./github-copilot-token-xzmo0MIc.js";
|
|
6
6
|
import "./fetch-sqCl8SIJ.js";
|
|
7
7
|
export { listSkillCommandsForAgents };
|
|
@@ -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 { I as listSkillCommandsForAgents } 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 { listSkillCommandsForAgents };
|
package/dist/{subagent-registry-runtime-rBYzVSXG.js → subagent-registry-runtime-1IiL0xom.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./logger-
|
|
3
|
-
import { at as isSubagentSessionRunActive, ct as resolveRequesterForChildSession, it as countPendingDescendantRunsExcludingRun, lt as shouldIgnorePostCompletionAnnounceForSession, nt as countActiveDescendantRuns, ot as listSubagentRunsForRequester, rt as countPendingDescendantRuns, st as replaceSubagentRunAfterSteer } from "./auth-profiles-
|
|
4
|
-
import "./query-expansion-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./fetch-
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import "./logger-Budylr6i.js";
|
|
3
|
+
import { at as isSubagentSessionRunActive, ct as resolveRequesterForChildSession, it as countPendingDescendantRunsExcludingRun, lt as shouldIgnorePostCompletionAnnounceForSession, nt as countActiveDescendantRuns, ot as listSubagentRunsForRequester, rt as countPendingDescendantRuns, st as replaceSubagentRunAfterSteer } 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
7
|
export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, listSubagentRunsForRequester, replaceSubagentRunAfterSteer, resolveRequesterForChildSession, shouldIgnorePostCompletionAnnounceForSession };
|
package/dist/{subagent-registry-runtime-9WfVik2h.js → subagent-registry-runtime-DKOXxZgH.js}
RENAMED
|
@@ -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 { $ as countPendingDescendantRunsExcludingRun, Q as countPendingDescendantRuns, Z as countActiveDescendantRuns, et as isSubagentSessionRunActive, it as shouldIgnorePostCompletionAnnounceForSession, nt as replaceSubagentRunAfterSteer, rt as resolveRequesterForChildSession, tt as listSubagentRunsForRequester } from "./model-selection-
|
|
4
|
+
import { $ as countPendingDescendantRunsExcludingRun, Q as countPendingDescendantRuns, Z as countActiveDescendantRuns, et as isSubagentSessionRunActive, it as shouldIgnorePostCompletionAnnounceForSession, nt as replaceSubagentRunAfterSteer, rt as resolveRequesterForChildSession, tt as listSubagentRunsForRequester } from "./model-selection-qaBek98Q.js";
|
|
5
5
|
import "./github-copilot-token-xzmo0MIc.js";
|
|
6
6
|
import "./fetch-sqCl8SIJ.js";
|
|
7
7
|
export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, listSubagentRunsForRequester, replaceSubagentRunAfterSteer, resolveRequesterForChildSession, shouldIgnorePostCompletionAnnounceForSession };
|
package/dist/{subagent-registry-runtime-Z0fdsGSq.js → subagent-registry-runtime-DkamrsVw.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./query-expansion-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import { $ as countPendingDescendantRuns, Q as countActiveDescendantRuns, at as shouldIgnorePostCompletionAnnounceForSession, et as countPendingDescendantRunsExcludingRun, it as resolveRequesterForChildSession, nt as listSubagentRunsForRequester, rt as replaceSubagentRunAfterSteer, tt as isSubagentSessionRunActive } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
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 { $ as countPendingDescendantRuns, Q as countActiveDescendantRuns, at as shouldIgnorePostCompletionAnnounceForSession, et as countPendingDescendantRunsExcludingRun, it as resolveRequesterForChildSession, nt as listSubagentRunsForRequester, rt as replaceSubagentRunAfterSteer, tt as isSubagentSessionRunActive } 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
|
export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, listSubagentRunsForRequester, replaceSubagentRunAfterSteer, resolveRequesterForChildSession, shouldIgnorePostCompletionAnnounceForSession };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as resolveConfigPath } from "./paths-
|
|
1
|
+
import { r as resolveConfigPath } from "./paths-BwJ6yG6k.js";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
import chalk, { Chalk } from "chalk";
|
|
6
6
|
import { Logger } from "tslog";
|
|
7
7
|
import JSON5 from "json5";
|
|
@@ -49,15 +49,15 @@ function getCommandPathInternal(argv, depth, opts) {
|
|
|
49
49
|
//#endregion
|
|
50
50
|
//#region src/infra/tmp-openclaw-dir.ts
|
|
51
51
|
const POSIX_OPENCLAW_TMP_DIR = "/tmp/openclaw";
|
|
52
|
-
const TMP_DIR_ACCESS_MODE =
|
|
52
|
+
const TMP_DIR_ACCESS_MODE = fs.constants.W_OK | fs.constants.X_OK;
|
|
53
53
|
function isNodeErrorWithCode(err, code) {
|
|
54
54
|
return typeof err === "object" && err !== null && "code" in err && err.code === code;
|
|
55
55
|
}
|
|
56
56
|
function resolvePreferredOpenClawTmpDir(options = {}) {
|
|
57
|
-
const accessSync = options.accessSync ??
|
|
58
|
-
const chmodSync = options.chmodSync ??
|
|
59
|
-
const lstatSync = options.lstatSync ??
|
|
60
|
-
const mkdirSync = options.mkdirSync ??
|
|
57
|
+
const accessSync = options.accessSync ?? fs.accessSync;
|
|
58
|
+
const chmodSync = options.chmodSync ?? fs.chmodSync;
|
|
59
|
+
const lstatSync = options.lstatSync ?? fs.lstatSync;
|
|
60
|
+
const mkdirSync = options.mkdirSync ?? fs.mkdirSync;
|
|
61
61
|
const warn = options.warn ?? ((message) => console.warn(message));
|
|
62
62
|
const getuid = options.getuid ?? (() => {
|
|
63
63
|
try {
|
|
@@ -149,8 +149,8 @@ function resolvePreferredOpenClawTmpDir(options = {}) {
|
|
|
149
149
|
function readLoggingConfig() {
|
|
150
150
|
const configPath = resolveConfigPath();
|
|
151
151
|
try {
|
|
152
|
-
if (!
|
|
153
|
-
const raw =
|
|
152
|
+
if (!fs.existsSync(configPath)) return;
|
|
153
|
+
const raw = fs.readFileSync(configPath, "utf-8");
|
|
154
154
|
const logging = JSON5.parse(raw)?.logging;
|
|
155
155
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
156
156
|
return logging;
|
|
@@ -332,7 +332,7 @@ function buildLogger(settings) {
|
|
|
332
332
|
for (const transport of externalTransports) attachExternalTransport(logger, transport);
|
|
333
333
|
return logger;
|
|
334
334
|
}
|
|
335
|
-
|
|
335
|
+
fs.mkdirSync(path.dirname(settings.file), { recursive: true });
|
|
336
336
|
if (isRollingPath(settings.file)) pruneOldRollingLogs(path.dirname(settings.file));
|
|
337
337
|
let currentFileBytes = getCurrentLogFileBytes(settings.file);
|
|
338
338
|
let warnedAboutSizeCap = false;
|
|
@@ -371,14 +371,14 @@ function resolveMaxLogFileBytes(raw) {
|
|
|
371
371
|
}
|
|
372
372
|
function getCurrentLogFileBytes(file) {
|
|
373
373
|
try {
|
|
374
|
-
return
|
|
374
|
+
return fs.statSync(file).size;
|
|
375
375
|
} catch {
|
|
376
376
|
return 0;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
function appendLogLine(file, line) {
|
|
380
380
|
try {
|
|
381
|
-
|
|
381
|
+
fs.appendFileSync(file, line, { encoding: "utf8" });
|
|
382
382
|
return true;
|
|
383
383
|
} catch {
|
|
384
384
|
return false;
|
|
@@ -430,14 +430,14 @@ function isRollingPath(file) {
|
|
|
430
430
|
}
|
|
431
431
|
function pruneOldRollingLogs(dir) {
|
|
432
432
|
try {
|
|
433
|
-
const entries =
|
|
433
|
+
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
434
434
|
const cutoff = Date.now() - MAX_LOG_AGE_MS;
|
|
435
435
|
for (const entry of entries) {
|
|
436
436
|
if (!entry.isFile()) continue;
|
|
437
437
|
if (!entry.name.startsWith(`${LOG_PREFIX}-`) || !entry.name.endsWith(LOG_SUFFIX)) continue;
|
|
438
438
|
const fullPath = path.join(dir, entry.name);
|
|
439
439
|
try {
|
|
440
|
-
if (
|
|
440
|
+
if (fs.statSync(fullPath).mtimeMs < cutoff) fs.rmSync(fullPath, { force: true });
|
|
441
441
|
} catch {}
|
|
442
442
|
}
|
|
443
443
|
} catch {}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { B as shouldLogVerbose, C as normalizeE164, E as resolveJidToE164, K as getChildLogger, N as toWhatsappJid, R as logVerbose, S as jidToE164, a as createSubsystemLogger, j as sleep, l as defaultRuntime, m as clamp, x as isSelfChatMode } from "./logger-
|
|
3
|
-
import { A as createReplyPrefixOptions, At as resolveMessagePrefix, Bn as resolvePinnedMainDmOwnerFromAllowlist, D as issuePairingChallenge, Da as formatCliCommand, Dr as updateLastRoute, Dt as createDedupeCache, Er as recordSessionMetaFromInbound, Et as sleepWithAbort, F as getReplyFromConfig, Gn as resolveInboundLastRouteSessionKey, Gr as WA_WEB_AUTH_DIR, Hn as buildAgentSessionKey, J as hasControlCommand, K as createInboundDebouncer, Kn as enqueueSystemEvent, Kr as getWebAuthAgeMs, Ln as readStoreAllowFromForDmPolicy, M as buildHistoryContextFromEntries, Mt as parseActivationCommand, N as recordPendingHistoryEntryIfEnabled, Ni as saveMediaBuffer, Nt as formatLocationText, O as resolveMentionGating, P as formatInboundEnvelope, Pt as toLocationContext, Qn as resolveMarkdownTableMode, Qr as readWebSelfId, Rn as resolveDmGroupAccessWithCommandGate, T as dispatchReplyWithBufferedBlockDispatcher, Tr as loadSessionStore, Tt as computeBackoff, Un as deriveLastRoutePolicy, Ur as resolveWhatsAppAccount, Vn as upsertChannelPairingRequest, W as finalizeInboundContext, Wn as resolveAgentRoute, Wr as resolveWhatsAppMediaMaxBytes, X as buildMentionRegexes, Xn as convertMarkdownTables, Xr as pickWebChannel, Y as shouldComputeCommandAuthorized, Z as normalizeMentionText, Zn as recordChannelActivity, ar as resolveChunkMode, g as resolveInboundSessionEnvelopeContext, h as setActiveWebListener, ia as getAgentScopedMediaLocalRoots, ii as resolveChannelGroupRequireMention, ir as chunkMarkdownTextWithMode, j as shouldAckReactionForWhatsApp, jt as normalizeGroupActivation, kt as resolveIdentityNamePrefix, ni as webAuthExists, nr as resolveOpenProviderRuntimeGroupPolicy, oi as resolveGroupSessionKey, or as resolveTextChunkLimit, q as resolveInboundDebounceMs, qn as formatDurationPrecise, qr as logWebSelfId, ri as resolveChannelGroupPolicy, rr as warnMissingProviderGroupPolicyFallbackOnce, sa as loadConfig, sr as loadWebMedia, ta as registerUnhandledRejectionHandler, tr as resolveDefaultGroupPolicy, w as createConnectedChannelStatusPatch, zn as resolveDmGroupAccessWithLists } from "./auth-profiles-
|
|
4
|
-
import { R as resolveStorePath, fn as normalizeAgentId, ln as buildGroupHistoryKey, on as DEFAULT_MAIN_KEY, sn as buildAgentMainSessionKey } from "./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-
|
|
8
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-
|
|
9
|
-
import { t as loginWeb } from "./login-
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import { B as shouldLogVerbose, C as normalizeE164, E as resolveJidToE164, K as getChildLogger, N as toWhatsappJid, R as logVerbose, S as jidToE164, a as createSubsystemLogger, j as sleep, l as defaultRuntime, m as clamp, x as isSelfChatMode } from "./logger-Budylr6i.js";
|
|
3
|
+
import { A as createReplyPrefixOptions, At as resolveMessagePrefix, Bn as resolvePinnedMainDmOwnerFromAllowlist, D as issuePairingChallenge, Da as formatCliCommand, Dr as updateLastRoute, Dt as createDedupeCache, Er as recordSessionMetaFromInbound, Et as sleepWithAbort, F as getReplyFromConfig, Gn as resolveInboundLastRouteSessionKey, Gr as WA_WEB_AUTH_DIR, Hn as buildAgentSessionKey, J as hasControlCommand, K as createInboundDebouncer, Kn as enqueueSystemEvent, Kr as getWebAuthAgeMs, Ln as readStoreAllowFromForDmPolicy, M as buildHistoryContextFromEntries, Mt as parseActivationCommand, N as recordPendingHistoryEntryIfEnabled, Ni as saveMediaBuffer, Nt as formatLocationText, O as resolveMentionGating, P as formatInboundEnvelope, Pt as toLocationContext, Qn as resolveMarkdownTableMode, Qr as readWebSelfId, Rn as resolveDmGroupAccessWithCommandGate, T as dispatchReplyWithBufferedBlockDispatcher, Tr as loadSessionStore, Tt as computeBackoff, Un as deriveLastRoutePolicy, Ur as resolveWhatsAppAccount, Vn as upsertChannelPairingRequest, W as finalizeInboundContext, Wn as resolveAgentRoute, Wr as resolveWhatsAppMediaMaxBytes, X as buildMentionRegexes, Xn as convertMarkdownTables, Xr as pickWebChannel, Y as shouldComputeCommandAuthorized, Z as normalizeMentionText, Zn as recordChannelActivity, ar as resolveChunkMode, g as resolveInboundSessionEnvelopeContext, h as setActiveWebListener, ia as getAgentScopedMediaLocalRoots, ii as resolveChannelGroupRequireMention, ir as chunkMarkdownTextWithMode, j as shouldAckReactionForWhatsApp, jt as normalizeGroupActivation, kt as resolveIdentityNamePrefix, ni as webAuthExists, nr as resolveOpenProviderRuntimeGroupPolicy, oi as resolveGroupSessionKey, or as resolveTextChunkLimit, q as resolveInboundDebounceMs, qn as formatDurationPrecise, qr as logWebSelfId, ri as resolveChannelGroupPolicy, rr as warnMissingProviderGroupPolicyFallbackOnce, sa as loadConfig, sr as loadWebMedia, ta as registerUnhandledRejectionHandler, tr as resolveDefaultGroupPolicy, w as createConnectedChannelStatusPatch, zn as resolveDmGroupAccessWithLists } from "./auth-profiles-Dta-Mhaw.js";
|
|
4
|
+
import { R as resolveStorePath, fn as normalizeAgentId, ln as buildGroupHistoryKey, on as DEFAULT_MAIN_KEY, sn as buildAgentMainSessionKey } from "./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
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-CHO1gc7n.js";
|
|
9
|
+
import { t as loginWeb } from "./login-Bk8BjEUN.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
12
12
|
const DEFAULT_RECONNECT_POLICY = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { R as resolveStorePath, fn as normalizeAgentId, ln as buildGroupHistoryKey, on as DEFAULT_MAIN_KEY, sn as buildAgentMainSessionKey } from "./query-expansion-C6UNkw7W.js";
|
|
2
2
|
import "./paths-CzCvxHkV.js";
|
|
3
3
|
import { B as shouldLogVerbose, C as sleep, K as getChildLogger, M as defaultRuntime, O as createSubsystemLogger, R as logVerbose, T as toWhatsappJid, h as normalizeE164, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164 } from "./logger-Cmh2bFJD.js";
|
|
4
|
-
import { $r as saveMediaBuffer, A as getReplyFromConfig, C as resolveMentionGating, Cn as resolveDefaultGroupPolicy, Cr as readWebSelfId, D as buildHistoryContextFromEntries, Dn as resolveChunkMode, Dr as webAuthExists, Dt as toLocationContext, E as shouldAckReactionForWhatsApp, Ei as resolveMessagePrefix, En as chunkMarkdownTextWithMode, Et as formatLocationText, G as buildMentionRegexes, Gn as registerUnhandledRejectionHandler, H as resolveInboundDebounceMs, K as normalizeMentionText, O as recordPendingHistoryEntryIfEnabled, On as resolveTextChunkLimit, Or as resolveChannelGroupPolicy, Qn as recordSessionMetaFromInbound, S as issuePairingChallenge, St as createDedupeCache, T as createReplyPrefixOptions, Ti as resolveIdentityNamePrefix, Tn as warnMissingProviderGroupPolicyFallbackOnce, Tt as parseActivationCommand, U as hasControlCommand, V as createInboundDebouncer, W as shouldComputeCommandAuthorized, Zn as loadSessionStore, _r as getWebAuthAgeMs, an as readStoreAllowFromForDmPolicy, b as dispatchReplyWithBufferedBlockDispatcher, bn as resolveMarkdownTableMode, bt as computeBackoff, cn as resolvePinnedMainDmOwnerFromAllowlist, dn as deriveLastRoutePolicy, er as updateLastRoute, f as setActiveWebListener, fn as resolveAgentRoute, gr as WA_WEB_AUTH_DIR, hn as formatDurationPrecise, hr as resolveWhatsAppMediaMaxBytes, jr as resolveGroupSessionKey, k as formatInboundEnvelope, kn as loadWebMedia, kr as resolveChannelGroupRequireMention, ln as upsertChannelPairingRequest, mn as enqueueSystemEvent, mr as resolveWhatsAppAccount, on as resolveDmGroupAccessWithCommandGate, p as resolveInboundSessionEnvelopeContext, pi as loadConfig, pn as resolveInboundLastRouteSessionKey, qn as getAgentScopedMediaLocalRoots, sn as resolveDmGroupAccessWithLists, un as buildAgentSessionKey, vi as formatCliCommand, vn as convertMarkdownTables, vr as logWebSelfId, wn as resolveOpenProviderRuntimeGroupPolicy, wt as normalizeGroupActivation, xr as pickWebChannel, xt as sleepWithAbort, y as createConnectedChannelStatusPatch, yn as recordChannelActivity, z as finalizeInboundContext } from "./model-selection-
|
|
4
|
+
import { $r as saveMediaBuffer, A as getReplyFromConfig, C as resolveMentionGating, Cn as resolveDefaultGroupPolicy, Cr as readWebSelfId, D as buildHistoryContextFromEntries, Dn as resolveChunkMode, Dr as webAuthExists, Dt as toLocationContext, E as shouldAckReactionForWhatsApp, Ei as resolveMessagePrefix, En as chunkMarkdownTextWithMode, Et as formatLocationText, G as buildMentionRegexes, Gn as registerUnhandledRejectionHandler, H as resolveInboundDebounceMs, K as normalizeMentionText, O as recordPendingHistoryEntryIfEnabled, On as resolveTextChunkLimit, Or as resolveChannelGroupPolicy, Qn as recordSessionMetaFromInbound, S as issuePairingChallenge, St as createDedupeCache, T as createReplyPrefixOptions, Ti as resolveIdentityNamePrefix, Tn as warnMissingProviderGroupPolicyFallbackOnce, Tt as parseActivationCommand, U as hasControlCommand, V as createInboundDebouncer, W as shouldComputeCommandAuthorized, Zn as loadSessionStore, _r as getWebAuthAgeMs, an as readStoreAllowFromForDmPolicy, b as dispatchReplyWithBufferedBlockDispatcher, bn as resolveMarkdownTableMode, bt as computeBackoff, cn as resolvePinnedMainDmOwnerFromAllowlist, dn as deriveLastRoutePolicy, er as updateLastRoute, f as setActiveWebListener, fn as resolveAgentRoute, gr as WA_WEB_AUTH_DIR, hn as formatDurationPrecise, hr as resolveWhatsAppMediaMaxBytes, jr as resolveGroupSessionKey, k as formatInboundEnvelope, kn as loadWebMedia, kr as resolveChannelGroupRequireMention, ln as upsertChannelPairingRequest, mn as enqueueSystemEvent, mr as resolveWhatsAppAccount, on as resolveDmGroupAccessWithCommandGate, p as resolveInboundSessionEnvelopeContext, pi as loadConfig, pn as resolveInboundLastRouteSessionKey, qn as getAgentScopedMediaLocalRoots, sn as resolveDmGroupAccessWithLists, un as buildAgentSessionKey, vi as formatCliCommand, vn as convertMarkdownTables, vr as logWebSelfId, wn as resolveOpenProviderRuntimeGroupPolicy, wt as normalizeGroupActivation, xr as pickWebChannel, xt as sleepWithAbort, y as createConnectedChannelStatusPatch, yn as recordChannelActivity, z as finalizeInboundContext } 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
|
|
8
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-
|
|
9
|
-
import { t as loginWeb } from "./login-
|
|
7
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session--tqRfZQU.js";
|
|
8
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-DxYxezcL.js";
|
|
9
|
+
import { t as loginWeb } from "./login-BEOnxdap.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
12
12
|
const DEFAULT_RECONNECT_POLICY = {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { R as resolveStorePath } from "./query-expansion-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { a as defaultRuntime, b as getChildLogger, d as logVerbose, m as shouldLogVerbose, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { F as DEFAULT_MAIN_KEY, I as buildAgentMainSessionKey, R as buildGroupHistoryKey, V as normalizeAgentId } from "./workspace-
|
|
5
|
-
import { C as sleep, T as toWhatsappJid, h as normalizeE164, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164 } from "./logger-
|
|
6
|
-
import { A as formatInboundEnvelope, An as resolveChunkMode, At as toLocationContext, B as finalizeInboundContext, C as issuePairingChallenge, Ci as formatCliCommand, Cn as resolveMarkdownTableMode, Cr as logWebSelfId, Ct as createDedupeCache, D as shouldAckReactionForWhatsApp, Dn as resolveOpenProviderRuntimeGroupPolicy, Dt as normalizeGroupActivation, E as createReplyPrefixOptions, En as resolveDefaultGroupPolicy, Er as pickWebChannel, Et as resolveMessagePrefix, G as shouldComputeCommandAuthorized, H as createInboundDebouncer, Ir as resolveGroupSessionKey, Jn as registerUnhandledRejectionHandler, K as buildMentionRegexes, Mn as loadWebMedia, Mr as webAuthExists, Nr as resolveChannelGroupPolicy, O as buildHistoryContextFromEntries, On as warnMissingProviderGroupPolicyFallbackOnce, Or as readWebSelfId, Ot as parseActivationCommand, Pr as resolveChannelGroupRequireMention, Sn as recordChannelActivity, Sr as getWebAuthAgeMs, St as sleepWithAbort, Tt as resolveIdentityNamePrefix, U as resolveInboundDebounceMs, W as hasControlCommand, Xn as getAgentScopedMediaLocalRoots, _n as enqueueSystemEvent, b as createConnectedChannelStatusPatch, br as resolveWhatsAppMediaMaxBytes, cn as readStoreAllowFromForDmPolicy, dn as resolvePinnedMainDmOwnerFromAllowlist, er as loadSessionStore, fn as upsertChannelPairingRequest, gn as resolveInboundLastRouteSessionKey, hn as resolveAgentRoute, ii as saveMediaBuffer, j as getReplyFromConfig, jn as resolveTextChunkLimit, k as recordPendingHistoryEntryIfEnabled, kn as chunkMarkdownTextWithMode, kt as formatLocationText, ln as resolveDmGroupAccessWithCommandGate, m as resolveInboundSessionEnvelopeContext, mn as deriveLastRoutePolicy, nr as updateLastRoute, p as setActiveWebListener, pn as buildAgentSessionKey, q as normalizeMentionText, tr as recordSessionMetaFromInbound, un as resolveDmGroupAccessWithLists, vi as loadConfig, vn as formatDurationPrecise, w as resolveMentionGating, x as dispatchReplyWithBufferedBlockDispatcher, xn as convertMarkdownTables, xr as WA_WEB_AUTH_DIR, xt as computeBackoff, yr as resolveWhatsAppAccount } from "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
1
|
+
import { R as resolveStorePath } from "./query-expansion-DnS6CGY2.js";
|
|
2
|
+
import "./paths-BwJ6yG6k.js";
|
|
3
|
+
import { a as defaultRuntime, b as getChildLogger, d as logVerbose, m as shouldLogVerbose, t as createSubsystemLogger } from "./subsystem-CDcEQtQK.js";
|
|
4
|
+
import { F as DEFAULT_MAIN_KEY, I as buildAgentMainSessionKey, R as buildGroupHistoryKey, V as normalizeAgentId } from "./workspace-Cg3kGb1y.js";
|
|
5
|
+
import { C as sleep, T as toWhatsappJid, h as normalizeE164, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164 } from "./logger-C0l_Gj8Y.js";
|
|
6
|
+
import { A as formatInboundEnvelope, An as resolveChunkMode, At as toLocationContext, B as finalizeInboundContext, C as issuePairingChallenge, Ci as formatCliCommand, Cn as resolveMarkdownTableMode, Cr as logWebSelfId, Ct as createDedupeCache, D as shouldAckReactionForWhatsApp, Dn as resolveOpenProviderRuntimeGroupPolicy, Dt as normalizeGroupActivation, E as createReplyPrefixOptions, En as resolveDefaultGroupPolicy, Er as pickWebChannel, Et as resolveMessagePrefix, G as shouldComputeCommandAuthorized, H as createInboundDebouncer, Ir as resolveGroupSessionKey, Jn as registerUnhandledRejectionHandler, K as buildMentionRegexes, Mn as loadWebMedia, Mr as webAuthExists, Nr as resolveChannelGroupPolicy, O as buildHistoryContextFromEntries, On as warnMissingProviderGroupPolicyFallbackOnce, Or as readWebSelfId, Ot as parseActivationCommand, Pr as resolveChannelGroupRequireMention, Sn as recordChannelActivity, Sr as getWebAuthAgeMs, St as sleepWithAbort, Tt as resolveIdentityNamePrefix, U as resolveInboundDebounceMs, W as hasControlCommand, Xn as getAgentScopedMediaLocalRoots, _n as enqueueSystemEvent, b as createConnectedChannelStatusPatch, br as resolveWhatsAppMediaMaxBytes, cn as readStoreAllowFromForDmPolicy, dn as resolvePinnedMainDmOwnerFromAllowlist, er as loadSessionStore, fn as upsertChannelPairingRequest, gn as resolveInboundLastRouteSessionKey, hn as resolveAgentRoute, ii as saveMediaBuffer, j as getReplyFromConfig, jn as resolveTextChunkLimit, k as recordPendingHistoryEntryIfEnabled, kn as chunkMarkdownTextWithMode, kt as formatLocationText, ln as resolveDmGroupAccessWithCommandGate, m as resolveInboundSessionEnvelopeContext, mn as deriveLastRoutePolicy, nr as updateLastRoute, p as setActiveWebListener, pn as buildAgentSessionKey, q as normalizeMentionText, tr as recordSessionMetaFromInbound, un as resolveDmGroupAccessWithLists, vi as loadConfig, vn as formatDurationPrecise, w as resolveMentionGating, x as dispatchReplyWithBufferedBlockDispatcher, xn as convertMarkdownTables, xr as WA_WEB_AUTH_DIR, xt as computeBackoff, 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-
|
|
12
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-
|
|
13
|
-
import { t as loginWeb } from "./login-
|
|
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
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-CsgNtXyY.js";
|
|
13
|
+
import { t as loginWeb } from "./login-CvFRLU0k.js";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
16
16
|
const DEFAULT_RECONNECT_POLICY = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./logger-
|
|
3
|
-
import { Hr as resolveWhatsAppOutboundTarget, Ur as resolveWhatsAppAccount, dn as createActionGate, fn as jsonResult, mn as readStringParam, pn as readReactionParams, un as ToolAuthorizationError } from "./auth-profiles-
|
|
4
|
-
import "./query-expansion-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./fetch-
|
|
7
|
-
import { r as sendReactionWhatsApp } from "./send-
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import "./logger-Budylr6i.js";
|
|
3
|
+
import { Hr as resolveWhatsAppOutboundTarget, Ur as resolveWhatsAppAccount, dn as createActionGate, fn as jsonResult, mn as readStringParam, pn as readReactionParams, un as ToolAuthorizationError } 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 { r as sendReactionWhatsApp } from "./send-CHO1gc7n.js";
|
|
8
8
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
9
9
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|
|
10
10
|
const account = resolveWhatsAppAccount({
|