@inerrata-corporation/errata 2.0.6-dev.2725 → 2.0.6-dev.2734

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.
Files changed (2) hide show
  1. package/errata.mjs +3 -9
  2. package/package.json +1 -1
package/errata.mjs CHANGED
@@ -79905,7 +79905,7 @@ function createWatchBreaker(deps) {
79905
79905
  }
79906
79906
 
79907
79907
  // src/engine.ts
79908
- var DAEMON_VERSION = true ? "2.0.6-dev.2725" : "2.0.0-alpha.0";
79908
+ var DAEMON_VERSION = true ? "2.0.6-dev.2734" : "2.0.0-alpha.0";
79909
79909
  var IGNORED_PATH = /[\\/](?:\.git|node_modules|\.errata|\.claude|\.codex|\.cursor|\.turbo|\.next|dist|coverage|test-results|playwright-report|__pycache__)(?:[\\/]|$)/;
79910
79910
  var IGNORED_NOISE = /castalia\.db|eventlog\.sqlite|turn-cursors/;
79911
79911
  var GIT_OP_MUTE_MS = 4e3;
@@ -84480,7 +84480,6 @@ async function spineForUnit(git3, root, unit, readBlob) {
84480
84480
  const wire = (d) => ({ ecosystem: d.ecosystem, name: d.name, version: d.version, kind: d.kind, manifest: d.manifest });
84481
84481
  return { declared: rings.declared.map(wire), context: rings.context.map(wire) };
84482
84482
  }
84483
- var HEX_BODY_HASH = /^[0-9a-f]{8,64}$/;
84484
84483
  function anchorsFor(pathTokens, ignoreLines, projectId, anchors) {
84485
84484
  if (!anchors) return void 0;
84486
84485
  const out2 = {};
@@ -84492,11 +84491,9 @@ function anchorsFor(pathTokens, ignoreLines, projectId, anchors) {
84492
84491
  for (const n of nodes) {
84493
84492
  const qname = n.attrs["qname"];
84494
84493
  if (typeof qname !== "string") continue;
84495
- const bodyHash = n.attrs["bodyHash"];
84496
84494
  list.push({
84497
84495
  symbolId: projectSymbolId(anchors.salt, projectId, relPath, qname, n.label),
84498
- kind: n.label,
84499
- ...typeof bodyHash === "string" && HEX_BODY_HASH.test(bodyHash) ? { contentHash: bodyHash } : {}
84496
+ kind: n.label
84500
84497
  });
84501
84498
  if (list.length >= MAX_ANCHORS_PER_TOKEN) break;
84502
84499
  }
@@ -84636,10 +84633,7 @@ async function walk10(root, input, client, opts, readBlob) {
84636
84633
  const spine = await spineForUnit(git3, root, u, readBlob);
84637
84634
  if (spine) body2.spine = spine;
84638
84635
  const anchors = anchorsFor(bundle.pathTokens, ignoreLines, projectId, opts.anchors);
84639
- if (anchors) {
84640
- body2.anchors = anchors;
84641
- body2.observedAtCommit = headSha;
84642
- }
84636
+ if (anchors) body2.anchors = anchors;
84643
84637
  return { body: body2, prepMs: Date.now() - prepStarted };
84644
84638
  })();
84645
84639
  prepared.set(k, p);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inerrata-corporation/errata",
3
- "version": "2.0.6-dev.2725",
3
+ "version": "2.0.6-dev.2734",
4
4
  "description": "errata - local-first observation engine for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {