@inerrata-corporation/errata 2.0.22-dev.4630 → 2.0.22-dev.4635

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/errata.mjs CHANGED
@@ -38964,6 +38964,7 @@ async function runIndexer(store, opts) {
38964
38964
  const maxBytes = opts.maxFileBytes ?? 1024 * 1024;
38965
38965
  const scope = opts.changedRelPaths;
38966
38966
  const inScope = (relPath) => scope === void 0 || scope.has(relPath) || isReExportBarrel(relPath);
38967
+ const emits = (relPath) => scope === void 0 || scope.has(relPath);
38967
38968
  let perfLast = started2;
38968
38969
  const perfFile = process.env["ERRATA_PERF"];
38969
38970
  const perf = (label) => {
@@ -39015,7 +39016,7 @@ async function runIndexer(store, opts) {
39015
39016
  upsertFolder(store, rootId, ".", opts.workspaceId, rootRel);
39016
39017
  report.nodesEmitted++;
39017
39018
  for (const f of files) {
39018
- if (!inScope(f.relPath)) continue;
39019
+ if (!emits(f.relPath)) continue;
39019
39020
  const segments = f.relPath.split(/[\\/]/).slice(0, -1);
39020
39021
  let parentId = rootId;
39021
39022
  let acc = "";
@@ -39270,6 +39271,7 @@ async function runIndexer(store, opts) {
39270
39271
  const providerByRel = new Map(files.map((x) => [x.relPath, x.provider]));
39271
39272
  let emittedFiles = 0;
39272
39273
  for (const [relPath, symbols] of symbolsByFile) {
39274
+ if (!emits(relPath)) continue;
39273
39275
  if (emittedFiles > 0 && emittedFiles % 50 === 0) {
39274
39276
  await new Promise((r) => setImmediate(r));
39275
39277
  }
@@ -39489,6 +39491,7 @@ async function runIndexer(store, opts) {
39489
39491
  }
39490
39492
  perf("flush cross-file edges");
39491
39493
  for (const relPath of symbolsByFile.keys()) {
39494
+ if (!emits(relPath)) continue;
39492
39495
  const fid = fileNodeId(opts.workspaceId, relPath);
39493
39496
  if (store.outEdges(fid, ["DEFINES", "CONTAINS"]).length === 0) {
39494
39497
  stampIndexOutcome(store, fid, { symbolCount: 0 });
@@ -86856,7 +86859,7 @@ function createWatchBreaker(deps) {
86856
86859
  }
86857
86860
 
86858
86861
  // src/engine.ts
86859
- var DAEMON_VERSION = true ? "2.0.22-dev.4630" : "2.0.0-alpha.0";
86862
+ var DAEMON_VERSION = true ? "2.0.22-dev.4635" : "2.0.0-alpha.0";
86860
86863
  var IGNORED_PATH = /[\\/](?:\.git|node_modules|\.errata|\.claude|\.codex|\.cursor|\.turbo|\.next|dist|coverage|test-results|playwright-report|__pycache__)(?:[\\/]|$)/;
86861
86864
  var IGNORED_NOISE = /castalia\.db|eventlog\.sqlite|turn-cursors/;
86862
86865
  var GIT_OP_MUTE_MS = 4e3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inerrata-corporation/errata",
3
- "version": "2.0.22-dev.4630",
3
+ "version": "2.0.22-dev.4635",
4
4
  "description": "errata - local-first observation engine for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {
package/pass-worker.mjs CHANGED
@@ -17771,6 +17771,7 @@ async function runIndexer(store2, opts) {
17771
17771
  const maxBytes = opts.maxFileBytes ?? 1024 * 1024;
17772
17772
  const scope = opts.changedRelPaths;
17773
17773
  const inScope = (relPath) => scope === void 0 || scope.has(relPath) || isReExportBarrel(relPath);
17774
+ const emits = (relPath) => scope === void 0 || scope.has(relPath);
17774
17775
  let perfLast = started;
17775
17776
  const perfFile = process.env["ERRATA_PERF"];
17776
17777
  const perf = (label) => {
@@ -17822,7 +17823,7 @@ async function runIndexer(store2, opts) {
17822
17823
  upsertFolder(store2, rootId, ".", opts.workspaceId, rootRel);
17823
17824
  report.nodesEmitted++;
17824
17825
  for (const f of files) {
17825
- if (!inScope(f.relPath)) continue;
17826
+ if (!emits(f.relPath)) continue;
17826
17827
  const segments = f.relPath.split(/[\\/]/).slice(0, -1);
17827
17828
  let parentId = rootId;
17828
17829
  let acc = "";
@@ -18077,6 +18078,7 @@ async function runIndexer(store2, opts) {
18077
18078
  const providerByRel = new Map(files.map((x) => [x.relPath, x.provider]));
18078
18079
  let emittedFiles = 0;
18079
18080
  for (const [relPath, symbols] of symbolsByFile) {
18081
+ if (!emits(relPath)) continue;
18080
18082
  if (emittedFiles > 0 && emittedFiles % 50 === 0) {
18081
18083
  await new Promise((r) => setImmediate(r));
18082
18084
  }
@@ -18296,6 +18298,7 @@ async function runIndexer(store2, opts) {
18296
18298
  }
18297
18299
  perf("flush cross-file edges");
18298
18300
  for (const relPath of symbolsByFile.keys()) {
18301
+ if (!emits(relPath)) continue;
18299
18302
  const fid = fileNodeId(opts.workspaceId, relPath);
18300
18303
  if (store2.outEdges(fid, ["DEFINES", "CONTAINS"]).length === 0) {
18301
18304
  stampIndexOutcome(store2, fid, { symbolCount: 0 });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "errata-context",
3
- "version": "2.0.22-dev.4630",
3
+ "version": "2.0.22-dev.4635",
4
4
  "description": "A minimal 3D view of loaded Errata priors and recent graph bursts.",
5
5
  "author": {
6
6
  "name": "inErrata"
@@ -1,4 +1,4 @@
1
- c1fadeab6f8e468c4a68d145040bb552c2a78a8506e06fa9fc87e3f8fd6eef10 .codex-plugin/plugin.json
1
+ 97441718c0941fc62b087e0948ee625bb750c45d4938148ef8414d8ee4767bf4 .codex-plugin/plugin.json
2
2
  a7bebae9fb01c838d6c75fc784129e28be571233fa66ff5ee8039b574f35ccf7 assets/icon.png
3
3
  fc38b64e4df1e0b72c35764bef6c4c05430d97c9009ad0ecc8a9e75b4deab232 configure-local.mjs
4
4
  73dc6028b3b070257c7c31f252d11e55a9e096f4aed0f187f10cb21716e1e6d7 dist/client.js