@byline/core 4.5.0 → 4.6.0
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.
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* `documentToMarkdown` — the document-grain markdown assembler for the
|
|
10
10
|
* agent-readable export surface (`.md` routes, `llms.txt`). See
|
|
11
|
-
*
|
|
11
|
+
* docs/05-reading-and-delivery/04-markdown-export.md.
|
|
12
12
|
*
|
|
13
13
|
* A page is a composite (text, richtext, blocks, arrays, relations); this
|
|
14
14
|
* walks the collection's schema and the locale-resolved field data in
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* `documentToMarkdown` — the document-grain markdown assembler for the
|
|
10
10
|
* agent-readable export surface (`.md` routes, `llms.txt`). See
|
|
11
|
-
*
|
|
11
|
+
* docs/05-reading-and-delivery/04-markdown-export.md.
|
|
12
12
|
*
|
|
13
13
|
* A page is a composite (text, richtext, blocks, arrays, relations); this
|
|
14
14
|
* walks the collection's schema and the locale-resolved field data in
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
* Contract tests for the document-grain markdown assembler. The expected
|
|
10
10
|
* strings ARE the format contract — agents build on this shape, so a
|
|
11
11
|
* change here is a consumer-visible format change and should be
|
|
12
|
-
* deliberate (
|
|
12
|
+
* deliberate (docs/05-reading-and-delivery/04-markdown-export.md →
|
|
13
|
+
* "The output is a contract surface").
|
|
13
14
|
*/
|
|
14
15
|
import { describe, expect, it } from 'vitest';
|
|
15
16
|
import { documentToMarkdown } from './document-to-markdown.js';
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@byline/core",
|
|
3
3
|
"private": false,
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.6.0",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=20.9.0"
|
|
8
8
|
},
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"pino": "^10.3.1",
|
|
82
82
|
"sharp": "^0.35.3",
|
|
83
83
|
"zod": "^4.4.3",
|
|
84
|
-
"@byline/auth": "4.
|
|
84
|
+
"@byline/auth": "4.6.0"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@biomejs/biome": "2.5.4",
|