@inerrata-corporation/errata 2.0.22-dev.4127 → 2.0.22-dev.4128

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
@@ -23829,6 +23829,7 @@ function parseIntentFences(text) {
23829
23829
  for (const line of lines) {
23830
23830
  const kv = /^\s*intent\s*:\s*(.+?)\s*$/i.exec(line);
23831
23831
  if (kv) parts2.push(kv[1].trim());
23832
+ else if (parts2.length > 0 && FIELD_LINE.test(line)) break;
23832
23833
  else if (parts2.length > 0 && line.trim()) parts2.push(line.trim());
23833
23834
  }
23834
23835
  const intent = parts2.join(" ").trim();
@@ -23843,6 +23844,7 @@ function parseShareFence(text) {
23843
23844
  for (const line of m[1].split(/\r?\n/)) {
23844
23845
  const kv = /^\s*priors\s*:\s*(.*?)\s*$/i.exec(line);
23845
23846
  if (kv) parts2.push(kv[1]);
23847
+ else if (parts2.length > 0 && FIELD_LINE.test(line)) break;
23846
23848
  else if (parts2.length > 0 && line.trim()) parts2.push(line.trim());
23847
23849
  }
23848
23850
  const value = parts2.join(" ").trim();
@@ -23910,12 +23912,13 @@ function recallableCorpus(store) {
23910
23912
  for (const id of cache2.keys()) if (!live3.has(id)) cache2.delete(id);
23911
23913
  return docs;
23912
23914
  }
23913
- var RECALLABLE, MIN_INTENT_TOKENS, DEFAULT_MIN_COVERAGE, RECALL_FILTER_KEYS, bagCache;
23915
+ var FIELD_LINE, RECALLABLE, MIN_INTENT_TOKENS, DEFAULT_MIN_COVERAGE, RECALL_FILTER_KEYS, bagCache;
23914
23916
  var init_intent = __esm({
23915
23917
  "../../packages/local-graph/src/intent.ts"() {
23916
23918
  "use strict";
23917
23919
  init_src();
23918
23920
  init_design_problem();
23921
+ FIELD_LINE = /^\s*[a-z][\w-]*\s*:(\s|$)/i;
23919
23922
  RECALLABLE = ["Problem", "Solution", "RootCause", "Pattern"];
23920
23923
  MIN_INTENT_TOKENS = 2;
23921
23924
  DEFAULT_MIN_COVERAGE = 0.2;
@@ -85165,7 +85168,7 @@ function createWatchBreaker(deps) {
85165
85168
  }
85166
85169
 
85167
85170
  // src/engine.ts
85168
- var DAEMON_VERSION = true ? "2.0.22-dev.4127" : "2.0.0-alpha.0";
85171
+ var DAEMON_VERSION = true ? "2.0.22-dev.4128" : "2.0.0-alpha.0";
85169
85172
  var IGNORED_PATH = /[\\/](?:\.git|node_modules|\.errata|\.claude|\.codex|\.cursor|\.turbo|\.next|dist|coverage|test-results|playwright-report|__pycache__)(?:[\\/]|$)/;
85170
85173
  var IGNORED_NOISE = /castalia\.db|eventlog\.sqlite|turn-cursors/;
85171
85174
  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.4127",
3
+ "version": "2.0.22-dev.4128",
4
4
  "description": "errata - local-first observation engine for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "errata-context",
3
- "version": "2.0.22-dev.4127",
3
+ "version": "2.0.22-dev.4128",
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
- 78dffda4706af8936449106b69d53de281d602a03d7e3aec97bf85eb19c5ddc5 .codex-plugin/plugin.json
1
+ 7df6ba4eca83c1c8e6b452e826aa8d4b6c59ed63ded7cf6267d007634a087605 .codex-plugin/plugin.json
2
2
  a7bebae9fb01c838d6c75fc784129e28be571233fa66ff5ee8039b574f35ccf7 assets/icon.png
3
3
  fc38b64e4df1e0b72c35764bef6c4c05430d97c9009ad0ecc8a9e75b4deab232 configure-local.mjs
4
4
  73dc6028b3b070257c7c31f252d11e55a9e096f4aed0f187f10cb21716e1e6d7 dist/client.js