@rulvar/core 1.81.0 → 1.81.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/dist/index.d.ts CHANGED
@@ -6402,7 +6402,8 @@ type FencedCodeMode = "counted" | "excluded";
6402
6402
  * fence opens at a line starting (after at most three spaces) with
6403
6403
  * three or more backticks or tildes, an optional info string allowed;
6404
6404
  * it closes at the next line carrying only at least as many of the
6405
- * SAME character; an unclosed fence runs to the end of the text.
6405
+ * SAME character (a trailing carriage return from CRLF text does not
6406
+ * keep a fence open); an unclosed fence runs to the end of the text.
6406
6407
  * Indented (four space) code blocks are not treated as code. This is
6407
6408
  * the exact exclusion the `fencedCode: 'excluded'` validator option
6408
6409
  * applies, exported so custom host validators can stay symmetric.
package/dist/index.js CHANGED
@@ -15394,7 +15394,7 @@ function requireNonEmptyStrings(values, what) {
15394
15394
  return [...values];
15395
15395
  }
15396
15396
  const FENCE_OPEN = /^ {0,3}(`{3,}|~{3,})/;
15397
- const FENCE_CLOSE = /^ {0,3}(`{3,}|~{3,})[ \t]*$/;
15397
+ const FENCE_CLOSE = /^ {0,3}(`{3,}|~{3,})[ \t]*\r?$/;
15398
15398
  /**
15399
15399
  * Removes fenced code blocks from a text, the delimiter lines
15400
15400
  * included, and returns the remaining lines joined by newlines. The
@@ -15402,7 +15402,8 @@ const FENCE_CLOSE = /^ {0,3}(`{3,}|~{3,})[ \t]*$/;
15402
15402
  * fence opens at a line starting (after at most three spaces) with
15403
15403
  * three or more backticks or tildes, an optional info string allowed;
15404
15404
  * it closes at the next line carrying only at least as many of the
15405
- * SAME character; an unclosed fence runs to the end of the text.
15405
+ * SAME character (a trailing carriage return from CRLF text does not
15406
+ * keep a fence open); an unclosed fence runs to the end of the text.
15406
15407
  * Indented (four space) code blocks are not treated as code. This is
15407
15408
  * the exact exclusion the `fencedCode: 'excluded'` validator option
15408
15409
  * applies, exported so custom host validators can stay symmetric.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rulvar/core",
3
- "version": "1.81.0",
3
+ "version": "1.81.1",
4
4
  "description": "Rulvar core: L0 contracts, journal kernel, ctx primitives, agent runtime, model router, tool system, dynamic orchestrator, InMemory and JSONL stores, event stream.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",