@panaversity/ksor 0.0.49 → 0.0.51
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/CHANGELOG.md +86 -0
- package/dist/cli.mjs +65 -8
- package/dist/{gateway-api-8DkVCYYi-Bo0_Y1Y3.mjs → gateway-api-D8HlLys2-Ca8OnwLn.mjs} +50 -11
- package/dist/gateway.mjs +1 -1
- package/docs/index.md +5 -0
- package/docs/upgrading.md +106 -0
- package/package.json +1 -1
- package/templates/scaffold/pnpm-lock.yaml +304 -262
- package/templates/scaffold/system/site/lib/record-href.ts +1 -1
- package/templates/scaffold/system/site/next.config.mjs +13 -0
- package/templates/scaffold/system/site/package.json +4 -4
- package/templates/scaffold/system/site/source.config.ts +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* bundle-absolute (`/policies/x.md`, resolved against `knowledge/`) and
|
|
6
6
|
* relative (`x.md`, `./x.md`, `../x.md`, against the document's own
|
|
7
7
|
* directory), with `.md` optional in each. The shell resolves only the `./`
|
|
8
|
-
* and `../` forms (fumadocs-core 16.
|
|
8
|
+
* and `../` forms (fumadocs-core 16.15.4, `resolveHref` returns anything else
|
|
9
9
|
* untouched), so a bundle-absolute link left the record's frame entirely and a
|
|
10
10
|
* bare `x.md` was resolved by the browser against the page's ROUTE rather than
|
|
11
11
|
* its directory: both 404'd from every page, found live 2026-08-25 as prefetch
|
|
@@ -46,6 +46,19 @@ const config = {
|
|
|
46
46
|
// Hosting under a sub-path (e.g. a GitHub Pages project site):
|
|
47
47
|
// KSOR_BASE_PATH="/my-repo" pnpm build
|
|
48
48
|
basePath: process.env.KSOR_BASE_PATH ?? "",
|
|
49
|
+
// Next >= 16.3 writes AGENTS.md and CLAUDE.md into the Next project root
|
|
50
|
+
// whenever `next dev` detects a coding agent (`agentRules`, default true).
|
|
51
|
+
// Here that root is system/site, and a markdown file there is refused by the
|
|
52
|
+
// record's own hygiene rule (`ksor-site-holds-content`): the site RENDERS the
|
|
53
|
+
// record, it never holds it, so content there silently forks it. Left on, an
|
|
54
|
+
// adopter's `pnpm dev` made their own `pnpm check` go red — reproduced by the
|
|
55
|
+
// scaffold walkthrough the hour Next 16.3.3 was pinned.
|
|
56
|
+
//
|
|
57
|
+
// The scaffold already answers what the feature is for: AGENTS.md at the repo
|
|
58
|
+
// root is the coding agent's first read, and one record must not speak with
|
|
59
|
+
// two voices about one thing. Turn it back on only if you also move those two
|
|
60
|
+
// files out of system/site.
|
|
61
|
+
agentRules: false,
|
|
49
62
|
turbopack: {
|
|
50
63
|
root: repoRoot,
|
|
51
64
|
},
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"class-variance-authority": "0.7.1",
|
|
12
12
|
"clsx": "2.1.1",
|
|
13
|
-
"fumadocs-core": "16.
|
|
14
|
-
"fumadocs-mdx": "15.
|
|
15
|
-
"fumadocs-ui": "16.
|
|
13
|
+
"fumadocs-core": "16.15.4",
|
|
14
|
+
"fumadocs-mdx": "15.4.0",
|
|
15
|
+
"fumadocs-ui": "16.15.4",
|
|
16
16
|
"lucide-react": "1.31.0",
|
|
17
|
-
"next": "16.
|
|
17
|
+
"next": "16.3.3",
|
|
18
18
|
"radix-ui": "1.6.7",
|
|
19
19
|
"react": "19.2.8",
|
|
20
20
|
"react-dom": "19.2.8",
|
|
@@ -230,7 +230,7 @@ export default defineConfig({
|
|
|
230
230
|
* apply to every group on the page and persist to the next visit. The
|
|
231
231
|
* `Tabs` branch drops the attribute silently, so a reader with a
|
|
232
232
|
* ten-section document would pick their tool ten times (verified against
|
|
233
|
-
* fumadocs-core 16.
|
|
233
|
+
* fumadocs-core 16.15.4, remark-code-tab.js).
|
|
234
234
|
*/
|
|
235
235
|
remarkPlugins: [[remarkCodeTab, { Tabs: "CodeBlockTabs" }]],
|
|
236
236
|
},
|