@wrongstack/tools 0.320.1 → 1.0.1
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/_danger-detect.d.ts +8 -0
- package/dist/_syntax-check.d.ts +1 -2
- package/dist/audit.d.ts +4 -5
- package/dist/audit.js +6 -6
- package/dist/auto-proceed-loop-guard.d.ts +1 -1
- package/dist/auto-proceed-loop-guard.js +9 -160
- package/dist/bash-kill-guard.d.ts +2 -3
- package/dist/bash.d.ts +2 -3
- package/dist/bash.js +4 -4
- package/dist/batch-tool-use.d.ts +2 -3
- package/dist/batch-tool-use.js +1 -1
- package/dist/browser/index.d.ts +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/browser/tools.d.ts +56 -45
- package/dist/builtin.js +50 -50
- package/dist/{chunk-T77XOX7E.js → chunk-24T5XIJU.js} +1 -1
- package/dist/{chunk-DTQ75VBC.js → chunk-2CTZW6JQ.js} +2 -2
- package/dist/{chunk-KWXIKGE3.js → chunk-3D5DJWOE.js} +3 -3
- package/dist/{chunk-XSSFBS5I.js → chunk-4ERMPDHV.js} +11 -6
- package/dist/{chunk-QSNVDHOZ.js → chunk-4WPBS45A.js} +4 -5
- package/dist/{chunk-4CQWNZ62.js → chunk-5ITQPCLC.js} +2 -2
- package/dist/{chunk-B4HTSV6Z.js → chunk-5KS24LTS.js} +11 -11
- package/dist/{chunk-QPNYDH5B.js → chunk-62OAECEQ.js} +29 -7
- package/dist/{chunk-DFQDJT22.js → chunk-6GOZTS6F.js} +3 -3
- package/dist/{chunk-5UFVCIUB.js → chunk-6H4ERJP7.js} +140 -24
- package/dist/{chunk-34VLZ35Z.js → chunk-7HL23T3T.js} +63 -10
- package/dist/{chunk-HFXSNKCV.js → chunk-7JJFC6CT.js} +1 -1
- package/dist/{chunk-23EX5WDO.js → chunk-7LQCT3LT.js} +3 -3
- package/dist/{chunk-NDIT3SBZ.js → chunk-7N5U2RAU.js} +2 -2
- package/dist/{chunk-QBV725YG.js → chunk-7ODZTPCU.js} +2 -2
- package/dist/{chunk-6AAOT4PW.js → chunk-AQ5YBURX.js} +16 -4
- package/dist/{chunk-ZMW6WJFT.js → chunk-ASEXQRA7.js} +3 -3
- package/dist/{chunk-FRN7TIAA.js → chunk-B3MGJBFI.js} +1 -1
- package/dist/{chunk-JLYA4X7K.js → chunk-CGXTR34H.js} +21 -6
- package/dist/{chunk-IU4DV2PA.js → chunk-CHEK3ASV.js} +6 -3
- package/dist/{chunk-GOIZNNOA.js → chunk-DJYLI7EW.js} +1 -1
- package/dist/{chunk-Z6IHMJMC.js → chunk-DK4J2WMH.js} +11 -11
- package/dist/{chunk-OYP27E3I.js → chunk-DRRY6SCM.js} +47 -20
- package/dist/{chunk-JVRLTEO7.js → chunk-E7JE3UEX.js} +2 -2
- package/dist/{chunk-BK732J7I.js → chunk-FBUP524S.js} +4 -4
- package/dist/{chunk-NYRLWDT5.js → chunk-FVM3O4JQ.js} +1 -1
- package/dist/chunk-FYDBUVQD.js +244 -0
- package/dist/{chunk-PV6HIZQD.js → chunk-GDDXX27P.js} +50 -50
- package/dist/{chunk-3GIKYHLA.js → chunk-GKSG5CPH.js} +6 -6
- package/dist/{chunk-ESLPBT5A.js → chunk-HDYUBRMF.js} +4 -3
- package/dist/{chunk-4BABEJC2.js → chunk-IAYMTTR2.js} +236 -79
- package/dist/{chunk-ELRRTWNP.js → chunk-IXIS7RSG.js} +2 -2
- package/dist/{chunk-HR67OWEP.js → chunk-IYH4OHBP.js} +5 -5
- package/dist/{chunk-W232EFEM.js → chunk-JDOO4P6Z.js} +7 -4
- package/dist/{chunk-2OXHS3KZ.js → chunk-KLJZ4WV4.js} +4 -3
- package/dist/{chunk-3M7LLN7W.js → chunk-LQSOU63Z.js} +12 -11
- package/dist/{chunk-OTPTQBYE.js → chunk-MGPR7VG3.js} +279 -265
- package/dist/{chunk-C2DQKVLO.js → chunk-MJSJWXBF.js} +1 -1
- package/dist/{chunk-NSPNFOJ7.js → chunk-MK2JK35J.js} +25 -10
- package/dist/{chunk-JSNSMG5R.js → chunk-MSOAX3GC.js} +1 -1
- package/dist/{chunk-J43O3BOX.js → chunk-N3K2SFEI.js} +532 -492
- package/dist/{chunk-J74TMK4M.js → chunk-NJX2RXKJ.js} +50 -7
- package/dist/chunk-NL2S2CXD.js +171 -0
- package/dist/{chunk-WAQASTXB.js → chunk-O6BY43ZB.js} +29 -8
- package/dist/{chunk-QGF2C7TF.js → chunk-PVCB7RUZ.js} +2 -2
- package/dist/{chunk-YTKSNTT4.js → chunk-QA6IASYX.js} +8 -8
- package/dist/{chunk-VPALDFYM.js → chunk-RV7BVTDG.js} +1 -1
- package/dist/chunk-S57CDR2H.js +288 -0
- package/dist/{chunk-W2CECGTG.js → chunk-SMARDKAC.js} +1 -1
- package/dist/{chunk-QWKSKFKZ.js → chunk-SOR7OCYP.js} +1 -1
- package/dist/{chunk-I7FBZOEP.js → chunk-T3SMFF5Q.js} +11 -5
- package/dist/{chunk-4BHUSMNL.js → chunk-UI3ZJIG3.js} +1 -1
- package/dist/{chunk-WXJY3BKV.js → chunk-VBF2YXUW.js} +2 -2
- package/dist/{chunk-FQNXYA6W.js → chunk-VU3QBYL4.js} +36 -5
- package/dist/{chunk-VD2LV5WO.js → chunk-VZGPASGD.js} +37 -12
- package/dist/{chunk-UZFY3CKD.js → chunk-WEEVSWQB.js} +17 -6
- package/dist/chunk-XXRMF2BC.js +186 -0
- package/dist/{chunk-LRDIRJJL.js → chunk-YEISRT4S.js} +5 -11
- package/dist/{chunk-Q5JPPCZC.js → chunk-YJTXRH5Y.js} +3 -2
- package/dist/{chunk-Z5Q3TXRY.js → chunk-ZTCJCYLN.js} +3 -3
- package/dist/circuit-breaker.d.ts +1 -0
- package/dist/circuit-breaker.js +1 -1
- package/dist/clarify.d.ts +1 -0
- package/dist/codebase-index/codebase-ast-replace-tool.d.ts +2 -3
- package/dist/codebase-index/codebase-impact-analysis-tool.d.ts +5 -4
- package/dist/codebase-index/codebase-incoming-calls-tool.d.ts +4 -3
- package/dist/codebase-index/codebase-index-tool.d.ts +2 -3
- package/dist/codebase-index/codebase-invariant-check-tool.d.ts +2 -3
- package/dist/codebase-index/codebase-outgoing-calls-tool.d.ts +4 -3
- package/dist/codebase-index/codebase-repo-map-tool.d.ts +2 -3
- package/dist/codebase-index/codebase-search-tool.d.ts +2 -3
- package/dist/codebase-index/codebase-skeleton-tool.d.ts +2 -3
- package/dist/codebase-index/codebase-stats-tool.d.ts +9 -3
- package/dist/codebase-index/codebase-targeted-test-tool.d.ts +4 -3
- package/dist/codebase-index/index.d.ts +11 -11
- package/dist/codebase-index/index.js +8 -8
- package/dist/codebase-index/project-server-framing.d.ts +29 -0
- package/dist/codebase-index/project-server-lifecycle.d.ts +20 -0
- package/dist/codebase-index/project-server-operations.d.ts +37 -0
- package/dist/codebase-index/project-server-types.d.ts +30 -0
- package/dist/codebase-index/project-server-watcher.d.ts +25 -0
- package/dist/codebase-index/project-server.js +448 -391
- package/dist/codebase-index/worker.js +2 -2
- package/dist/codebase-index/writer-init.d.ts +13 -0
- package/dist/codebase-index/writer-maintenance.d.ts +14 -0
- package/dist/codebase-index/writer.d.ts +0 -15
- package/dist/design.d.ts +2 -2
- package/dist/design.js +1 -1
- package/dist/diff.d.ts +4 -4
- package/dist/diff.js +1 -1
- package/dist/document.d.ts +3 -4
- package/dist/document.js +1 -1
- package/dist/e2e.d.ts +1 -1
- package/dist/e2e.js +1 -1
- package/dist/edit.d.ts +3 -3
- package/dist/edit.js +6 -6
- package/dist/exec.d.ts +2 -3
- package/dist/exec.js +4 -4
- package/dist/fetch.d.ts +4 -3
- package/dist/fetch.js +1 -1
- package/dist/format.d.ts +17 -45
- package/dist/format.js +12 -8
- package/dist/git.d.ts +3 -3
- package/dist/git.js +1 -1
- package/dist/glob.d.ts +2 -3
- package/dist/glob.js +2 -2
- package/dist/grep.d.ts +7 -5
- package/dist/grep.js +3 -3
- package/dist/index.d.ts +54 -45
- package/dist/index.js +118 -59
- package/dist/install.d.ts +7 -55
- package/dist/install.js +6 -6
- package/dist/json.d.ts +3 -4
- package/dist/json.js +2 -2
- package/dist/kanban-tool-types.d.ts +1 -2
- package/dist/kanban.d.ts +3 -19
- package/dist/kanban.js +1 -1
- package/dist/languages/execute-tool.d.ts +2 -3
- package/dist/languages/index.d.ts +2 -2
- package/dist/languages/index.js +4 -4
- package/dist/languages/tool.d.ts +3 -4
- package/dist/{legacy-bridge-FOV5ODDI.js → legacy-bridge-YXANP5QB.js} +6 -6
- package/dist/lint.d.ts +5 -4
- package/dist/lint.js +6 -6
- package/dist/logs.d.ts +3 -4
- package/dist/logs.js +2 -2
- package/dist/memory.d.ts +7 -8
- package/dist/memory.js +1 -1
- package/dist/mode.d.ts +3 -4
- package/dist/mode.js +1 -1
- package/dist/next-steps-tool.d.ts +2 -3
- package/dist/next-steps.d.ts +4 -0
- package/dist/next-steps.js +9 -175
- package/dist/outdated.d.ts +5 -29
- package/dist/outdated.js +3 -3
- package/dist/pack.js +51 -51
- package/dist/patch.d.ts +2 -3
- package/dist/patch.js +5 -5
- package/dist/plan.d.ts +4 -4
- package/dist/plan.js +3 -3
- package/dist/process-registry.js +2 -2
- package/dist/ps-slash.js +4 -4
- package/dist/pwsh.d.ts +1 -0
- package/dist/read.d.ts +5 -5
- package/dist/read.js +5 -5
- package/dist/replace.d.ts +2 -3
- package/dist/replace.js +6 -6
- package/dist/scaffold.d.ts +7 -3
- package/dist/scaffold.js +3 -1
- package/dist/search.d.ts +17 -3
- package/dist/search.js +5 -1
- package/dist/set-working-dir.d.ts +2 -3
- package/dist/skill.d.ts +4 -5
- package/dist/skill.js +1 -1
- package/dist/task.d.ts +6 -6
- package/dist/task.js +3 -3
- package/dist/test.d.ts +5 -4
- package/dist/test.js +6 -6
- package/dist/todo.d.ts +8 -8
- package/dist/todo.js +2 -2
- package/dist/tool-diff.js +11 -230
- package/dist/tool-help.d.ts +2 -3
- package/dist/tool-help.js +1 -1
- package/dist/tool-search.d.ts +2 -3
- package/dist/tool-search.js +1 -1
- package/dist/tool-summary.js +5 -281
- package/dist/tool-tier.js +52 -52
- package/dist/tool-use.d.ts +2 -3
- package/dist/tool-use.js +1 -1
- package/dist/tree.d.ts +5 -3
- package/dist/tree.js +5 -1
- package/dist/typecheck.d.ts +3 -3
- package/dist/typecheck.js +6 -6
- package/dist/write.d.ts +2 -3
- package/dist/write.js +6 -6
- package/package.json +5 -5
- package/dist/spawn-background.d.ts +0 -80
|
@@ -1,6 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveIndexDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N3K2SFEI.js";
|
|
4
|
+
|
|
5
|
+
// src/codebase-index/project-server-endpoint.ts
|
|
6
|
+
import { createHash } from "node:crypto";
|
|
7
|
+
import * as fs from "node:fs";
|
|
8
|
+
import * as os from "node:os";
|
|
9
|
+
import * as path from "node:path";
|
|
10
|
+
import { fileURLToPath } from "node:url";
|
|
11
|
+
var PROJECT_INDEX_SERVER_PROTOCOL_VERSION = 1;
|
|
12
|
+
var PROJECT_INDEX_SERVER_METADATA_FILE = "server.json";
|
|
13
|
+
var PROJECT_INDEX_SERVER_SOCKET_DIR = `wsci-v${PROJECT_INDEX_SERVER_PROTOCOL_VERSION}`;
|
|
14
|
+
var buildIdCache;
|
|
15
|
+
function projectIndexServerBuildId(entrypoint) {
|
|
16
|
+
const href = entrypoint instanceof URL ? entrypoint.href : entrypoint;
|
|
17
|
+
const cleanHref = href.split(/[?#]/, 1)[0] ?? href;
|
|
18
|
+
const file = cleanHref.startsWith("file:") ? fileURLToPath(cleanHref) : path.resolve(cleanHref);
|
|
19
|
+
try {
|
|
20
|
+
const stat = fs.statSync(file);
|
|
21
|
+
if (buildIdCache?.file === file && buildIdCache.mtimeMs === stat.mtimeMs && buildIdCache.size === stat.size) {
|
|
22
|
+
return buildIdCache.buildId;
|
|
23
|
+
}
|
|
24
|
+
const buildId = createHash("sha256").update(fs.readFileSync(file)).digest("hex").slice(0, 24);
|
|
25
|
+
buildIdCache = { file, mtimeMs: stat.mtimeMs, size: stat.size, buildId };
|
|
26
|
+
return buildId;
|
|
27
|
+
} catch {
|
|
28
|
+
return `unreadable:${path.basename(file)}`;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function normalizeLocalPath(value) {
|
|
32
|
+
const resolved = path.resolve(value);
|
|
33
|
+
return process.platform === "win32" ? resolved.toLowerCase() : resolved;
|
|
34
|
+
}
|
|
35
|
+
function projectIndexServerKey(projectRoot, indexDir) {
|
|
36
|
+
const resolvedIndexDir = normalizeLocalPath(resolveIndexDir(projectRoot, indexDir));
|
|
37
|
+
return createHash("sha256").update(resolvedIndexDir).digest("hex").slice(0, 24);
|
|
38
|
+
}
|
|
39
|
+
function projectIndexServerEndpoint(projectRoot, indexDir) {
|
|
40
|
+
const key = projectIndexServerKey(projectRoot, indexDir);
|
|
41
|
+
if (process.platform === "win32") {
|
|
42
|
+
return `\\\\.\\pipe\\wrongstack-codebase-index-v${PROJECT_INDEX_SERVER_PROTOCOL_VERSION}-${key}`;
|
|
43
|
+
}
|
|
44
|
+
return path.join(os.tmpdir(), PROJECT_INDEX_SERVER_SOCKET_DIR, `${key}.sock`);
|
|
45
|
+
}
|
|
46
|
+
function projectIndexServerMetadataPath(projectRoot, indexDir) {
|
|
47
|
+
return path.join(
|
|
48
|
+
path.resolve(resolveIndexDir(projectRoot, indexDir)),
|
|
49
|
+
PROJECT_INDEX_SERVER_METADATA_FILE
|
|
50
|
+
);
|
|
51
|
+
}
|
|
4
52
|
|
|
5
53
|
// src/codebase-index/binary-frame.ts
|
|
6
54
|
import { decode, encode } from "@msgpack/msgpack";
|
|
@@ -53,54 +101,6 @@ function encodeJsonFrame(message) {
|
|
|
53
101
|
`;
|
|
54
102
|
}
|
|
55
103
|
|
|
56
|
-
// src/codebase-index/project-server-endpoint.ts
|
|
57
|
-
import { createHash } from "node:crypto";
|
|
58
|
-
import * as fs from "node:fs";
|
|
59
|
-
import * as os from "node:os";
|
|
60
|
-
import * as path from "node:path";
|
|
61
|
-
import { fileURLToPath } from "node:url";
|
|
62
|
-
var PROJECT_INDEX_SERVER_PROTOCOL_VERSION = 1;
|
|
63
|
-
var PROJECT_INDEX_SERVER_METADATA_FILE = "server.json";
|
|
64
|
-
var PROJECT_INDEX_SERVER_SOCKET_DIR = `wsci-v${PROJECT_INDEX_SERVER_PROTOCOL_VERSION}`;
|
|
65
|
-
var buildIdCache;
|
|
66
|
-
function projectIndexServerBuildId(entrypoint) {
|
|
67
|
-
const href = entrypoint instanceof URL ? entrypoint.href : entrypoint;
|
|
68
|
-
const cleanHref = href.split(/[?#]/, 1)[0] ?? href;
|
|
69
|
-
const file = cleanHref.startsWith("file:") ? fileURLToPath(cleanHref) : path.resolve(cleanHref);
|
|
70
|
-
try {
|
|
71
|
-
const stat = fs.statSync(file);
|
|
72
|
-
if (buildIdCache?.file === file && buildIdCache.mtimeMs === stat.mtimeMs && buildIdCache.size === stat.size) {
|
|
73
|
-
return buildIdCache.buildId;
|
|
74
|
-
}
|
|
75
|
-
const buildId = createHash("sha256").update(fs.readFileSync(file)).digest("hex").slice(0, 24);
|
|
76
|
-
buildIdCache = { file, mtimeMs: stat.mtimeMs, size: stat.size, buildId };
|
|
77
|
-
return buildId;
|
|
78
|
-
} catch {
|
|
79
|
-
return `unreadable:${path.basename(file)}`;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
function normalizeLocalPath(value) {
|
|
83
|
-
const resolved = path.resolve(value);
|
|
84
|
-
return process.platform === "win32" ? resolved.toLowerCase() : resolved;
|
|
85
|
-
}
|
|
86
|
-
function projectIndexServerKey(projectRoot, indexDir) {
|
|
87
|
-
const resolvedIndexDir = normalizeLocalPath(resolveIndexDir(projectRoot, indexDir));
|
|
88
|
-
return createHash("sha256").update(resolvedIndexDir).digest("hex").slice(0, 24);
|
|
89
|
-
}
|
|
90
|
-
function projectIndexServerEndpoint(projectRoot, indexDir) {
|
|
91
|
-
const key = projectIndexServerKey(projectRoot, indexDir);
|
|
92
|
-
if (process.platform === "win32") {
|
|
93
|
-
return `\\\\.\\pipe\\wrongstack-codebase-index-v${PROJECT_INDEX_SERVER_PROTOCOL_VERSION}-${key}`;
|
|
94
|
-
}
|
|
95
|
-
return path.join(os.tmpdir(), PROJECT_INDEX_SERVER_SOCKET_DIR, `${key}.sock`);
|
|
96
|
-
}
|
|
97
|
-
function projectIndexServerMetadataPath(projectRoot, indexDir) {
|
|
98
|
-
return path.join(
|
|
99
|
-
path.resolve(resolveIndexDir(projectRoot, indexDir)),
|
|
100
|
-
PROJECT_INDEX_SERVER_METADATA_FILE
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
104
|
// src/codebase-index/project-server-protocol.ts
|
|
105
105
|
var PROJECT_INDEX_SERVER_MAX_FRAME_CHARS = 64 * 1024 * 1024;
|
|
106
106
|
function encodeProjectServerMessage(message) {
|
|
@@ -120,4 +120,4 @@ export {
|
|
|
120
120
|
PROJECT_INDEX_SERVER_MAX_FRAME_CHARS,
|
|
121
121
|
encodeProjectServerMessage
|
|
122
122
|
};
|
|
123
|
-
//# sourceMappingURL=chunk-
|
|
123
|
+
//# sourceMappingURL=chunk-GDDXX27P.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkSyntax
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MSOAX3GC.js";
|
|
4
4
|
import {
|
|
5
5
|
enqueueReindex
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZTCJCYLN.js";
|
|
7
7
|
import {
|
|
8
8
|
safeResolveReal,
|
|
9
9
|
sha256hex,
|
|
@@ -114,8 +114,8 @@ async function prepareWrite(input, ctx) {
|
|
|
114
114
|
existed = stat2.isFile();
|
|
115
115
|
if (existed) {
|
|
116
116
|
prev = await fs.readFile(absPath, "utf8");
|
|
117
|
-
if (!ctx.hasRead(absPath)) {
|
|
118
|
-
ctx.recordRead(absPath, stat2.mtimeMs, "write", sha256hex(prev));
|
|
117
|
+
if (ctx.hasRead ? !ctx.hasRead(absPath) : true) {
|
|
118
|
+
ctx.recordRead?.(absPath, stat2.mtimeMs, "write", sha256hex(prev));
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
} catch (err) {
|
|
@@ -139,7 +139,7 @@ async function finishWrite(input, ctx, prepared, signal) {
|
|
|
139
139
|
const { text: diff, truncated: diffTruncated } = truncateDiffPayload(rawDiff, MAX_DIFF_BYTES);
|
|
140
140
|
const contentHash = sha256hex(content);
|
|
141
141
|
const stat2 = await fs.stat(prepared.absPath);
|
|
142
|
-
ctx.recordRead(prepared.absPath, stat2.mtimeMs, "write", contentHash);
|
|
142
|
+
ctx.recordRead?.(prepared.absPath, stat2.mtimeMs, "write", contentHash);
|
|
143
143
|
ctx.session?.recordFileChange?.({
|
|
144
144
|
path: prepared.absPath,
|
|
145
145
|
action: prepared.existed ? "modified" : "created",
|
|
@@ -179,4 +179,4 @@ async function finishWrite(input, ctx, prepared, signal) {
|
|
|
179
179
|
export {
|
|
180
180
|
writeTool
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-GKSG5CPH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CircuitBreaker
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7JJFC6CT.js";
|
|
4
4
|
|
|
5
5
|
// src/process-registry.ts
|
|
6
6
|
import { spawn } from "node:child_process";
|
|
@@ -35,8 +35,9 @@ function redactCommand(cmd) {
|
|
|
35
35
|
for (const pattern of SENSITIVE_FLAG_PATTERNS) {
|
|
36
36
|
result = result.replace(pattern, (match) => {
|
|
37
37
|
const eq = match.indexOf("=");
|
|
38
|
+
const colon = match.indexOf(":");
|
|
38
39
|
const sp = match.search(/\s/);
|
|
39
|
-
const delim = eq !== -1 ? "=" : sp !== -1 ? match[sp] : null;
|
|
40
|
+
const delim = eq !== -1 && (colon === -1 || eq < colon) ? "=" : colon !== -1 ? ":" : sp !== -1 ? match[sp] : null;
|
|
40
41
|
if (delim !== null) {
|
|
41
42
|
const flag = match.slice(0, match.indexOf(expectDefined(delim)) + 1);
|
|
42
43
|
return `${flag}[REDACTED]`;
|
|
@@ -470,4 +471,4 @@ export {
|
|
|
470
471
|
getProcessRegistry,
|
|
471
472
|
_resetProcessRegistry
|
|
472
473
|
};
|
|
473
|
-
//# sourceMappingURL=chunk-
|
|
474
|
+
//# sourceMappingURL=chunk-HDYUBRMF.js.map
|