@akanjs/cli 3.1.0-rc.22 → 3.1.0-rc.23
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/.build-stamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0b08571b982fd7b2ccd3720c27f960eb948650e831ba3250f05dad12484f7c8f
|
|
@@ -61,7 +61,9 @@ body shape — this is the full contract behind them. Before changing route beha
|
|
|
61
61
|
again in the background while what it drew stays, and a refusal moves the router and blanks it. A guard that moves
|
|
62
62
|
the router ends the chain and the page draws nothing; a refused or failed check runs again when its layer is
|
|
63
63
|
retried. Root layouts are drawn once for every page and are not gated
|
|
64
|
-
themselves; their guards still run in each page's chain, and a legacy page under them waits too.
|
|
64
|
+
themselves; their guards still run in each page's chain, and a legacy page under them waits too. In a CSR bundle a
|
|
65
|
+
path no page matches draws the deepest `.notFound()` of the layouts it sits under, or a default page, once those
|
|
66
|
+
layouts' guards let it in, and `router.notFound()` moves to `/404`, drawn the same way. `guard` is a stage
|
|
65
67
|
only: a legacy module that exports one, a root layout's included, fails to load and fails `akan build`.
|
|
66
68
|
- **MCP runs them too**: a prompt or an app tool runs its route's guards before anything else, and `prompts/list` and
|
|
67
69
|
the page tools in `tools/list` show only the screens whose guards admit the caller (a listing knows no arguments,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akanjs/cli",
|
|
3
|
-
"version": "3.1.0-rc.
|
|
3
|
+
"version": "3.1.0-rc.23",
|
|
4
4
|
"sourceType": "module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@earendil-works/pi-tui": "1.3.0",
|
|
40
40
|
"@inquirer/prompts": "^8.7.3",
|
|
41
41
|
"@tailwindcss/node": "^4.3.3",
|
|
42
|
-
"akanjs": "3.1.0-rc.
|
|
42
|
+
"akanjs": "3.1.0-rc.23",
|
|
43
43
|
"chalk": "^6.0.1",
|
|
44
44
|
"commander": "^15.0.0",
|
|
45
45
|
"dayjs": "^1.11.23",
|