@inerrata-corporation/errata 2.0.2-dev.261 → 2.0.2-dev.276

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 +8 -5
  2. package/package.json +1 -1
package/errata.mjs CHANGED
@@ -52664,7 +52664,7 @@ function startLoopLagMonitor(thresholdMs = 1e3) {
52664
52664
  }
52665
52665
 
52666
52666
  // src/engine.ts
52667
- var DAEMON_VERSION = true ? "2.0.2-dev.261" : "2.0.0-alpha.0";
52667
+ var DAEMON_VERSION = true ? "2.0.2-dev.276" : "2.0.0-alpha.0";
52668
52668
  var IGNORED_PATH = /[\\/](?:\.git|node_modules|\.errata|\.claude|\.codex|\.cursor|\.turbo|\.next|dist|coverage|test-results|playwright-report|__pycache__)(?:[\\/]|$)/;
52669
52669
  var IGNORED_NOISE = /castalia\.db|eventlog\.sqlite|turn-cursors/;
52670
52670
  var GIT_OP_MUTE_MS = 4e3;
@@ -54537,8 +54537,8 @@ function contributedWireId(n) {
54537
54537
  return isMembraneSaltedId(cloudId) ? cloudId : n.id;
54538
54538
  }
54539
54539
  var WIRE_CANONICAL_ID_MIN = 6;
54540
- function unshippableReason(n) {
54541
- const canonical = typeof n.attrs?.["canonicalId"] === "string" ? n.attrs["canonicalId"] : n.id;
54540
+ function unshippableReason(canonical, label) {
54541
+ void label;
54542
54542
  if (canonical.length < WIRE_CANONICAL_ID_MIN) {
54543
54543
  return `canonicalId "${canonical}" is ${canonical.length} chars; the door requires >= ${WIRE_CANONICAL_ID_MIN}`;
54544
54544
  }
@@ -54552,6 +54552,9 @@ function wireContextId(n) {
54552
54552
  if (n.label === "Domain" && n.attrs["source"] !== "cloud") {
54553
54553
  return String(n.attrs["canonicalId"] ?? n.id);
54554
54554
  }
54555
+ if (n.label === "Component" && n.attrs["source"] !== "cloud") {
54556
+ return String(n.attrs["canonicalId"] ?? n.id);
54557
+ }
54555
54558
  return n.id;
54556
54559
  }
54557
54560
  function langAnchor(t) {
@@ -54621,7 +54624,7 @@ function buildInstanceIngest(store, profile, daemonVersion, ignorePatterns = [],
54621
54624
  }
54622
54625
  if (label === "Solution" && n.description.startsWith(AUTO_MINT_PREFIX)) continue;
54623
54626
  if (!noveltyAgainst(n, ref, noveltyOpts).ready) continue;
54624
- const reject = unshippableReason(n);
54627
+ const reject = unshippableReason(n.id, n.label);
54625
54628
  if (reject) {
54626
54629
  console.warn(`[errata] skipping unshippable node ${n.id} (${n.label}): ${reject}`);
54627
54630
  continue;
@@ -54675,7 +54678,7 @@ function buildInstanceIngest(store, profile, daemonVersion, ignorePatterns = [],
54675
54678
  anchorDigests[sourceId] = dg;
54676
54679
  const wireFrom = seen.has(sourceId) || !sourceNode ? sourceId : contributedWireId(sourceNode);
54677
54680
  for (const { e, t, wireId } of targets) {
54678
- const reject = unshippableReason({ id: wireId, label: t.label, attrs: t.attrs });
54681
+ const reject = unshippableReason(wireId, t.label);
54679
54682
  if (reject) {
54680
54683
  console.warn(`[errata] skipping unshippable anchor ${wireId} (${t.label}): ${reject}`);
54681
54684
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inerrata-corporation/errata",
3
- "version": "2.0.2-dev.261",
3
+ "version": "2.0.2-dev.276",
4
4
  "description": "errata - local-first observation engine for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {