@tangle-network/agent-app 0.45.26 → 0.45.28
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/assistant/index.d.ts +1 -0
- package/dist/assistant/index.js +5 -5
- package/dist/chat-routes/index.js +21 -21
- package/dist/chat-store/index.js +2 -2
- package/dist/{chunk-B2UEW62O.js → chunk-5ZTFZBS6.js} +4 -4
- package/dist/{chunk-AGCRCOQH.js → chunk-AWPK7ZDS.js} +1 -1
- package/dist/chunk-C3CAYGGQ.js +18 -0
- package/dist/chunk-C3CAYGGQ.js.map +1 -0
- package/dist/chunk-EMLGWEHV.js +33 -0
- package/dist/chunk-EMLGWEHV.js.map +1 -0
- package/dist/{chunk-XEA5EG6P.js → chunk-EPZYYWCT.js} +8 -30
- package/dist/chunk-EPZYYWCT.js.map +1 -0
- package/dist/{chunk-WD2B6HGY.js → chunk-K4RA5T3A.js} +11 -32
- package/dist/chunk-K4RA5T3A.js.map +1 -0
- package/dist/chunk-NEJ7OMQS.js +351 -0
- package/dist/chunk-NEJ7OMQS.js.map +1 -0
- package/dist/{chunk-7V2I3JGZ.js → chunk-OTLEYHOG.js} +50 -12
- package/dist/chunk-OTLEYHOG.js.map +1 -0
- package/dist/{chunk-RT5RKAFX.js → chunk-QGSVF6DZ.js} +8 -18
- package/dist/chunk-QGSVF6DZ.js.map +1 -0
- package/dist/{chunk-KOMP6NDW.js → chunk-WC43OQMR.js} +45 -34
- package/dist/chunk-WC43OQMR.js.map +1 -0
- package/dist/{chunk-N3G3FSM4.js → chunk-YXA3U4JZ.js} +9 -47
- package/dist/chunk-YXA3U4JZ.js.map +1 -0
- package/dist/design-canvas-react/index.js +4 -4
- package/dist/design-canvas-react/lazy.js +1 -1
- package/dist/legibility/cli.js +14 -8
- package/dist/legibility/cli.js.map +1 -1
- package/dist/legibility/index.js +2 -1
- package/dist/peer-floors/cli.js +14 -8
- package/dist/peer-floors/cli.js.map +1 -1
- package/dist/preflight/cli.js +4 -2
- package/dist/preflight/cli.js.map +1 -1
- package/dist/{run-tEsZUhAf.d.ts → run-D80hoLKh.d.ts} +1 -1
- package/dist/sandbox/index.d.ts +53 -1
- package/dist/sandbox/index.js +1 -1
- package/dist/signoff/cli.d.ts +2 -2
- package/dist/signoff/cli.js +6 -18
- package/dist/signoff/cli.js.map +1 -1
- package/dist/signoff/index.d.ts +4 -420
- package/dist/signoff/index.js +3 -55
- package/dist/signoff/proof-cli.js +11 -6
- package/dist/signoff/proof-cli.js.map +1 -1
- package/dist/signoff/proof.d.ts +70 -271
- package/dist/signoff/proof.js +3 -73
- package/dist/signoff/proof.js.map +1 -1
- package/dist/spend/cli.d.ts +1 -0
- package/dist/spend/cli.js +119 -0
- package/dist/spend/cli.js.map +1 -0
- package/dist/spend/index.d.ts +640 -0
- package/dist/spend/index.js +196 -0
- package/dist/spend/index.js.map +1 -0
- package/dist/stream/index.js +14 -14
- package/dist/teams/index.js +9 -9
- package/dist/teams/invitations-api.js +7 -7
- package/dist/theme-contract/cli.js +6 -2
- package/dist/theme-contract/cli.js.map +1 -1
- package/dist/theme-contract/index.js +2 -1
- package/dist/{types-U7Nz-txa.d.ts → types-Bd6uW9vQ.d.ts} +1 -1
- package/dist/web-react/index.d.ts +28 -40
- package/dist/web-react/index.js +11 -11
- package/package.json +7 -1
- package/dist/chunk-7V2I3JGZ.js.map +0 -1
- package/dist/chunk-KOMP6NDW.js.map +0 -1
- package/dist/chunk-N3G3FSM4.js.map +0 -1
- package/dist/chunk-RT5RKAFX.js.map +0 -1
- package/dist/chunk-WD2B6HGY.js.map +0 -1
- package/dist/chunk-XEA5EG6P.js.map +0 -1
- /package/dist/{chunk-B2UEW62O.js.map → chunk-5ZTFZBS6.js.map} +0 -0
- /package/dist/{chunk-AGCRCOQH.js.map → chunk-AWPK7ZDS.js.map} +0 -0
|
@@ -15,6 +15,7 @@ import '../web-react/terminal.js';
|
|
|
15
15
|
import '../billing-BibxgALe.js';
|
|
16
16
|
import '../billing/index.js';
|
|
17
17
|
import '../session-shell/index.js';
|
|
18
|
+
import '../web-react/async/index.js';
|
|
18
19
|
import '../catalog/index.js';
|
|
19
20
|
import '../harness/index.js';
|
|
20
21
|
import '../attachment-validation-BfJDBU1g.js';
|
package/dist/assistant/index.js
CHANGED
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
ChatMessages,
|
|
7
7
|
ModelPicker,
|
|
8
8
|
ProviderLogo
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-WC43OQMR.js";
|
|
10
10
|
import "../chunk-FBVLEGEG.js";
|
|
11
|
+
import "../chunk-HZ4WCA37.js";
|
|
12
|
+
import "../chunk-GEYACSFW.js";
|
|
11
13
|
import "../chunk-E4DHYENH.js";
|
|
12
14
|
import "../chunk-BATKJP3P.js";
|
|
13
15
|
import "../chunk-PC2WYTK7.js";
|
|
14
|
-
import "../chunk-HZ4WCA37.js";
|
|
15
|
-
import "../chunk-GEYACSFW.js";
|
|
16
16
|
import "../chunk-QY4BRKRJ.js";
|
|
17
17
|
import "../chunk-CCVG2TL6.js";
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-KWXUBMXU.js";
|
|
18
|
+
import "../chunk-5ZTFZBS6.js";
|
|
20
19
|
import "../chunk-ZVEEWGDK.js";
|
|
20
|
+
import "../chunk-KWXUBMXU.js";
|
|
21
21
|
import "../chunk-XZ27ENOZ.js";
|
|
22
22
|
import "../chunk-M3K2HVQD.js";
|
|
23
23
|
import "../chunk-YJMCRXQQ.js";
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createInteractionAnswerRoute
|
|
3
|
+
} from "../chunk-ZSSCVT6H.js";
|
|
1
4
|
import {
|
|
2
5
|
parseJsonObjectBody
|
|
3
6
|
} from "../chunk-F7VH4G5C.js";
|
|
@@ -25,30 +28,13 @@ import {
|
|
|
25
28
|
sanitizeAttachmentFileName,
|
|
26
29
|
sniffBinary
|
|
27
30
|
} from "../chunk-CCVG2TL6.js";
|
|
28
|
-
import {
|
|
29
|
-
normalizeClientTurnId,
|
|
30
|
-
resolveChatTurn
|
|
31
|
-
} from "../chunk-JEZJ6HTF.js";
|
|
32
|
-
import {
|
|
33
|
-
DEFAULT_STALE_TURN_LOCK_GRACE_MS,
|
|
34
|
-
DEFAULT_TERMINAL_TURN_LOCK_GRACE_MS,
|
|
35
|
-
reconcileStaleTurnLock
|
|
36
|
-
} from "../chunk-CCVWR33L.js";
|
|
37
|
-
import {
|
|
38
|
-
coalesceDeltas,
|
|
39
|
-
createBufferedTurnTap,
|
|
40
|
-
replayTurnEvents,
|
|
41
|
-
stampReplaySeq
|
|
42
|
-
} from "../chunk-SDEADFHZ.js";
|
|
43
|
-
import {
|
|
44
|
-
createInteractionAnswerRoute
|
|
45
|
-
} from "../chunk-ZSSCVT6H.js";
|
|
46
31
|
import {
|
|
47
32
|
attachmentInputToPart,
|
|
48
33
|
attachmentKindForMime,
|
|
49
34
|
mentionInputToPart,
|
|
50
35
|
toChatMessageParts
|
|
51
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-5ZTFZBS6.js";
|
|
37
|
+
import "../chunk-ZVEEWGDK.js";
|
|
52
38
|
import {
|
|
53
39
|
ChatTurnInputError,
|
|
54
40
|
DISPATCH_MAX_MEDIA_PARTS,
|
|
@@ -70,7 +56,10 @@ import {
|
|
|
70
56
|
promptPartsByteSize,
|
|
71
57
|
validateSandboxMentionPath
|
|
72
58
|
} from "../chunk-KWXUBMXU.js";
|
|
73
|
-
import
|
|
59
|
+
import {
|
|
60
|
+
normalizeClientTurnId,
|
|
61
|
+
resolveChatTurn
|
|
62
|
+
} from "../chunk-JEZJ6HTF.js";
|
|
74
63
|
import {
|
|
75
64
|
asRecord,
|
|
76
65
|
asString,
|
|
@@ -98,6 +87,17 @@ import {
|
|
|
98
87
|
parsePlanSubmittedEvent,
|
|
99
88
|
planToPersistedPart
|
|
100
89
|
} from "../chunk-YJMCRXQQ.js";
|
|
90
|
+
import {
|
|
91
|
+
DEFAULT_STALE_TURN_LOCK_GRACE_MS,
|
|
92
|
+
DEFAULT_TERMINAL_TURN_LOCK_GRACE_MS,
|
|
93
|
+
reconcileStaleTurnLock
|
|
94
|
+
} from "../chunk-CCVWR33L.js";
|
|
95
|
+
import {
|
|
96
|
+
coalesceDeltas,
|
|
97
|
+
createBufferedTurnTap,
|
|
98
|
+
replayTurnEvents,
|
|
99
|
+
stampReplaySeq
|
|
100
|
+
} from "../chunk-SDEADFHZ.js";
|
|
101
101
|
import {
|
|
102
102
|
ModelFailoverExhaustedError,
|
|
103
103
|
buildModelChain,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
flattenHistory,
|
|
110
110
|
readSandboxBinaryBytes,
|
|
111
111
|
statSandboxFileSize
|
|
112
|
-
} from "../chunk-
|
|
112
|
+
} from "../chunk-OTLEYHOG.js";
|
|
113
113
|
import "../chunk-TH7L265V.js";
|
|
114
114
|
import "../chunk-LWSJK546.js";
|
|
115
115
|
import "../chunk-P5PIAQVS.js";
|
package/dist/chat-store/index.js
CHANGED
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
mentionInputToPart,
|
|
20
20
|
mentionPartsFromMessageParts,
|
|
21
21
|
toChatMessageParts
|
|
22
|
-
} from "../chunk-
|
|
23
|
-
import "../chunk-KWXUBMXU.js";
|
|
22
|
+
} from "../chunk-5ZTFZBS6.js";
|
|
24
23
|
import "../chunk-ZVEEWGDK.js";
|
|
24
|
+
import "../chunk-KWXUBMXU.js";
|
|
25
25
|
import {
|
|
26
26
|
attachmentPartKey
|
|
27
27
|
} from "../chunk-XZ27ENOZ.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
mentionKindForPath
|
|
3
|
-
} from "./chunk-KWXUBMXU.js";
|
|
4
1
|
import {
|
|
5
2
|
persistedPartToWorkProduct
|
|
6
3
|
} from "./chunk-ZVEEWGDK.js";
|
|
4
|
+
import {
|
|
5
|
+
mentionKindForPath
|
|
6
|
+
} from "./chunk-KWXUBMXU.js";
|
|
7
7
|
import {
|
|
8
8
|
persistedPartToInteraction
|
|
9
9
|
} from "./chunk-M3K2HVQD.js";
|
|
@@ -155,4 +155,4 @@ export {
|
|
|
155
155
|
buildAttachmentPromptBlock,
|
|
156
156
|
historyContentWithAttachments
|
|
157
157
|
};
|
|
158
|
-
//# sourceMappingURL=chunk-
|
|
158
|
+
//# sourceMappingURL=chunk-5ZTFZBS6.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// src/signoff/invoked-as-script.ts
|
|
2
|
+
import { realpathSync } from "fs";
|
|
3
|
+
import { pathToFileURL } from "url";
|
|
4
|
+
function invokedAsScript(moduleUrl, entry) {
|
|
5
|
+
if (entry === void 0 || entry.length === 0) return false;
|
|
6
|
+
let resolved;
|
|
7
|
+
try {
|
|
8
|
+
resolved = realpathSync(entry);
|
|
9
|
+
} catch {
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
return moduleUrl === pathToFileURL(resolved).href;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
invokedAsScript
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=chunk-C3CAYGGQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/signoff/invoked-as-script.ts"],"sourcesContent":["import { realpathSync } from 'node:fs'\nimport { pathToFileURL } from 'node:url'\n\n/**\n * Is this module the script the process was started with?\n *\n * The obvious spelling — `import.meta.url === pathToFileURL(process.argv[1]).href`\n * — is wrong for every packaged bin, and wrong in the silent direction: the\n * module decides it was imported rather than executed, so the CLI does nothing\n * and exits 0.\n *\n * The two sides are not the same kind of path. `import.meta.url` is the module\n * URL Node resolved, and Node resolves a module's realpath unless started with\n * `--preserve-symlinks`. `process.argv[1]` is the path as SPELLED on the\n * command line. A package manager's bin shim spells it through symlinked\n * directories:\n *\n * argv[1] …/node_modules/.bin/../@scope/pkg/dist/cli.js\n * import.meta.url …/node_modules/.pnpm/pkg@1.2.3/node_modules/@scope/pkg/dist/cli.js\n *\n * Same file, two strings, and a `===` between them is false.\n *\n * So the entry path is resolved the same way Node resolved the module before\n * the comparison. A missing or unresolvable entry is not this function's\n * business to explain — it is simply not this module, which is the honest\n * answer and keeps an importer from executing a CLI.\n */\nexport function invokedAsScript(moduleUrl: string, entry: string | undefined): boolean {\n if (entry === undefined || entry.length === 0) return false\n let resolved: string\n try {\n resolved = realpathSync(entry)\n } catch {\n return false\n }\n return moduleUrl === pathToFileURL(resolved).href\n}\n"],"mappings":";AAAA,SAAS,oBAAoB;AAC7B,SAAS,qBAAqB;AA0BvB,SAAS,gBAAgB,WAAmB,OAAoC;AACrF,MAAI,UAAU,UAAa,MAAM,WAAW,EAAG,QAAO;AACtD,MAAI;AACJ,MAAI;AACF,eAAW,aAAa,KAAK;AAAA,EAC/B,QAAQ;AACN,WAAO;AAAA,EACT;AACA,SAAO,cAAc,cAAc,QAAQ,EAAE;AAC/C;","names":[]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// src/legibility/walk-sources.ts
|
|
2
|
+
import { readdirSync } from "fs";
|
|
3
|
+
import { join } from "path";
|
|
4
|
+
var SOURCE_FILE_RE = /\.(tsx?|jsx?|mjs|cjs)$/;
|
|
5
|
+
var GENERATED_SKIP_DIRS = /* @__PURE__ */ new Set([
|
|
6
|
+
"node_modules",
|
|
7
|
+
".git",
|
|
8
|
+
"dist",
|
|
9
|
+
"build",
|
|
10
|
+
".next",
|
|
11
|
+
".react-router",
|
|
12
|
+
"coverage",
|
|
13
|
+
".wrangler",
|
|
14
|
+
".turbo"
|
|
15
|
+
]);
|
|
16
|
+
function walkSources(dir, ignore = [], skipDirs = GENERATED_SKIP_DIRS) {
|
|
17
|
+
let entries;
|
|
18
|
+
try {
|
|
19
|
+
entries = readdirSync(dir, { withFileTypes: true });
|
|
20
|
+
} catch {
|
|
21
|
+
return [];
|
|
22
|
+
}
|
|
23
|
+
return entries.flatMap((entry) => {
|
|
24
|
+
const full = join(dir, entry.name);
|
|
25
|
+
if (entry.isDirectory()) return skipDirs.has(entry.name) ? [] : walkSources(full, ignore, skipDirs);
|
|
26
|
+
return SOURCE_FILE_RE.test(entry.name) ? [full] : [];
|
|
27
|
+
}).filter((file) => !ignore.some((needle) => file.includes(needle)));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export {
|
|
31
|
+
walkSources
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=chunk-EMLGWEHV.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/legibility/walk-sources.ts"],"sourcesContent":["/**\n * The node-only recursive source walker `/legibility` and `/theme-contract`\n * both need: collect scannable files under a directory, skipping vendor and\n * generated output. Extracted here because it drifted into two copies one day\n * apart with different skip lists — `/theme-contract`'s was missing\n * `.react-router` / `.wrangler` / `.turbo`, so it descended into and linted\n * framework-generated output the newer list correctly skips.\n *\n * Zero dependencies beyond `node:fs`/`node:path`, so either subpath can import\n * it without pulling in the other's unrelated surface (`/legibility`'s own\n * hand-written lexer, in particular).\n */\n\nimport { type Dirent, readdirSync } from 'node:fs'\nimport { join } from 'node:path'\n\n/** Extensions a \"source file\" scan considers — TS/TSX/JS/JSX/MJS/CJS. */\nconst SOURCE_FILE_RE = /\\.(tsx?|jsx?|mjs|cjs)$/\n\n/** Directories never worth descending into: dependency trees and every\n * framework's generated-output dir this fleet's stacks produce. Callers\n * needing a different set pass their own via `walkSources`'s `skipDirs`. */\nconst GENERATED_SKIP_DIRS: ReadonlySet<string> = new Set([\n 'node_modules',\n '.git',\n 'dist',\n 'build',\n '.next',\n '.react-router',\n 'coverage',\n '.wrangler',\n '.turbo',\n])\n\n/**\n * Recursively collect scannable files under `dir`.\n *\n * `ignore` is matched by substring against the full path — the caller's own\n * exclusions (test files, fixtures, `.d.ts`, generated route types, …) layer\n * on top of the shared `GENERATED_SKIP_DIRS` floor rather than being baked in\n * here, since which files count as \"source\" is a per-checker policy.\n */\nexport function walkSources(\n dir: string,\n ignore: readonly string[] = [],\n skipDirs: ReadonlySet<string> = GENERATED_SKIP_DIRS,\n): string[] {\n let entries: Dirent[]\n try {\n entries = readdirSync(dir, { withFileTypes: true })\n } catch {\n return []\n }\n return entries\n .flatMap((entry) => {\n const full = join(dir, entry.name)\n if (entry.isDirectory()) return skipDirs.has(entry.name) ? [] : walkSources(full, ignore, skipDirs)\n return SOURCE_FILE_RE.test(entry.name) ? [full] : []\n })\n .filter((file) => !ignore.some((needle) => file.includes(needle)))\n}\n"],"mappings":";AAaA,SAAsB,mBAAmB;AACzC,SAAS,YAAY;AAGrB,IAAM,iBAAiB;AAKvB,IAAM,sBAA2C,oBAAI,IAAI;AAAA,EACvD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAUM,SAAS,YACd,KACA,SAA4B,CAAC,GAC7B,WAAgC,qBACtB;AACV,MAAI;AACJ,MAAI;AACF,cAAU,YAAY,KAAK,EAAE,eAAe,KAAK,CAAC;AAAA,EACpD,QAAQ;AACN,WAAO,CAAC;AAAA,EACV;AACA,SAAO,QACJ,QAAQ,CAAC,UAAU;AAClB,UAAM,OAAO,KAAK,KAAK,MAAM,IAAI;AACjC,QAAI,MAAM,YAAY,EAAG,QAAO,SAAS,IAAI,MAAM,IAAI,IAAI,CAAC,IAAI,YAAY,MAAM,QAAQ,QAAQ;AAClG,WAAO,eAAe,KAAK,MAAM,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC;AAAA,EACrD,CAAC,EACA,OAAO,CAAC,SAAS,CAAC,OAAO,KAAK,CAAC,WAAW,KAAK,SAAS,MAAM,CAAC,CAAC;AACrE;","names":[]}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
walkSources
|
|
3
|
+
} from "./chunk-EMLGWEHV.js";
|
|
4
|
+
|
|
1
5
|
// src/legibility/source.ts
|
|
2
6
|
var IDENT_START = /[A-Za-z_$]/;
|
|
3
7
|
var IDENT_PART = /[A-Za-z0-9_$.:-]/;
|
|
@@ -542,20 +546,8 @@ function clip(value, max = 72) {
|
|
|
542
546
|
}
|
|
543
547
|
|
|
544
548
|
// src/legibility/scan.ts
|
|
545
|
-
import { readFileSync
|
|
546
|
-
import {
|
|
547
|
-
var SOURCE_RE = /\.(tsx?|jsx?|mjs|cjs)$/;
|
|
548
|
-
var SKIP_DIRS = /* @__PURE__ */ new Set([
|
|
549
|
-
"node_modules",
|
|
550
|
-
".git",
|
|
551
|
-
"dist",
|
|
552
|
-
"build",
|
|
553
|
-
".next",
|
|
554
|
-
".react-router",
|
|
555
|
-
"coverage",
|
|
556
|
-
".wrangler",
|
|
557
|
-
".turbo"
|
|
558
|
-
]);
|
|
549
|
+
import { readFileSync } from "fs";
|
|
550
|
+
import { relative } from "path";
|
|
559
551
|
var DEFAULT_IGNORE = [
|
|
560
552
|
".test.",
|
|
561
553
|
".spec.",
|
|
@@ -568,20 +560,6 @@ var DEFAULT_IGNORE = [
|
|
|
568
560
|
".stories.",
|
|
569
561
|
"/+types/"
|
|
570
562
|
];
|
|
571
|
-
function walkSources(dir, ignore = []) {
|
|
572
|
-
let entries;
|
|
573
|
-
try {
|
|
574
|
-
entries = readdirSync(dir, { withFileTypes: true });
|
|
575
|
-
} catch {
|
|
576
|
-
return [];
|
|
577
|
-
}
|
|
578
|
-
const skip = [...DEFAULT_IGNORE, ...ignore];
|
|
579
|
-
return entries.flatMap((entry) => {
|
|
580
|
-
const full = join(dir, entry.name);
|
|
581
|
-
if (entry.isDirectory()) return SKIP_DIRS.has(entry.name) ? [] : walkSources(full, ignore);
|
|
582
|
-
return SOURCE_RE.test(entry.name) ? [full] : [];
|
|
583
|
-
}).filter((file) => !skip.some((needle) => file.includes(needle)));
|
|
584
|
-
}
|
|
585
563
|
function scanFile(path) {
|
|
586
564
|
let text;
|
|
587
565
|
try {
|
|
@@ -604,7 +582,7 @@ function buildScannedFile(path, text) {
|
|
|
604
582
|
};
|
|
605
583
|
}
|
|
606
584
|
function scanSources(srcDirs, ignore = []) {
|
|
607
|
-
const files = srcDirs.flatMap((dir) => walkSources(dir, ignore));
|
|
585
|
+
const files = srcDirs.flatMap((dir) => walkSources(dir, [...DEFAULT_IGNORE, ...ignore]));
|
|
608
586
|
const unique = [...new Set(files)].sort();
|
|
609
587
|
return unique.flatMap((path) => {
|
|
610
588
|
const scanned = scanFile(path);
|
|
@@ -1475,4 +1453,4 @@ export {
|
|
|
1475
1453
|
legibilityReportToJson,
|
|
1476
1454
|
checkLegibility
|
|
1477
1455
|
};
|
|
1478
|
-
//# sourceMappingURL=chunk-
|
|
1456
|
+
//# sourceMappingURL=chunk-EPZYYWCT.js.map
|