@lawpath-tech/openclaw 2026.2.21-27 → 2026.2.21-29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-DQo5uGA3.js → accounts-C8m4ADkw.js} +14 -14
- package/dist/{accounts-CJEDkyd7.js → accounts-CQT5u65w.js} +1 -1
- package/dist/{accounts-CaJg9v7D.js → accounts-DFrH9IVU.js} +1 -1
- package/dist/{active-listener-Bhmh-BBe.js → active-listener-BKTctYlH.js} +1 -1
- package/dist/{agent-scope-DiO1KimT.js → agent-scope-DSUeV7-g.js} +3 -3
- package/dist/{audio-preflight-PCEdzoV0.js → audio-preflight-CLqoZYgI.js} +29 -29
- package/dist/{bindings-CEJk9Gww.js → bindings-BKEEBdsb.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +53 -53
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +53 -53
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-pOw1s-fe.js → channel-activity-BgsTqLau.js} +1 -1
- package/dist/{chrome-DcmLXeT1.js → chrome-Bqbv_ZSj.js} +20 -20
- package/dist/{chunk-BkGjWi6P.js → chunk-fZrBDWYg.js} +1 -1
- package/dist/{command-format-CM0AxuCk.js → command-format-BOHIfoCX.js} +1 -1
- package/dist/{commands-registry-C0QzohKU.js → commands-registry-BzlB3qtZ.js} +4 -4
- package/dist/{config-7ClJ9IDt.js → config-Du_-inxH.js} +12 -12
- package/dist/{deliver-RhV3c93M.js → deliver-CKH_FhS0.js} +20 -20
- package/dist/{diagnostic-DTfVTKJM.js → diagnostic-DriDPU6M.js} +1 -1
- package/dist/{frontmatter-Dab6NVCF.js → frontmatter-CdkBcBAo.js} +2 -2
- package/dist/{gemini-auth-CnEqRhSo.js → gemini-auth-A2JaRMHH.js} +1 -1
- package/dist/{github-copilot-token-DAycnoAs.js → github-copilot-token-Dgb9dAHW.js} +7 -7
- package/dist/{image-COCyG_gz.js → image-CxPjVob-.js} +4 -4
- package/dist/{image-ops-D-bh1BTN.js → image-ops-BGmpOcey.js} +1 -1
- package/dist/{ir-j1Xb0PNv.js → ir-DJPm0a4k.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-Dx32AY60.js → local-roots-JqlMsAYY.js} +5 -5
- package/dist/{login-CLQskGt7.js → login-DXtAIVXy.js} +7 -7
- package/dist/{login-qr-CxZVehrh.js → login-qr-D0A3WDBN.js} +12 -12
- package/dist/{manager-C6KdjXEH.js → manager-D7SRrHxT.js} +13 -13
- package/dist/{manifest-registry-D31TP66o.js → manifest-registry-Dhk4A5vb.js} +19 -19
- package/dist/{markdown-tables-BOmw5zkp.js → markdown-tables-DpVJE0eA.js} +1 -1
- package/dist/{message-channel-BckS8bQ9.js → message-channel-CHYSjmbr.js} +1 -1
- package/dist/{model-auth-C-Vzzybi.js → model-auth-vtNH8C4P.js} +9 -9
- package/dist/{outbound-Bk0PGZ1q.js → outbound-BWgFha97.js} +7 -7
- package/dist/{outbound-attachment-CHLSsIj_.js → outbound-attachment-B8WHzsCX.js} +2 -2
- package/dist/{paths-Cv2Q0cX2.js → paths-BEAbheM8.js} +1 -1
- package/dist/{paths-CkkDESQ2.js → paths-CyR9Pa1R.js} +5 -5
- package/dist/{pi-auth-json-DzcwV2uo.js → pi-auth-json-BiwfFswL.js} +8 -8
- package/dist/{pi-embedded-13CLN75T.js → pi-embedded-Dz24QZz9.js} +162 -162
- package/dist/{pi-embedded-helpers-HpusHn6J.js → pi-embedded-helpers-CSE0v99A.js} +52 -52
- package/dist/{plugins-Bf_qBfZ7.js → plugins-DIrNa311.js} +9 -9
- package/dist/{pw-ai-B4NkhpRH.js → pw-ai-D-_aGzdQ.js} +11 -11
- package/dist/{qmd-manager-DVrv2Huu.js → qmd-manager-DePh-PT0.js} +7 -7
- package/dist/{registry-wimgwqAA.js → registry-DpeZG5fo.js} +18 -18
- package/dist/{replies-DuQ9MtQM.js → replies-CSVWkVda.js} +3 -3
- package/dist/{reply-prefix-B_1VtLm5.js → reply-prefix-DZrS3Kf7.js} +1 -1
- package/dist/{resolve-route-CSE9DZsB.js → resolve-route-1ar2IrQt.js} +4 -4
- package/dist/{retry-DwLEH9x4.js → retry-Bdu4_ZcT.js} +1 -1
- package/dist/{runner-BjLlUYe1.js → runner-D1eXJZ8T.js} +9 -9
- package/dist/{send-DrfA4RxA.js → send-BEFzSOoD.js} +10 -10
- package/dist/{send-CEP4RX_l.js → send-BeWYOs1x.js} +7 -7
- package/dist/{send-CMeyW_Bu.js → send-Byt_wJDK.js} +6 -6
- package/dist/{send-CdIaqNP6.js → send-CWtaJF1G.js} +18 -18
- package/dist/{send-BCt1G0xY.js → send-DPVf5tQ4.js} +6 -6
- package/dist/{session-CQ9JJgSo.js → session-Bnp7PC7f.js} +8 -8
- package/dist/{skill-commands-CwFNOYqC.js → skill-commands-CqyVDpti.js} +9 -9
- package/dist/{skills-C8xf0p1B.js → skills-DSZuhFx9.js} +21 -21
- package/dist/{sqlite-B6SD9PTM.js → sqlite-C3XxSzBN.js} +4 -4
- package/dist/{store-VFVAfYgh.js → store-BrNiRjgB.js} +2 -2
- package/dist/{subsystem-BEdh_1O5.js → subsystem-BF9jT_Nw.js} +1 -1
- package/dist/{tables-QNO5uMcm.js → tables-C3clT_iA.js} +1 -1
- package/dist/{target-errors-DD2466Y6.js → target-errors-ChHV8dPI.js} +2 -2
- package/dist/{thinking-BZFf1juV.js → thinking-Dg8vKjw_.js} +5 -5
- package/dist/{tokens-GCiqN5mi.js → tokens-B-c56SkM.js} +1 -1
- package/dist/{tool-images-D0sBSASn.js → tool-images-C1rdDr34.js} +2 -2
- package/dist/{tool-loop-detection-BPAeTbUj.js → tool-loop-detection-Bu3OGskw.js} +3 -3
- package/dist/{web-5rulK8WV.js → web-Y49Dumye.js} +57 -57
- package/dist/{whatsapp-actions-kX73ghOz.js → whatsapp-actions-DFZYzkBp.js} +23 -23
- package/dist/{workspace-CH9k4Qgz.js → workspace-DYx5Dxtw.js} +6 -6
- package/extensions/voice-call/src/providers/realtime-session.ts +46 -107
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { J as logVerbose } from "./registry-
|
|
3
|
-
import { d as resolveSlackAccount, m as resolveSlackBotToken } from "./plugins-
|
|
2
|
+
import { J as logVerbose } from "./registry-DpeZG5fo.js";
|
|
3
|
+
import { d as resolveSlackAccount, m as resolveSlackBotToken } from "./plugins-DIrNa311.js";
|
|
4
4
|
import { a as requireTargetKind, i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-CFovdgJI.js";
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
6
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
5
|
+
import { n as loadConfig } from "./config-Du_-inxH.js";
|
|
6
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-fZrBDWYg.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DpVJE0eA.js";
|
|
8
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-DJPm0a4k.js";
|
|
9
9
|
import { t as renderMarkdownWithMarkers } from "./render-CDCvpfhh.js";
|
|
10
10
|
import { WebClient } from "@slack/web-api";
|
|
11
11
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { a as resolveOAuthDir, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-
|
|
3
|
-
import { G as danger, J as logVerbose, L as safeParseJson } from "./registry-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { l as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
6
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
7
|
-
import { g as isGifMedia, p as getFileExtension, v as normalizeMimeType, x as mediaKindFromMime } from "./image-ops-
|
|
8
|
-
import { b as withFileLock$1 } from "./model-auth-
|
|
9
|
-
import { n as loadConfig } from "./config-
|
|
2
|
+
import { a as resolveOAuthDir, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-CyR9Pa1R.js";
|
|
3
|
+
import { G as danger, J as logVerbose, L as safeParseJson } from "./registry-DpeZG5fo.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-BF9jT_Nw.js";
|
|
5
|
+
import { l as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DIrNa311.js";
|
|
6
|
+
import { r as isTruthyEnvValue } from "./command-format-BOHIfoCX.js";
|
|
7
|
+
import { g as isGifMedia, p as getFileExtension, v as normalizeMimeType, x as mediaKindFromMime } from "./image-ops-BGmpOcey.js";
|
|
8
|
+
import { b as withFileLock$1 } from "./model-auth-vtNH8C4P.js";
|
|
9
|
+
import { n as loadConfig } from "./config-Du_-inxH.js";
|
|
10
10
|
import { t as redactSensitiveText } from "./redact-jSxx6Ep2.js";
|
|
11
11
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-BoQgnc8X.js";
|
|
12
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
13
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DpVJE0eA.js";
|
|
13
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-DJPm0a4k.js";
|
|
14
14
|
import { t as renderMarkdownWithMarkers } from "./render-CDCvpfhh.js";
|
|
15
15
|
import { t as resolveFetch } from "./fetch-DtI0mtzx.js";
|
|
16
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
16
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-BgsTqLau.js";
|
|
17
17
|
import { n as normalizePollInput } from "./polls-CCuCaqgv.js";
|
|
18
18
|
import { t as makeProxyFetch } from "./proxy-CBJ1upuz.js";
|
|
19
19
|
import os from "node:os";
|
|
20
20
|
import path from "node:path";
|
|
21
|
-
import
|
|
21
|
+
import fs from "node:fs";
|
|
22
22
|
import crypto from "node:crypto";
|
|
23
23
|
import process$1 from "node:process";
|
|
24
24
|
import * as net$1 from "node:net";
|
|
@@ -131,7 +131,7 @@ function getPairingAdapter(channelId) {
|
|
|
131
131
|
//#region src/plugin-sdk/json-store.ts
|
|
132
132
|
async function readJsonFileWithFallback(filePath, fallback) {
|
|
133
133
|
try {
|
|
134
|
-
const parsed = safeParseJson(await
|
|
134
|
+
const parsed = safeParseJson(await fs.promises.readFile(filePath, "utf-8"));
|
|
135
135
|
if (parsed == null) return {
|
|
136
136
|
value: fallback,
|
|
137
137
|
exists: true
|
|
@@ -153,14 +153,14 @@ async function readJsonFileWithFallback(filePath, fallback) {
|
|
|
153
153
|
}
|
|
154
154
|
async function writeJsonFileAtomically(filePath, value) {
|
|
155
155
|
const dir = path.dirname(filePath);
|
|
156
|
-
await
|
|
156
|
+
await fs.promises.mkdir(dir, {
|
|
157
157
|
recursive: true,
|
|
158
158
|
mode: 448
|
|
159
159
|
});
|
|
160
160
|
const tmp = path.join(dir, `${path.basename(filePath)}.${crypto.randomUUID()}.tmp`);
|
|
161
|
-
await
|
|
162
|
-
await
|
|
163
|
-
await
|
|
161
|
+
await fs.promises.writeFile(tmp, `${JSON.stringify(value, null, 2)}\n`, { encoding: "utf-8" });
|
|
162
|
+
await fs.promises.chmod(tmp, 384);
|
|
163
|
+
await fs.promises.rename(tmp, filePath);
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
//#endregion
|
|
@@ -221,7 +221,7 @@ async function readPairingRequests(filePath) {
|
|
|
221
221
|
}
|
|
222
222
|
async function ensureJsonFile(filePath, fallback) {
|
|
223
223
|
try {
|
|
224
|
-
await
|
|
224
|
+
await fs.promises.access(filePath);
|
|
225
225
|
} catch {
|
|
226
226
|
await writeJsonFile(filePath, fallback);
|
|
227
227
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
3
|
-
import { x as mediaKindFromMime } from "./image-ops-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
2
|
+
import { n as resolveSignalAccount } from "./accounts-CQT5u65w.js";
|
|
3
|
+
import { x as mediaKindFromMime } from "./image-ops-BGmpOcey.js";
|
|
4
|
+
import { n as loadConfig } from "./config-Du_-inxH.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DpVJE0eA.js";
|
|
6
6
|
import { n as fetchWithTimeout } from "./fetch-timeout-DL3f_O53.js";
|
|
7
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
7
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-DJPm0a4k.js";
|
|
8
8
|
import { t as resolveFetch } from "./fetch-DtI0mtzx.js";
|
|
9
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
9
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-B8WHzsCX.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/format.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as ensureDir, G as danger, I as resolveUserPath, Q as success, ot as toPinoLikeLogger, rt as getChildLogger } from "./registry-
|
|
2
|
-
import { c as readCredsJsonRaw, d as resolveWebCredsBackupPath, f as resolveWebCredsPath, o as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./accounts-
|
|
3
|
-
import { t as formatCliCommand } from "./command-format-
|
|
4
|
-
import { A as VERSION } from "./config-
|
|
5
|
-
import
|
|
1
|
+
import { E as ensureDir, G as danger, I as resolveUserPath, Q as success, ot as toPinoLikeLogger, rt as getChildLogger } from "./registry-DpeZG5fo.js";
|
|
2
|
+
import { c as readCredsJsonRaw, d as resolveWebCredsBackupPath, f as resolveWebCredsPath, o as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./accounts-C8m4ADkw.js";
|
|
3
|
+
import { t as formatCliCommand } from "./command-format-BOHIfoCX.js";
|
|
4
|
+
import { A as VERSION } from "./config-Du_-inxH.js";
|
|
5
|
+
import fs from "node:fs";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
8
8
|
import qrcode from "qrcode-terminal";
|
|
@@ -21,16 +21,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
|
21
21
|
const raw = readCredsJsonRaw(credsPath);
|
|
22
22
|
if (raw) try {
|
|
23
23
|
JSON.parse(raw);
|
|
24
|
-
|
|
24
|
+
fs.copyFileSync(credsPath, backupPath);
|
|
25
25
|
try {
|
|
26
|
-
|
|
26
|
+
fs.chmodSync(backupPath, 384);
|
|
27
27
|
} catch {}
|
|
28
28
|
} catch {}
|
|
29
29
|
} catch {}
|
|
30
30
|
try {
|
|
31
31
|
await Promise.resolve(saveCreds());
|
|
32
32
|
try {
|
|
33
|
-
|
|
33
|
+
fs.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
34
34
|
} catch {}
|
|
35
35
|
} catch (err) {
|
|
36
36
|
logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as resolveStateDir } from "./paths-
|
|
3
|
-
import { I as resolveUserPath, S as CONFIG_DIR } from "./registry-
|
|
4
|
-
import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
7
|
-
import { i as listChatCommands } from "./commands-registry-
|
|
2
|
+
import { s as resolveStateDir } from "./paths-CyR9Pa1R.js";
|
|
3
|
+
import { I as resolveUserPath, S as CONFIG_DIR } from "./registry-DpeZG5fo.js";
|
|
4
|
+
import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-DSUeV7-g.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-BF9jT_Nw.js";
|
|
6
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-DSZuhFx9.js";
|
|
7
|
+
import { i as listChatCommands } from "./commands-registry-BzlB3qtZ.js";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import fs$1 from "node:fs";
|
|
12
12
|
import { randomUUID } from "node:crypto";
|
|
13
13
|
import chokidar from "chokidar";
|
|
14
14
|
|
|
@@ -283,8 +283,8 @@ function listSkillCommandsForAgents(params) {
|
|
|
283
283
|
const visitedDirs = /* @__PURE__ */ new Set();
|
|
284
284
|
for (const agentId of agentIds) {
|
|
285
285
|
const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
|
|
286
|
-
if (!
|
|
287
|
-
const canonicalDir =
|
|
286
|
+
if (!fs$1.existsSync(workspaceDir)) continue;
|
|
287
|
+
const canonicalDir = fs$1.realpathSync(workspaceDir);
|
|
288
288
|
if (visitedDirs.has(canonicalDir)) continue;
|
|
289
289
|
visitedDirs.add(canonicalDir);
|
|
290
290
|
const commands = buildWorkspaceSkillCommandSpecs(workspaceDir, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { I as resolveUserPath, S as CONFIG_DIR } from "./registry-
|
|
2
|
-
import { f as normalizeSkillFilter } from "./agent-scope-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { h as resolveOpenClawPackageRootSync } from "./workspace-
|
|
5
|
-
import { c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-
|
|
6
|
-
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, p as resolveRuntimePlatform, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeRequires } from "./frontmatter-
|
|
1
|
+
import { I as resolveUserPath, S as CONFIG_DIR } from "./registry-DpeZG5fo.js";
|
|
2
|
+
import { f as normalizeSkillFilter } from "./agent-scope-DSUeV7-g.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-BF9jT_Nw.js";
|
|
4
|
+
import { h as resolveOpenClawPackageRootSync } from "./workspace-DYx5Dxtw.js";
|
|
5
|
+
import { c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-Dhk4A5vb.js";
|
|
6
|
+
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, p as resolveRuntimePlatform, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeRequires } from "./frontmatter-CdkBcBAo.js";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
|
-
import
|
|
10
|
+
import fs$1 from "node:fs";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
12
12
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
13
13
|
|
|
@@ -424,13 +424,13 @@ function shortPath(value) {
|
|
|
424
424
|
//#region src/agents/skills/bundled-dir.ts
|
|
425
425
|
function looksLikeSkillsDir(dir) {
|
|
426
426
|
try {
|
|
427
|
-
const entries =
|
|
427
|
+
const entries = fs$1.readdirSync(dir, { withFileTypes: true });
|
|
428
428
|
for (const entry of entries) {
|
|
429
429
|
if (entry.name.startsWith(".")) continue;
|
|
430
430
|
const fullPath = path.join(dir, entry.name);
|
|
431
431
|
if (entry.isFile() && entry.name.endsWith(".md")) return true;
|
|
432
432
|
if (entry.isDirectory()) {
|
|
433
|
-
if (
|
|
433
|
+
if (fs$1.existsSync(path.join(fullPath, "SKILL.md"))) return true;
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
} catch {
|
|
@@ -445,7 +445,7 @@ function resolveBundledSkillsDir(opts = {}) {
|
|
|
445
445
|
const execPath = opts.execPath ?? process.execPath;
|
|
446
446
|
const execDir = path.dirname(execPath);
|
|
447
447
|
const sibling = path.join(execDir, "skills");
|
|
448
|
-
if (
|
|
448
|
+
if (fs$1.existsSync(sibling)) return sibling;
|
|
449
449
|
} catch {}
|
|
450
450
|
try {
|
|
451
451
|
const moduleUrl = opts.moduleUrl ?? import.meta.url;
|
|
@@ -501,7 +501,7 @@ function resolvePluginSkillDirs(params) {
|
|
|
501
501
|
const trimmed = raw.trim();
|
|
502
502
|
if (!trimmed) continue;
|
|
503
503
|
const candidate = path.resolve(record.rootDir, trimmed);
|
|
504
|
-
if (!
|
|
504
|
+
if (!fs$1.existsSync(candidate)) {
|
|
505
505
|
log.warn(`plugin skill path not found (${record.id}): ${candidate}`);
|
|
506
506
|
continue;
|
|
507
507
|
}
|
|
@@ -528,7 +528,7 @@ async function serializeByKey(key, task) {
|
|
|
528
528
|
|
|
529
529
|
//#endregion
|
|
530
530
|
//#region src/agents/skills/workspace.ts
|
|
531
|
-
const fsp =
|
|
531
|
+
const fsp = fs$1.promises;
|
|
532
532
|
const skillsLogger = createSubsystemLogger("skills");
|
|
533
533
|
const skillCommandDebugOnce = /* @__PURE__ */ new Set();
|
|
534
534
|
/**
|
|
@@ -605,7 +605,7 @@ function resolveSkillsLimits(config) {
|
|
|
605
605
|
}
|
|
606
606
|
function listChildDirectories(dir) {
|
|
607
607
|
try {
|
|
608
|
-
const entries =
|
|
608
|
+
const entries = fs$1.readdirSync(dir, { withFileTypes: true });
|
|
609
609
|
const dirs = [];
|
|
610
610
|
for (const entry of entries) {
|
|
611
611
|
if (entry.name.startsWith(".")) continue;
|
|
@@ -616,7 +616,7 @@ function listChildDirectories(dir) {
|
|
|
616
616
|
continue;
|
|
617
617
|
}
|
|
618
618
|
if (entry.isSymbolicLink()) try {
|
|
619
|
-
if (
|
|
619
|
+
if (fs$1.statSync(fullPath).isDirectory()) dirs.push(entry.name);
|
|
620
620
|
} catch {}
|
|
621
621
|
}
|
|
622
622
|
return dirs;
|
|
@@ -627,7 +627,7 @@ function listChildDirectories(dir) {
|
|
|
627
627
|
function resolveNestedSkillsRoot(dir, opts) {
|
|
628
628
|
const nested = path.join(dir, "skills");
|
|
629
629
|
try {
|
|
630
|
-
if (!
|
|
630
|
+
if (!fs$1.existsSync(nested) || !fs$1.statSync(nested).isDirectory()) return { baseDir: dir };
|
|
631
631
|
} catch {
|
|
632
632
|
return { baseDir: dir };
|
|
633
633
|
}
|
|
@@ -636,7 +636,7 @@ function resolveNestedSkillsRoot(dir, opts) {
|
|
|
636
636
|
const toScan = scanLimit === 0 ? [] : nestedDirs.slice(0, Math.min(nestedDirs.length, scanLimit));
|
|
637
637
|
for (const name of toScan) {
|
|
638
638
|
const skillMd = path.join(nested, name, "SKILL.md");
|
|
639
|
-
if (
|
|
639
|
+
if (fs$1.existsSync(skillMd)) return {
|
|
640
640
|
baseDir: nested,
|
|
641
641
|
note: `Detected nested skills root at ${nested}`
|
|
642
642
|
};
|
|
@@ -656,9 +656,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
656
656
|
const loadSkills = (params) => {
|
|
657
657
|
const baseDir = resolveNestedSkillsRoot(params.dir, { maxEntriesToScan: limits.maxCandidatesPerRoot }).baseDir;
|
|
658
658
|
const rootSkillMd = path.join(baseDir, "SKILL.md");
|
|
659
|
-
if (
|
|
659
|
+
if (fs$1.existsSync(rootSkillMd)) {
|
|
660
660
|
try {
|
|
661
|
-
const size =
|
|
661
|
+
const size = fs$1.statSync(rootSkillMd).size;
|
|
662
662
|
if (size > limits.maxSkillFileBytes) {
|
|
663
663
|
skillsLogger.warn("Skipping skills root due to oversized SKILL.md.", {
|
|
664
664
|
dir: baseDir,
|
|
@@ -697,9 +697,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
697
697
|
for (const name of limitedChildren) {
|
|
698
698
|
const skillDir = path.join(baseDir, name);
|
|
699
699
|
const skillMd = path.join(skillDir, "SKILL.md");
|
|
700
|
-
if (!
|
|
700
|
+
if (!fs$1.existsSync(skillMd)) continue;
|
|
701
701
|
try {
|
|
702
|
-
const size =
|
|
702
|
+
const size = fs$1.statSync(skillMd).size;
|
|
703
703
|
if (size > limits.maxSkillFileBytes) {
|
|
704
704
|
skillsLogger.warn("Skipping skill due to oversized SKILL.md.", {
|
|
705
705
|
skill: name,
|
|
@@ -767,7 +767,7 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
767
767
|
return Array.from(merged.values()).map((skill) => {
|
|
768
768
|
let frontmatter = {};
|
|
769
769
|
try {
|
|
770
|
-
frontmatter = parseFrontmatter(
|
|
770
|
+
frontmatter = parseFrontmatter(fs$1.readFileSync(skill.filePath, "utf-8"));
|
|
771
771
|
} catch {}
|
|
772
772
|
return {
|
|
773
773
|
skill,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-BF9jT_Nw.js";
|
|
2
2
|
import { t as redactSensitiveText } from "./redact-jSxx6Ep2.js";
|
|
3
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
3
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-BEAbheM8.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fs$1 from "node:fs";
|
|
8
8
|
import crypto from "node:crypto";
|
|
9
9
|
|
|
10
10
|
//#region src/memory/fs-utils.ts
|
|
@@ -71,7 +71,7 @@ async function runTasksWithConcurrency(params) {
|
|
|
71
71
|
//#region src/memory/internal.ts
|
|
72
72
|
function ensureDir(dir) {
|
|
73
73
|
try {
|
|
74
|
-
|
|
74
|
+
fs$1.mkdirSync(dir, { recursive: true });
|
|
75
75
|
} catch {}
|
|
76
76
|
return dir;
|
|
77
77
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as resolveConfigDir } from "./registry-
|
|
2
|
-
import { d as detectMime, f as extensionForMime } from "./image-ops-
|
|
1
|
+
import { P as resolveConfigDir } from "./registry-DpeZG5fo.js";
|
|
2
|
+
import { d as detectMime, f as extensionForMime } from "./image-ops-BGmpOcey.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import crypto from "node:crypto";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { at as isFileLogLevelEnabled, ct as levelToMinLevel, lt as normalizeLogLevel, n as CHAT_CHANNEL_ORDER, q as isVerbose, rt as getChildLogger, st as loggingState, ut as readLoggingConfig } from "./registry-
|
|
1
|
+
import { at as isFileLogLevelEnabled, ct as levelToMinLevel, lt as normalizeLogLevel, n as CHAT_CHANNEL_ORDER, q as isVerbose, rt as getChildLogger, st as loggingState, ut as readLoggingConfig } from "./registry-DpeZG5fo.js";
|
|
2
2
|
import { Chalk } from "chalk";
|
|
3
3
|
|
|
4
4
|
//#region src/terminal/progress-line.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as detectMime } from "./image-ops-
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
1
|
+
import { d as detectMime } from "./image-ops-BGmpOcey.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-C1rdDr34.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-BCzIW1Y2.js";
|
|
2
|
-
import { D as escapeRegExp, M as normalizeE164, i as getChatChannelMeta, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-
|
|
3
|
-
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, d as resolveSlackAccount, f as resolveSlackReplyToMode, l as resolveTelegramAccount } from "./plugins-
|
|
4
|
-
import { t as resolveWhatsAppAccount } from "./accounts-
|
|
5
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
6
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
2
|
+
import { D as escapeRegExp, M as normalizeE164, i as getChatChannelMeta, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-DpeZG5fo.js";
|
|
3
|
+
import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, d as resolveSlackAccount, f as resolveSlackReplyToMode, l as resolveTelegramAccount } from "./plugins-DIrNa311.js";
|
|
4
|
+
import { t as resolveWhatsAppAccount } from "./accounts-C8m4ADkw.js";
|
|
5
|
+
import { n as resolveSignalAccount } from "./accounts-CQT5u65w.js";
|
|
6
|
+
import { t as resolveIMessageAccount } from "./accounts-DFrH9IVU.js";
|
|
7
7
|
|
|
8
8
|
//#region src/shared/string-normalization.ts
|
|
9
9
|
function normalizeStringEntries(list) {
|
|
@@ -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-BF9jT_Nw.js";
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-BGmpOcey.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
|
-
import "./paths-
|
|
2
|
-
import { W as isPlainObject } from "./registry-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import "./paths-CyR9Pa1R.js";
|
|
2
|
+
import { W as isPlainObject } from "./registry-DpeZG5fo.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-BF9jT_Nw.js";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
5
5
|
|
|
6
6
|
//#region src/agents/tool-loop-detection.ts
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import "./paths-
|
|
1
|
+
import "./paths-CyR9Pa1R.js";
|
|
2
2
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { A as isSelfChatMode, B as sleep, C as clamp, F as resolveJidToE164, H as toWhatsappJid, J as logVerbose, M as normalizeE164, Z as shouldLogVerbose, j as jidToE164, rt as getChildLogger } from "./registry-
|
|
4
|
-
import "./agent-scope-
|
|
5
|
-
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import "./workspace-
|
|
7
|
-
import "./tokens-
|
|
8
|
-
import { C as resolveEnvelopeFormatOptions, D as normalizeMentionText, E as buildMentionRegexes, S as formatInboundEnvelope, T as shouldComputeCommandAuthorized, _ as parseActivationCommand, b as createInboundDebouncer, c as DEFAULT_GROUP_HISTORY_LIMIT, d as shouldAckReactionForWhatsApp, f as dispatchReplyWithBufferedBlockDispatcher, g as normalizeGroupActivation, h as getReplyFromConfig, l as buildHistoryContextFromEntries, m as createDedupeCache, n as computeBackoff, o as buildPairingReply, r as sleepWithAbort, s as resolveMentionGating, u as recordPendingHistoryEntryIfEnabled, v as formatDurationPrecise, w as hasControlCommand, x as resolveInboundDebounceMs, y as enqueueSystemEvent } from "./pi-embedded-
|
|
9
|
-
import "./plugins-
|
|
10
|
-
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-
|
|
3
|
+
import { A as isSelfChatMode, B as sleep, C as clamp, F as resolveJidToE164, H as toWhatsappJid, J as logVerbose, M as normalizeE164, Z as shouldLogVerbose, j as jidToE164, rt as getChildLogger } from "./registry-DpeZG5fo.js";
|
|
4
|
+
import "./agent-scope-DSUeV7-g.js";
|
|
5
|
+
import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-BF9jT_Nw.js";
|
|
6
|
+
import "./workspace-DYx5Dxtw.js";
|
|
7
|
+
import "./tokens-B-c56SkM.js";
|
|
8
|
+
import { C as resolveEnvelopeFormatOptions, D as normalizeMentionText, E as buildMentionRegexes, S as formatInboundEnvelope, T as shouldComputeCommandAuthorized, _ as parseActivationCommand, b as createInboundDebouncer, c as DEFAULT_GROUP_HISTORY_LIMIT, d as shouldAckReactionForWhatsApp, f as dispatchReplyWithBufferedBlockDispatcher, g as normalizeGroupActivation, h as getReplyFromConfig, l as buildHistoryContextFromEntries, m as createDedupeCache, n as computeBackoff, o as buildPairingReply, r as sleepWithAbort, s as resolveMentionGating, u as recordPendingHistoryEntryIfEnabled, v as formatDurationPrecise, w as hasControlCommand, x as resolveInboundDebounceMs, y as enqueueSystemEvent } from "./pi-embedded-Dz24QZz9.js";
|
|
9
|
+
import "./plugins-DIrNa311.js";
|
|
10
|
+
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-C8m4ADkw.js";
|
|
11
11
|
import "./boolean-B8-BqKGQ.js";
|
|
12
|
-
import { t as formatCliCommand } from "./command-format-
|
|
13
|
-
import "./bindings-
|
|
14
|
-
import "./send-
|
|
15
|
-
import "./send-
|
|
16
|
-
import "./deliver-
|
|
17
|
-
import "./diagnostic-
|
|
12
|
+
import { t as formatCliCommand } from "./command-format-BOHIfoCX.js";
|
|
13
|
+
import "./bindings-BKEEBdsb.js";
|
|
14
|
+
import "./send-Byt_wJDK.js";
|
|
15
|
+
import "./send-BEFzSOoD.js";
|
|
16
|
+
import "./deliver-CKH_FhS0.js";
|
|
17
|
+
import "./diagnostic-DriDPU6M.js";
|
|
18
18
|
import "./diagnostic-session-state-Bxo4UHOL.js";
|
|
19
|
-
import "./accounts-
|
|
20
|
-
import { G as formatLocationText, J as readChannelAllowFromStore, K as toLocationContext, X as upsertChannelPairingRequest } from "./send-
|
|
21
|
-
import "./image-ops-
|
|
22
|
-
import "./model-auth-
|
|
23
|
-
import "./github-copilot-token-
|
|
19
|
+
import "./accounts-CQT5u65w.js";
|
|
20
|
+
import { G as formatLocationText, J as readChannelAllowFromStore, K as toLocationContext, X as upsertChannelPairingRequest } from "./send-CWtaJF1G.js";
|
|
21
|
+
import "./image-ops-BGmpOcey.js";
|
|
22
|
+
import "./model-auth-vtNH8C4P.js";
|
|
23
|
+
import "./github-copilot-token-Dgb9dAHW.js";
|
|
24
24
|
import "./pi-model-discovery-DaNAekda.js";
|
|
25
|
-
import "./message-channel-
|
|
26
|
-
import { Ct as resolveGroupSessionKey, G as updateLastRoute, H as loadSessionStore, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-
|
|
27
|
-
import { n as loadConfig } from "./config-
|
|
28
|
-
import "./manifest-registry-
|
|
29
|
-
import "./chrome-
|
|
30
|
-
import "./frontmatter-
|
|
31
|
-
import "./skills-
|
|
25
|
+
import "./message-channel-CHYSjmbr.js";
|
|
26
|
+
import { Ct as resolveGroupSessionKey, G as updateLastRoute, H as loadSessionStore, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-CSE0v99A.js";
|
|
27
|
+
import { n as loadConfig } from "./config-Du_-inxH.js";
|
|
28
|
+
import "./manifest-registry-Dhk4A5vb.js";
|
|
29
|
+
import "./chrome-Bqbv_ZSj.js";
|
|
30
|
+
import "./frontmatter-CdkBcBAo.js";
|
|
31
|
+
import "./skills-DSZuhFx9.js";
|
|
32
32
|
import "./redact-jSxx6Ep2.js";
|
|
33
33
|
import "./errors-BoQgnc8X.js";
|
|
34
34
|
import "./ssrf-BTMDZjHT.js";
|
|
35
|
-
import { r as saveMediaBuffer } from "./store-
|
|
36
|
-
import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy } from "./thinking-
|
|
37
|
-
import "./accounts-
|
|
38
|
-
import { s as resolveStorePath } from "./paths-
|
|
39
|
-
import "./tool-images-
|
|
40
|
-
import "./image-
|
|
41
|
-
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
42
|
-
import "./manager-
|
|
43
|
-
import "./gemini-auth-
|
|
44
|
-
import "./sqlite-
|
|
45
|
-
import "./retry-
|
|
46
|
-
import "./target-errors-
|
|
47
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
48
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
49
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
50
|
-
import { a as loadWebMedia } from "./ir-
|
|
35
|
+
import { r as saveMediaBuffer } from "./store-BrNiRjgB.js";
|
|
36
|
+
import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy } from "./thinking-Dg8vKjw_.js";
|
|
37
|
+
import "./accounts-DFrH9IVU.js";
|
|
38
|
+
import { s as resolveStorePath } from "./paths-BEAbheM8.js";
|
|
39
|
+
import "./tool-images-C1rdDr34.js";
|
|
40
|
+
import "./image-CxPjVob-.js";
|
|
41
|
+
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-DZrS3Kf7.js";
|
|
42
|
+
import "./manager-D7SRrHxT.js";
|
|
43
|
+
import "./gemini-auth-A2JaRMHH.js";
|
|
44
|
+
import "./sqlite-C3XxSzBN.js";
|
|
45
|
+
import "./retry-Bdu4_ZcT.js";
|
|
46
|
+
import "./target-errors-ChHV8dPI.js";
|
|
47
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-fZrBDWYg.js";
|
|
48
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DpVJE0eA.js";
|
|
49
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-JqlMsAYY.js";
|
|
50
|
+
import { a as loadWebMedia } from "./ir-DJPm0a4k.js";
|
|
51
51
|
import "./render-CDCvpfhh.js";
|
|
52
|
-
import "./commands-registry-
|
|
53
|
-
import "./skill-commands-
|
|
52
|
+
import "./commands-registry-BzlB3qtZ.js";
|
|
53
|
+
import "./skill-commands-CqyVDpti.js";
|
|
54
54
|
import { t as finalizeInboundContext } from "./inbound-context-BlHX0H3E.js";
|
|
55
|
-
import { p as registerUnhandledRejectionHandler } from "./runner-
|
|
55
|
+
import { p as registerUnhandledRejectionHandler } from "./runner-D1eXJZ8T.js";
|
|
56
56
|
import "./fetch-DtI0mtzx.js";
|
|
57
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
58
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
59
|
-
import "./send-
|
|
60
|
-
import "./outbound-attachment-
|
|
61
|
-
import "./send-
|
|
62
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
57
|
+
import { n as recordChannelActivity } from "./channel-activity-BgsTqLau.js";
|
|
58
|
+
import { t as convertMarkdownTables } from "./tables-C3clT_iA.js";
|
|
59
|
+
import "./send-DPVf5tQ4.js";
|
|
60
|
+
import "./outbound-attachment-B8WHzsCX.js";
|
|
61
|
+
import "./send-BeWYOs1x.js";
|
|
62
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-1ar2IrQt.js";
|
|
63
63
|
import "./proxy-CBJ1upuz.js";
|
|
64
|
-
import "./replies-
|
|
65
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
66
|
-
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
67
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
68
|
-
import { t as loginWeb } from "./login-
|
|
64
|
+
import "./replies-CSVWkVda.js";
|
|
65
|
+
import { r as setActiveWebListener } from "./active-listener-BKTctYlH.js";
|
|
66
|
+
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-BWgFha97.js";
|
|
67
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-Bnp7PC7f.js";
|
|
68
|
+
import { t as loginWeb } from "./login-DXtAIVXy.js";
|
|
69
69
|
import { randomUUID } from "node:crypto";
|
|
70
70
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
71
71
|
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
6
|
-
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-
|
|
7
|
-
import { t as resolveWhatsAppAccount } from "./accounts-
|
|
1
|
+
import "./paths-CyR9Pa1R.js";
|
|
2
|
+
import "./registry-DpeZG5fo.js";
|
|
3
|
+
import "./agent-scope-DSUeV7-g.js";
|
|
4
|
+
import "./subsystem-BF9jT_Nw.js";
|
|
5
|
+
import "./workspace-DYx5Dxtw.js";
|
|
6
|
+
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-DIrNa311.js";
|
|
7
|
+
import { t as resolveWhatsAppAccount } from "./accounts-C8m4ADkw.js";
|
|
8
8
|
import "./boolean-B8-BqKGQ.js";
|
|
9
|
-
import "./command-format-
|
|
10
|
-
import "./bindings-
|
|
11
|
-
import "./image-ops-
|
|
12
|
-
import "./model-auth-
|
|
13
|
-
import "./github-copilot-token-
|
|
14
|
-
import "./message-channel-
|
|
15
|
-
import "./config-
|
|
16
|
-
import "./manifest-registry-
|
|
9
|
+
import "./command-format-BOHIfoCX.js";
|
|
10
|
+
import "./bindings-BKEEBdsb.js";
|
|
11
|
+
import "./image-ops-BGmpOcey.js";
|
|
12
|
+
import "./model-auth-vtNH8C4P.js";
|
|
13
|
+
import "./github-copilot-token-Dgb9dAHW.js";
|
|
14
|
+
import "./message-channel-CHYSjmbr.js";
|
|
15
|
+
import "./config-Du_-inxH.js";
|
|
16
|
+
import "./manifest-registry-Dhk4A5vb.js";
|
|
17
17
|
import "./ssrf-BTMDZjHT.js";
|
|
18
|
-
import "./tool-images-
|
|
19
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam, n as missingTargetError } from "./target-errors-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./markdown-tables-
|
|
22
|
-
import "./local-roots-
|
|
23
|
-
import "./ir-
|
|
18
|
+
import "./tool-images-C1rdDr34.js";
|
|
19
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam, n as missingTargetError } from "./target-errors-ChHV8dPI.js";
|
|
20
|
+
import "./chunk-fZrBDWYg.js";
|
|
21
|
+
import "./markdown-tables-DpVJE0eA.js";
|
|
22
|
+
import "./local-roots-JqlMsAYY.js";
|
|
23
|
+
import "./ir-DJPm0a4k.js";
|
|
24
24
|
import "./render-CDCvpfhh.js";
|
|
25
|
-
import "./tables-
|
|
26
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
25
|
+
import "./tables-C3clT_iA.js";
|
|
26
|
+
import { r as sendReactionWhatsApp } from "./outbound-BWgFha97.js";
|
|
27
27
|
|
|
28
28
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
29
29
|
function resolveWhatsAppOutboundTarget(params) {
|