@backbencher/brain 0.1.0 → 0.1.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/README.md +1 -1
- package/dist/{brain-index-health-KY7K552E.js → brain-index-health-Q5APTJQL.js} +2 -2
- package/dist/{brain-relationship-enrichment-QH7OOHUF.js → brain-relationship-enrichment-MYR2AM4F.js} +1 -1
- package/dist/{chunk-66A5ZFYA.js → chunk-22V37YTK.js} +8 -8
- package/dist/{chunk-V44PGPA6.js → chunk-3ZTOHHSW.js} +54 -54
- package/dist/{chunk-YI6FF2ZR.js → chunk-5BVAH26D.js} +1 -1
- package/dist/{chunk-FVVQTSIM.js → chunk-62DHLYW6.js} +1 -1
- package/dist/{chunk-UFE77L67.js → chunk-7DRPNVIN.js} +1 -1
- package/dist/{chunk-3LFTSMIV.js → chunk-7MBYT777.js} +2 -2
- package/dist/{chunk-HOWAQXJO.js → chunk-AHDWGM7Q.js} +3 -3
- package/dist/{chunk-5SD45FLC.js → chunk-B5GEAAYF.js} +1 -1
- package/dist/{chunk-CW4XXSNN.js → chunk-BEIZZ73B.js} +4 -4
- package/dist/{chunk-J4PMBXQQ.js → chunk-DWKXZ6IF.js} +1 -1
- package/dist/{chunk-47HKX4AJ.js → chunk-ENW4BTBA.js} +1 -1
- package/dist/{chunk-BHB7BYYI.js → chunk-EY5ZZUUA.js} +1 -1
- package/dist/{chunk-6AIRWAO2.js → chunk-HJEWO5EV.js} +1 -1
- package/dist/{chunk-VURYFIHW.js → chunk-NO3U3FJQ.js} +2 -2
- package/dist/{chunk-KLK3PBTO.js → chunk-QKTRECYS.js} +1 -1
- package/dist/{chunk-RH7KC5HU.js → chunk-SGGCSHAX.js} +16 -16
- package/dist/{chunk-2RTN2DFU.js → chunk-UQNQZXHY.js} +2 -2
- package/dist/{chunk-6WNGD3NN.js → chunk-WIG36E67.js} +2 -2
- package/dist/{chunk-XJKJYIPP.js → chunk-XHK3WWGB.js} +1 -1
- package/dist/{chunk-IFZNR5UJ.js → chunk-XTQM2IP3.js} +1 -1
- package/dist/{chunk-FWSL4VG6.js → chunk-ZE2LG76D.js} +29 -23
- package/dist/{chunk-PJTNGD3Z.js → chunk-ZETTGPAW.js} +41 -15
- package/dist/cli/index.js +10 -10
- package/dist/{content-search-642F7E5V.js → content-search-7XIP555Q.js} +1 -1
- package/dist/{database-TCTZDLE5.js → database-76RP44JG.js} +1 -1
- package/dist/{doctor-GXCKSJOX.js → doctor-ANGETYMN.js} +2 -2
- package/dist/{edit-engine-KM7MPFEC.js → edit-engine-CG72LDZD.js} +6 -6
- package/dist/{engine-42TZFNIZ.js → engine-BKEOGN7N.js} +1 -1
- package/dist/{engine-LO6L4JLQ.js → engine-VIW6NSKO.js} +1 -1
- package/dist/{fingerprint-XDXFRWO6.js → fingerprint-OBLIMZLP.js} +5 -5
- package/dist/{framework-intelligence-DWFCKV44.js → framework-intelligence-3LORTPOX.js} +1 -1
- package/dist/{graph-engine-PL5YA7BA.js → graph-engine-HBSQNPTB.js} +2 -2
- package/dist/{graph_request-MM4REP6H.js → graph_request-Q6NKB6N2.js} +2 -2
- package/dist/{impact_request-WDE47IZ5.js → impact_request-LYP672WE.js} +3 -3
- package/dist/{index-status-6BD7UBHR.js → index-status-7OVGYSGW.js} +2 -2
- package/dist/index.js +10 -10
- package/dist/lsp/server.js +9 -9
- package/dist/mcp/server.js +16 -16
- package/dist/{parallel-indexer-4PW3AFXP.js → parallel-indexer-FK2XKZXY.js} +4 -4
- package/dist/pool-worker.js +2 -2
- package/dist/{project-health-ZS5TS2Z6.js → project-health-6XPENVAA.js} +1 -1
- package/dist/{project-registry-DGZBIZS7.js → project-registry-ZJ3DVUGO.js} +5 -5
- package/dist/{real-bash-analyzer-SXSV67E2.js → real-bash-analyzer-EJAU5LW5.js} +1 -1
- package/dist/{real-c-analyzer-SY7FTZ6W.js → real-c-analyzer-HBD3FNNH.js} +1 -1
- package/dist/{real-clean-analyzer-IGDHHLZK.js → real-clean-analyzer-4EEZLPV5.js} +1 -1
- package/dist/{real-clojure-analyzer-4OH7IWLB.js → real-clojure-analyzer-Q55EBOO2.js} +1 -1
- package/dist/{real-cpp-analyzer-7LTDRJRJ.js → real-cpp-analyzer-IVVOD25R.js} +1 -1
- package/dist/{real-csharp-analyzer-KICU3TLH.js → real-csharp-analyzer-ZBNLNJZJ.js} +1 -1
- package/dist/{real-css-analyzer-HPU277Q6.js → real-css-analyzer-6XRQLUN7.js} +2 -2
- package/dist/{real-dart-analyzer-7LZ5LCMW.js → real-dart-analyzer-OLR72EFW.js} +1 -1
- package/dist/{real-elixir-analyzer-BE3MEVZO.js → real-elixir-analyzer-MQWGAH2I.js} +1 -1
- package/dist/{real-erlang-analyzer-BZMAKYBK.js → real-erlang-analyzer-7BVPQEHO.js} +1 -1
- package/dist/{real-fsharp-analyzer-5QLTOV3E.js → real-fsharp-analyzer-C2UPFNOA.js} +1 -1
- package/dist/{real-go-analyzer-POD7MZQR.js → real-go-analyzer-UKGI43YS.js} +1 -1
- package/dist/{real-graphql-analyzer-MAQRZ6QW.js → real-graphql-analyzer-VE2EEFII.js} +1 -1
- package/dist/{real-groovy-analyzer-MEWSUPMJ.js → real-groovy-analyzer-W26VACFW.js} +1 -1
- package/dist/{real-haskell-analyzer-I5L2GR3Y.js → real-haskell-analyzer-5CVVAJRX.js} +1 -1
- package/dist/{real-hcl-analyzer-DBOPXSWJ.js → real-hcl-analyzer-5ZT4U43N.js} +1 -1
- package/dist/{real-html-analyzer-O63XZLZD.js → real-html-analyzer-JWNX3C6I.js} +1 -1
- package/dist/{real-java-analyzer-CHCW3EKA.js → real-java-analyzer-GU42VBGQ.js} +1 -1
- package/dist/{real-javascript-analyzer-QAAJQYZE.js → real-javascript-analyzer-QA4QOJ6W.js} +2 -2
- package/dist/{real-json-analyzer-UGBR7YQN.js → real-json-analyzer-MPA6PRXL.js} +1 -1
- package/dist/{real-julia-analyzer-35Q4GHOZ.js → real-julia-analyzer-22CWYQMN.js} +1 -1
- package/dist/{real-kotlin-analyzer-GRAYCWW2.js → real-kotlin-analyzer-QDZJLXXU.js} +1 -1
- package/dist/{real-lua-analyzer-5BAPDZDF.js → real-lua-analyzer-G7NHLYKS.js} +1 -1
- package/dist/{real-makefile-analyzer-YJKAHNAS.js → real-makefile-analyzer-OCY3GT5N.js} +1 -1
- package/dist/{real-markdown-analyzer-UKUQZO4F.js → real-markdown-analyzer-TEJK2JXJ.js} +1 -1
- package/dist/{real-matlab-analyzer-FVIKQZKG.js → real-matlab-analyzer-Q5SWLN7Z.js} +1 -1
- package/dist/{real-nim-analyzer-M7FAIABG.js → real-nim-analyzer-YLXSK563.js} +1 -1
- package/dist/{real-objective-c-analyzer-XMYQIGQI.js → real-objective-c-analyzer-D23ACC2R.js} +1 -1
- package/dist/{real-perl-analyzer-ZLY6M2DZ.js → real-perl-analyzer-WWTRHYDT.js} +1 -1
- package/dist/{real-php-analyzer-KI2ZAM7X.js → real-php-analyzer-JNKJHTCL.js} +1 -1
- package/dist/{real-powershell-analyzer-B3T5ZP6U.js → real-powershell-analyzer-XRSNQERV.js} +1 -1
- package/dist/{real-protobuf-analyzer-23OZ75XV.js → real-protobuf-analyzer-3OKUCZ7T.js} +1 -1
- package/dist/{real-python-analyzer-I4TIUB6D.js → real-python-analyzer-VXAFWI72.js} +1 -1
- package/dist/{real-r-analyzer-FJZJXXS6.js → real-r-analyzer-ZGAIDVI4.js} +1 -1
- package/dist/{real-ruby-analyzer-M3UFIVTQ.js → real-ruby-analyzer-X2KTLVBH.js} +1 -1
- package/dist/{real-rust-analyzer-LVSONPAN.js → real-rust-analyzer-OFFHPL2A.js} +1 -1
- package/dist/{real-scala-analyzer-CWPI33Q2.js → real-scala-analyzer-TSTW27J6.js} +1 -1
- package/dist/{real-scss-analyzer-TGRJQ7TH.js → real-scss-analyzer-AVWYPSOQ.js} +2 -2
- package/dist/{real-solidity-analyzer-4P2VBVWA.js → real-solidity-analyzer-UCI2KWUB.js} +1 -1
- package/dist/{real-sql-analyzer-J7DYZOZR.js → real-sql-analyzer-F77ZMQXR.js} +1 -1
- package/dist/{real-svelte-analyzer-NHEN2SX5.js → real-svelte-analyzer-SF7NRUO5.js} +3 -3
- package/dist/{real-swift-analyzer-2NSYULWI.js → real-swift-analyzer-MN5QT3QN.js} +1 -1
- package/dist/{real-toml-analyzer-L3C66L7Q.js → real-toml-analyzer-66L7BDCQ.js} +1 -1
- package/dist/{real-typescript-analyzer-FTC6ETRQ.js → real-typescript-analyzer-6KEMVDWQ.js} +2 -2
- package/dist/{real-vb-analyzer-ORY7LAQS.js → real-vb-analyzer-VICVPOP7.js} +1 -1
- package/dist/{real-vba-analyzer-JH2TTUFI.js → real-vba-analyzer-HXLTTHKM.js} +1 -1
- package/dist/{real-vue-analyzer-OO4FUGBV.js → real-vue-analyzer-QXR56CFV.js} +3 -3
- package/dist/{real-xml-analyzer-6CQVR477.js → real-xml-analyzer-YL465ZJW.js} +1 -1
- package/dist/{real-yaml-analyzer-J6MQG3YX.js → real-yaml-analyzer-SUBCBNSI.js} +1 -1
- package/dist/{real-zig-analyzer-EFKCPJNU.js → real-zig-analyzer-HIQLZMGY.js} +1 -1
- package/dist/{regex-search-OPTLKUN5.js → regex-search-NJKHMZNO.js} +1 -1
- package/dist/{rules-I453JTRC.js → rules-ACHPB7QU.js} +1 -1
- package/dist/{setup-show-Y5GB5KXA.js → setup-show-NT5ZHYNE.js} +2 -2
- package/dist/{symbol-search-KB4MU4SI.js → symbol-search-GZJIM2J2.js} +2 -2
- package/dist/{taint-YOTN5X55.js → taint-KXUHHPIE.js} +1 -1
- package/dist/{tool-handlers-G4NAGJIH.js → tool-handlers-OJDC35DI.js} +14 -14
- package/dist/{tool-validation-RF675A3C.js → tool-validation-Q57YMMBX.js} +7 -7
- package/dist/{type-inference-4Y7WTMFE.js → type-inference-QMT2RMLV.js} +2 -2
- package/dist/{version-LXGNFO37.js → version-ABP2TUL2.js} +1 -1
- package/docs/man/bb.1 +1 -1
- package/package.json +2 -2
|
@@ -5,26 +5,26 @@ import {
|
|
|
5
5
|
formatUnifiedHealth,
|
|
6
6
|
getUnifiedHealth,
|
|
7
7
|
maybeAutoRefresh
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-22V37YTK.js";
|
|
9
9
|
import {
|
|
10
10
|
IndexLockHeldError,
|
|
11
11
|
ParallelIndexerConfig,
|
|
12
12
|
acquireIndexLock,
|
|
13
13
|
indexProjectParallel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZETTGPAW.js";
|
|
15
15
|
import {
|
|
16
16
|
getProjectId
|
|
17
17
|
} from "./chunk-DIYAGQJL.js";
|
|
18
18
|
import {
|
|
19
19
|
BACKBENCHER_BRAIN_VERSION
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WIG36E67.js";
|
|
21
21
|
import {
|
|
22
22
|
FRESHNESS_REMEDIATION,
|
|
23
23
|
resolveRowsFreshnessDetailed
|
|
24
24
|
} from "./chunk-QLK6ED4Q.js";
|
|
25
25
|
import {
|
|
26
26
|
BrainDatabase
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QKTRECYS.js";
|
|
28
28
|
import {
|
|
29
29
|
bold,
|
|
30
30
|
colorEnabled,
|
|
@@ -390,7 +390,7 @@ async function cmdIndex(dir, opts) {
|
|
|
390
390
|
resolvedScopedFile = resolved.absolute;
|
|
391
391
|
}
|
|
392
392
|
if (opts.post) {
|
|
393
|
-
const { runPostProcessing } = await import("./parallel-indexer-
|
|
393
|
+
const { runPostProcessing } = await import("./parallel-indexer-FK2XKZXY.js");
|
|
394
394
|
try {
|
|
395
395
|
const post = await runPostProcessing(pid);
|
|
396
396
|
console.log(`\u2713 post-processing complete in ${(post.totalMs / 1e3).toFixed(1)}s`);
|
|
@@ -409,7 +409,7 @@ async function cmdIndex(dir, opts) {
|
|
|
409
409
|
return;
|
|
410
410
|
}
|
|
411
411
|
if (opts.import != null) {
|
|
412
|
-
const { importDbFile } = await import("./project-registry-
|
|
412
|
+
const { importDbFile } = await import("./project-registry-ZJ3DVUGO.js");
|
|
413
413
|
const result = importDbFile(opts.import, pid, abs);
|
|
414
414
|
if (result.adopted) {
|
|
415
415
|
console.log(`imported ${opts.import} as project ${pid.slice(0, 8)} (index rebound to this checkout)`);
|
|
@@ -423,8 +423,8 @@ async function cmdIndex(dir, opts) {
|
|
|
423
423
|
if (!opts.force) {
|
|
424
424
|
const dbPath = BrainDatabase.getDbPath(pid);
|
|
425
425
|
if (!existsSync(dbPath)) {
|
|
426
|
-
const { findAdoptableDb, adoptProject } = await import("./project-registry-
|
|
427
|
-
const { computeCheckoutFingerprint } = await import("./fingerprint-
|
|
426
|
+
const { findAdoptableDb, adoptProject } = await import("./project-registry-ZJ3DVUGO.js");
|
|
427
|
+
const { computeCheckoutFingerprint } = await import("./fingerprint-OBLIMZLP.js");
|
|
428
428
|
const cf = await computeCheckoutFingerprint(abs);
|
|
429
429
|
if (cf.fingerprint) {
|
|
430
430
|
const candidate = findAdoptableDb(cf.fingerprint);
|
|
@@ -441,6 +441,7 @@ async function cmdIndex(dir, opts) {
|
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
console.log(bold(`indexing ${abs} (project ${pid.slice(0, 8)}\u2026)`, S));
|
|
444
|
+
if (process.stdout.isTTY) console.log(dim(" scanning project files\u2026", S));
|
|
444
445
|
let heldLock = null;
|
|
445
446
|
if (opts.force) {
|
|
446
447
|
try {
|
|
@@ -455,7 +456,7 @@ async function cmdIndex(dir, opts) {
|
|
|
455
456
|
return;
|
|
456
457
|
}
|
|
457
458
|
try {
|
|
458
|
-
const { wipeProjectData } = await import("./parallel-indexer-
|
|
459
|
+
const { wipeProjectData } = await import("./parallel-indexer-FK2XKZXY.js");
|
|
459
460
|
const raw = await BrainDatabase.getRawInstance(pid);
|
|
460
461
|
const wiped = wipeProjectData(raw);
|
|
461
462
|
console.log(`wiped ${pid.slice(0, 8)} index in place (file kept)`);
|
|
@@ -484,7 +485,7 @@ async function cmdIndex(dir, opts) {
|
|
|
484
485
|
if (opts.changed) indexOpts.isIncremental = true;
|
|
485
486
|
if (adopted) indexOpts.isIncremental = true;
|
|
486
487
|
if (opts.resume) {
|
|
487
|
-
const { readLiveStatus } = await import("./index-status-
|
|
488
|
+
const { readLiveStatus } = await import("./index-status-7OVGYSGW.js");
|
|
488
489
|
const ck = readLiveStatus(pid);
|
|
489
490
|
const inProgress = !!ck && (ck.phase === "indexing" || ck.phase === "cancelled") && Date.now() - ck.updatedAt < 36e5;
|
|
490
491
|
if (inProgress) {
|
|
@@ -534,6 +535,11 @@ ${sig} received \u2014 cancelling index (draining in-flight files; resume with:
|
|
|
534
535
|
});
|
|
535
536
|
if (e instanceof IndexLockHeldError) {
|
|
536
537
|
console.error(`\u2717 ${e.message}`);
|
|
538
|
+
} else if (abort.signal.aborted) {
|
|
539
|
+
progress.clear();
|
|
540
|
+
console.log("\u23F8 index cancelled before parsing started \u2014 no files were written. Re-run when ready: bb index");
|
|
541
|
+
process.exitCode = 130;
|
|
542
|
+
return;
|
|
537
543
|
} else {
|
|
538
544
|
throw e;
|
|
539
545
|
}
|
|
@@ -545,7 +551,7 @@ ${sig} received \u2014 cancelling index (draining in-flight files; resume with:
|
|
|
545
551
|
progress.clear();
|
|
546
552
|
const secs = ((Date.now() - t) / 1e3).toFixed(1);
|
|
547
553
|
const db = await BrainDatabase.getRawInstance(pid);
|
|
548
|
-
const { pendingEmbeddingCount, embeddingDrainPending, flushBackgroundEmbeddings } = await import("./parallel-indexer-
|
|
554
|
+
const { pendingEmbeddingCount, embeddingDrainPending, flushBackgroundEmbeddings } = await import("./parallel-indexer-FK2XKZXY.js");
|
|
549
555
|
const pendingAtEnd = pendingEmbeddingCount();
|
|
550
556
|
if (embeddingDrainPending()) {
|
|
551
557
|
const waitMs = Number(process.env.BB_EMBEDDING_DRAIN_WAIT_MS || 3e5);
|
|
@@ -571,7 +577,7 @@ ${sig} received \u2014 cancelling index (draining in-flight files; resume with:
|
|
|
571
577
|
console.log(dim(` index space: ${formatEndSpace(endSpace)}`, S));
|
|
572
578
|
if (!stats.cancelled) {
|
|
573
579
|
try {
|
|
574
|
-
const { runIndexHealthCheck } = await import("./brain-index-health-
|
|
580
|
+
const { runIndexHealthCheck } = await import("./brain-index-health-Q5APTJQL.js");
|
|
575
581
|
const finalHealth = await runIndexHealthCheck(pid);
|
|
576
582
|
const problemChecks = finalHealth.checks.filter((c) => c.status === "error" || c.status === "warn");
|
|
577
583
|
if (problemChecks.length === 0) {
|
|
@@ -737,7 +743,7 @@ async function cmdSearch(query, opts) {
|
|
|
737
743
|
process.exit(1);
|
|
738
744
|
}
|
|
739
745
|
if (opts.language !== void 0) {
|
|
740
|
-
const { ASTEngine } = await import("./engine-
|
|
746
|
+
const { ASTEngine } = await import("./engine-VIW6NSKO.js");
|
|
741
747
|
if (!ASTEngine.isSupportedLanguage(opts.language)) {
|
|
742
748
|
console.error(
|
|
743
749
|
`\u2717 unknown language "${opts.language}". Run \`bb index --help\` for supported languages, or \`bb projects\` to see which are in this index.`
|
|
@@ -747,7 +753,7 @@ async function cmdSearch(query, opts) {
|
|
|
747
753
|
}
|
|
748
754
|
const mode = opts.mode ?? "symbols";
|
|
749
755
|
if (mode !== "symbols") {
|
|
750
|
-
const { createToolHandlers } = await import("./tool-handlers-
|
|
756
|
+
const { createToolHandlers } = await import("./tool-handlers-OJDC35DI.js");
|
|
751
757
|
const handler = createToolHandlers()["bb_search"];
|
|
752
758
|
const args = mode === "file" ? { mode: "file", filePath: opts.filePath ?? query } : mode === "symbol" ? { mode: "symbol", symbolName: opts.symbolName ?? query, filePath: void 0, ...opts.noAutoRefresh ? { refresh: false } : {} } : { mode: "content", query, limit: opts.limit ?? 15, language: opts.language, ...opts.noAutoRefresh ? { refresh: false } : {} };
|
|
753
759
|
const res = await handler(args, { projectId: pid, projectPath: dir });
|
|
@@ -837,7 +843,7 @@ ${pass2.results.length} results`);
|
|
|
837
843
|
async function cmdStats(dir, opts = {}) {
|
|
838
844
|
const abs = dir ? requireDir(dir) : process.cwd();
|
|
839
845
|
const pid = getProjectId(abs);
|
|
840
|
-
const { composeStatus } = await import("./index-status-
|
|
846
|
+
const { composeStatus } = await import("./index-status-7OVGYSGW.js");
|
|
841
847
|
const s = await composeStatus(pid);
|
|
842
848
|
if (!s.hasIndex) {
|
|
843
849
|
if (opts.json) console.log(JSON.stringify({ dir: abs, projectId: pid, hasIndex: false }, null, 2));
|
|
@@ -876,7 +882,7 @@ async function cmdStats(dir, opts = {}) {
|
|
|
876
882
|
console.log(` db: ${dbPath}`);
|
|
877
883
|
}
|
|
878
884
|
async function cmdProjects(opts) {
|
|
879
|
-
const { listProjects, removeProject, totalProjectsBytes } = await import("./project-registry-
|
|
885
|
+
const { listProjects, removeProject, totalProjectsBytes } = await import("./project-registry-ZJ3DVUGO.js");
|
|
880
886
|
if (opts.remove) {
|
|
881
887
|
const r = removeProject(opts.remove, opts.force === true);
|
|
882
888
|
if (opts.json) console.log(JSON.stringify({ removed: r.removed, projectId: opts.remove, reason: r.removed ? null : r.reason }, null, 2));
|
|
@@ -927,7 +933,7 @@ ${projects.length} projects, ${mb(totalProjectsBytes(projects))} total index siz
|
|
|
927
933
|
async function cmdStatus(dir, opts = {}) {
|
|
928
934
|
const abs = dir ? requireDir(dir) : process.cwd();
|
|
929
935
|
const pid = getProjectId(abs);
|
|
930
|
-
const { composeStatus } = await import("./index-status-
|
|
936
|
+
const { composeStatus } = await import("./index-status-7OVGYSGW.js");
|
|
931
937
|
const s = await composeStatus(pid);
|
|
932
938
|
if (!s.hasIndex) {
|
|
933
939
|
if (opts.json) console.log(JSON.stringify({ dir: abs, projectId: pid, hasIndex: false }, null, 2));
|
|
@@ -985,8 +991,8 @@ async function cmdHealth(dir, opts) {
|
|
|
985
991
|
async function cmdTool(name, opts) {
|
|
986
992
|
const projectPath = opts.dir ? requireDir(opts.dir) : process.cwd();
|
|
987
993
|
const { PUBLIC_TOOL_DESCRIPTORS } = await import("./tool-registry-BPEJNSZG.js");
|
|
988
|
-
const { validateToolArguments } = await import("./tool-validation-
|
|
989
|
-
const { createToolHandlers } = await import("./tool-handlers-
|
|
994
|
+
const { validateToolArguments } = await import("./tool-validation-Q57YMMBX.js");
|
|
995
|
+
const { createToolHandlers } = await import("./tool-handlers-OJDC35DI.js");
|
|
990
996
|
const descriptor = PUBLIC_TOOL_DESCRIPTORS.find((tool) => tool.name === name);
|
|
991
997
|
if (!descriptor) throw new Error(`unknown public tool ${name}; expected: ${PUBLIC_TOOL_DESCRIPTORS.map((tool) => tool.name).join(", ")}`);
|
|
992
998
|
let args = {};
|
|
@@ -1002,7 +1008,7 @@ async function cmdTool(name, opts) {
|
|
|
1002
1008
|
const mode = typeof validatedArgs.mode === "string" ? validatedArgs.mode : void 0;
|
|
1003
1009
|
const indexFree = mode !== void 0 && (descriptor.indexFreeModes ?? []).includes(mode);
|
|
1004
1010
|
if (!indexFree) {
|
|
1005
|
-
const { BrainDatabase: BrainDatabase2 } = await import("./database-
|
|
1011
|
+
const { BrainDatabase: BrainDatabase2 } = await import("./database-76RP44JG.js");
|
|
1006
1012
|
try {
|
|
1007
1013
|
await BrainDatabase2.getRawInstance(getProjectId(projectPath), { readonly: true });
|
|
1008
1014
|
} catch {
|
|
@@ -1107,13 +1113,13 @@ Full reference: man bb, or docs/indexing/ in the repository.
|
|
|
1107
1113
|
await runSetupWizard();
|
|
1108
1114
|
});
|
|
1109
1115
|
setupCmd.command("show").description("show the embedding configuration (key as fingerprint only)").action(async () => {
|
|
1110
|
-
const { describeEmbeddingConfig, renderSetupShow } = await import("./setup-show-
|
|
1116
|
+
const { describeEmbeddingConfig, renderSetupShow } = await import("./setup-show-NT5ZHYNE.js");
|
|
1111
1117
|
const state = describeEmbeddingConfig();
|
|
1112
1118
|
console.log(renderSetupShow(state));
|
|
1113
1119
|
if (!state.configured) process.exitCode = 1;
|
|
1114
1120
|
});
|
|
1115
1121
|
program.command("doctor").description("diagnose embedding setup and index consistency (read-only)").option("--dir <dir>", "project directory (default: cwd)").option("--fix", "repair permission problems (0600 only; this IS the explicit apply \u2014 without it doctor is read-only)").action(async (opts) => {
|
|
1116
|
-
const { runDoctorChecks, renderDoctorReport, applyDoctorFixes, renderFixPlan } = await import("./doctor-
|
|
1122
|
+
const { runDoctorChecks, renderDoctorReport, applyDoctorFixes, renderFixPlan } = await import("./doctor-ANGETYMN.js");
|
|
1117
1123
|
const cwd = opts.dir ? requireDir(opts.dir) : process.cwd();
|
|
1118
1124
|
if (opts.fix) {
|
|
1119
1125
|
const { plan, applied } = applyDoctorFixes({ cwd, apply: true });
|
|
@@ -1126,7 +1132,7 @@ Full reference: man bb, or docs/indexing/ in the repository.
|
|
|
1126
1132
|
if (!report.healthy) process.exitCode = 1;
|
|
1127
1133
|
});
|
|
1128
1134
|
async function cmdUpgrade(opts) {
|
|
1129
|
-
const { BACKBENCHER_BRAIN_VERSION: current, PKG_NAME } = await import("./version-
|
|
1135
|
+
const { BACKBENCHER_BRAIN_VERSION: current, PKG_NAME } = await import("./version-ABP2TUL2.js");
|
|
1130
1136
|
const range = opts.to ?? "latest";
|
|
1131
1137
|
const spec = `${PKG_NAME}@${range}`;
|
|
1132
1138
|
console.log(`bb ${current}`);
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./chunk-GEFFO6O2.js";
|
|
10
10
|
import {
|
|
11
11
|
writeLiveStatus
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NO3U3FJQ.js";
|
|
13
13
|
import {
|
|
14
14
|
checkpointWal
|
|
15
15
|
} from "./chunk-DYM4FQEE.js";
|
|
16
16
|
import {
|
|
17
17
|
BrainDatabase
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QKTRECYS.js";
|
|
19
19
|
import {
|
|
20
20
|
ASTEngine
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3ZTOHHSW.js";
|
|
22
22
|
import {
|
|
23
23
|
create
|
|
24
24
|
} from "./chunk-BQ3OVQ3P.js";
|
|
@@ -250,7 +250,7 @@ var BrainService;
|
|
|
250
250
|
lastError: void 0
|
|
251
251
|
});
|
|
252
252
|
try {
|
|
253
|
-
const { indexProjectParallel: indexProjectParallel2 } = await import("./parallel-indexer-
|
|
253
|
+
const { indexProjectParallel: indexProjectParallel2 } = await import("./parallel-indexer-FK2XKZXY.js");
|
|
254
254
|
if (targetPath) {
|
|
255
255
|
await indexProjectParallel2(projectId, projectPath, { files: [targetPath], isIncremental: true });
|
|
256
256
|
} else {
|
|
@@ -1781,7 +1781,7 @@ function resolveMemberTargetsByOwner(rawDb, projectId) {
|
|
|
1781
1781
|
var require2 = createRequire(import.meta.url);
|
|
1782
1782
|
var log2 = create({ service: "parallel-indexer" });
|
|
1783
1783
|
async function calculateGravityScores(projectId, opts = {}) {
|
|
1784
|
-
const { BrainDatabase: BrainDatabase2 } = await import("./database-
|
|
1784
|
+
const { BrainDatabase: BrainDatabase2 } = await import("./database-76RP44JG.js");
|
|
1785
1785
|
const rawDb = await BrainDatabase2.getRawInstance(projectId);
|
|
1786
1786
|
const scopeIds = opts.symbolIds;
|
|
1787
1787
|
if (scopeIds != null && scopeIds.length === 0) return;
|
|
@@ -2701,7 +2701,7 @@ async function processWithWorkerPool(projectId, projectPath, files, onProgress,
|
|
|
2701
2701
|
// import would pull the whole engine into its startup for a spec used once. The spec lives in
|
|
2702
2702
|
// the language's own analyzer because the grammar's declarations are named by a CHILD node
|
|
2703
2703
|
// (`message_name`, not a `name` field) and the `package` is a SIBLING of the declaration.
|
|
2704
|
-
protobuf: (await import("./real-protobuf-analyzer-
|
|
2704
|
+
protobuf: (await import("./real-protobuf-analyzer-3OKUCZ7T.js")).PROTOBUF_DECLARATION_SPEC,
|
|
2705
2705
|
// BOTH HALVES, named together — the `.scss`/`.groovy` notes above record what a half-wire
|
|
2706
2706
|
// costs: the lookup falls through to `?? SOLIDITY_DECLARATION_SPEC` and indexes a lane's
|
|
2707
2707
|
// declarations with the wrong grammar's rules. These specs live in project-index.ts and are
|
|
@@ -3404,7 +3404,7 @@ async function drainBackgroundEmbeddings() {
|
|
|
3404
3404
|
accounted = job.items.length;
|
|
3405
3405
|
continue;
|
|
3406
3406
|
}
|
|
3407
|
-
const { SemanticEngine } = await import("./engine-
|
|
3407
|
+
const { SemanticEngine } = await import("./engine-BKEOGN7N.js");
|
|
3408
3408
|
const { Instance } = await import("./instance-FO6QZRLH.js");
|
|
3409
3409
|
const { createHash } = await import("crypto");
|
|
3410
3410
|
let rawDb = await BrainDatabase.getRawInstance(job.projectId);
|
|
@@ -4763,7 +4763,7 @@ async function storeResults(projectId, projectPath, results, options = {}) {
|
|
|
4763
4763
|
}
|
|
4764
4764
|
}
|
|
4765
4765
|
async function resolveRelationships(projectId) {
|
|
4766
|
-
const { BrainDatabase: BrainDatabase2 } = await import("./database-
|
|
4766
|
+
const { BrainDatabase: BrainDatabase2 } = await import("./database-76RP44JG.js");
|
|
4767
4767
|
const rawDb = await BrainDatabase2.getRawInstance(projectId);
|
|
4768
4768
|
log2.debug("starting final relationship resolution");
|
|
4769
4769
|
const unresolved = rawDb.prepare(
|
|
@@ -5224,7 +5224,7 @@ var CROSS_SYMBOL_TAINT_QUERY = `
|
|
|
5224
5224
|
`;
|
|
5225
5225
|
async function resolveCrossSymbolTaints(projectId) {
|
|
5226
5226
|
log2.debug("starting cross-symbol taint resolution", { projectId });
|
|
5227
|
-
const { BrainDatabase: BrainDatabase2 } = await import("./database-
|
|
5227
|
+
const { BrainDatabase: BrainDatabase2 } = await import("./database-76RP44JG.js");
|
|
5228
5228
|
const rawDb = await BrainDatabase2.getRawInstance(projectId);
|
|
5229
5229
|
const now = Date.now();
|
|
5230
5230
|
try {
|
|
@@ -5345,6 +5345,20 @@ async function indexProjectParallel(projectId, projectPath, options = {}) {
|
|
|
5345
5345
|
}
|
|
5346
5346
|
stats.totalFiles = files.length + stats.skippedFiles;
|
|
5347
5347
|
phases.parsedFiles = files.length;
|
|
5348
|
+
if (options.onProgress && files.length > 0) {
|
|
5349
|
+
try {
|
|
5350
|
+
options.onProgress({
|
|
5351
|
+
...stats,
|
|
5352
|
+
totalFiles: stats.totalFiles,
|
|
5353
|
+
currentFile: "",
|
|
5354
|
+
progress: 0,
|
|
5355
|
+
filesPerSecond: 0,
|
|
5356
|
+
elapsedSeconds: Date.now() - stats.startTime,
|
|
5357
|
+
phase: "worker-pool"
|
|
5358
|
+
});
|
|
5359
|
+
} catch {
|
|
5360
|
+
}
|
|
5361
|
+
}
|
|
5348
5362
|
if (files.length === 0) {
|
|
5349
5363
|
log2.warn("no files to index (all skipped or none found)");
|
|
5350
5364
|
phases.noop = true;
|
|
@@ -5395,7 +5409,7 @@ async function indexProjectParallel(projectId, projectPath, options = {}) {
|
|
|
5395
5409
|
log2.warn("noop-run deleted-purge failed", { error: e?.message });
|
|
5396
5410
|
}
|
|
5397
5411
|
}
|
|
5398
|
-
const { readLiveStatus } = await import("./index-status-
|
|
5412
|
+
const { readLiveStatus } = await import("./index-status-7OVGYSGW.js");
|
|
5399
5413
|
if (readLiveStatus(projectId)?.phase === "cancelled") {
|
|
5400
5414
|
writeLiveStatus(projectId, {
|
|
5401
5415
|
projectId,
|
|
@@ -5447,6 +5461,7 @@ async function indexProjectParallel(projectId, projectPath, options = {}) {
|
|
|
5447
5461
|
}
|
|
5448
5462
|
let lastProgressUpdate = 0;
|
|
5449
5463
|
let processFn = processWithWorkerPool;
|
|
5464
|
+
_log.log(`[brain] preparing the parallel worker pool (${files.length} files)\u2026`);
|
|
5450
5465
|
const workerStartupStart = Date.now();
|
|
5451
5466
|
try {
|
|
5452
5467
|
const { fork: fork2 } = await import("child_process");
|
|
@@ -5460,6 +5475,15 @@ async function indexProjectParallel(projectId, projectPath, options = {}) {
|
|
|
5460
5475
|
stdio: ["ignore", "pipe", "pipe", "ipc"]
|
|
5461
5476
|
});
|
|
5462
5477
|
await new Promise((resolve2, reject) => {
|
|
5478
|
+
const onAbort = () => {
|
|
5479
|
+
clearTimeout(timeout);
|
|
5480
|
+
try {
|
|
5481
|
+
testWorker.kill();
|
|
5482
|
+
} catch {
|
|
5483
|
+
}
|
|
5484
|
+
reject(new Error("index cancelled during worker startup"));
|
|
5485
|
+
};
|
|
5486
|
+
if (signal) signal.addEventListener("abort", onAbort, { once: true });
|
|
5463
5487
|
const startupMs = poolStartupTimeoutMs();
|
|
5464
5488
|
const timeout = setTimeout(() => {
|
|
5465
5489
|
testWorker.kill();
|
|
@@ -5468,6 +5492,7 @@ async function indexProjectParallel(projectId, projectPath, options = {}) {
|
|
|
5468
5492
|
testWorker.on("message", (msg) => {
|
|
5469
5493
|
if (msg?.type === "ready") {
|
|
5470
5494
|
clearTimeout(timeout);
|
|
5495
|
+
signal?.removeEventListener("abort", onAbort);
|
|
5471
5496
|
testWorker.kill();
|
|
5472
5497
|
resolve2();
|
|
5473
5498
|
}
|
|
@@ -5487,6 +5512,7 @@ async function indexProjectParallel(projectId, projectPath, options = {}) {
|
|
|
5487
5512
|
_log.log("[brain] \u2713 worker pool available \u2014 using parallel indexing with 45s timeouts");
|
|
5488
5513
|
log2.info("worker pool fork test passed \u2014 using parallel workers");
|
|
5489
5514
|
} catch (e) {
|
|
5515
|
+
if (signal?.aborted) throw new Error("index cancelled during worker startup");
|
|
5490
5516
|
_log.log(`[brain] \u26A0 worker pool unavailable \u2014 falling back to serial in-process indexing`);
|
|
5491
5517
|
_log.log(`[brain] reason: ${e?.message}`);
|
|
5492
5518
|
_log.log(`[brain] this run is correct but serial, so it will be slower`);
|
|
@@ -6215,7 +6241,7 @@ async function runPostProcessing(projectId, opts = {}) {
|
|
|
6215
6241
|
log2.warn("relationship resolution failed", { error: relErr?.message });
|
|
6216
6242
|
}
|
|
6217
6243
|
try {
|
|
6218
|
-
const { enrichRelationships } = await import("./brain-relationship-enrichment-
|
|
6244
|
+
const { enrichRelationships } = await import("./brain-relationship-enrichment-MYR2AM4F.js");
|
|
6219
6245
|
_log.log(" Enriching relationships with architectural context...");
|
|
6220
6246
|
_t = Date.now();
|
|
6221
6247
|
const enrichResult = await enrichRelationships(projectId, (step, pct) => {
|
|
@@ -6255,7 +6281,7 @@ async function runPostProcessing(projectId, opts = {}) {
|
|
|
6255
6281
|
const taintMs = Date.now() - _t;
|
|
6256
6282
|
_t = Date.now();
|
|
6257
6283
|
try {
|
|
6258
|
-
await (await import("./project-health-
|
|
6284
|
+
await (await import("./project-health-6XPENVAA.js")).computeAndStoreProjectHealth(projectId);
|
|
6259
6285
|
recordPhase("health", Date.now() - _t, "ok");
|
|
6260
6286
|
} catch (healthErr) {
|
|
6261
6287
|
recordPhase("health", Date.now() - _t, "failed");
|
|
@@ -6264,7 +6290,7 @@ async function runPostProcessing(projectId, opts = {}) {
|
|
|
6264
6290
|
_log.log(` \u2713 taint(${taintMs}ms) + health(${Date.now() - _t}ms)`);
|
|
6265
6291
|
try {
|
|
6266
6292
|
_t = Date.now();
|
|
6267
|
-
const { runIndexHealthCheck } = await import("./brain-index-health-
|
|
6293
|
+
const { runIndexHealthCheck } = await import("./brain-index-health-Q5APTJQL.js");
|
|
6268
6294
|
const embeddingsStillDraining = embeddingDrainPending();
|
|
6269
6295
|
const health = await runIndexHealthCheck(projectId, { deferEmbeddingCoverage: embeddingsStillDraining });
|
|
6270
6296
|
recordPhase("integrity", Date.now() - _t, "ok");
|
|
@@ -6623,7 +6649,7 @@ async function runBoundedPostProcessing(projectId, opts) {
|
|
|
6623
6649
|
{
|
|
6624
6650
|
const _t = Date.now();
|
|
6625
6651
|
try {
|
|
6626
|
-
const { enrichRelationships } = await import("./brain-relationship-enrichment-
|
|
6652
|
+
const { enrichRelationships } = await import("./brain-relationship-enrichment-MYR2AM4F.js");
|
|
6627
6653
|
await enrichRelationships(projectId, void 0, { sourceSymbolIds: touchedSymbols });
|
|
6628
6654
|
recordPhase("enrichment", Date.now() - _t, "ok");
|
|
6629
6655
|
} catch (e) {
|
|
@@ -6654,7 +6680,7 @@ async function runBoundedPostProcessing(projectId, opts) {
|
|
|
6654
6680
|
{
|
|
6655
6681
|
const _t = Date.now();
|
|
6656
6682
|
try {
|
|
6657
|
-
await (await import("./project-health-
|
|
6683
|
+
await (await import("./project-health-6XPENVAA.js")).computeAndStoreProjectHealth(projectId);
|
|
6658
6684
|
recordPhase("health", Date.now() - _t, "ok");
|
|
6659
6685
|
} catch (e) {
|
|
6660
6686
|
recordPhase("health", Date.now() - _t, "failed");
|
package/dist/cli/index.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runCli
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-ZE2LG76D.js";
|
|
4
|
+
import "../chunk-22V37YTK.js";
|
|
5
|
+
import "../chunk-DWKXZ6IF.js";
|
|
6
6
|
import "../chunk-2RRBMNBQ.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-UQNQZXHY.js";
|
|
8
|
+
import "../chunk-ZETTGPAW.js";
|
|
9
9
|
import "../chunk-4H22TLOT.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-B5GEAAYF.js";
|
|
11
11
|
import "../chunk-7AN7U5IZ.js";
|
|
12
12
|
import "../chunk-UGR4QIGS.js";
|
|
13
13
|
import "../chunk-GEFFO6O2.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-NO3U3FJQ.js";
|
|
15
15
|
import "../chunk-DYM4FQEE.js";
|
|
16
16
|
import {
|
|
17
17
|
getProjectId
|
|
18
18
|
} from "../chunk-DIYAGQJL.js";
|
|
19
19
|
import "../chunk-UUNHHX4M.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-WIG36E67.js";
|
|
21
21
|
import "../chunk-QLK6ED4Q.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-QKTRECYS.js";
|
|
23
|
+
import "../chunk-3ZTOHHSW.js";
|
|
24
24
|
import "../chunk-BQ3OVQ3P.js";
|
|
25
25
|
import "../chunk-SK6YVHFZ.js";
|
|
26
26
|
import "../chunk-2BSKD7O3.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
describeEmbeddingConfig,
|
|
3
3
|
embedding_diagnosis_exports
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DWKXZ6IF.js";
|
|
5
5
|
import "./chunk-2RRBMNBQ.js";
|
|
6
6
|
import {
|
|
7
7
|
diagnosePoolStartupSync,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
SemanticEngine,
|
|
12
12
|
isEmbeddingDisabled
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-B5GEAAYF.js";
|
|
14
14
|
import "./chunk-7AN7U5IZ.js";
|
|
15
15
|
import "./chunk-UGR4QIGS.js";
|
|
16
16
|
import "./chunk-BQ3OVQ3P.js";
|
|
@@ -13,16 +13,16 @@ import {
|
|
|
13
13
|
preImageMismatches,
|
|
14
14
|
resolveSafeEditPath,
|
|
15
15
|
writeGuardMessage
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-BEIZZ73B.js";
|
|
17
|
+
import "./chunk-ZETTGPAW.js";
|
|
18
18
|
import "./chunk-4H22TLOT.js";
|
|
19
19
|
import "./chunk-GEFFO6O2.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-NO3U3FJQ.js";
|
|
21
21
|
import "./chunk-DYM4FQEE.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-5BVAH26D.js";
|
|
23
23
|
import "./chunk-QLK6ED4Q.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-QKTRECYS.js";
|
|
25
|
+
import "./chunk-3ZTOHHSW.js";
|
|
26
26
|
import "./chunk-BQ3OVQ3P.js";
|
|
27
27
|
import "./chunk-SK6YVHFZ.js";
|
|
28
28
|
import "./chunk-2BSKD7O3.js";
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
persistProjectFingerprint,
|
|
6
6
|
readStoredFingerprint,
|
|
7
7
|
relativePathFingerprint
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-7MBYT777.js";
|
|
9
|
+
import "./chunk-ZETTGPAW.js";
|
|
10
10
|
import "./chunk-4H22TLOT.js";
|
|
11
11
|
import "./chunk-GEFFO6O2.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-NO3U3FJQ.js";
|
|
13
13
|
import "./chunk-DYM4FQEE.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-QKTRECYS.js";
|
|
15
|
+
import "./chunk-3ZTOHHSW.js";
|
|
16
16
|
import "./chunk-BQ3OVQ3P.js";
|
|
17
17
|
import "./chunk-SK6YVHFZ.js";
|
|
18
18
|
import "./chunk-2BSKD7O3.js";
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
resolveGraphRoot,
|
|
5
5
|
resolveGraphRootDetailed,
|
|
6
6
|
traverseGraph
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ENW4BTBA.js";
|
|
8
8
|
import "./chunk-UUNHHX4M.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-QKTRECYS.js";
|
|
10
10
|
import "./chunk-2BSKD7O3.js";
|
|
11
11
|
import "./chunk-SM7RFQRO.js";
|
|
12
12
|
import "./chunk-L5TDYKYK.js";
|
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
} from "./chunk-GBI7V7KY.js";
|
|
11
11
|
import {
|
|
12
12
|
graphTraversal
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ENW4BTBA.js";
|
|
14
14
|
import "./chunk-UUNHHX4M.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-QKTRECYS.js";
|
|
16
16
|
import "./chunk-2BSKD7O3.js";
|
|
17
17
|
import "./chunk-SM7RFQRO.js";
|
|
18
18
|
import "./chunk-L5TDYKYK.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IMPACT_BUDGET,
|
|
3
3
|
computeImpact
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EY5ZZUUA.js";
|
|
5
5
|
import "./chunk-VL52PL2T.js";
|
|
6
6
|
import "./chunk-RCMTFSEF.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-ENW4BTBA.js";
|
|
8
8
|
import "./chunk-UUNHHX4M.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-QKTRECYS.js";
|
|
10
10
|
import "./chunk-2BSKD7O3.js";
|
|
11
11
|
import "./chunk-SM7RFQRO.js";
|
|
12
12
|
import "./chunk-L5TDYKYK.js";
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
readLiveStatus,
|
|
13
13
|
statusPath,
|
|
14
14
|
writeLiveStatus
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-NO3U3FJQ.js";
|
|
16
|
+
import "./chunk-QKTRECYS.js";
|
|
17
17
|
import "./chunk-2BSKD7O3.js";
|
|
18
18
|
import "./chunk-ROMM6KMC.js";
|
|
19
19
|
import "./chunk-MLKGABMK.js";
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-ZE2LG76D.js";
|
|
2
2
|
import {
|
|
3
3
|
TOOL_DESCRIPTORS,
|
|
4
4
|
serializeToolMetadata,
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
} from "./chunk-HQSPJDHI.js";
|
|
8
8
|
import {
|
|
9
9
|
BrainTools
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-22V37YTK.js";
|
|
11
|
+
import "./chunk-DWKXZ6IF.js";
|
|
12
12
|
import "./chunk-2RRBMNBQ.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-UQNQZXHY.js";
|
|
14
14
|
import {
|
|
15
15
|
indexProjectParallel
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZETTGPAW.js";
|
|
17
17
|
import "./chunk-4H22TLOT.js";
|
|
18
18
|
import {
|
|
19
19
|
SemanticEngine
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-B5GEAAYF.js";
|
|
21
21
|
import "./chunk-7AN7U5IZ.js";
|
|
22
22
|
import "./chunk-UGR4QIGS.js";
|
|
23
23
|
import "./chunk-GEFFO6O2.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-NO3U3FJQ.js";
|
|
25
25
|
import "./chunk-DYM4FQEE.js";
|
|
26
26
|
import {
|
|
27
27
|
getProjectId
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
import "./chunk-UUNHHX4M.js";
|
|
30
30
|
import {
|
|
31
31
|
BACKBENCHER_BRAIN_VERSION
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-WIG36E67.js";
|
|
33
33
|
import {
|
|
34
34
|
checkFileFreshness,
|
|
35
35
|
checkResultsFreshness,
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
} from "./chunk-QLK6ED4Q.js";
|
|
38
38
|
import {
|
|
39
39
|
BrainDatabase
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-QKTRECYS.js";
|
|
41
41
|
import {
|
|
42
42
|
ASTEngine
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-3ZTOHHSW.js";
|
|
44
44
|
import "./chunk-BQ3OVQ3P.js";
|
|
45
45
|
import "./chunk-SK6YVHFZ.js";
|
|
46
46
|
import "./chunk-2BSKD7O3.js";
|