cclawd 1.0.6 → 1.0.7
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/{active-listener-Dkhmfuwx.js → active-listener-DYmI7imH.js} +2 -2
- package/dist/{api-key-rotation-BOfI3cG3.js → api-key-rotation-DLU4jvSu.js} +1 -1
- package/dist/{audio-preflight-CtkZ5SAs.js → audio-preflight-C9TMbRb4.js} +15 -15
- package/dist/{audio-transcription-runner-CbPqoiHX.js → audio-transcription-runner-Q5zG_hYd.js} +10 -10
- package/dist/{audit-membership-runtime-hXUuer4x.js → audit-membership-runtime-DhxSwFnF.js} +6 -6
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +35 -35
- 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 +35 -35
- package/dist/{channel-activity-DWAER4wd.js → channel-activity-Bx08UTAg.js} +2 -2
- package/dist/{commands-registry-BUyiA7nE.js → commands-registry-llLVCTH9.js} +2 -2
- package/dist/compact.runtime-BEn3giMt.js +39 -0
- package/dist/{deliver-aHOaRbkt.js → deliver-DJf2ZBpe.js} +19 -19
- package/dist/deliver-runtime-DkQ3XzGv.js +19 -0
- package/dist/deps-send-discord.runtime-BLpqSj6s.js +19 -0
- package/dist/deps-send-imessage.runtime-BFzyYqvR.js +18 -0
- package/dist/deps-send-signal.runtime-DT0TYCy1.js +17 -0
- package/dist/deps-send-slack.runtime-BhaGFfMX.js +17 -0
- package/dist/deps-send-telegram.runtime-B6Cic9NX.js +20 -0
- package/dist/deps-send-whatsapp.runtime-WtEhIq2S.js +43 -0
- package/dist/{diagnostic-BdcXX9iJ.js → diagnostic-BCCMF3O_.js} +2 -2
- package/dist/{env-lw2hsIUY.js → env-aYXLHjfZ.js} +1 -1
- package/dist/{fetch-D9NUULbj.js → fetch-DCTUdr1U.js} +5 -5
- package/dist/{fetch-C0iyt-Iz.js → fetch-bvgIiupu.js} +3 -3
- package/dist/{fetch-guard-B5ZMnGaN.js → fetch-guard-CqpEmMQ2.js} +2 -2
- package/dist/{frontmatter-C_obXuTp.js → frontmatter-DjZuS525.js} +3 -3
- package/dist/{github-copilot-token-8N63GdbE.js → github-copilot-token-CQmATy5E.js} +7 -7
- package/dist/{image-4x07m4Jl.js → image-Q8E1-lZn.js} +4 -4
- package/dist/image-runtime-B1LFYfQ2.js +12 -0
- package/dist/{ir-CsgNUpOU.js → ir-CzM3SxId.js} +6 -6
- package/dist/llm-slug-generator.js +35 -35
- package/dist/{logger-CbUVl62f.js → logger-ChbX1G7s.js} +7 -7
- package/dist/{login-p_O59TVQ.js → login-B0mtU11X.js} +4 -4
- package/dist/{login-qr-BCJpDsAy.js → login-qr-DY_i60f5.js} +10 -10
- package/dist/{manager-CwYv8O3T.js → manager-FAQPC0uO.js} +12 -12
- package/dist/manager-runtime-Da7ME9vS.js +15 -0
- package/dist/{model-selection-Cv2Puf5z.js → model-selection-wf3OY5DX.js} +122 -122
- package/dist/{outbound-Chpiwybe.js → outbound-Bw0dOVS7.js} +6 -6
- package/dist/{outbound-attachment-BnAVJDLe.js → outbound-attachment-1R6r9Pg_.js} +2 -2
- package/dist/{paths-CehYKFsO.js → paths-C0HLtPu0.js} +7 -7
- package/dist/{paths-DkxwiA8g.js → paths-hfkBoC7i.js} +5 -5
- package/dist/{pi-embedded-CJVNBk0y.js → pi-embedded-BAHaY-Oh.js} +150 -150
- package/dist/{pi-model-discovery-7IzK0Uc3.js → pi-model-discovery-ItS07aJB.js} +7 -7
- package/dist/pi-model-discovery-runtime-DjM7Z1fx.js +12 -0
- package/dist/{pi-tools.before-tool-call.runtime-BP2UvGJb.js → pi-tools.before-tool-call.runtime-D_mthvtC.js} +10 -10
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/{proxy-fetch-BOh1PLOW.js → proxy-fetch-c1ZUFFcO.js} +1 -1
- package/dist/{pw-ai-DwH5GpEO.js → pw-ai-Ok6KGelf.js} +9 -9
- package/dist/{qmd-manager-DEscZz5_.js → qmd-manager-DhfEz4Ar.js} +6 -6
- package/dist/{query-expansion-BErUY8P2.js → query-expansion-GqNV2iIE.js} +4 -4
- package/dist/runtime-whatsapp-login.runtime-D4BRhQkK.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-DJPpS6g-.js +17 -0
- package/dist/{send-DUibfNQD.js → send-6R8b9zsj.js} +5 -5
- package/dist/{send-ORtn50qg.js → send-CEg4P96c.js} +5 -5
- package/dist/{send-C-Q_WPMf.js → send-CS0ocZHl.js} +3 -3
- package/dist/{send-DtBvCnPQ.js → send-DPflcjM5.js} +6 -6
- package/dist/{send-BDnOgWIp.js → send-DwAoiT2p.js} +25 -25
- package/dist/{session-B7imi6T5.js → session-BoIID5UR.js} +7 -7
- package/dist/{skill-commands-B9brPuiL.js → skill-commands-DhdiziMs.js} +9 -9
- package/dist/slash-commands.runtime-Cu1lTjV9.js +12 -0
- package/dist/slash-dispatch.runtime-DRVJEF4l.js +39 -0
- package/dist/slash-skill-commands.runtime-C373PJjv.js +13 -0
- package/dist/subagent-registry-runtime-D7hWBo1G.js +39 -0
- package/dist/{subsystem-DfXy5gUB.js → subsystem-C8z6w6xC.js} +14 -14
- package/dist/{tables-CjQqTOdD.js → tables-DQusRhkD.js} +1 -1
- package/dist/{target-errors-BZE1mc-W.js → target-errors-CfavnC9U.js} +1 -1
- package/dist/{tokens-6ul2IrzG.js → tokens-BWDIKewp.js} +1 -1
- package/dist/{web-Cd8yK1Zq.js → web-CrcrTQ2c.js} +39 -39
- package/dist/{whatsapp-actions-CYEzUMBI.js → whatsapp-actions-B0u0ZAme.js} +15 -15
- package/dist/{workspace-DGIcKCCW.js → workspace-CWDYHR27.js} +20 -20
- package/extensions/mfa-auth/index.ts +1028 -675
- package/extensions/mfa-auth/node_modules/.package-lock.json +21 -0
- package/extensions/mfa-auth/node_modules/ws/LICENSE +20 -0
- package/extensions/mfa-auth/node_modules/ws/README.md +548 -0
- package/extensions/mfa-auth/node_modules/ws/browser.js +8 -0
- package/extensions/mfa-auth/node_modules/ws/index.js +13 -0
- package/extensions/mfa-auth/node_modules/ws/lib/buffer-util.js +131 -0
- package/extensions/mfa-auth/node_modules/ws/lib/constants.js +19 -0
- package/extensions/mfa-auth/node_modules/ws/lib/event-target.js +292 -0
- package/extensions/mfa-auth/node_modules/ws/lib/extension.js +203 -0
- package/extensions/mfa-auth/node_modules/ws/lib/limiter.js +55 -0
- package/extensions/mfa-auth/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/extensions/mfa-auth/node_modules/ws/lib/receiver.js +706 -0
- package/extensions/mfa-auth/node_modules/ws/lib/sender.js +602 -0
- package/extensions/mfa-auth/node_modules/ws/lib/stream.js +161 -0
- package/extensions/mfa-auth/node_modules/ws/lib/subprotocol.js +62 -0
- package/extensions/mfa-auth/node_modules/ws/lib/validation.js +152 -0
- package/extensions/mfa-auth/node_modules/ws/lib/websocket-server.js +554 -0
- package/extensions/mfa-auth/node_modules/ws/lib/websocket.js +1393 -0
- package/extensions/mfa-auth/node_modules/ws/package.json +69 -0
- package/extensions/mfa-auth/node_modules/ws/wrapper.mjs +8 -0
- package/extensions/mfa-auth/openclaw.plugin.json +1 -1
- package/extensions/mfa-auth/package-lock.json +23 -1
- package/extensions/mfa-auth/src/notification-service.ts +8 -2
- package/package.json +1 -1
- package/dist/compact.runtime-DpcZpcTl.js +0 -39
- package/dist/deliver-runtime-D4bCsr6d.js +0 -19
- package/dist/deps-send-discord.runtime-BziKU-pE.js +0 -19
- package/dist/deps-send-imessage.runtime-CFRnDTqp.js +0 -18
- package/dist/deps-send-signal.runtime-BuOtABJm.js +0 -17
- package/dist/deps-send-slack.runtime-BOLqvMxW.js +0 -17
- package/dist/deps-send-telegram.runtime-DeEoFLv5.js +0 -20
- package/dist/deps-send-whatsapp.runtime-CG1uXYLY.js +0 -43
- package/dist/image-runtime-smkMrIol.js +0 -12
- package/dist/manager-runtime-D_jEoBr9.js +0 -15
- package/dist/pi-model-discovery-runtime-DABef3qy.js +0 -12
- package/dist/runtime-whatsapp-login.runtime-BI3U306v.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-Bsc2uD09.js +0 -17
- package/dist/slash-commands.runtime-Cf6ygfBp.js +0 -12
- package/dist/slash-dispatch.runtime-CsmvhO5K.js +0 -39
- package/dist/slash-skill-commands.runtime-CX7stIEP.js +0 -13
- package/dist/subagent-registry-runtime-B_S1nf7y.js +0 -39
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as getChildLogger, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { T as toWhatsappJid, u as escapeRegExp } from "./logger-
|
|
3
|
-
import { Ja as redactIdentifier, ao as loadConfig, ci as generateSecureUuid, dr as resolveWhatsAppAccount, fr as resolveWhatsAppMediaMaxBytes } from "./model-selection-
|
|
4
|
-
import { a as loadWebMedia, s as resolveMarkdownTableMode } from "./ir-
|
|
1
|
+
import { b as getChildLogger, t as createSubsystemLogger } from "./subsystem-C8z6w6xC.js";
|
|
2
|
+
import { T as toWhatsappJid, u as escapeRegExp } from "./logger-ChbX1G7s.js";
|
|
3
|
+
import { Ja as redactIdentifier, ao as loadConfig, ci as generateSecureUuid, dr as resolveWhatsAppAccount, fr as resolveWhatsAppMediaMaxBytes } from "./model-selection-wf3OY5DX.js";
|
|
4
|
+
import { a as loadWebMedia, s as resolveMarkdownTableMode } from "./ir-CzM3SxId.js";
|
|
5
5
|
import { n as normalizePollInput } from "./polls-Dw-aNTWI.js";
|
|
6
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
7
|
-
import { n as requireActiveWebListener } from "./active-listener-
|
|
6
|
+
import { t as convertMarkdownTables } from "./tables-DQusRhkD.js";
|
|
7
|
+
import { n as requireActiveWebListener } from "./active-listener-DYmI7imH.js";
|
|
8
8
|
//#region src/markdown/whatsapp.ts
|
|
9
9
|
/**
|
|
10
10
|
* Convert standard Markdown formatting to WhatsApp-compatible markup.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ai as saveMediaBuffer } from "./model-selection-
|
|
2
|
-
import { a as loadWebMedia } from "./ir-
|
|
1
|
+
import { Ai as saveMediaBuffer } from "./model-selection-wf3OY5DX.js";
|
|
2
|
+
import { a as loadWebMedia } from "./ir-CzM3SxId.js";
|
|
3
3
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-C-AlrR3n.js";
|
|
4
4
|
//#region src/media/outbound-attachment.ts
|
|
5
5
|
async function resolveOutboundAttachmentFromUrl(mediaUrl, maxBytes, options) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix } from "./paths-
|
|
2
|
-
import { C as resolveNodeRequireFromMeta, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { A as isSymlinkOpenError, C as sameFileIdentity, D as hasNodeErrorCode, M as DEFAULT_AGENT_ID, O as isNotFoundPathError, T as resolveBoundaryPath, V as resolveAgentIdFromSessionKey, k as isPathInside, p as resolveDefaultAgentWorkspaceDir, tt as parseAgentSessionKey, w as BOUNDARY_PATH_ALIAS_POLICIES, z as normalizeAgentId } from "./workspace-
|
|
4
|
-
import { i as logWarn, y as resolveUserPath } from "./logger-
|
|
1
|
+
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix } from "./paths-hfkBoC7i.js";
|
|
2
|
+
import { C as resolveNodeRequireFromMeta, t as createSubsystemLogger } from "./subsystem-C8z6w6xC.js";
|
|
3
|
+
import { A as isSymlinkOpenError, C as sameFileIdentity, D as hasNodeErrorCode, M as DEFAULT_AGENT_ID, O as isNotFoundPathError, T as resolveBoundaryPath, V as resolveAgentIdFromSessionKey, k as isPathInside, p as resolveDefaultAgentWorkspaceDir, tt as parseAgentSessionKey, w as BOUNDARY_PATH_ALIAS_POLICIES, z as normalizeAgentId } from "./workspace-CWDYHR27.js";
|
|
4
|
+
import { i as logWarn, y as resolveUserPath } from "./logger-ChbX1G7s.js";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fs$1, { constants, readFileSync, statSync } from "node:fs";
|
|
9
9
|
import { randomUUID } from "node:crypto";
|
|
10
10
|
import { pipeline } from "node:stream/promises";
|
|
11
11
|
//#region src/config/model-input.ts
|
|
@@ -187,7 +187,7 @@ function normalizePathForComparison(input) {
|
|
|
187
187
|
const resolved = path.resolve(stripNullBytes(resolveUserPath(input)));
|
|
188
188
|
let normalized = resolved;
|
|
189
189
|
try {
|
|
190
|
-
normalized =
|
|
190
|
+
normalized = fs$1.realpathSync.native(resolved);
|
|
191
191
|
} catch {}
|
|
192
192
|
if (process.platform === "win32") return normalized.toLowerCase();
|
|
193
193
|
return normalized;
|
|
@@ -1244,7 +1244,7 @@ function resolveStructuralSessionFallbackPath(candidateAbsPath, expectedAgentId)
|
|
|
1244
1244
|
}
|
|
1245
1245
|
function safeRealpathSync(filePath) {
|
|
1246
1246
|
try {
|
|
1247
|
-
return
|
|
1247
|
+
return fs$1.realpathSync(filePath);
|
|
1248
1248
|
} catch {
|
|
1249
1249
|
return;
|
|
1250
1250
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import os from "node:os";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import
|
|
3
|
+
import fs from "node:fs";
|
|
4
4
|
//#region src/infra/home-dir.ts
|
|
5
5
|
function normalize(value) {
|
|
6
6
|
const trimmed = value?.trim();
|
|
@@ -92,10 +92,10 @@ function resolveStateDir(env = process.env, homedir = envHomedir(env)) {
|
|
|
92
92
|
const newDir = newStateDir(effectiveHomedir);
|
|
93
93
|
if (env.OPENCLAW_TEST_FAST === "1") return newDir;
|
|
94
94
|
const legacyDirs = legacyStateDirs(effectiveHomedir);
|
|
95
|
-
if (
|
|
95
|
+
if (fs.existsSync(newDir)) return newDir;
|
|
96
96
|
const existingLegacy = legacyDirs.find((dir) => {
|
|
97
97
|
try {
|
|
98
|
-
return
|
|
98
|
+
return fs.existsSync(dir);
|
|
99
99
|
} catch {
|
|
100
100
|
return false;
|
|
101
101
|
}
|
|
@@ -135,7 +135,7 @@ function resolveConfigPathCandidate(env = process.env, homedir = envHomedir(env)
|
|
|
135
135
|
if (env.OPENCLAW_TEST_FAST === "1") return resolveCanonicalConfigPath(env, resolveStateDir(env, homedir));
|
|
136
136
|
const existing = resolveDefaultConfigCandidates(env, homedir).find((candidate) => {
|
|
137
137
|
try {
|
|
138
|
-
return
|
|
138
|
+
return fs.existsSync(candidate);
|
|
139
139
|
} catch {
|
|
140
140
|
return false;
|
|
141
141
|
}
|
|
@@ -153,7 +153,7 @@ function resolveConfigPath(env = process.env, stateDir = resolveStateDir(env, en
|
|
|
153
153
|
const stateOverride = env.OPENCLAW_STATE_DIR?.trim();
|
|
154
154
|
const existing = [path.join(stateDir, CONFIG_FILENAME), ...LEGACY_CONFIG_FILENAMES.map((name) => path.join(stateDir, name))].find((candidate) => {
|
|
155
155
|
try {
|
|
156
|
-
return
|
|
156
|
+
return fs.existsSync(candidate);
|
|
157
157
|
} catch {
|
|
158
158
|
return false;
|
|
159
159
|
}
|