@lawpath-tech/openclaw 2026.2.21-22 → 2026.2.21-24
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/{audio-preflight-CODznzqu.js → audio-preflight-Da7vejCH.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-lRUqqgSD.js → chrome-CZuniMYN.js} +7 -7
- package/dist/{deliver-B2d2N8OJ.js → deliver-0ThKlzQo.js} +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{image--DDZnw-F.js → image-88q3KE-C.js} +1 -1
- package/dist/{pi-embedded-C_B8_quB.js → pi-embedded-ZvazjIyF.js} +16 -16
- package/dist/{pi-embedded-helpers-Cd0S0WfR.js → pi-embedded-helpers-B0Kht0I2.js} +4 -4
- package/dist/plugin-sdk/{accounts-fnLsjAOi.js → accounts-Ciwy7Yxd.js} +3 -3
- package/dist/plugin-sdk/{accounts-BcQo4OUu.js → accounts-DUBJHEgi.js} +1 -1
- package/dist/plugin-sdk/{accounts-DEsAwvaZ.js → accounts-wSu5JyDM.js} +1 -1
- package/dist/plugin-sdk/{active-listener-CeaKSm29.js → active-listener-Bnau4oiu.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-D5PlT0Z0.js → agent-scope-cT7IxdHY.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-B3O1qn0m.js → api-key-rotation-ElOMCP9r.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-CYSy3uuZ.js → audio-preflight-DtozH3sJ.js} +24 -24
- package/dist/plugin-sdk/{bindings-C0XEX0yK.js → bindings-CKqdifyU.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-WgE8Z4Bb.js → channel-activity-CCnr-9bS.js} +1 -1
- package/dist/plugin-sdk/{channel-web-Nw-bUgtV.js → channel-web-BHNS_E7F.js} +22 -22
- package/dist/plugin-sdk/{chrome-C1xnOQsc.js → chrome-BO7SUTgY.js} +3 -3
- package/dist/plugin-sdk/{chunk-CQk9vawA.js → chunk-DyzO7IVo.js} +1 -1
- package/dist/plugin-sdk/{command-format-DHXa0Clc.js → command-format-DcBXOX9Z.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-yTZdwtLj.js → commands-registry-BsSKPwgj.js} +4 -4
- package/dist/plugin-sdk/{config--kW4R0el.js → config-9OZuRn0C.js} +9 -9
- package/dist/plugin-sdk/{deliver-C2gjA_UH.js → deliver-BO_wt0wd.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-Up1aMyxZ.js → diagnostic-DKyVS3IK.js} +1 -1
- package/dist/plugin-sdk/{image-Bcc99tVA.js → image-C31B_R8P.js} +4 -4
- package/dist/plugin-sdk/{image-ops-C6RLbtSJ.js → image-ops-B8aJIly2.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-Cwi1KVG5.js → ir-CD5VqKGg.js} +4 -4
- package/dist/plugin-sdk/{local-roots-6BSl8AoA.js → local-roots-D4PCK2jj.js} +3 -3
- package/dist/plugin-sdk/{login-Cau5eVVj.js → login-CW17h3xU.js} +7 -7
- package/dist/plugin-sdk/{login-qr-CLWtfA9m.js → login-qr-CMdk06CS.js} +9 -9
- package/dist/plugin-sdk/{manager-C3Eb_8Hz.js → manager-CZPPxI6R.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-DvEm2HHf.js → manifest-registry-sgHvjA6E.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-cJqvQe9j.js → markdown-tables-Bo-r4msS.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DY9wVB2A.js → message-channel-DmB4bGFh.js} +1 -1
- package/dist/plugin-sdk/{model-selection-BjVTBZiY.js → model-selection-CXooYLb2.js} +4 -4
- package/dist/plugin-sdk/{outbound-attachment-CsmRyZPI.js → outbound-attachment-CCxMtk8m.js} +2 -2
- package/dist/plugin-sdk/{outbound-Co1QSkdS.js → outbound-dAcQHyyr.js} +7 -7
- package/dist/plugin-sdk/{pi-auth-json-DfEOhoTK.js → pi-auth-json-C-euHc3x.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-D3EACnFn.js → pi-embedded-helpers-DU0nLxRU.js} +17 -17
- package/dist/plugin-sdk/{plugins-Dyz98ZJX.js → plugins-DIzw7Ncy.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-smoXiGqZ.js → pw-ai-CYmDAwXD.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-CUhJ7WG2.js → qmd-manager-DQiT4WTr.js} +4 -4
- package/dist/plugin-sdk/{registry-DL-33c9X.js → registry-O1yza0Vh.js} +2 -2
- package/dist/plugin-sdk/{replies-Bkaifx0j.js → replies-Bnu7HnvW.js} +3 -3
- package/dist/plugin-sdk/{reply-Cb54ddUA.js → reply-DEepmBkT.js} +78 -78
- package/dist/plugin-sdk/{reply-prefix-5vdbga0R.js → reply-prefix-BF0omhZE.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-CP7QDN14.js → resolve-outbound-target-DzZIT1V1.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-eopifBrM.js → resolve-route-B63ztF-V.js} +3 -3
- package/dist/plugin-sdk/{retry-5P3d0rYw.js → retry-JFNwfUew.js} +1 -1
- package/dist/plugin-sdk/{runner-DqwPn56n.js → runner-DztRiWhh.js} +9 -9
- package/dist/plugin-sdk/{send-DnFB-v5n.js → send-CK3DCPv-.js} +6 -6
- package/dist/plugin-sdk/{send-D_X6p9H0.js → send-D-spKwjf.js} +10 -10
- package/dist/plugin-sdk/{send-PPtjKj-0.js → send-D1C2sJG1.js} +7 -7
- package/dist/plugin-sdk/{send-C2NQjVF9.js → send-DEV4iiFj.js} +10 -10
- package/dist/plugin-sdk/{send-_uj_NuFI.js → send-DrYvH25B.js} +6 -6
- package/dist/plugin-sdk/{session-CZngPTYk.js → session-DRJl5tKC.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-Cr54qPdy.js → skill-commands-Dv5AeOZQ.js} +5 -5
- package/dist/plugin-sdk/{skills-Dcu4o-9l.js → skills-5hEda4_Y.js} +7 -7
- package/dist/plugin-sdk/{sqlite-ulpcowfN.js → sqlite-DUu0dwic.js} +1 -1
- package/dist/plugin-sdk/{store-EUYCRBvs.js → store-DoRXD0QB.js} +2 -2
- package/dist/plugin-sdk/{subsystem-C9WnrKN8.js → subsystem-C4Rh0kdL.js} +1 -1
- package/dist/plugin-sdk/{tables-CMdQECje.js → tables-C_81Ve2l.js} +1 -1
- package/dist/plugin-sdk/{target-errors-CrR2lAF7.js → target-errors-C638yp2-.js} +2 -2
- package/dist/plugin-sdk/{thinking-C7zYA2s9.js → thinking-DexKPSsI.js} +5 -5
- package/dist/plugin-sdk/{tokens-2475WU2Z.js → tokens-K9ITCatc.js} +1 -1
- package/dist/plugin-sdk/{tool-images-DCvC8yL7.js → tool-images-BvjD_HnR.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-D0ADW0h2.js → tool-loop-detection-BBRtoox8.js} +2 -2
- package/dist/plugin-sdk/web-DBo-6RyH.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-DC4RRNqv.js → whatsapp-actions-D8i2vCxS.js} +21 -21
- package/dist/{pw-ai-C-kqYO4L.js → pw-ai-S3cpSYOy.js} +1 -1
- package/dist/{runner-Dq-qfrq7.js → runner-a43IsYad.js} +1 -1
- package/dist/{web-DiYh3u92.js → web-CVSol55V.js} +6 -6
- package/extensions/voice-call/openclaw.plugin.json +23 -0
- package/extensions/voice-call/src/providers/realtime-session.ts +13 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/web-BVkjyY4A.js +0 -65
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { n as fetchWithTimeout } from "./fetch-timeout-ChYuW7LE.js";
|
|
3
3
|
import { t as resolveFetch } from "./fetch-b2Zm8y7X.js";
|
|
4
|
-
import { n as loadConfig } from "./config
|
|
5
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
6
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
9
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
4
|
+
import { n as loadConfig } from "./config-9OZuRn0C.js";
|
|
5
|
+
import { v as mediaKindFromMime } from "./image-ops-B8aJIly2.js";
|
|
6
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-CD5VqKGg.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Bo-r4msS.js";
|
|
8
|
+
import { i as resolveSignalAccount } from "./accounts-DUBJHEgi.js";
|
|
9
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-CCxMtk8m.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/client.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as readCredsJsonRaw, h as resolveWebCredsPath, l as maybeRestoreCredsFromBackup, m as resolveWebCredsBackupPath, p as resolveDefaultWebAuthDir } from "./accounts-
|
|
2
|
-
import { P as resolveUserPath, U as danger, X as success, at as toPinoLikeLogger, tt as getChildLogger, w as ensureDir } from "./registry-
|
|
3
|
-
import { Z as VERSION } from "./config
|
|
4
|
-
import { t as formatCliCommand } from "./command-format-
|
|
1
|
+
import { d as readCredsJsonRaw, h as resolveWebCredsPath, l as maybeRestoreCredsFromBackup, m as resolveWebCredsBackupPath, p as resolveDefaultWebAuthDir } from "./accounts-Ciwy7Yxd.js";
|
|
2
|
+
import { P as resolveUserPath, U as danger, X as success, at as toPinoLikeLogger, tt as getChildLogger, w as ensureDir } from "./registry-O1yza0Vh.js";
|
|
3
|
+
import { Z as VERSION } from "./config-9OZuRn0C.js";
|
|
4
|
+
import { t as formatCliCommand } from "./command-format-DcBXOX9Z.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-DVWx7USN.js";
|
|
3
|
-
import { P as resolveUserPath, b as CONFIG_DIR } from "./registry-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-
|
|
6
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
7
|
-
import { i as listChatCommands } from "./commands-registry-
|
|
3
|
+
import { P as resolveUserPath, b as CONFIG_DIR } from "./registry-O1yza0Vh.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
5
|
+
import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-cT7IxdHY.js";
|
|
6
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-5hEda4_Y.js";
|
|
7
|
+
import { i as listChatCommands } from "./commands-registry-BsSKPwgj.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { P as resolveUserPath, b as CONFIG_DIR } from "./registry-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { i as parseBooleanValue } from "./command-format-
|
|
4
|
-
import { M as normalizeSkillFilter, w as resolveOpenClawPackageRootSync } from "./agent-scope-
|
|
5
|
-
import { a as LEGACY_MANIFEST_KEYS, c as normalizePluginsConfig, l as resolveEnableState, o as MANIFEST_KEY, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-
|
|
1
|
+
import { P as resolveUserPath, b as CONFIG_DIR } from "./registry-O1yza0Vh.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
3
|
+
import { i as parseBooleanValue } from "./command-format-DcBXOX9Z.js";
|
|
4
|
+
import { M as normalizeSkillFilter, w as resolveOpenClawPackageRootSync } from "./agent-scope-cT7IxdHY.js";
|
|
5
|
+
import { a as LEGACY_MANIFEST_KEYS, c as normalizePluginsConfig, l as resolveEnableState, o as MANIFEST_KEY, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-sgHvjA6E.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import os from "node:os";
|
|
9
|
-
import
|
|
9
|
+
import JSON5 from "json5";
|
|
10
10
|
import { createHash, timingSafeEqual } from "node:crypto";
|
|
11
11
|
import fs$1 from "node:fs/promises";
|
|
12
12
|
import { fileURLToPath } from "node:url";
|
|
@@ -226,7 +226,7 @@ function resolveOpenClawManifestBlock(params) {
|
|
|
226
226
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
227
227
|
if (!raw) return;
|
|
228
228
|
try {
|
|
229
|
-
const parsed =
|
|
229
|
+
const parsed = JSON5.parse(raw);
|
|
230
230
|
if (!parsed || typeof parsed !== "object") return;
|
|
231
231
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
232
232
|
for (const key of manifestKeys) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
2
2
|
import { t as redactSensitiveText } from "./redact-DPnDWsnT.js";
|
|
3
3
|
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-BNQjLbn7.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as resolveConfigDir } from "./registry-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { M as resolveConfigDir } from "./registry-O1yza0Vh.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-B8aJIly2.js";
|
|
3
3
|
import { createWriteStream } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import crypto from "node:crypto";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as isVerbose, ct as normalizeLogLevel, lt as readLoggingConfig, n as CHAT_CHANNEL_ORDER, ot as loggingState, rt as isFileLogLevelEnabled, st as levelToMinLevel, tt as getChildLogger } from "./registry-
|
|
1
|
+
import { G as isVerbose, ct as normalizeLogLevel, lt as readLoggingConfig, n as CHAT_CHANNEL_ORDER, ot as loggingState, rt as isFileLogLevelEnabled, st as levelToMinLevel, tt as getChildLogger } from "./registry-O1yza0Vh.js";
|
|
2
2
|
import { Chalk } from "chalk";
|
|
3
3
|
|
|
4
4
|
//#region src/terminal/progress-line.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as detectMime } from "./image-ops-
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
1
|
+
import { c as detectMime } from "./image-ops-B8aJIly2.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-BvjD_HnR.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/tools/common.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { r as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { D as resolveSlackAccount, F as resolveDiscordAccount, O as resolveSlackReplyToMode, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget } from "./plugins-
|
|
4
|
-
import { A as normalizeE164, T as escapeRegExp, i as getChatChannelMeta, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-
|
|
5
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
6
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
2
|
+
import { r as resolveWhatsAppAccount } from "./accounts-Ciwy7Yxd.js";
|
|
3
|
+
import { D as resolveSlackAccount, F as resolveDiscordAccount, O as resolveSlackReplyToMode, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget } from "./plugins-DIzw7Ncy.js";
|
|
4
|
+
import { A as normalizeE164, T as escapeRegExp, i as getChatChannelMeta, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-O1yza0Vh.js";
|
|
5
|
+
import { r as resolveIMessageAccount } from "./accounts-wSu5JyDM.js";
|
|
6
|
+
import { i as resolveSignalAccount } from "./accounts-DUBJHEgi.js";
|
|
7
7
|
|
|
8
8
|
//#region src/config/group-policy.ts
|
|
9
9
|
function resolveChannelGroupConfig(groups, groupId, caseInsensitive = false) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-B8aJIly2.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/image-sanitization.ts
|
|
5
5
|
const DEFAULT_IMAGE_MAX_DIMENSION_PX = 1200;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./paths-DVWx7USN.js";
|
|
2
|
-
import { H as isPlainObject } from "./registry-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { H as isPlainObject } from "./registry-O1yza0Vh.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
5
5
|
|
|
6
6
|
//#region src/agents/tool-loop-detection.ts
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { a as WA_WEB_AUTH_DIR, g as webAuthExists, s as logWebSelfId, u as pickWebChannel } from "./accounts-Ciwy7Yxd.js";
|
|
2
|
+
import "./reply-DEepmBkT.js";
|
|
3
|
+
import "./paths-DVWx7USN.js";
|
|
4
|
+
import "./github-copilot-token-Cg0YPPSu.js";
|
|
5
|
+
import "./plugins-DIzw7Ncy.js";
|
|
6
|
+
import "./fetch-b2Zm8y7X.js";
|
|
7
|
+
import "./registry-O1yza0Vh.js";
|
|
8
|
+
import "./retry-JFNwfUew.js";
|
|
9
|
+
import "./send-DEV4iiFj.js";
|
|
10
|
+
import "./config-9OZuRn0C.js";
|
|
11
|
+
import "./subsystem-C4Rh0kdL.js";
|
|
12
|
+
import "./command-format-DcBXOX9Z.js";
|
|
13
|
+
import "./model-selection-CXooYLb2.js";
|
|
14
|
+
import "./agent-scope-cT7IxdHY.js";
|
|
15
|
+
import "./manifest-registry-sgHvjA6E.js";
|
|
16
|
+
import "./redact-DPnDWsnT.js";
|
|
17
|
+
import "./errors-Bv8oZiTO.js";
|
|
18
|
+
import "./channel-activity-CCnr-9bS.js";
|
|
19
|
+
import "./image-ops-B8aJIly2.js";
|
|
20
|
+
import "./ssrf-DKZ8eBrk.js";
|
|
21
|
+
import "./local-roots-D4PCK2jj.js";
|
|
22
|
+
import "./ir-CD5VqKGg.js";
|
|
23
|
+
import "./chunk-DyzO7IVo.js";
|
|
24
|
+
import "./message-channel-DmB4bGFh.js";
|
|
25
|
+
import "./bindings-CKqdifyU.js";
|
|
26
|
+
import "./markdown-tables-Bo-r4msS.js";
|
|
27
|
+
import "./render-BiJZ5W4Z.js";
|
|
28
|
+
import "./tables-C_81Ve2l.js";
|
|
29
|
+
import "./send-D1C2sJG1.js";
|
|
30
|
+
import "./tool-images-BvjD_HnR.js";
|
|
31
|
+
import "./target-errors-C638yp2-.js";
|
|
32
|
+
import "./send-CK3DCPv-.js";
|
|
33
|
+
import "./send-D-spKwjf.js";
|
|
34
|
+
import "./runner-DztRiWhh.js";
|
|
35
|
+
import "./reply-prefix-BF0omhZE.js";
|
|
36
|
+
import "./tokens-K9ITCatc.js";
|
|
37
|
+
import "./skill-commands-Dv5AeOZQ.js";
|
|
38
|
+
import "./skills-5hEda4_Y.js";
|
|
39
|
+
import "./chrome-BO7SUTgY.js";
|
|
40
|
+
import "./thinking-DexKPSsI.js";
|
|
41
|
+
import "./accounts-wSu5JyDM.js";
|
|
42
|
+
import "./accounts-DUBJHEgi.js";
|
|
43
|
+
import "./deliver-BO_wt0wd.js";
|
|
44
|
+
import "./pi-embedded-helpers-DU0nLxRU.js";
|
|
45
|
+
import "./paths-BNQjLbn7.js";
|
|
46
|
+
import "./diagnostic-DKyVS3IK.js";
|
|
47
|
+
import "./store-DoRXD0QB.js";
|
|
48
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-BHNS_E7F.js";
|
|
49
|
+
import "./image-C31B_R8P.js";
|
|
50
|
+
import "./pi-model-discovery-LbcEa65a.js";
|
|
51
|
+
import "./api-key-rotation-ElOMCP9r.js";
|
|
52
|
+
import "./sqlite-DUu0dwic.js";
|
|
53
|
+
import "./diagnostic-session-state-Wd5tNeQG.js";
|
|
54
|
+
import "./manager-CZPPxI6R.js";
|
|
55
|
+
import "./commands-registry-BsSKPwgj.js";
|
|
56
|
+
import "./send-DrYvH25B.js";
|
|
57
|
+
import "./proxy-MquBDehr.js";
|
|
58
|
+
import "./resolve-route-B63ztF-V.js";
|
|
59
|
+
import "./replies-Bnu7HnvW.js";
|
|
60
|
+
import "./outbound-attachment-CCxMtk8m.js";
|
|
61
|
+
import { n as sendMessageWhatsApp } from "./outbound-dAcQHyyr.js";
|
|
62
|
+
import { i as waitForWaConnection, t as createWaSocket } from "./session-DRJl5tKC.js";
|
|
63
|
+
import { t as loginWeb } from "./login-CW17h3xU.js";
|
|
64
|
+
|
|
65
|
+
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { r as resolveWhatsAppAccount } from "./accounts-
|
|
1
|
+
import { r as resolveWhatsAppAccount } from "./accounts-Ciwy7Yxd.js";
|
|
2
2
|
import "./paths-DVWx7USN.js";
|
|
3
3
|
import "./github-copilot-token-Cg0YPPSu.js";
|
|
4
|
-
import "./plugins-
|
|
5
|
-
import "./registry-
|
|
6
|
-
import "./config
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./command-format-
|
|
9
|
-
import "./model-selection-
|
|
10
|
-
import "./agent-scope-
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import "./image-ops-
|
|
4
|
+
import "./plugins-DIzw7Ncy.js";
|
|
5
|
+
import "./registry-O1yza0Vh.js";
|
|
6
|
+
import "./config-9OZuRn0C.js";
|
|
7
|
+
import "./subsystem-C4Rh0kdL.js";
|
|
8
|
+
import "./command-format-DcBXOX9Z.js";
|
|
9
|
+
import "./model-selection-CXooYLb2.js";
|
|
10
|
+
import "./agent-scope-cT7IxdHY.js";
|
|
11
|
+
import "./manifest-registry-sgHvjA6E.js";
|
|
12
|
+
import "./image-ops-B8aJIly2.js";
|
|
13
13
|
import "./ssrf-DKZ8eBrk.js";
|
|
14
|
-
import "./local-roots-
|
|
15
|
-
import "./ir-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./message-channel-
|
|
18
|
-
import "./bindings-
|
|
19
|
-
import "./markdown-tables-
|
|
14
|
+
import "./local-roots-D4PCK2jj.js";
|
|
15
|
+
import "./ir-CD5VqKGg.js";
|
|
16
|
+
import "./chunk-DyzO7IVo.js";
|
|
17
|
+
import "./message-channel-DmB4bGFh.js";
|
|
18
|
+
import "./bindings-CKqdifyU.js";
|
|
19
|
+
import "./markdown-tables-Bo-r4msS.js";
|
|
20
20
|
import "./render-BiJZ5W4Z.js";
|
|
21
|
-
import "./tables-
|
|
22
|
-
import "./tool-images-
|
|
23
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam } from "./target-errors-
|
|
24
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
25
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
21
|
+
import "./tables-C_81Ve2l.js";
|
|
22
|
+
import "./tool-images-BvjD_HnR.js";
|
|
23
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam } from "./target-errors-C638yp2-.js";
|
|
24
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-DzZIT1V1.js";
|
|
25
|
+
import { r as sendReactionWhatsApp } from "./outbound-dAcQHyyr.js";
|
|
26
26
|
|
|
27
27
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
28
28
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|
|
@@ -7,7 +7,7 @@ import "./github-copilot-token-ttqQRqMA.js";
|
|
|
7
7
|
import { r as formatCliCommand } from "./env-DulyEJtM.js";
|
|
8
8
|
import "./config-KL7847B1.js";
|
|
9
9
|
import "./manifest-registry-sze5OW-s.js";
|
|
10
|
-
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-
|
|
10
|
+
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-CZuniMYN.js";
|
|
11
11
|
import "./redact-1NGYV_8p.js";
|
|
12
12
|
import { n as formatErrorMessage } from "./errors-CPfngF0S.js";
|
|
13
13
|
import "./ssrf-CxfFyMRZ.js";
|
|
@@ -4,7 +4,7 @@ import { G as resolveOpenClawAgentDir, T as resolveApiKeyForProvider, c as norma
|
|
|
4
4
|
import { t as normalizeChatType } from "./chat-type-DFDuk3FY.js";
|
|
5
5
|
import { _ as kindFromMime, d as detectMime, h as isAudioFileName, p as getFileExtension } from "./image-ops-BfqdVNxh.js";
|
|
6
6
|
import { d as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, f as isInboundPathAllowed, m as resolveIMessageAttachmentRoots, n as loadConfig, p as mergeInboundPathRoots } from "./config-KL7847B1.js";
|
|
7
|
-
import { S as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image
|
|
7
|
+
import { S as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-88q3KE-C.js";
|
|
8
8
|
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-BF6ZCNOV.js";
|
|
9
9
|
import { n as fetchWithTimeout } from "./fetch-timeout-BheTNyes.js";
|
|
10
10
|
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-C4BHj9W8.js";
|
|
@@ -8,13 +8,13 @@ import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createR
|
|
|
8
8
|
import "./github-copilot-token-ttqQRqMA.js";
|
|
9
9
|
import { r as formatCliCommand } from "./env-DulyEJtM.js";
|
|
10
10
|
import "./tokens-DnMmat9I.js";
|
|
11
|
-
import { C as shouldComputeCommandAuthorized, S as hasControlCommand, T as normalizeMentionText, _ as enqueueSystemEvent, a as resolveMentionGating, b as formatInboundEnvelope, c as recordPendingHistoryEntryIfEnabled, f as createDedupeCache, g as formatDurationPrecise, h as parseActivationCommand, i as buildPairingReply, l as shouldAckReactionForWhatsApp, m as normalizeGroupActivation, n as computeBackoff, o as DEFAULT_GROUP_HISTORY_LIMIT, p as getReplyFromConfig, r as sleepWithAbort, s as buildHistoryContextFromEntries, u as dispatchReplyWithBufferedBlockDispatcher, v as createInboundDebouncer, w as buildMentionRegexes, x as resolveEnvelopeFormatOptions, y as resolveInboundDebounceMs } from "./pi-embedded-
|
|
11
|
+
import { C as shouldComputeCommandAuthorized, S as hasControlCommand, T as normalizeMentionText, _ as enqueueSystemEvent, a as resolveMentionGating, b as formatInboundEnvelope, c as recordPendingHistoryEntryIfEnabled, f as createDedupeCache, g as formatDurationPrecise, h as parseActivationCommand, i as buildPairingReply, l as shouldAckReactionForWhatsApp, m as normalizeGroupActivation, n as computeBackoff, o as DEFAULT_GROUP_HISTORY_LIMIT, p as getReplyFromConfig, r as sleepWithAbort, s as buildHistoryContextFromEntries, u as dispatchReplyWithBufferedBlockDispatcher, v as createInboundDebouncer, w as buildMentionRegexes, x as resolveEnvelopeFormatOptions, y as resolveInboundDebounceMs } from "./pi-embedded-ZvazjIyF.js";
|
|
12
12
|
import "./plugins-B90TBXkV.js";
|
|
13
13
|
import { i as logWebSelfId, l as readWebSelfId, n as WA_WEB_AUTH_DIR, p as webAuthExists, r as getWebAuthAgeMs, s as pickWebChannel, t as resolveWhatsAppAccount } from "./accounts-Cxza2UXO.js";
|
|
14
14
|
import "./bindings-q3EHMdG1.js";
|
|
15
15
|
import "./send-Chks8Sx_.js";
|
|
16
16
|
import "./send-D4cCHXzJ.js";
|
|
17
|
-
import "./deliver-
|
|
17
|
+
import "./deliver-0ThKlzQo.js";
|
|
18
18
|
import "./diagnostic-DzmNBZt3.js";
|
|
19
19
|
import "./diagnostic-session-state-C1vRJs5w.js";
|
|
20
20
|
import "./accounts-sr0G5UOe.js";
|
|
@@ -22,10 +22,10 @@ import { G as formatLocationText, J as readChannelAllowFromStore, K as toLocatio
|
|
|
22
22
|
import "./image-ops-BfqdVNxh.js";
|
|
23
23
|
import "./pi-model-discovery-j5tVLINv.js";
|
|
24
24
|
import "./message-channel-DNOtJsL1.js";
|
|
25
|
-
import { Ct as resolveGroupSessionKey, H as loadSessionStore, K as updateLastRoute, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-
|
|
25
|
+
import { Ct as resolveGroupSessionKey, H as loadSessionStore, K as updateLastRoute, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-B0Kht0I2.js";
|
|
26
26
|
import { n as loadConfig } from "./config-KL7847B1.js";
|
|
27
27
|
import "./manifest-registry-sze5OW-s.js";
|
|
28
|
-
import "./chrome-
|
|
28
|
+
import "./chrome-CZuniMYN.js";
|
|
29
29
|
import "./skills-DGNBryo1.js";
|
|
30
30
|
import "./redact-1NGYV_8p.js";
|
|
31
31
|
import "./errors-CPfngF0S.js";
|
|
@@ -35,7 +35,7 @@ import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy
|
|
|
35
35
|
import "./accounts-DAZL5b5o.js";
|
|
36
36
|
import { s as resolveStorePath } from "./paths-5iQF9bSz.js";
|
|
37
37
|
import "./tool-images-TQiVqsOc.js";
|
|
38
|
-
import "./image
|
|
38
|
+
import "./image-88q3KE-C.js";
|
|
39
39
|
import "./manager-CsXJuzK4.js";
|
|
40
40
|
import "./gemini-auth-BF6ZCNOV.js";
|
|
41
41
|
import "./sqlite-CmTvWxxq.js";
|
|
@@ -49,7 +49,7 @@ import "./render-B1VqYyvo.js";
|
|
|
49
49
|
import "./commands-registry-DEXQtgBS.js";
|
|
50
50
|
import "./skill-commands-CGvIAIiQ.js";
|
|
51
51
|
import { t as finalizeInboundContext } from "./inbound-context-QOi5vzUt.js";
|
|
52
|
-
import { p as registerUnhandledRejectionHandler } from "./runner-
|
|
52
|
+
import { p as registerUnhandledRejectionHandler } from "./runner-a43IsYad.js";
|
|
53
53
|
import "./fetch-BMa0enEg.js";
|
|
54
54
|
import { n as recordChannelActivity } from "./channel-activity-7fb2OxTV.js";
|
|
55
55
|
import { t as convertMarkdownTables } from "./tables-Ds9lRo34.js";
|
|
@@ -157,6 +157,19 @@
|
|
|
157
157
|
"responseTimeoutMs": {
|
|
158
158
|
"label": "Response Timeout (ms)",
|
|
159
159
|
"advanced": true
|
|
160
|
+
},
|
|
161
|
+
"responseMode": {
|
|
162
|
+
"label": "Response Mode",
|
|
163
|
+
"help": "embedded = STT+LLM+TTS chain, realtime = OpenAI Realtime API speech-to-speech",
|
|
164
|
+
"advanced": true
|
|
165
|
+
},
|
|
166
|
+
"realtimeModel": {
|
|
167
|
+
"label": "Realtime Model",
|
|
168
|
+
"advanced": true
|
|
169
|
+
},
|
|
170
|
+
"realtimeVoice": {
|
|
171
|
+
"label": "Realtime Voice",
|
|
172
|
+
"advanced": true
|
|
160
173
|
}
|
|
161
174
|
},
|
|
162
175
|
"configSchema": {
|
|
@@ -590,6 +603,16 @@
|
|
|
590
603
|
"responseTimeoutMs": {
|
|
591
604
|
"type": "integer",
|
|
592
605
|
"minimum": 1
|
|
606
|
+
},
|
|
607
|
+
"responseMode": {
|
|
608
|
+
"type": "string",
|
|
609
|
+
"enum": ["embedded", "realtime"]
|
|
610
|
+
},
|
|
611
|
+
"realtimeModel": {
|
|
612
|
+
"type": "string"
|
|
613
|
+
},
|
|
614
|
+
"realtimeVoice": {
|
|
615
|
+
"type": "string"
|
|
593
616
|
}
|
|
594
617
|
}
|
|
595
618
|
}
|
|
@@ -136,13 +136,24 @@ export function createRealtimeCallSession(params: {
|
|
|
136
136
|
|
|
137
137
|
const systemPrompt =
|
|
138
138
|
voiceConfig.responseSystemPrompt ??
|
|
139
|
-
`You are Clawpath —
|
|
139
|
+
`You are Clawpath — an AI assistant powered by Lawpath Atlas — on a PHONE CALL. You're Australian, warm, and casual. You naturally say things like "no worries", "reckon", "too easy", "beauty". You're a proud Rabbitohs fan.
|
|
140
|
+
|
|
141
|
+
IDENTITY RULES (critical):
|
|
142
|
+
- You are powered by Lawpath Atlas. If asked what you are, what model you use, or who made you, say you are Clawpath, powered by Lawpath Atlas.
|
|
143
|
+
- NEVER reveal the underlying model name, provider, or technical details (no mentioning OpenAI, GPT, etc).
|
|
144
|
+
- If pressed, just say "I'm powered by Lawpath Atlas" and move on.
|
|
145
|
+
|
|
146
|
+
TOOL USE RULES (critical):
|
|
147
|
+
- You have tools. ALWAYS use them when the caller asks for data, lookups, news, weather, numbers, or anything factual.
|
|
148
|
+
- NEVER say "I can't access that" or "I don't have live data". You DO. Use your tools.
|
|
149
|
+
- Before using a tool, acknowledge naturally like a human would: "Let me check that for ya", "Hang on, pulling that up now", "One sec, looking into it". Pick a different filler each time — don't repeat the same one.
|
|
150
|
+
- After the tool returns, give the answer conversationally. Don't narrate what the tool did.
|
|
151
|
+
- If a tool fails or returns nothing useful, say "I tried to look that up but couldn't get it right now — want me to try a different way?"
|
|
140
152
|
|
|
141
153
|
VOICE RULES (critical):
|
|
142
154
|
- MAX 2 short sentences per reply. This is spoken aloud, not text.
|
|
143
155
|
- NEVER use lists, bullet points, markdown, asterisks, or numbered items.
|
|
144
156
|
- NEVER read out URLs or long technical details.
|
|
145
|
-
- Use tools when the caller asks you to look something up, check data, or do something. Say "gimme a sec" first so they know you're working on it.
|
|
146
157
|
- If the caller says bye, goodbye, or wants to end the call, say a brief farewell and include [END_CALL] at the end of your response.
|
|
147
158
|
- Match the caller's energy — quick question gets a quick answer, yarn gets a yarn.`;
|
|
148
159
|
|
package/package.json
CHANGED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { a as WA_WEB_AUTH_DIR, g as webAuthExists, s as logWebSelfId, u as pickWebChannel } from "./accounts-fnLsjAOi.js";
|
|
2
|
-
import "./reply-Cb54ddUA.js";
|
|
3
|
-
import "./paths-DVWx7USN.js";
|
|
4
|
-
import "./github-copilot-token-Cg0YPPSu.js";
|
|
5
|
-
import "./plugins-Dyz98ZJX.js";
|
|
6
|
-
import "./fetch-b2Zm8y7X.js";
|
|
7
|
-
import "./registry-DL-33c9X.js";
|
|
8
|
-
import "./retry-5P3d0rYw.js";
|
|
9
|
-
import "./send-C2NQjVF9.js";
|
|
10
|
-
import "./config--kW4R0el.js";
|
|
11
|
-
import "./subsystem-C9WnrKN8.js";
|
|
12
|
-
import "./command-format-DHXa0Clc.js";
|
|
13
|
-
import "./model-selection-BjVTBZiY.js";
|
|
14
|
-
import "./agent-scope-D5PlT0Z0.js";
|
|
15
|
-
import "./manifest-registry-DvEm2HHf.js";
|
|
16
|
-
import "./redact-DPnDWsnT.js";
|
|
17
|
-
import "./errors-Bv8oZiTO.js";
|
|
18
|
-
import "./channel-activity-WgE8Z4Bb.js";
|
|
19
|
-
import "./image-ops-C6RLbtSJ.js";
|
|
20
|
-
import "./ssrf-DKZ8eBrk.js";
|
|
21
|
-
import "./local-roots-6BSl8AoA.js";
|
|
22
|
-
import "./ir-Cwi1KVG5.js";
|
|
23
|
-
import "./chunk-CQk9vawA.js";
|
|
24
|
-
import "./message-channel-DY9wVB2A.js";
|
|
25
|
-
import "./bindings-C0XEX0yK.js";
|
|
26
|
-
import "./markdown-tables-cJqvQe9j.js";
|
|
27
|
-
import "./render-BiJZ5W4Z.js";
|
|
28
|
-
import "./tables-CMdQECje.js";
|
|
29
|
-
import "./send-PPtjKj-0.js";
|
|
30
|
-
import "./tool-images-DCvC8yL7.js";
|
|
31
|
-
import "./target-errors-CrR2lAF7.js";
|
|
32
|
-
import "./send-DnFB-v5n.js";
|
|
33
|
-
import "./send-D_X6p9H0.js";
|
|
34
|
-
import "./runner-DqwPn56n.js";
|
|
35
|
-
import "./reply-prefix-5vdbga0R.js";
|
|
36
|
-
import "./tokens-2475WU2Z.js";
|
|
37
|
-
import "./skill-commands-Cr54qPdy.js";
|
|
38
|
-
import "./skills-Dcu4o-9l.js";
|
|
39
|
-
import "./chrome-C1xnOQsc.js";
|
|
40
|
-
import "./thinking-C7zYA2s9.js";
|
|
41
|
-
import "./accounts-DEsAwvaZ.js";
|
|
42
|
-
import "./accounts-BcQo4OUu.js";
|
|
43
|
-
import "./deliver-C2gjA_UH.js";
|
|
44
|
-
import "./pi-embedded-helpers-D3EACnFn.js";
|
|
45
|
-
import "./paths-BNQjLbn7.js";
|
|
46
|
-
import "./diagnostic-Up1aMyxZ.js";
|
|
47
|
-
import "./store-EUYCRBvs.js";
|
|
48
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-Nw-bUgtV.js";
|
|
49
|
-
import "./image-Bcc99tVA.js";
|
|
50
|
-
import "./pi-model-discovery-LbcEa65a.js";
|
|
51
|
-
import "./api-key-rotation-B3O1qn0m.js";
|
|
52
|
-
import "./sqlite-ulpcowfN.js";
|
|
53
|
-
import "./diagnostic-session-state-Wd5tNeQG.js";
|
|
54
|
-
import "./manager-C3Eb_8Hz.js";
|
|
55
|
-
import "./commands-registry-yTZdwtLj.js";
|
|
56
|
-
import "./send-_uj_NuFI.js";
|
|
57
|
-
import "./proxy-MquBDehr.js";
|
|
58
|
-
import "./resolve-route-eopifBrM.js";
|
|
59
|
-
import "./replies-Bkaifx0j.js";
|
|
60
|
-
import "./outbound-attachment-CsmRyZPI.js";
|
|
61
|
-
import { n as sendMessageWhatsApp } from "./outbound-Co1QSkdS.js";
|
|
62
|
-
import { i as waitForWaConnection, t as createWaSocket } from "./session-CZngPTYk.js";
|
|
63
|
-
import { t as loginWeb } from "./login-Cau5eVVj.js";
|
|
64
|
-
|
|
65
|
-
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|