@stacksjs/defaults 0.75.672 → 0.75.683
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/ai/skills/stacks-ai/SKILL.md +7 -2
- package/ai/skills/stacks-api/SKILL.md +1 -1
- package/ai/skills/stacks-dashboard/SKILL.md +26 -5
- package/ai/skills/stacks-deploy/SKILL.md +8 -0
- package/ai/skills/stacks-desktop/SKILL.md +31 -0
- package/ai/skills/stacks-development/SKILL.md +5 -7
- package/ai/skills/stacks-health/SKILL.md +19 -9
- package/ai/skills/stacks-native/CATALOG.md +24 -24
- package/ai/skills/stacks-newsletter/SKILL.md +10 -4
- package/ai/skills/stacks-router/SKILL.md +2 -2
- package/ai/skills/stacks-routes/SKILL.md +2 -2
- package/ai/skills/stacks-scheduler/SKILL.md +16 -2
- package/ai/skills/stacks-security/SKILL.md +24 -0
- package/ai/skills/stacks-socials/SKILL.md +17 -1
- package/ai/skills/stacks-storage/SKILL.md +34 -15
- package/app/Actions/SubscriberEmailAction.ts +26 -10
- package/app/Jobs/Inspire.ts +33 -0
- package/functions/dashboard-sidebar-order.ts +3 -0
- package/ide/vscode/package.json +1 -1
- package/package.json +8 -7
- package/project/storage/framework/types/request-context.d.ts +3 -0
- package/resources/components/Dashboard/Billing/BillingPaymentMethodsPanel.stx +3 -10
- package/resources/components/Dashboard/Billing/BillingPlanSummary.stx +3 -10
- package/resources/components/Dashboard/Billing/BillingSettings.stx +13 -15
- package/resources/components/Dashboard/Billing/BillingTransactionHistory.stx +2 -9
- package/resources/components/Dashboard/DashboardSectionLanding.stx +72 -0
- package/resources/components/Dashboard/DashboardSectionSidebar.stx +78 -0
- package/resources/components/Dashboard/GlobalSearch.stx +3 -1
- package/resources/components/Dashboard/Home/DashboardHome.stx +22 -9
- package/resources/components/Dashboard/MobileSidebar.stx +1 -1
- package/resources/components/Dashboard/Settings/AppearanceSettingsDashboard.stx +37 -92
- package/resources/components/Dashboard/Settings/DashboardSettingsFrame.stx +98 -0
- package/resources/components/Dashboard/Settings/DashboardThemePicker.stx +213 -0
- package/resources/components/Dashboard/Settings/MailSettingsDashboard.stx +162 -167
- package/resources/components/Dashboard/Settings/SettingsDashboard.stx +34 -30
- package/resources/components/Dashboard/Settings/SoftwareUpdateDashboard.stx +229 -0
- package/resources/components/Dashboard/UI/ActivityTable.stx +7 -7
- package/resources/components/Dashboard/UI/Button.stx +6 -3
- package/resources/components/Dashboard/UI/Card.stx +1 -1
- package/resources/components/Dashboard/UI/DashboardNavigationCards.stx +44 -0
- package/resources/components/Dashboard/UI/Drawer.stx +1 -1
- package/resources/components/Dashboard/UI/Input.stx +1 -0
- package/resources/components/Dashboard/UI/Modal.stx +1 -0
- package/resources/components/Dashboard/UI/PageHeader.stx +1 -1
- package/resources/components/Dashboard/UI/QuickLinks.stx +7 -5
- package/resources/components/Dashboard/UI/Select.stx +1 -0
- package/resources/components/Dashboard/UI/ServiceHealth.stx +6 -6
- package/resources/components/Dashboard/UI/StatsCard.stx +5 -5
- package/resources/components/Dashboard/UI/Table.stx +2 -1
- package/resources/components/Dashboard/UI/Textarea.stx +1 -0
- package/resources/components/Marketing/SubscribeForm.stx +29 -8
- package/resources/functions/dashboard/section-landing.ts +201 -0
- package/resources/functions/dashboard/section-navigation.ts +95 -0
- package/styles/dashboard-theme.css +1017 -0
- package/views/dashboard/composables/dashboard-theme-bootstrap.ts +11 -0
- package/views/dashboard/composables/dashboard-themes.ts +180 -0
- package/views/dashboard/composables/settings-window.ts +116 -0
- package/views/dashboard/composables/useAppearance.ts +34 -13
- package/views/dashboard/composables/useDashboardThemes.ts +80 -0
- package/views/dashboard/composables/useSettingsWindow.ts +23 -0
- package/views/dashboard/layouts/default.stx +74 -59
- package/views/dashboard/layouts/guest.stx +11 -1
- package/views/dashboard/layouts/settings.stx +48 -0
- package/views/dashboard/sections/[section].stx +19 -0
- package/views/dashboard/settings/appearance.stx +4 -2
- package/views/dashboard/settings/billing.stx +3 -4
- package/views/dashboard/settings/index.stx +4 -2
- package/views/dashboard/settings/mail.stx +3 -3
- package/views/dashboard/settings/software-update.stx +9 -0
|
@@ -95,8 +95,13 @@ messages.push(assistantTurn(result), toolResultsTurn(
|
|
|
95
95
|
```
|
|
96
96
|
|
|
97
97
|
- `content` is the model's text, `''` when it only called tools.
|
|
98
|
-
-
|
|
99
|
-
`
|
|
98
|
+
- `responseFormat` JSON is `content`, never a tool call. On Anthropic,
|
|
99
|
+
`json_schema` uses the Messages API's own JSON mode: every object in the
|
|
100
|
+
schema is sent closed (`additionalProperties: false`), and numeric and length
|
|
101
|
+
limits are left out of what is sent; `generateObject()` still checks them.
|
|
102
|
+
- Current Claude models (Opus 5.5, Sonnet 5.5) refuse a forced
|
|
103
|
+
`toolChoice` (`'required'` / `{ name }`) and a non-default `temperature` or
|
|
104
|
+
`topP` with a 400. The framework sets neither itself; leave them unset.
|
|
100
105
|
- Ollama refuses `toolChoice: 'required'` / `{ name }`; it cannot force a call.
|
|
101
106
|
- Streaming takes the same `tools`. `streamChat()` yields text and returns the
|
|
102
107
|
full `AIResult` (with `toolCalls`) when it ends; `streamChatEvents()` yields
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: stacks-dashboard
|
|
3
|
-
description: Use when building or customizing the Stacks admin dashboard, including dashboard pages, model management views, analytics widgets, commerce dashboards, content management, settings panels, deployment monitoring, job/queue management, or the
|
|
3
|
+
description: Use when building or customizing the Stacks admin dashboard, including dashboard pages, model management views, analytics widgets, commerce dashboards, content management, settings panels, deployment monitoring, job/queue management, or the 452 built-in dashboard components. Covers the dashboard system at storage/framework/defaults/.
|
|
4
4
|
license: MIT
|
|
5
5
|
compatibility: Bun >= 1.3.0, TypeScript
|
|
6
6
|
allowed-tools: Read Edit Write Bash Grep Glob
|
|
@@ -8,7 +8,7 @@ allowed-tools: Read Edit Write Bash Grep Glob
|
|
|
8
8
|
|
|
9
9
|
# Stacks Dashboard
|
|
10
10
|
|
|
11
|
-
The Stacks admin dashboard provides a full-featured admin panel with 100+ route views,
|
|
11
|
+
The Stacks admin dashboard provides a full-featured admin panel with 100+ route views, 452 components, and a multi-section layout.
|
|
12
12
|
|
|
13
13
|
## Key Paths
|
|
14
14
|
- Dashboard components: `storage/framework/defaults/resources/components/Dashboard/`
|
|
@@ -541,6 +541,27 @@ Persisted shell appearance is applied with STX's
|
|
|
541
541
|
storage key and defaults aligned with `composables/useAppearance.ts`. Never
|
|
542
542
|
replace it with raw `window`, `document`, or `localStorage` code in the layout.
|
|
543
543
|
|
|
544
|
+
Dashboard themes are selected in Settings → Appearance. The Original
|
|
545
|
+
retains both existing sidebar styles. System Cleaner and imported version 1
|
|
546
|
+
JSON themes apply validated light and dark palettes to the shared shell and
|
|
547
|
+
components. Keep theme definitions in `views/dashboard/composables/dashboard-themes.ts`
|
|
548
|
+
and reusable styling in `styles/dashboard-theme.css`. Extend shared components
|
|
549
|
+
with semantic styling hooks or dashboard theme CSS variables so every theme
|
|
550
|
+
can use the same STX navigation, controls and page markup. Use fallbacks that
|
|
551
|
+
match The Original when referencing optional theme variables.
|
|
552
|
+
|
|
553
|
+
For the `sections` navigation style, build the sidebar links and home cards
|
|
554
|
+
from the same enabled dashboard sections. Each link opens
|
|
555
|
+
`/sections/{section}` with cards for its existing routes, including model
|
|
556
|
+
destinations nested in the expandable sidebar. Apply the same viewer role
|
|
557
|
+
requirements to the cards and sidebar links. Keep mobile navigation on the
|
|
558
|
+
shared sidebar instance.
|
|
559
|
+
|
|
560
|
+
Both dashboard servers expose the same theme stylesheet and synchronous
|
|
561
|
+
bootstrap. The bootstrap and the appearance picker share the same manifest
|
|
562
|
+
validator and read browser-local state. Keep both assets in the head when
|
|
563
|
+
publishing a custom dashboard layout that supports themes.
|
|
564
|
+
|
|
544
565
|
At widths below 1024px:
|
|
545
566
|
|
|
546
567
|
- Hide the fixed desktop sidebar and reset `[data-stx-content]` to
|
|
@@ -553,9 +574,9 @@ At widths below 1024px:
|
|
|
553
574
|
- Verify `document.documentElement.scrollWidth <= innerWidth` at phone and
|
|
554
575
|
tablet sizes.
|
|
555
576
|
|
|
556
|
-
At 1024px and wider, the desktop sidebar
|
|
557
|
-
|
|
558
|
-
|
|
577
|
+
At 1024px and wider, the desktop sidebar keeps its 250px width, fixed
|
|
578
|
+
placement, persisted collapse state, and `--stx-sidebar-width` content-shell
|
|
579
|
+
contract across themes.
|
|
559
580
|
|
|
560
581
|
### Reactive page components
|
|
561
582
|
|
|
@@ -241,6 +241,14 @@ It needs `@stacksjs/ts-cloud` 0.16.126 or newer and says so on an older one.
|
|
|
241
241
|
are stripped. See `stacks-env` for the private-source precedence.
|
|
242
242
|
- A failover replica bucket (`infrastructure.storage.<name>.failover`) lives outside the stack, so
|
|
243
243
|
`buddy cloud:remove` leaves it, and its data, behind on purpose
|
|
244
|
+
- On Hetzner and SSH, each deploy is a new release directory, and only the database and
|
|
245
|
+
`storage/logs` carry over. Anything else an app writes on the box (uploads in `storage/app`,
|
|
246
|
+
generated media, a file cache) is gone from the next release. Keep a directory with the
|
|
247
|
+
site's `sharedPaths` in `config/cloud.ts`, or write it outside the release (`STORAGE_ROOT`, a
|
|
248
|
+
remote disk). The deploy warns before upload when the local storage disk would write inside
|
|
249
|
+
the release, and on the box it lists what the outgoing release wrote while it was live
|
|
250
|
+
(`core/buddy/src/release-writes.ts`, stacksjs/stacks#3367)
|
|
251
|
+
- The framework's health route is `GET /api/health`, not `/health`; point `healthCheck` there
|
|
244
252
|
- For infrastructure details, see the `stacks-cloud` skill
|
|
245
253
|
|
|
246
254
|
|
|
@@ -127,6 +127,19 @@ unprotected HTTP server. Web middleware declarations are refused by this native
|
|
|
127
127
|
adapter instead of silently skipped. Writes use the model's validation, fillable
|
|
128
128
|
allowlist and hidden-field serialization; index requests have bounded pagination.
|
|
129
129
|
|
|
130
|
+
### Migrating a compiled app's own database
|
|
131
|
+
|
|
132
|
+
A build that ships the framework's generated `.sql` migrations (rather than the
|
|
133
|
+
native model planner above) applies them at launch with
|
|
134
|
+
`migrateCompiledDatabase({ databasePath, migrations, backupDir?, keepBackups? })`
|
|
135
|
+
from `@stacksjs/database/compiled-migrations`, before any framework module loads.
|
|
136
|
+
It runs table rebuilds (`PRAGMA foreign_keys=OFF; BEGIN; ... COMMIT;`) as written,
|
|
137
|
+
backs up with `VACUUM INTO` so writes still in the WAL are kept, refuses a
|
|
138
|
+
database a newer build changed (`NewerSchemaError`, nothing touched), restores the
|
|
139
|
+
backup when a file fails (`MigrationRestoredError`), keeps three backups, and
|
|
140
|
+
records the framework's `migrations` ledger plus `PRAGMA user_version`. Show the
|
|
141
|
+
user the error's message: it says the data was put back and where the copy is.
|
|
142
|
+
|
|
130
143
|
The launcher Stacks compiles opens a Craft window on the URL in `desktop.json`,
|
|
131
144
|
which is what a hosted Stacks application wants. An app whose subject is the
|
|
132
145
|
machine it runs on - a disk cleaner, a log viewer, a device tool - has no such
|
|
@@ -539,6 +552,24 @@ What the launcher (`runWebviewApp`) does, the same on every platform:
|
|
|
539
552
|
`agent.publicPaths` opens paths to callers without the cookie (an MCP endpoint behind its own bearer token). The
|
|
540
553
|
app's handler must authenticate those itself; the views are never served there.
|
|
541
554
|
|
|
555
|
+
`agent.appRoutes: true` serves the project's own routes from the agent: the route files `app/Routes.ts` registers,
|
|
556
|
+
the actions they name by string and every middleware, imported statically by the generated entry so a built app
|
|
557
|
+
carries them (`appBundleFiles`, the same collector the macOS agent uses). They answer after `agent.entry`; a path no
|
|
558
|
+
route matches (`isUnmatchedRouteResponse` from `@stacksjs/router`) goes on to the views, while a route's own 404 is
|
|
559
|
+
still the app's answer. Off by default.
|
|
560
|
+
|
|
561
|
+
`agent.database: true` gives the app its own SQLite file, `database.sqlite` in its data directory. The build runs
|
|
562
|
+
`buddy migrate --no-generate` against a scratch file and compiles in exactly the migrations it applied
|
|
563
|
+
(`appMigrationFiles`); at every launch, once the instance lock is held and before the agent module loads, they are
|
|
564
|
+
applied with `migrateCompiledDatabase` and `DB_CONNECTION`/`DB_DATABASE_PATH` point the app at the file. A database a
|
|
565
|
+
newer version changed, or a migration that fails (the backup is put back), stops the launch with the reason in the
|
|
566
|
+
app's log.
|
|
567
|
+
|
|
568
|
+
`buddy build:desktop` also bundles the project's own scripts that pages load as `src="/assets/....ts"` (every `.stx`
|
|
569
|
+
under `resources/` is read for them): each is built for the browser with what it imports (`appClientScripts`) and
|
|
570
|
+
embedded at the URL the page asks for, served as JavaScript. A page naming a script that is not in `resources/assets`
|
|
571
|
+
fails the build. Config is not bundled yet (stacksjs/stacks#3368).
|
|
572
|
+
|
|
542
573
|
**Views.** `buddy dev:desktop` serves `agent.views` live through stx (`bun-plugin-stx/serve`, with the gate and the
|
|
543
574
|
agent module in its `onRequest`). `buddy build:desktop` builds them to static pages with stx's `buildStaticSite`
|
|
544
575
|
and compiles every file into the agent, so a built app reads no loose view files. Component directories for the
|
|
@@ -128,8 +128,8 @@ When `buddy dev` runs without a specific server flag, `startDevelopmentServer()`
|
|
|
128
128
|
7. Registers SIGINT/SIGTERM handlers that `SIGKILL` the entire process group
|
|
129
129
|
|
|
130
130
|
### Action Execution (`runAction` in helpers/utils.ts)
|
|
131
|
-
-
|
|
132
|
-
-
|
|
131
|
+
- Buddy supervises frontend and API workers through `startAppDevSession()`, which owns source reloads and the public listeners.
|
|
132
|
+
- Other dev actions may use Bun watch mode or manage their own watchers.
|
|
133
133
|
- `NODE_PATH` is set to include `pantry/` so compiled pantry packages can resolve `@stacksjs/*` at runtime
|
|
134
134
|
- Dev action subprocess output is suppressed by default (quiet mode), visible with `--verbose`
|
|
135
135
|
|
|
@@ -184,9 +184,8 @@ When `APP_URL` is set to a custom domain (not `localhost`):
|
|
|
184
184
|
|
|
185
185
|
## Hot Reload / Watch Mode
|
|
186
186
|
|
|
187
|
-
- **
|
|
188
|
-
- **Frontend
|
|
189
|
-
- **API server**: Runs via `bun --watch`, restarts on route or handler changes
|
|
187
|
+
- **Frontend (STX)**: `bun-plugin-stx/serve` handles template and stylesheet HMR in place.
|
|
188
|
+
- **Frontend and API source**: Buddy stages affected workers on private ports and switches traffic only when they are ready. A failed replacement leaves the current workers serving. Combined sessions switch both workers together for shared edits. Standalone sessions apply changes independently, including on Windows.
|
|
190
189
|
- **Docs**: `@stacksjs/bunpress` runs with `watch: true` for live documentation updates
|
|
191
190
|
- **Components**: Uses the native component development workflow; inspect core/actions/src/dev/components.ts for the selected entry
|
|
192
191
|
|
|
@@ -296,8 +295,7 @@ Note: Dashboard mode overrides these settings via its own `serve()` options.
|
|
|
296
295
|
- The preloader skips entirely for `dev`, `build`, `test`, `lint`, and version/help commands -- auto-imports are NOT available in those contexts
|
|
297
296
|
- `buddy dev` (no arguments) starts ALL servers simultaneously -- use `buddy dev api` or `buddy dev frontend` to start only one
|
|
298
297
|
- The `STACKS_PROXY_MANAGED=1` env var prevents individual dev servers from starting their own reverse proxy -- only the unified `buddy dev` command manages the proxy
|
|
299
|
-
-
|
|
300
|
-
- The `dev/views` action is special-cased in `runAction()` to run in-process (no subprocess) for performance -- other dev actions spawn subprocesses
|
|
298
|
+
- Buddy owns managed development worker lifecycles. Adding `--watch` to those workers bypasses the rolling handoff.
|
|
301
299
|
- `NODE_PATH` is injected to include `pantry/` directory so compiled pantry packages can resolve `@stacksjs/*` dependencies at runtime
|
|
302
300
|
- The dashboard config API shares the dashboard origin and atomically modifies top-level scalar literals in `config/*.ts`. Nested values, arrays, and environment-backed expressions remain read-only.
|
|
303
301
|
- SSL certificates are stored in `~/.stacks/ssl/`, NOT in the project directory -- they persist across projects using the same domain
|
|
@@ -39,21 +39,31 @@ export const healthNotificationsWip = 1 // Notifications placeholder
|
|
|
39
39
|
The health check functionality currently lives in the router, not this package:
|
|
40
40
|
|
|
41
41
|
```
|
|
42
|
-
GET /health
|
|
42
|
+
GET /api/health
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
It is mounted under `/api`, not at `/health`, so it cannot collide with a page
|
|
46
|
+
of the app's own. Point load balancers, uptime monitors and a deploy's
|
|
47
|
+
`healthCheck` at `/api/health`.
|
|
48
|
+
|
|
49
|
+
It runs a database check (`SELECT 1`) and a cache round trip, each with a
|
|
50
|
+
1.5 second timeout, and answers 200 when both pass and 503 when one fails:
|
|
51
|
+
|
|
46
52
|
```json
|
|
47
53
|
{
|
|
48
|
-
"status": "
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
54
|
+
"status": "healthy",
|
|
55
|
+
"checks": {
|
|
56
|
+
"database": { "ok": true, "ms": 2 },
|
|
57
|
+
"cache": { "ok": true, "ms": 1 }
|
|
58
|
+
},
|
|
59
|
+
"timestamp": 1764000000000
|
|
53
60
|
}
|
|
54
61
|
```
|
|
55
62
|
|
|
56
|
-
|
|
63
|
+
A failing check has `ok: false` and a `message`, and `status` is `"degraded"`.
|
|
64
|
+
|
|
65
|
+
This endpoint is registered via `route.health()` in the router
|
|
66
|
+
(`checkApplicationHealth()` in `core/router/src/health.ts`).
|
|
57
67
|
|
|
58
68
|
## CLI Commands
|
|
59
69
|
|
|
@@ -70,6 +80,6 @@ buddy doctor # Comprehensive system diagnostics
|
|
|
70
80
|
|
|
71
81
|
## Gotchas
|
|
72
82
|
- **Package is WIP** — only placeholder exports exist
|
|
73
|
-
- **Health endpoint is in the router
|
|
83
|
+
- **Health endpoint is in the router**: `GET /api/health` (not `/health`) works via `route.health()`, not this package
|
|
74
84
|
- **`buddy doctor`** — system diagnostics are in the buddy CLI, not this health package
|
|
75
85
|
- **Oh Dear driver planned** — integration with ohdear.app for external monitoring
|
|
@@ -11,8 +11,8 @@ Browser runtime bindings are documented separately in `stacks-auto-imports`.
|
|
|
11
11
|
| Package | Task guidance | Source entry | Retained tests |
|
|
12
12
|
|---|---|---|---|
|
|
13
13
|
| `@stacksjs/action-runner` | [`stacks-actions`](../stacks-actions/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/action-runner/src/index.ts) | 1 |
|
|
14
|
-
| `@stacksjs/actions` | [`stacks-actions`](../stacks-actions/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/index.ts) |
|
|
15
|
-
| `@stacksjs/ai` | [`stacks-ai`](../stacks-ai/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/index.ts) |
|
|
14
|
+
| `@stacksjs/actions` | [`stacks-actions`](../stacks-actions/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/index.ts) | 133 |
|
|
15
|
+
| `@stacksjs/ai` | [`stacks-ai`](../stacks-ai/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/index.ts) | 28 |
|
|
16
16
|
| `@stacksjs/alias` | [`stacks-alias`](../stacks-alias/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/alias/src/index.ts) | 3 |
|
|
17
17
|
| `@stacksjs/analytics` | [`stacks-analytics`](../stacks-analytics/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/analytics/src/index.ts) | 7 |
|
|
18
18
|
| `@stacksjs/api` | [`stacks-api`](../stacks-api/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/api/src/index.ts) | 12 |
|
|
@@ -21,7 +21,7 @@ Browser runtime bindings are documented separately in `stacks-auto-imports`.
|
|
|
21
21
|
| `@stacksjs/auth` | [`stacks-auth`](../stacks-auth/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/auth/src/index.ts) | 136 |
|
|
22
22
|
| `@stacksjs/browser` | [`stacks-browser`](../stacks-browser/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/browser/src/index.ts) | 11 |
|
|
23
23
|
| `@stacksjs/browser-extension` | [`stacks-browser-extension`](../stacks-browser-extension/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/browser-extension/src/index.ts) | 9 |
|
|
24
|
-
| `@stacksjs/buddy` | [`stacks-buddy`](../stacks-buddy/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/buddy/src/index.ts) |
|
|
24
|
+
| `@stacksjs/buddy` | [`stacks-buddy`](../stacks-buddy/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/buddy/src/index.ts) | 224 |
|
|
25
25
|
| `@stacksjs/build` | [`stacks-build`](../stacks-build/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/build/src/index.ts) | 7 |
|
|
26
26
|
| `@stacksjs/cache` | [`stacks-cache`](../stacks-cache/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cache/src/index.ts) | 24 |
|
|
27
27
|
| `@stacksjs/calendar-api` | [`stacks-calendar`](../stacks-calendar/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/calendar-api/src/index.ts) | 5 |
|
|
@@ -35,7 +35,7 @@ Browser runtime bindings are documented separately in `stacks-auto-imports`.
|
|
|
35
35
|
| `@stacksjs/composables` | [`stacks-composables`](../stacks-composables/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/composables/src/index.ts) | 18 |
|
|
36
36
|
| `@stacksjs/config` | [`stacks-config`](../stacks-config/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/config/src/index.ts) | 18 |
|
|
37
37
|
| `@stacksjs/cron` | [`stacks-cron`](../stacks-cron/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cron/src/index.ts) | 6 |
|
|
38
|
-
| `@stacksjs/database` | [`stacks-database`](../stacks-database/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/index.ts) |
|
|
38
|
+
| `@stacksjs/database` | [`stacks-database`](../stacks-database/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/index.ts) | 152 |
|
|
39
39
|
| `@stacksjs/datetime` | [`stacks-datetime`](../stacks-datetime/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/datetime/src/index.ts) | 22 |
|
|
40
40
|
| `@stacksjs/defaults` | [`stacks-build`](../stacks-build/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/defaults/package.json) | 3 |
|
|
41
41
|
| `@stacksjs/deploy` | [`stacks-deploy`](../stacks-deploy/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/deploy/package.json) | 1 |
|
|
@@ -76,18 +76,18 @@ Browser runtime bindings are documented separately in `stacks-auto-imports`.
|
|
|
76
76
|
| `@stacksjs/realtime` | [`stacks-realtime`](../stacks-realtime/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/realtime/src/index.ts) | 21 |
|
|
77
77
|
| `@stacksjs/registry` | [`stacks-registry`](../stacks-registry/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/registry/src/index.ts) | 1 |
|
|
78
78
|
| `@stacksjs/repl` | [`stacks-repl`](../stacks-repl/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/repl/src/index.ts) | 2 |
|
|
79
|
-
| `@stacksjs/router` | [`stacks-router`](../stacks-router/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/index.ts) |
|
|
80
|
-
| `@stacksjs/scheduler` | [`stacks-scheduler`](../stacks-scheduler/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/scheduler/src/index.ts) |
|
|
79
|
+
| `@stacksjs/router` | [`stacks-router`](../stacks-router/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/index.ts) | 115 |
|
|
80
|
+
| `@stacksjs/scheduler` | [`stacks-scheduler`](../stacks-scheduler/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/scheduler/src/index.ts) | 24 |
|
|
81
81
|
| `@stacksjs/search-engine` | [`stacks-search-engine`](../stacks-search-engine/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/search-engine/src/index.ts) | 11 |
|
|
82
82
|
| `@stacksjs/security` | [`stacks-security`](../stacks-security/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/security/src/index.ts) | 12 |
|
|
83
|
-
| `@stacksjs/server` | [`stacks-server`](../stacks-server/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/index.ts) |
|
|
83
|
+
| `@stacksjs/server` | [`stacks-server`](../stacks-server/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/index.ts) | 32 |
|
|
84
84
|
| `@stacksjs/shell` | [`stacks-shell`](../stacks-shell/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/shell/src/index.ts) | 1 |
|
|
85
85
|
| `@stacksjs/sites` | [`stacks-sites`](../stacks-sites/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/sites/src/index.ts) | 3 |
|
|
86
86
|
| `@stacksjs/skills` | [`stacks-skills`](../stacks-skills/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/skills/src/index.ts) | 1 |
|
|
87
87
|
| `@stacksjs/slug` | [`stacks-slug`](../stacks-slug/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/slug/src/index.ts) | 5 |
|
|
88
88
|
| `@stacksjs/sms` | [`stacks-sms`](../stacks-sms/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/sms/src/index.ts) | 7 |
|
|
89
89
|
| `@stacksjs/socials` | [`stacks-socials`](../stacks-socials/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/socials/src/index.ts) | 21 |
|
|
90
|
-
| `@stacksjs/storage` | [`stacks-storage`](../stacks-storage/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/index.ts) |
|
|
90
|
+
| `@stacksjs/storage` | [`stacks-storage`](../stacks-storage/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/index.ts) | 54 |
|
|
91
91
|
| `@stacksjs/strings` | [`stacks-strings`](../stacks-strings/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/strings/src/index.ts) | 12 |
|
|
92
92
|
| `@stacksjs/support` | [`stacks-support`](../stacks-support/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/support/src/index.ts) | 6 |
|
|
93
93
|
| `@stacksjs/telephony` | [`stacks-telephony`](../stacks-telephony/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/telephony/src/index.ts) | 5 |
|
|
@@ -98,7 +98,7 @@ Browser runtime bindings are documented separately in `stacks-auto-imports`.
|
|
|
98
98
|
| `@stacksjs/ui` | [`stacks-ui`](../stacks-ui/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ui/src/index.ts) | 6 |
|
|
99
99
|
| `@stacksjs/utils` | [`stacks-utils`](../stacks-utils/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/utils/src/index.ts) | 28 |
|
|
100
100
|
| `@stacksjs/validation` | [`stacks-validation`](../stacks-validation/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/validation/src/index.ts) | 26 |
|
|
101
|
-
| `@stacksjs/video` | [`stacks-video`](../stacks-video/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/video/src/index.ts) |
|
|
101
|
+
| `@stacksjs/video` | [`stacks-video`](../stacks-video/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/video/src/index.ts) | 5 |
|
|
102
102
|
| `@stacksjs/waf` | [`stacks-security`](../stacks-security/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/waf/src/index.ts) | 2 |
|
|
103
103
|
| `@stacksjs/whois` | [`stacks-whois`](../stacks-whois/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/whois/src/index.ts) | 5 |
|
|
104
104
|
|
|
@@ -123,7 +123,7 @@ Declared runtime exports: `BlogAdminError`, `DEFAULT_IOS_DEPENDENCIES`, `DEFAULT
|
|
|
123
123
|
|
|
124
124
|
Local source modules: [src/action.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/action.ts), [src/add.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/add.ts), [src/blog-admin.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/blog-admin.ts), [src/build/ios-toolchain.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/build/ios-toolchain.ts), [src/build/macos-native.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/build/macos-native.ts), [src/commit.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/commit.ts), [src/dev/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/dev/index.ts), [src/discover-packages.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/discover-packages.ts), [src/generate/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/generate/index.ts), [src/github-release.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/github-release.ts), [src/helpers/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/helpers/index.ts), [src/library/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/library/index.ts), [src/lint/lint.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/lint/lint.ts), [src/lint/stx-gate.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/lint/stx-gate.ts), [src/make-command.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/make-command.ts), [src/make-job.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/make-job.ts), [src/make-policy.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/make-policy.ts), [src/make-resource.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/make-resource.ts), [src/make.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/make.ts), [src/publication-preflight.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/publication-preflight.ts), [src/release-evidence.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/release-evidence.ts), [src/reviewos-evidence.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/reviewos-evidence.ts), [src/reviewos-workflows.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/reviewos-workflows.ts), [src/scaffold-crud.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/scaffold-crud.ts), [src/setup/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/setup/index.ts), [src/stacks.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/stacks.ts), [src/stx-source.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/stx-source.ts), [src/upgrade/package-project.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/upgrade/package-project.ts), [src/upgrade/route-actions.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/src/upgrade/route-actions.ts).
|
|
125
125
|
|
|
126
|
-
Evidence directory: [
|
|
126
|
+
Evidence directory: [133 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/actions/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
|
|
127
127
|
|
|
128
128
|
### @stacksjs/ai
|
|
129
129
|
|
|
@@ -133,7 +133,7 @@ Declared runtime exports: `RealtimeError`, `assistantTurn`, `buildMessageWithIma
|
|
|
133
133
|
|
|
134
134
|
Local source modules: [src/agents/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/agents/index.ts), [src/buddy.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/buddy.ts), [src/client.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/client.ts), [src/complete.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/complete.ts), [src/context.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/context.ts), [src/documents.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/documents.ts), [src/drivers/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/drivers/index.ts), [src/durable-retrieval.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/durable-retrieval.ts), [src/embedding-client.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/embedding-client.ts), [src/image.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/image.ts), [src/mcp-server.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/mcp-server.ts), [src/mcp.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/mcp.ts), [src/models.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/models.ts), [src/personalization.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/personalization.ts), [src/realtime.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/realtime.ts), [src/router-mcp.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/router-mcp.ts), [src/search.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/search.ts), [src/speech.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/speech.ts), [src/text.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/text.ts), [src/types.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/types.ts), [src/utils/client-bedrock-runtime.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/utils/client-bedrock-runtime.ts), [src/utils/client-bedrock.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/utils/client-bedrock.ts), [src/utils/model-access.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/utils/model-access.ts), [src/utils/retry.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/utils/retry.ts), [src/utils/tokens.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/utils/tokens.ts), [src/utils/tools.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/utils/tools.ts), [src/utils/usage.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/utils/usage.ts), [src/utils/vision.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/src/utils/vision.ts).
|
|
135
135
|
|
|
136
|
-
Evidence directory: [
|
|
136
|
+
Evidence directory: [28 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/ai/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
|
|
137
137
|
|
|
138
138
|
### @stacksjs/alias
|
|
139
139
|
|
|
@@ -223,7 +223,7 @@ Read the entrypoint and package export map for re-exported or type-only surfaces
|
|
|
223
223
|
|
|
224
224
|
Local source modules: [src/commands/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/buddy/src/commands/index.ts).
|
|
225
225
|
|
|
226
|
-
Evidence directory: [
|
|
226
|
+
Evidence directory: [224 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/buddy/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
|
|
227
227
|
|
|
228
228
|
### @stacksjs/build
|
|
229
229
|
|
|
@@ -299,9 +299,9 @@ Evidence directory: [12 retained tests](https://github.com/stacksjs/stacks/blob/
|
|
|
299
299
|
|
|
300
300
|
Guidance: [`stacks-cms`](../stacks-cms/SKILL.md). Source: [storage/framework/core/cms/src/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/index.ts).
|
|
301
301
|
|
|
302
|
-
Declared runtime exports: `PageDocumentError`, `allBlocks`, `authors`, `categorizable`, `cms`, `cmsNotFoundFallback`, `cmsPageFallback`, `comments`, `createPageDocument`, `default`, `defaultBlocks`, `defineBlock`, `fetchMenuTree`, `fetchPageDocument`, `fetchRevisions`, `getBlock`, `normalizePath`, `pages`, `parseStoredBlocks`, `posts`, `publishDuePages`, `recordSlugChangeRedirects`, `registerBlocks`, `registerDefaultBlocks`, `renderCmsPage`, `resolvePublishedPage`, `resolveRedirect`, `restoreRevision`, `sanitizeRichText`, `storeRevision`, `tags`, `updatePageDocument`, `validateBlocks`.
|
|
302
|
+
Declared runtime exports: `PageDocumentError`, `allBlocks`, `authors`, `categorizable`, `cms`, `cmsNotFoundFallback`, `cmsPageFallback`, `comments`, `createPageDocument`, `default`, `defaultBlocks`, `defineBlock`, `fetchMenuTree`, `fetchPageDocument`, `fetchRevisions`, `getBlock`, `normalizePath`, `pages`, `parseStoredBlocks`, `posts`, `publishDuePages`, `recordSlugChangeRedirects`, `registerBlocks`, `registerDefaultBlocks`, `renderCmsPage`, `renderSafeMarkdown`, `resolvePublishedPage`, `resolveRedirect`, `restoreRevision`, `safeUrl`, `sanitizeRichText`, `storeRevision`, `tags`, `updatePageDocument`, `validateBlocks`.
|
|
303
303
|
|
|
304
|
-
Local source modules: [src/authors/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/authors/index.ts), [src/blocks/defaults.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/blocks/defaults.ts), [src/blocks/registry.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/blocks/registry.ts), [src/categorizables/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/categorizables/index.ts), [src/commentables/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/commentables/index.ts), [src/menus/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/menus/index.ts), [src/pages/document.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/pages/document.ts), [src/pages/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/pages/index.ts), [src/posts/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/posts/index.ts), [src/public/fallback.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/public/fallback.ts), [src/public/render.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/public/render.ts), [src/public/resolve.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/public/resolve.ts), [src/public/sanitize.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/public/sanitize.ts), [src/publish/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/publish/index.ts), [src/redirects/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/redirects/index.ts), [src/revisions/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/revisions/index.ts), [src/taggables/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/taggables/index.ts).
|
|
304
|
+
Local source modules: [src/authors/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/authors/index.ts), [src/blocks/defaults.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/blocks/defaults.ts), [src/blocks/registry.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/blocks/registry.ts), [src/categorizables/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/categorizables/index.ts), [src/commentables/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/commentables/index.ts), [src/markdown.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/markdown.ts), [src/menus/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/menus/index.ts), [src/pages/document.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/pages/document.ts), [src/pages/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/pages/index.ts), [src/posts/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/posts/index.ts), [src/public/fallback.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/public/fallback.ts), [src/public/render.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/public/render.ts), [src/public/resolve.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/public/resolve.ts), [src/public/sanitize.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/public/sanitize.ts), [src/publish/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/publish/index.ts), [src/redirects/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/redirects/index.ts), [src/revisions/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/revisions/index.ts), [src/taggables/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/src/taggables/index.ts).
|
|
305
305
|
|
|
306
306
|
Evidence directory: [5 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/cms/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
|
|
307
307
|
|
|
@@ -361,7 +361,7 @@ Declared runtime exports: `Database`, `EntityQueryBuilder`, `__flushAfterCommitN
|
|
|
361
361
|
|
|
362
362
|
Local source modules: [src/affected-rows.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/affected-rows.ts), [src/auth-tables.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/auth-tables.ts), [src/custom/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/custom/index.ts), [src/database.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/database.ts), [src/datetime-columns.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/datetime-columns.ts), [src/ddl-constraints.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/ddl-constraints.ts), [src/defaults.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/defaults.ts), [src/dialect.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/dialect.ts), [src/driver-config.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/driver-config.ts), [src/drivers/dynamodb.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/drivers/dynamodb.ts), [src/drivers/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/drivers/index.ts), [src/ensure-database.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/ensure-database.ts), [src/erd.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/erd.ts), [src/fk-audit.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/fk-audit.ts), [src/framework-renames.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/framework-renames.ts), [src/framework-route-admission.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/framework-route-admission.ts), [src/hand-written-migrations.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/hand-written-migrations.ts), [src/held-back-changes.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/held-back-changes.ts), [src/ignored-migrations.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/ignored-migrations.ts), [src/index-shape.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/index-shape.ts), [src/managed-columns.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/managed-columns.ts), [src/migration-dialect.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/migration-dialect.ts), [src/migration-ledger.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/migration-ledger.ts), [src/migration-names.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/migration-names.ts), [src/migration-path.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/migration-path.ts), [src/migrations.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/migrations.ts), [src/model-sources.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/model-sources.ts), [src/notification-tables.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/notification-tables.ts), [src/package-migrations.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/package-migrations.ts), [src/package-models.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/package-models.ts), [src/query-logger.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/query-logger.ts), [src/rbac-tables.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/rbac-tables.ts), [src/relation-columns.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/relation-columns.ts), [src/replicas.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/replicas.ts), [src/row-lease.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/row-lease.ts), [src/row-lock.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/row-lock.ts), [src/safe-migrations.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/safe-migrations.ts), [src/schema-align.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/schema-align.ts), [src/schema-drift.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/schema-drift.ts), [src/seeder.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/seeder.ts), [src/shadowed-models.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/shadowed-models.ts), [src/sql-helpers.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/sql-helpers.ts), [src/table-exists.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/table-exists.ts), [src/trait-tables.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/trait-tables.ts), [src/transaction-context.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/transaction-context.ts), [src/transaction-options.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/transaction-options.ts), [src/types.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/types.ts), [src/unique-audit.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/unique-audit.ts), [src/utc-defaults.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/utc-defaults.ts), [src/utils.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/utils.ts), [src/uuid-columns.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/uuid-columns.ts), [src/vschema.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/src/vschema.ts).
|
|
363
363
|
|
|
364
|
-
Evidence directory: [
|
|
364
|
+
Evidence directory: [152 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/database/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
|
|
365
365
|
|
|
366
366
|
### @stacksjs/datetime
|
|
367
367
|
|
|
@@ -671,7 +671,7 @@ Evidence directory: [1 retained tests](https://github.com/stacksjs/stacks/blob/m
|
|
|
671
671
|
|
|
672
672
|
Guidance: [`stacks-path`](../stacks-path/SKILL.md). Source: [storage/framework/core/path/src/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/path/src/index.ts).
|
|
673
673
|
|
|
674
|
-
Declared runtime exports: `DEFAULTS_SYNC_MARKER`, `actionRunnerPath`, `actionsPath`, `aiPath`, `aliasPath`, `analyticsPath`, `appPath`, `applyRuntimeDirectoryEnv`, `arraysPath`, `assetsPath`, `authPath`, `basename`, `browserPath`, `buddyPath`, `buildEnginePath`, `buildPath`, `builtUserActionsPath`, `cachePath`, `chartsPath`, `chatPath`, `clearProjectService`, `cliPath`, `cloudPath`, `cloudStatePath`, `collectionsPath`, `commandsPath`, `componentsPath`, `configPath`, `coreApiPath`, `coreEnvPath`, `corePath`, `coreStoragePath`, `customElementsDataPath`, `databasePath`, `datetimePath`, `defaultsAppPath`, `defaultsPackagePath`, `defaultsPath`, `defaultsResourcesPath`, `delimiter`, `desktopPath`, `developmentPath`, `dirname`, `dnsPath`, `docsPath`, `emailPath`, `ensureRuntimeDirectories`, `enumsPath`, `errorHandlingPath`, `eslintPluginPath`, `eventsPath`, `examplesPath`, `extname`, `fakerPath`, `featureFlagsPath`, `featuresPath`, `findProject`, `findProjectPath`, `findProjectRoot`, `forgetProject`, `frameworkCloudPath`, `frameworkDefaultsRoot`, `frameworkPath`, `frameworkRuntimePath`, `functionsPath`, `gitPath`, `healthPath`, `homeDir`, `inspectDefaultsProvenance`, `installedDefaultsVersion`, `isAbsolute`, `isCompiledBinary`, `isInstalledDefaultsRoot`, `isProcessAlive`, `isProjectRoot`, `isTransientCheckout`, `isVisitingCli`, `jobsPath`, `join`, `langPath`, `layoutsPath`, `libraryPackagePath`, `libsEntriesPath`, `libsPath`, `linkPackagedDefaults`, `lintPath`, `listProjects`, `listenersPath`, `loggingPath`, `logsPath`, `mergeDirectoryInto`, `modelMetaPath`, `modelsPath`, `modulesPath`, `newsletterPath`, `normalize`, `noteProjectUsed`, `notificationsPath`, `objectsPath`, `onboardingPath`, `ormPath`, `packagedDefaultsRoot`, `paginationPath`, `path`, `pathPath`, `paymentsPath`, `projectCliEntry`, `projectConfigPath`, `projectPath`, `pruneProjects`, `publicPath`, `pushPath`, `queryBuilderPath`, `queuePath`, `readProjectService`, `realtimePath`, `recordProjectService`, `registerProject`, `relative`, `relativeActionsPath`, `replPath`, `reserveProjectPort`, `resolve`, `resolveModulePath`, `resolveUserLibBase`, `resourcesPath`, `routerPath`, `routesPath`, `runtimeDirectoryEnv`, `runtimePath`, `schedulerPath`, `scriptsPath`, `searchEnginePath`, `securityPath`, `sep`, `serverPath`, `serverlessPath`, `settingsPath`, `shellPath`, `siteConfigPath`, `skillsPath`, `slugPath`, `smsPath`, `socialsPath`, `stacksBackupPath`, `stacksHome`, `stacksLockPath`, `stacksPath`, `storagePath`, `storesPath`, `stringsPath`, `stxPath`, `testingPath`, `testsPath`, `tinkerPath`, `toNamespacedPath`, `typesPath`, `uiPath`, `userActionsPath`, `userComponentsPath`, `userControllersPath`, `userDatabasePath`, `userEmailsPath`, `userEventsPath`, `userFunctionsPath`, `userJobsPath`, `userLibsPath`, `userListenersPath`, `userMailPath`, `userMiddlewarePath`, `userMigrationsPath`, `userModelsPath`, `userNotificationsPath`, `userServerPath`, `userViewsPath`, `usesVendoredDefaults`, `utilsPath`, `validationPath`, `viewsPath`.
|
|
674
|
+
Declared runtime exports: `DEFAULTS_SYNC_MARKER`, `actionRunnerPath`, `actionsPath`, `aiPath`, `aliasPath`, `analyticsPath`, `appPath`, `applyRuntimeDirectoryEnv`, `arraysPath`, `assetsPath`, `authPath`, `basename`, `browserPath`, `buddyPath`, `buildEnginePath`, `buildPath`, `builtUserActionsPath`, `cachePath`, `chartsPath`, `chatPath`, `clearProjectService`, `cliPath`, `cloudPath`, `cloudStatePath`, `collectionsPath`, `commandsPath`, `componentsPath`, `configPath`, `coreApiPath`, `coreEnvPath`, `corePath`, `coreStoragePath`, `customElementsDataPath`, `databasePath`, `datetimePath`, `defaultsAppPath`, `defaultsPackagePath`, `defaultsPath`, `defaultsResourcesPath`, `delimiter`, `desktopPath`, `developmentPath`, `dirname`, `dnsPath`, `docsPath`, `emailPath`, `ensureRuntimeDirectories`, `enumsPath`, `errorHandlingPath`, `eslintPluginPath`, `eventsPath`, `examplesPath`, `extname`, `fakerPath`, `featureFlagsPath`, `featuresPath`, `findProject`, `findProjectPath`, `findProjectRoot`, `forgetProject`, `frameworkCloudPath`, `frameworkDefaultsRoot`, `frameworkPath`, `frameworkRuntimePath`, `functionsPath`, `gitPath`, `healthPath`, `homeDir`, `inspectDefaultsProvenance`, `installedDefaultsVersion`, `isAbsolute`, `isCompiledBinary`, `isInstalledDefaultsRoot`, `isProcessAlive`, `isProjectRoot`, `isTransientCheckout`, `isVisitingCli`, `jobsPath`, `join`, `langPath`, `layoutsPath`, `libraryPackagePath`, `libsEntriesPath`, `libsPath`, `linkPackagedDefaults`, `lintPath`, `listProjectServiceInstances`, `listProjects`, `listenersPath`, `loggingPath`, `logsPath`, `mergeDirectoryInto`, `modelMetaPath`, `modelsPath`, `modulesPath`, `newsletterPath`, `normalize`, `noteProjectUsed`, `notificationsPath`, `objectsPath`, `onboardingPath`, `ormPath`, `packagedDefaultsRoot`, `paginationPath`, `path`, `pathPath`, `paymentsPath`, `projectCliEntry`, `projectConfigPath`, `projectPath`, `pruneProjects`, `publicPath`, `pushPath`, `queryBuilderPath`, `queuePath`, `readProjectService`, `realtimePath`, `recordProjectService`, `registerProject`, `relative`, `relativeActionsPath`, `replPath`, `reserveProjectPort`, `resolve`, `resolveModulePath`, `resolveUserLibBase`, `resourcesPath`, `routerPath`, `routesPath`, `runtimeDirectoryEnv`, `runtimePath`, `schedulerPath`, `scriptsPath`, `searchEnginePath`, `securityPath`, `sep`, `serverPath`, `serverlessPath`, `settingsPath`, `shellPath`, `siteConfigPath`, `skillsPath`, `slugPath`, `smsPath`, `socialsPath`, `stacksBackupPath`, `stacksHome`, `stacksLockPath`, `stacksPath`, `storagePath`, `storesPath`, `stringsPath`, `stxPath`, `testingPath`, `testsPath`, `tinkerPath`, `toNamespacedPath`, `typesPath`, `uiPath`, `userActionsPath`, `userComponentsPath`, `userControllersPath`, `userDatabasePath`, `userEmailsPath`, `userEventsPath`, `userFunctionsPath`, `userJobsPath`, `userLibsPath`, `userListenersPath`, `userMailPath`, `userMiddlewarePath`, `userMigrationsPath`, `userModelsPath`, `userNotificationsPath`, `userServerPath`, `userViewsPath`, `usesVendoredDefaults`, `utilsPath`, `validationPath`, `viewsPath`.
|
|
675
675
|
|
|
676
676
|
Local source modules: [src/module-resolution.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/path/src/module-resolution.ts), [src/project.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/path/src/project.ts), [src/projects.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/path/src/projects.ts).
|
|
677
677
|
|
|
@@ -747,11 +747,11 @@ Evidence directory: [2 retained tests](https://github.com/stacksjs/stacks/blob/m
|
|
|
747
747
|
|
|
748
748
|
Guidance: [`stacks-router`](../stacks-router/SKILL.md). Source: [storage/framework/core/router/src/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/index.ts).
|
|
749
749
|
|
|
750
|
-
Declared runtime exports: `DASHBOARD_ROUTE_GROUPS`, `DEFAULT_ROUTE_BUNDLE_FEATURES`, `DEFAULT_ROUTE_REGISTRY`, `DatabaseSessionStore`, `EncryptedSessionStore`, `FORM_REFUSAL`, `FileSessionStore`, `JSON_CONTENT_TYPE`, `MemorySessionStore`, `Middleware`, `PathParamError`, `RedisSessionStore`, `RequestBodyError`, `appRouteRegistry`, `assertRouteMiddlewareResolvable`, `bundleMounts`, `cacheRedisConnection`, `cacheRequestQuery`, `checkApplicationHealth`, `clearCsrfModuleCache`, `clearCurrentRequest`, `clearMiddlewareCache`, `clearRateLimit`, `clearRouteModelBindings`, `clearTrackedQueries`, `clientAddress`, `configureViewDirectories`, `createErrorResponse`, `createMiddlewareErrorResponse`, `createNotFoundResponse`, `createSessionStore`, `createStacksRouter`, `createStacksSessionStore`, `createTypedRouter`, `createValidationErrorResponse`, `dashboardGroupMiddleware`, `defineMiddleware`, `defineRouteModelBinding`, `describeUnknownDashboardGroups`, `disableViewRouting`, `enhanceRequest`, `fallbackStorage`, `findUnresolvableRouteMiddleware`, `formRefusalOf`, `getCurrentRequest`, `getQueryShapeCounts`, `getTraceId`, `installMiddlewareHotReload`, `isApiRequest`, `isRouterAction`, `listNamedRoutes`, `listRedirectRoutes`, `listRegisteredRoutes`, `listRootMountedAppRoutes`, `loadMiddlewareHandlers`, `loadRoutes`, `mountedDefaultRouteBundles`, `parseJsonText`, `peerSocket`, `provideActions`, `provideMiddleware`, `rateLimit`, `rateLimitScale`, `rateLimitStatus`, `readJsonBody`, `readTextBody`, `refuse`, `registerPeerSource`, `request`, `resetBootHooks`, `resetRateLimiters`, `resetSharedRateLimitStorage`, `resetShutdownHooks`, `resolveActionHandler`, `resolveActionValidations`, `resolveDashboardAccess`, `resolveRouteModel`, `route`, `routeModelBindings`, `routeParams`, `runBootHooks`, `runHealthProbes`, `runShutdownHooks`, `runWithRequest`, `safePathParam`, `sanitizePathParam`, `scaledLimit`, `serve`, `serverResponse`, `setCurrentRequest`, `setRouteModelFallback`, `sharedRateLimitStorage`, `signUrl`, `signedUrl`, `stream`, `trackQuery`, `trustedProxies`, `url`, `useRateLimitStorage`, `verifySignedUrl`, `verifySignedUrlMiddleware`, `warnOnMultipleRouterInstances`, `withRouteAdmission`, `withTraceId`, `wrapAction`.
|
|
750
|
+
Declared runtime exports: `DASHBOARD_ROUTE_GROUPS`, `DEFAULT_ROUTE_BUNDLE_FEATURES`, `DEFAULT_ROUTE_REGISTRY`, `DatabaseSessionStore`, `EncryptedSessionStore`, `FORM_REFUSAL`, `FileSessionStore`, `JSON_CONTENT_TYPE`, `MemorySessionStore`, `Middleware`, `PathParamError`, `RedisSessionStore`, `RequestBodyError`, `appRouteRegistry`, `assertRouteMiddlewareResolvable`, `bundleMounts`, `cacheRedisConnection`, `cacheRequestQuery`, `checkApplicationHealth`, `clearCsrfModuleCache`, `clearCurrentRequest`, `clearMiddlewareCache`, `clearRateLimit`, `clearRouteModelBindings`, `clearTrackedQueries`, `clientAddress`, `configureViewDirectories`, `createErrorResponse`, `createMiddlewareErrorResponse`, `createNotFoundResponse`, `createSessionStore`, `createStacksRouter`, `createStacksSessionStore`, `createTypedRouter`, `createValidationErrorResponse`, `dashboardGroupMiddleware`, `defineMiddleware`, `defineRouteModelBinding`, `describeUnknownDashboardGroups`, `disableViewRouting`, `enhanceRequest`, `fallbackStorage`, `findUnresolvableRouteMiddleware`, `formRefusalOf`, `getCurrentRequest`, `getQueryShapeCounts`, `getTraceId`, `installMiddlewareHotReload`, `isApiRequest`, `isRouterAction`, `isUnmatchedRouteResponse`, `listNamedRoutes`, `listRedirectRoutes`, `listRegisteredRoutes`, `listRootMountedAppRoutes`, `loadMiddlewareHandlers`, `loadRoutes`, `mountedDefaultRouteBundles`, `parseJsonText`, `peerSocket`, `provideActions`, `provideMiddleware`, `rateLimit`, `rateLimitScale`, `rateLimitStatus`, `readJsonBody`, `readTextBody`, `refuse`, `registerPeerSource`, `request`, `resetBootHooks`, `resetRateLimiters`, `resetSharedRateLimitStorage`, `resetShutdownHooks`, `resolveActionHandler`, `resolveActionValidations`, `resolveDashboardAccess`, `resolveRouteModel`, `route`, `routeModelBindings`, `routeParams`, `runBootHooks`, `runHealthProbes`, `runShutdownHooks`, `runWithRequest`, `safePathParam`, `sanitizePathParam`, `scaledLimit`, `serve`, `serverResponse`, `setCurrentRequest`, `setRouteModelFallback`, `sharedRateLimitStorage`, `signUrl`, `signedUrl`, `stream`, `trackQuery`, `trustedProxies`, `url`, `useRateLimitStorage`, `verifySignedUrl`, `verifySignedUrlMiddleware`, `warnOnMultipleRouterInstances`, `withRouteAdmission`, `withTraceId`, `wrapAction`.
|
|
751
751
|
|
|
752
752
|
Local source modules: [src/api-shape.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/api-shape.ts), [src/body.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/body.ts), [src/dashboard-access.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/dashboard-access.ts), [src/encrypted-session-store.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/encrypted-session-store.ts), [src/error-handler.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/error-handler.ts), [src/health.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/health.ts), [src/json.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/json.ts), [src/middleware.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/middleware.ts), [src/path-sanitize.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/path-sanitize.ts), [src/peer-socket.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/peer-socket.ts), [src/rate-limit.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/rate-limit.ts), [src/refuse.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/refuse.ts), [src/request-augmentation.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/request-augmentation.ts), [src/request-context.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/request-context.ts), [src/route-loader.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/route-loader.ts), [src/route-model-binding.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/route-model-binding.ts), [src/security-settings.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/security-settings.ts), [src/session-factory.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/session-factory.ts), [src/signed-url.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/signed-url.ts), [src/stacks-router.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/stacks-router.ts), [src/typed-router.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/src/typed-router.ts).
|
|
753
753
|
|
|
754
|
-
Evidence directory: [
|
|
754
|
+
Evidence directory: [115 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/router/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
|
|
755
755
|
|
|
756
756
|
### @stacksjs/scheduler
|
|
757
757
|
|
|
@@ -761,7 +761,7 @@ Read the entrypoint and package export map for re-exported or type-only surfaces
|
|
|
761
761
|
|
|
762
762
|
Local source modules: [src/run.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/scheduler/src/run.ts), [src/schedule.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/scheduler/src/schedule.ts), [src/types.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/scheduler/src/types.ts).
|
|
763
763
|
|
|
764
|
-
Evidence directory: [
|
|
764
|
+
Evidence directory: [24 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/scheduler/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
|
|
765
765
|
|
|
766
766
|
### @stacksjs/search-engine
|
|
767
767
|
|
|
@@ -791,7 +791,7 @@ Declared runtime exports: `server`.
|
|
|
791
791
|
|
|
792
792
|
Local source modules: [src/config.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/config.ts), [src/controllers/base.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/controllers/base.ts), [src/imports.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/imports.ts), [src/maintenance.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/maintenance.ts), [src/proxy.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/proxy.ts), [src/redirects.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/redirects.ts), [src/request-body.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/request-body.ts), [src/response-headers.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/response-headers.ts), [src/rewrites.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/rewrites.ts), [src/security-headers.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/security-headers.ts), [src/shadowed-defaults.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/shadowed-defaults.ts).
|
|
793
793
|
|
|
794
|
-
Evidence directory: [
|
|
794
|
+
Evidence directory: [32 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
|
|
795
795
|
|
|
796
796
|
### @stacksjs/shell
|
|
797
797
|
|
|
@@ -855,11 +855,11 @@ Evidence directory: [21 retained tests](https://github.com/stacksjs/stacks/blob/
|
|
|
855
855
|
|
|
856
856
|
Guidance: [`stacks-storage`](../stacks-storage/SKILL.md). Source: [storage/framework/core/storage/src/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/index.ts).
|
|
857
857
|
|
|
858
|
-
Declared runtime exports: `DirectoryListingChangedError`, `PathSanitizeError`, `Storage`, `StorageManager`, `UploadSessionError`, `UploadedFile`, `azureDisk`, `backblazeDisk`, `clearRevokedSignedStorageTokens`, `configFromEnv`, `createSignedStorageToken`, `createUploadSessions`, `detectMimeFromMagicBytes`, `ensureBucket`, `ensureConfiguredBuckets`, `fileInfo`, `fileInfoFromBytes`, `fileKind`, `filebaseDisk`, `gcsDisk`, `hetznerDisk`, `isPreviewable`, `isSignedStorageTokenRevoked`, `localDisk`, `parseDiskPath`, `r2Disk`, `resolveMime`, `revokeSignedStorageToken`, `s3Disk`, `sanitizePresignedDir`, `sanitizePresignedFilename`, `serveFile`, `signS3PresignedPost`, `storage`, `uploadedFile`, `uploadedFiles`, `verifySignedStorageToken`, `verifyUploadedMime`.
|
|
858
|
+
Declared runtime exports: `DirectoryListingChangedError`, `PathSanitizeError`, `Storage`, `StorageManager`, `UploadSessionError`, `UploadedFile`, `azureDisk`, `backblazeDisk`, `clearRevokedSignedStorageTokens`, `configFromEnv`, `createSignedStorageToken`, `createUploadSessions`, `detectMimeFromMagicBytes`, `ensureBucket`, `ensureConfiguredBuckets`, `fileInfo`, `fileInfoFromBytes`, `fileKind`, `filebaseDisk`, `gcsDisk`, `handleUploadSessionRequest`, `hetznerDisk`, `isPreviewable`, `isSignedStorageTokenRevoked`, `localDisk`, `localDiskRoot`, `locateFile`, `parseDiskPath`, `r2Disk`, `receiveUpload`, `resolveMime`, `revokeSignedStorageToken`, `s3Disk`, `sanitizePresignedDir`, `sanitizePresignedFilename`, `serveFile`, `signS3PresignedPost`, `storage`, `uploadSessionResponse`, `uploadedFile`, `uploadedFiles`, `verifySignedStorageToken`, `verifyUploadedMime`.
|
|
859
859
|
|
|
860
|
-
Local source modules: [src/adapters/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/adapters/index.ts), [src/bounded-text-file.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/bounded-text-file.ts), [src/completed-artifact-directory.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/completed-artifact-directory.ts), [src/copy.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/copy.ts), [src/delete.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/delete.ts), [src/directory-page.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/directory-page.ts), [src/drivers/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/drivers/index.ts), [src/facade.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/facade.ts), [src/file-info.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/file-info.ts), [src/files.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/files.ts), [src/folders.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/folders.ts), [src/fs.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/fs.ts), [src/glob.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/glob.ts), [src/hash.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/hash.ts), [src/helpers.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/helpers.ts), [src/mime-verify.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/mime-verify.ts), [src/path-sanitize.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/path-sanitize.ts), [src/provision.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/provision.ts), [src/s3-presigned-post.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/s3-presigned-post.ts), [src/signed-url.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/signed-url.ts), [src/static-serve.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/static-serve.ts), [src/storage.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/storage.ts), [src/temporary-workspaces.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/temporary-workspaces.ts), [src/types.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/types.ts), [src/types/filesystem.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/types/filesystem.ts), [src/upload-sessions.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/upload-sessions.ts), [src/uploaded-file.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/uploaded-file.ts), [src/zip.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/zip.ts).
|
|
860
|
+
Local source modules: [src/adapters/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/adapters/index.ts), [src/bounded-text-file.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/bounded-text-file.ts), [src/completed-artifact-directory.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/completed-artifact-directory.ts), [src/copy.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/copy.ts), [src/delete.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/delete.ts), [src/directory-page.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/directory-page.ts), [src/drivers/index.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/drivers/index.ts), [src/facade.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/facade.ts), [src/file-info.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/file-info.ts), [src/files.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/files.ts), [src/folders.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/folders.ts), [src/fs.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/fs.ts), [src/glob.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/glob.ts), [src/hash.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/hash.ts), [src/helpers.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/helpers.ts), [src/locate.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/locate.ts), [src/mime-verify.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/mime-verify.ts), [src/path-sanitize.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/path-sanitize.ts), [src/provision.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/provision.ts), [src/s3-presigned-post.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/s3-presigned-post.ts), [src/signed-url.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/signed-url.ts), [src/static-serve.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/static-serve.ts), [src/storage.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/storage.ts), [src/temporary-workspaces.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/temporary-workspaces.ts), [src/types.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/types.ts), [src/types/filesystem.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/types/filesystem.ts), [src/upload-sessions.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/upload-sessions.ts), [src/uploaded-file.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/uploaded-file.ts), [src/zip.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/src/zip.ts).
|
|
861
861
|
|
|
862
|
-
Evidence directory: [
|
|
862
|
+
Evidence directory: [54 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/storage/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
|
|
863
863
|
|
|
864
864
|
### @stacksjs/strings
|
|
865
865
|
|
|
@@ -969,7 +969,7 @@ Declared runtime exports: `VideoBuilder`, `assertVideoPlanExecutable`, `createHl
|
|
|
969
969
|
|
|
970
970
|
Local source modules: [src/files.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/video/src/files.ts), [src/inspect.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/video/src/inspect.ts), [src/upload.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/video/src/upload.ts).
|
|
971
971
|
|
|
972
|
-
Evidence directory: [
|
|
972
|
+
Evidence directory: [5 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/video/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
|
|
973
973
|
|
|
974
974
|
### @stacksjs/waf
|
|
975
975
|
|
|
@@ -44,9 +44,12 @@ The form posts to `POST /api/email/subscribe` (`SubscriberEmailAction`), which
|
|
|
44
44
|
goes through `subscribe(email, { list, source, publicOnly: true })`: the
|
|
45
45
|
signup joins a list, so campaigns reach it. `publicOnly` refuses a list whose
|
|
46
46
|
`is_public` is false (`NewsletterListUnavailableError`, answered as a 422), so a
|
|
47
|
-
form field never joins an internal list. Outcomes: `subscribed`
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
form field never joins an internal list. Outcomes: `subscribed`, `pending`
|
|
48
|
+
(double opt-in), `invalid`, `busy` (rate limited) and `error`. An address
|
|
49
|
+
already on the list gets the same answer a new one would (`pending` on a double
|
|
50
|
+
opt-in list, `subscribed` elsewhere) and no email, so the form cannot be used to
|
|
51
|
+
find out who signed up; `already` is no longer sent. A hidden `website` field is
|
|
52
|
+
a honeypot: filled in, the request is answered as success and stores nothing. Scripts get JSON; a browser form post gets a 303 back to `return`
|
|
50
53
|
or the Referer. The welcome email carries the membership's own token, so its
|
|
51
54
|
unsubscribe link and RFC 8058 headers leave that list only.
|
|
52
55
|
|
|
@@ -72,7 +75,10 @@ twice is harmless; a token that has since unsubscribed is refused.
|
|
|
72
75
|
|
|
73
76
|
`subscribe()` without `confirmation: 'list'` (imports, admin adds) subscribes
|
|
74
77
|
at once and promotes a pending membership. The auto-created default list is
|
|
75
|
-
single opt-in
|
|
78
|
+
single opt-in unless `config/email.ts` sets `newsletter: { doubleOptIn: true }`
|
|
79
|
+
(read when the first signup creates the list). `email_lists` and
|
|
80
|
+
`email_list_subscribers` are not gated by the marketing feature, because the
|
|
81
|
+
signup needs them in every app. A default list created by an older release has
|
|
76
82
|
`double_opt_in` on; set it off if you do not want confirmation there. The
|
|
77
83
|
confirm and unsubscribe routes stay reachable in maintenance and coming-soon
|
|
78
84
|
mode, like the signup.
|
|
@@ -29,7 +29,7 @@ route.put('/users/{id}', handler)
|
|
|
29
29
|
route.patch('/users/{id}', handler)
|
|
30
30
|
route.delete('/users/{id}', handler)
|
|
31
31
|
route.options('/users', handler)
|
|
32
|
-
route.health() // GET /health endpoint
|
|
32
|
+
route.health() // GET /api/health endpoint
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
### Redirects
|
|
@@ -409,7 +409,7 @@ bundles, and feature gates decide the mounted surface; inspect `buddy route:list
|
|
|
409
409
|
- `/monitoring/errors/*`
|
|
410
410
|
|
|
411
411
|
### Health
|
|
412
|
-
- `GET /health`
|
|
412
|
+
- `GET /api/health`: `{ status: 'healthy' | 'degraded', checks: { database, cache }, timestamp }`, 503 when a check fails
|
|
413
413
|
|
|
414
414
|
## Server Integration
|
|
415
415
|
|