@bitseek/claw 1.3.5 → 1.3.6
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-DMvETf-t.js → accounts-Bwq1wvds.js} +1 -1
- package/dist/{accounts-BTexwKe8.js → accounts-CX1yOBOk.js} +1 -1
- package/dist/{accounts-ubG6irXZ.js → accounts-CaiECgq3.js} +16 -16
- package/dist/{active-listener-Hd9sOu9T.js → active-listener-neKWQsOO.js} +1 -1
- package/dist/{agent-scope-C6hps0r3.js → agent-scope-CTbRzU1C.js} +4 -4
- package/dist/{api-key-rotation-Cv5_SG_o.js → api-key-rotation-BbZD-rsQ.js} +2 -2
- package/dist/{audio-preflight-C2pZmbnM.js → audio-preflight-C5Crv38h.js} +39 -39
- package/dist/{audio-transcription-runner-CQ4BMvGX.js → audio-transcription-runner-eVtEKUPC.js} +11 -11
- package/dist/{bindings-CsIiIjqN.js → bindings-Daa-Etag.js} +2 -2
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +65 -65
- package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +65 -65
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-Dwc2BBvs.js → channel-activity-D0BHmeoE.js} +3 -3
- package/dist/{chrome-DWfXErGH.js → chrome-BRjY_MCc.js} +26 -26
- package/dist/{chunk-2ZxftpDd.js → chunk-Dfkbh8wX.js} +1 -1
- package/dist/{command-registry-DshPN0jE.js → command-registry-BSN6zVlZ.js} +5 -5
- package/dist/{commands-registry-CTkboeeC.js → commands-registry-NyRDVN7s.js} +5 -5
- package/dist/{completion-cli-BD1Wf-K1.js → completion-cli-BDeiV4p9.js} +1 -1
- package/dist/{completion-cli-Ds2kVMMx.js → completion-cli-lZ6S6oKA.js} +2 -2
- package/dist/{deliver-zrYSWfQ5.js → deliver-DlLNT2iR.js} +22 -22
- package/dist/{diagnostic-BO1GQJJf.js → diagnostic-DpOlXoSr.js} +2 -2
- package/dist/{dock-Bm23mfim.js → dock-DXlPVrMo.js} +6 -6
- package/dist/{doctor-completion-DpsPIdur.js → doctor-completion-BKCOmkBi.js} +1 -1
- package/dist/{doctor-completion-f2gLNSUa.js → doctor-completion-Bim4XRFT.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{env-DNMZEG57.js → env-Bn6pmvjK.js} +2 -2
- package/dist/{errors-B11yhRo6.js → errors-Ct2kCLWx.js} +1 -1
- package/dist/{fetch-4RonjgqX.js → fetch-2cO0rj7X.js} +5 -5
- package/dist/{fetch-guard-B1EGEHan.js → fetch-guard-iigSYt3Q.js} +2 -2
- package/dist/{frontmatter-D6vByAHn.js → frontmatter-rlCI8Hmw.js} +2 -2
- package/dist/{fs-safe-C77EShMC.js → fs-safe-CM9EhGvi.js} +4 -4
- package/dist/{gateway-cli-3rP04OO5.js → gateway-cli-8DmbQc9V.js} +1 -1
- package/dist/{gateway-cli-CbVaqoxB.js → gateway-cli-CDgld1qp.js} +1 -1
- package/dist/{github-copilot-token-DLGN-8YS.js → github-copilot-token-CPjAmbfr.js} +7 -7
- package/dist/{image-DnxYCkHO.js → image-BWlmyhr-.js} +6 -6
- package/dist/{image-ops-DCpyia_K.js → image-ops-jvmQoiyw.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{internal-hooks-yQe6H47q.js → internal-hooks-oLQ2m8YT.js} +1 -1
- package/dist/{ir-DcDVAFj3.js → ir-pR36nI-3.js} +6 -6
- package/dist/llm-slug-generator.js +65 -65
- package/dist/{logger-BlH5MJiV.js → logger-DelEB7MK.js} +1 -1
- package/dist/{login-CgEHUE7h.js → login-Cm2zDfEU.js} +6 -6
- package/dist/{login-qr-DUJfhbUe.js → login-qr-iS1jPDpP.js} +13 -13
- package/dist/{manager-tozHviEd.js → manager-BX3KtavU.js} +15 -15
- package/dist/{markdown-tables-BHONoo6S.js → markdown-tables-pfs_NCNh.js} +1 -1
- package/dist/{message-channel-pbgFFUNm.js → message-channel-DB68nc40.js} +1 -1
- package/dist/{model-selection-D_Si2Ict.js → model-selection-DfZMxaX3.js} +44 -44
- package/dist/{onboard-qD3I6PJW.js → onboard-BcaFvsav.js} +1 -1
- package/dist/{onboard-CE9V4Lb7.js → onboard-sKY5jwsH.js} +1 -1
- package/dist/{onboarding-CjwEj4uN.js → onboarding-BRfS3PSa.js} +1 -1
- package/dist/{onboarding-_GD-DZHG.js → onboarding-JNyox6ZE.js} +1 -1
- package/dist/{onboarding.finalize-B5hA5lV8.js → onboarding.finalize-CG9tTRyw.js} +3 -3
- package/dist/{onboarding.finalize-kX5lNpGT.js → onboarding.finalize-hBg4b8IC.js} +4 -4
- package/dist/{outbound-9rXkgGZM.js → outbound-N9_vLIGT.js} +7 -7
- package/dist/{outbound-attachment-Cy8rvvJE.js → outbound-attachment-CEt49GWZ.js} +2 -2
- package/dist/{path-alias-guards-Cpb5gMG6.js → path-alias-guards-xY_GOJVd.js} +1 -1
- package/dist/{paths-BHEVctLd.js → paths-Bi8MJ8NM.js} +3 -3
- package/dist/{paths-aGRLvQx9.js → paths-DKuX7-1L.js} +5 -5
- package/dist/{pi-embedded-BQqt592d.js → pi-embedded-CDXssetE.js} +187 -187
- package/dist/{pi-embedded-helpers-Bo7e-QzJ.js → pi-embedded-helpers-DSPiPpLM.js} +29 -29
- package/dist/{pi-model-discovery-DA46fxhD.js → pi-model-discovery-N7o4F93J.js} +7 -7
- package/dist/{plugins-CJoaoIHc.js → plugins-D63QYxW6.js} +11 -11
- package/dist/{program-BTBw45uK.js → program-B_-eFyJE.js} +2 -2
- package/dist/{program-context-CqvVc2Bn.js → program-context-BJQXRZ1w.js} +7 -7
- package/dist/{prompt-select-styled-DK1SacDX.js → prompt-select-styled-QH4mD93d.js} +1 -1
- package/dist/{prompt-select-styled-7VZwhnhd.js → prompt-select-styled-asxoqY78.js} +1 -1
- package/dist/{proxy-env-ynOWOBHx.js → proxy-env-Drg9J503.js} +1 -1
- package/dist/{proxy-fetch-xlbVQYN_.js → proxy-fetch-AvkSvetA.js} +1 -1
- package/dist/{proxy-DfJJLvch.js → proxy-jINniQBi.js} +1 -1
- package/dist/{pw-ai-Cu3cnNF0.js → pw-ai-gDXxKGzT.js} +17 -17
- package/dist/{qmd-manager-n4jauq3A.js → qmd-manager-DXbV8CPG.js} +11 -11
- package/dist/{query-expansion-CdDUaBcQ.js → query-expansion-C0A4WwZX.js} +5 -5
- package/dist/{redact-CaZQhKzI.js → redact-BC9R18Uw.js} +1 -1
- package/dist/{register.init-BXkISfms.js → register.init-BdPckTb9.js} +12 -3
- package/dist/{register.init-BvMr7cj9.js → register.init-CNKrbvCo.js} +12 -3
- package/dist/{register.maintenance-qjXr4IGe.js → register.maintenance-B0nZqqML.js} +4 -4
- package/dist/{register.maintenance-FKHpDu3E.js → register.maintenance-DvWoKstb.js} +5 -5
- package/dist/{register.onboard-BzpyjklK.js → register.onboard-B1-O21vU.js} +2 -2
- package/dist/{register.onboard--_sGklZ6.js → register.onboard-DOhvWYV7.js} +2 -2
- package/dist/{register.setup-qYawYgIM.js → register.setup-KPZYo_I1.js} +2 -2
- package/dist/{register.setup-Degyv4Bj.js → register.setup-ixDBzvTR.js} +2 -2
- package/dist/{register.subclis-DkDc3aKk.js → register.subclis-BSGvOwqU.js} +3 -3
- package/dist/{registry-CJCkqTms.js → registry-C2GEGa2t.js} +3 -3
- package/dist/{replies-D6zARd6r.js → replies-B6I1tT5t.js} +3 -3
- package/dist/{reply-prefix-DK1i6bCJ.js → reply-prefix-9mzt89Cf.js} +1 -1
- package/dist/{resolve-route-C5hVstLo.js → resolve-route-BNElrVxR.js} +4 -4
- package/dist/{retry-DTeP7C3h.js → retry-Ayb7e4XG.js} +1 -1
- package/dist/{run-main-VaM4RFaa.js → run-main-CdI1kXKr.js} +3 -3
- package/dist/{send-CcQZM0c7.js → send-B6QQ8XfC.js} +8 -8
- package/dist/{send--Gq-Uh-l.js → send-BMzVXosN.js} +7 -7
- package/dist/{send-DcL81tZr.js → send-BQETStDl.js} +10 -10
- package/dist/{send-D2zYssqK.js → send-Buidj_8L.js} +27 -27
- package/dist/{send-BpyiQEov.js → send-DC_e_Iev.js} +6 -6
- package/dist/{session-xKPVUYQP.js → session-TVb8hgJP.js} +9 -9
- package/dist/{session-meta-BbCwXniv.js → session-meta-DAMj6ZRX.js} +2 -2
- package/dist/{sessions-D7EjW0sG.js → sessions-Ck4ZR4dY.js} +31 -31
- package/dist/{skill-commands-Cea3CZFF.js → skill-commands-KesfMtZ9.js} +9 -9
- package/dist/{skills-BttlqUXr.js → skills-BYmEoxNo.js} +22 -22
- package/dist/{store-B7PaqfvZ.js → store-KLMMBnKE.js} +2 -2
- package/dist/{subsystem-BRjuJbbM.js → subsystem-CAatx5oo.js} +14 -14
- package/dist/{tables-BJ0XAman.js → tables-DqechQWF.js} +1 -1
- package/dist/{target-errors-Dad0aUFR.js → target-errors-C-KolUyX.js} +2 -2
- package/dist/{tokens-B9EDT4jv.js → tokens-BvzZdrVJ.js} +1 -1
- package/dist/{tool-images-ArXzv82F.js → tool-images-DiKIlElg.js} +2 -2
- package/dist/{tool-loop-detection-CLoYKYIq.js → tool-loop-detection-C4V990MS.js} +3 -3
- package/dist/{update-cli-Do4BIFSd.js → update-cli-CfeiDzYx.js} +4 -4
- package/dist/{update-cli-CWS0bKZV.js → update-cli-DKmrzt8l.js} +5 -5
- package/dist/{utils-BFZnl-5N.js → utils-Bo1RFF0l.js} +6 -6
- package/dist/{web-C5gLi1bN.js → web-BPI4HIht.js} +69 -69
- package/dist/{whatsapp-actions-Be9uvUUL.js → whatsapp-actions-Bf61u88d.js} +28 -28
- package/dist/{workspace-D6mrCnXi.js → workspace-CswOYN9T.js} +21 -21
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as resolveStateDir } from "./paths-
|
|
2
|
-
import { c as danger, p as shouldLogVerbose } from "./subsystem-
|
|
1
|
+
import { c as resolveStateDir } from "./paths-DKuX7-1L.js";
|
|
2
|
+
import { c as danger, p as shouldLogVerbose } from "./subsystem-CAatx5oo.js";
|
|
3
3
|
import { b as isCronSessionKey, x as isSubagentSessionKey } from "./session-key-a6av96Fj.js";
|
|
4
|
-
import { f as pathExists$1, h as resolveUserPath } from "./utils-
|
|
5
|
-
import { n as logError, t as logDebug } from "./logger-
|
|
4
|
+
import { f as pathExists$1, h as resolveUserPath } from "./utils-Bo1RFF0l.js";
|
|
5
|
+
import { n as logError, t as logDebug } from "./logger-DelEB7MK.js";
|
|
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 from "node:fs";
|
|
10
10
|
import { promisify } from "node:util";
|
|
11
11
|
import { execFile, spawn } from "node:child_process";
|
|
12
12
|
import process$1 from "node:process";
|
|
@@ -314,7 +314,7 @@ function resolveBoundaryPathLexicalSync(params) {
|
|
|
314
314
|
rootCanonicalPath: params.rootCanonicalPath,
|
|
315
315
|
resolveParams: params.params,
|
|
316
316
|
absolutePath: params.absolutePath,
|
|
317
|
-
read: (cursor) =>
|
|
317
|
+
read: (cursor) => fs$1.lstatSync(cursor)
|
|
318
318
|
});
|
|
319
319
|
if (isPromiseLike(maybeStat)) throw new Error("Unexpected async lexical stat");
|
|
320
320
|
const stat = maybeStat;
|
|
@@ -460,15 +460,15 @@ function resolvePathViaExistingAncestorSync(targetPath) {
|
|
|
460
460
|
const normalized = path.resolve(targetPath);
|
|
461
461
|
let cursor = normalized;
|
|
462
462
|
const missingSuffix = [];
|
|
463
|
-
while (!isFilesystemRoot(cursor) && !
|
|
463
|
+
while (!isFilesystemRoot(cursor) && !fs$1.existsSync(cursor)) {
|
|
464
464
|
missingSuffix.unshift(path.basename(cursor));
|
|
465
465
|
const parent = path.dirname(cursor);
|
|
466
466
|
if (parent === cursor) break;
|
|
467
467
|
cursor = parent;
|
|
468
468
|
}
|
|
469
|
-
if (!
|
|
469
|
+
if (!fs$1.existsSync(cursor)) return normalized;
|
|
470
470
|
try {
|
|
471
|
-
const resolvedAncestor = path.resolve(
|
|
471
|
+
const resolvedAncestor = path.resolve(fs$1.realpathSync(cursor));
|
|
472
472
|
if (missingSuffix.length === 0) return resolvedAncestor;
|
|
473
473
|
return path.resolve(resolvedAncestor, ...missingSuffix);
|
|
474
474
|
} catch {
|
|
@@ -493,7 +493,7 @@ function getPathKindSync(absolutePath, preserveFinalSymlink) {
|
|
|
493
493
|
try {
|
|
494
494
|
return {
|
|
495
495
|
exists: true,
|
|
496
|
-
kind: toResolvedKind(preserveFinalSymlink ?
|
|
496
|
+
kind: toResolvedKind(preserveFinalSymlink ? fs$1.lstatSync(absolutePath) : fs$1.statSync(absolutePath))
|
|
497
497
|
};
|
|
498
498
|
} catch (error) {
|
|
499
499
|
if (isNotFoundPathError(error)) return {
|
|
@@ -553,10 +553,10 @@ async function resolveSymlinkHopPath(symlinkPath) {
|
|
|
553
553
|
}
|
|
554
554
|
function resolveSymlinkHopPathSync(symlinkPath) {
|
|
555
555
|
try {
|
|
556
|
-
return path.resolve(
|
|
556
|
+
return path.resolve(fs$1.realpathSync(symlinkPath));
|
|
557
557
|
} catch (error) {
|
|
558
558
|
if (!isNotFoundPathError(error)) throw error;
|
|
559
|
-
const linkTarget =
|
|
559
|
+
const linkTarget = fs$1.readlinkSync(symlinkPath);
|
|
560
560
|
return resolvePathViaExistingAncestorSync(path.resolve(path.dirname(symlinkPath), linkTarget));
|
|
561
561
|
}
|
|
562
562
|
}
|
|
@@ -582,7 +582,7 @@ function sameFileIdentity(left, right) {
|
|
|
582
582
|
return sameFileIdentity$1(left, right);
|
|
583
583
|
}
|
|
584
584
|
function openVerifiedFileSync(params) {
|
|
585
|
-
const ioFs = params.ioFs ??
|
|
585
|
+
const ioFs = params.ioFs ?? fs$1;
|
|
586
586
|
const allowedType = params.allowedType ?? "file";
|
|
587
587
|
const openReadFlags = ioFs.constants.O_RDONLY | (typeof ioFs.constants.O_NOFOLLOW === "number" ? ioFs.constants.O_NOFOLLOW : 0);
|
|
588
588
|
let fd = null;
|
|
@@ -659,7 +659,7 @@ function canUseBoundaryFileOpen(ioFs) {
|
|
|
659
659
|
return typeof ioFs.openSync === "function" && typeof ioFs.closeSync === "function" && typeof ioFs.fstatSync === "function" && typeof ioFs.lstatSync === "function" && typeof ioFs.realpathSync === "function" && typeof ioFs.readFileSync === "function" && typeof ioFs.constants === "object" && ioFs.constants !== null;
|
|
660
660
|
}
|
|
661
661
|
function openBoundaryFileSync(params) {
|
|
662
|
-
const ioFs = params.ioFs ??
|
|
662
|
+
const ioFs = params.ioFs ?? fs$1;
|
|
663
663
|
const resolved = resolveBoundaryFilePathGeneric({
|
|
664
664
|
absolutePath: params.absolutePath,
|
|
665
665
|
resolve: (absolutePath) => resolveBoundaryPathSync({
|
|
@@ -710,7 +710,7 @@ function finalizeBoundaryFileOpen(params) {
|
|
|
710
710
|
});
|
|
711
711
|
}
|
|
712
712
|
async function openBoundaryFile(params) {
|
|
713
|
-
const ioFs = params.ioFs ??
|
|
713
|
+
const ioFs = params.ioFs ?? fs$1;
|
|
714
714
|
const maybeResolved = resolveBoundaryFilePathGeneric({
|
|
715
715
|
absolutePath: params.absolutePath,
|
|
716
716
|
resolve: (absolutePath) => resolveBoundaryPath({
|
|
@@ -859,7 +859,7 @@ function resolveNpmArgvForWindows(argv) {
|
|
|
859
859
|
if (!cliName) return null;
|
|
860
860
|
const nodeDir = path.dirname(process$1.execPath);
|
|
861
861
|
const cliPath = path.join(nodeDir, "node_modules", "npm", "bin", cliName);
|
|
862
|
-
if (!
|
|
862
|
+
if (!fs$1.existsSync(cliPath)) return null;
|
|
863
863
|
return [
|
|
864
864
|
process$1.execPath,
|
|
865
865
|
cliPath,
|
|
@@ -1065,7 +1065,7 @@ async function readPackageName(dir) {
|
|
|
1065
1065
|
}
|
|
1066
1066
|
function readPackageNameSync(dir) {
|
|
1067
1067
|
try {
|
|
1068
|
-
const raw =
|
|
1068
|
+
const raw = fs$1.readFileSync(path.join(dir, "package.json"), "utf-8");
|
|
1069
1069
|
const parsed = JSON.parse(raw);
|
|
1070
1070
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
1071
1071
|
} catch {
|
|
@@ -1099,7 +1099,7 @@ function candidateDirsFromArgv1(argv1) {
|
|
|
1099
1099
|
const normalized = path.resolve(argv1);
|
|
1100
1100
|
const candidates = [path.dirname(normalized)];
|
|
1101
1101
|
try {
|
|
1102
|
-
const resolved =
|
|
1102
|
+
const resolved = fs$1.realpathSync(normalized);
|
|
1103
1103
|
if (resolved !== normalized) candidates.push(path.dirname(resolved));
|
|
1104
1104
|
} catch {}
|
|
1105
1105
|
const parts = normalized.split(path.sep);
|
|
@@ -1208,14 +1208,14 @@ async function readWorkspaceFileWithGuards(params) {
|
|
|
1208
1208
|
const identity = workspaceFileIdentity(opened.stat, opened.path);
|
|
1209
1209
|
const cached = workspaceFileCache.get(params.filePath);
|
|
1210
1210
|
if (cached && cached.identity === identity) {
|
|
1211
|
-
|
|
1211
|
+
fs$1.closeSync(opened.fd);
|
|
1212
1212
|
return {
|
|
1213
1213
|
ok: true,
|
|
1214
1214
|
content: cached.content
|
|
1215
1215
|
};
|
|
1216
1216
|
}
|
|
1217
1217
|
try {
|
|
1218
|
-
const content =
|
|
1218
|
+
const content = fs$1.readFileSync(opened.fd, "utf-8");
|
|
1219
1219
|
workspaceFileCache.set(params.filePath, {
|
|
1220
1220
|
content,
|
|
1221
1221
|
identity
|
|
@@ -1232,7 +1232,7 @@ async function readWorkspaceFileWithGuards(params) {
|
|
|
1232
1232
|
error
|
|
1233
1233
|
};
|
|
1234
1234
|
} finally {
|
|
1235
|
-
|
|
1235
|
+
fs$1.closeSync(opened.fd);
|
|
1236
1236
|
}
|
|
1237
1237
|
}
|
|
1238
1238
|
function stripFrontMatter(content) {
|
package/package.json
CHANGED