From a153d351b04ba45b97f66c3e2ee0931fcb99e1d1 Mon Sep 17 00:00:00 2001 From: Ajay Ghanwat Date: Sun, 9 Aug 2026 02:13:42 +0530 Subject: [PATCH] docs: update portal for WRNexusJS 0.8.6 --- app/pages/404.wrn | 4 +- app/pages/access.wrn | 6 +- app/pages/architecture.wrn | 6 +- app/pages/benchmarks.wrn | 4 +- app/pages/changelog.wrn | 6 +- app/pages/examples.wrn | 6 +- app/pages/getting-started.wrn | 6 +- app/pages/guides/api-routes.wrn | 6 +- app/pages/guides/authentication.wrn | 6 +- app/pages/guides/authorization.wrn | 6 +- .../guides/configuration-and-profiles.wrn | 6 +- app/pages/guides/database.wrn | 6 +- app/pages/guides/deployment.wrn | 6 +- app/pages/guides/forms-and-validation.wrn | 6 +- app/pages/guides/i18n-and-themes.wrn | 6 +- app/pages/guides/middleware.wrn | 6 +- app/pages/guides/mobile.wrn | 6 +- app/pages/guides/observability.wrn | 6 +- app/pages/guides/pages-and-components.wrn | 6 +- app/pages/guides/project-structure.wrn | 6 +- app/pages/guides/pubsub.wrn | 6 +- app/pages/guides/queues.wrn | 6 +- app/pages/guides/realtime.wrn | 6 +- app/pages/guides/routing.wrn | 6 +- app/pages/guides/security.wrn | 6 +- app/pages/guides/server-data.wrn | 6 +- app/pages/guides/testing.wrn | 6 +- app/pages/guides/troubleshooting.wrn | 6 +- app/pages/guides/upgrading.wrn | 6 +- app/pages/guides/uploads.wrn | 6 +- app/pages/guides/workspaces-and-gateway.wrn | 8 +- app/pages/index.wrn | 10 +- app/pages/language.wrn | 6 +- app/pages/license.wrn | 4 +- app/pages/packages.wrn | 6 +- app/pages/packages/ai.wrn | 6 +- app/pages/packages/auth.wrn | 8 +- app/pages/packages/authz.wrn | 6 +- app/pages/packages/benchmark.wrn | 6 +- app/pages/packages/cache.wrn | 6 +- app/pages/packages/captcha.wrn | 6 +- app/pages/packages/cli.wrn | 6 +- app/pages/packages/compiler.wrn | 6 +- app/pages/packages/content.wrn | 6 +- app/pages/packages/core.wrn | 6 +- app/pages/packages/csr.wrn | 6 +- app/pages/packages/db.wrn | 6 +- app/pages/packages/dev-server.wrn | 6 +- app/pages/packages/dev-toolbar.wrn | 6 +- app/pages/packages/encryption.wrn | 6 +- app/pages/packages/graphql.wrn | 6 +- app/pages/packages/helpers.wrn | 6 +- app/pages/packages/i18n.wrn | 6 +- app/pages/packages/identity.wrn | 6 +- app/pages/packages/image.wrn | 6 +- app/pages/packages/jwt.wrn | 6 +- app/pages/packages/language-server.wrn | 6 +- app/pages/packages/mcp.wrn | 6 +- app/pages/packages/mobile.wrn | 6 +- app/pages/packages/native.wrn | 6 +- app/pages/packages/oauth.wrn | 6 +- app/pages/packages/observability.wrn | 6 +- app/pages/packages/playground.wrn | 6 +- app/pages/packages/plugin.wrn | 6 +- app/pages/packages/pubsub.wrn | 6 +- app/pages/packages/pwa.wrn | 6 +- app/pages/packages/queue.wrn | 6 +- app/pages/packages/reactive.wrn | 6 +- app/pages/packages/realtime.wrn | 6 +- app/pages/packages/router.wrn | 6 +- app/pages/packages/security.wrn | 6 +- app/pages/packages/ssr.wrn | 6 +- app/pages/packages/store.wrn | 6 +- app/pages/packages/styles.wrn | 8 +- app/pages/packages/syntax.wrn | 6 +- app/pages/packages/test.wrn | 6 +- app/pages/packages/tracking.wrn | 6 +- app/pages/packages/typecheck.wrn | 6 +- app/pages/packages/ui.wrn | 6 +- app/pages/packages/uploader.wrn | 6 +- app/pages/packages/validation.wrn | 6 +- app/pages/releases/0.8.6.wrn | 16 + app/pages/roadmap.wrn | 4 +- app/pages/search.wrn | 4 +- app/pages/security.wrn | 6 +- app/pages/showcase.wrn | 6 +- app/pages/support.wrn | 4 +- app/pages/tutorial.wrn | 6 +- app/routes.gen.ts | 3 + app/types/wrnexus.generated.d.ts | 2 +- bun.lock | 188 +- docs/release-access-status.md | 4 +- docs/site-audit.md | 4 +- package-lock.json | 590 +- package.json | 96 +- public/docs-index.json | 184 +- public/llms-full.txt | 4916 ++++++++++++++--- public/llms.txt | 156 +- public/sitemap.xml | 2 +- 99 files changed, 5153 insertions(+), 1528 deletions(-) create mode 100644 app/pages/releases/0.8.6.wrn diff --git a/app/pages/404.wrn b/app/pages/404.wrn index e8957f17..084dac14 100644 --- a/app/pages/404.wrn +++ b/app/pages/404.wrn @@ -7,10 +7,10 @@ page Pagenotfound { view {
-
W WRNexusJS
+
W WRNexusJS
- +
} } \ No newline at end of file diff --git a/app/pages/access.wrn b/app/pages/access.wrn index 3f9c237a..94827d95 100644 --- a/app/pages/access.wrn +++ b/app/pages/access.wrn @@ -7,10 +7,10 @@ page Access { view {
-
W WRNexusJS
+
W WRNexusJS
-

Request preview access

WRNexusJS 0.8.5 packages are not available from the public npm registry. Installation requires approval and private registry credentials supplied by WorkRoot. Never paste registry tokens into source control, issue reports, or support messages.

Request process

  1. Contact WorkRoot through the public contact path at workroot.in.
  2. Describe the application, team, expected deployment, and Bun environment.
  3. After approval, follow the registry instructions supplied privately.
  4. Use the canonical scaffold command below only after authentication.
bunx @wrnexus/cli@0.8.5 create my-app

Access approval, response time, licensing terms, and support level remain owner-controlled. This site does not collect access requests directly.

- +

Request preview access

WRNexusJS 0.8.6 packages are not available from the public npm registry. Installation requires approval and private registry credentials supplied by WorkRoot. Never paste registry tokens into source control, issue reports, or support messages.

Request process

  1. Contact WorkRoot through the public contact path at workroot.in.
  2. Describe the application, team, expected deployment, and Bun environment.
  3. After approval, follow the registry instructions supplied privately.
  4. Use the canonical scaffold command below only after authentication.
bunx @wrnexus/cli@0.8.6 create my-app

Access approval, response time, licensing terms, and support level remain owner-controlled. This site does not collect access requests directly.

+
} } \ No newline at end of file diff --git a/app/pages/architecture.wrn b/app/pages/architecture.wrn index b2828fd3..f0d1d9cf 100644 --- a/app/pages/architecture.wrn +++ b/app/pages/architecture.wrn @@ -7,10 +7,10 @@ page Architecture { view {
-
W WRNexusJS
+
W WRNexusJS
-
Framework architecture · 0.8.5

Architecture

WRNexusJS is Bun-native and SSR-first. File discovery maps pages and API handlers; middleware enriches or short-circuits a request; the compiler turns .wrn declarations into server render functions and small feature runtimes.

Request and build lifecycle

  1. DiscoverPages, APIs, middleware, components, layouts, schemas, rooms
  2. CompileParse .wrn, validate grammar, generate server code
  3. RequestLimits, security, locale, session, middleware
  4. MatchStatic and dynamic file route
  5. RenderSSR data, escaped interpolation, components, metadata
  6. EnhanceOnly required reactive/directive runtimes

Package boundaries

core owns contexts, middleware, sessions and rooms; router discovers routes; compiler parses .wrn; ssr renders documents; csr supplies browser runtimes; dev-server and cli orchestrate development and builds.

Security and data flow

Validation happens at trust boundaries. Session authentication establishes identity; authorization makes resource decisions. CSP, Trusted Types, CSRF, upload checks, WebSocket origins, request limits, and output escaping are layered controls—not substitutes for application policy.

Realtime and scale

Rooms are process-local unless connected through pub/sub. Redis-backed pub/sub distributes events. Queue durability depends on the selected driver and must be evaluated explicitly.

Workspaces and gateways

The gateway can dispatch multiple applications while preserving route, component, asset, config, and session boundaries. Validate host routing and isolation before production.

Build and deployment

wrnexus build . produces dist/server.js and hashed/static assets. Run the server with Bun, apply migrations before traffic, terminate TLS at a trusted edge, and forward only expected proxy headers.

Mobile

Mobile compatibility bridges SSR-safe Capacitor capabilities; native route generation is experimental and is not general web portability. Test each target platform.

Generated files and limits

app/routes.gen.ts, .wrnexus/, and dist/ are generated. The runtime is Bun-only. Preview packages are private. Historical compatibility and long-term support policy are not yet published.

- +
Framework architecture · 0.8.6

Architecture

WRNexusJS is Bun-native and SSR-first. File discovery maps pages and API handlers; middleware enriches or short-circuits a request; the compiler turns .wrn declarations into server render functions and small feature runtimes.

Request and build lifecycle

  1. DiscoverPages, APIs, middleware, components, layouts, schemas, rooms
  2. CompileParse .wrn, validate grammar, generate server code
  3. RequestLimits, security, locale, session, middleware
  4. MatchStatic and dynamic file route
  5. RenderSSR data, escaped interpolation, components, metadata
  6. EnhanceOnly required reactive/directive runtimes

Package boundaries

core owns contexts, middleware, sessions and rooms; router discovers routes; compiler parses .wrn; ssr renders documents; csr supplies browser runtimes; dev-server and cli orchestrate development and builds.

Security and data flow

Validation happens at trust boundaries. Session authentication establishes identity; authorization makes resource decisions. CSP, Trusted Types, CSRF, upload checks, WebSocket origins, request limits, and output escaping are layered controls—not substitutes for application policy.

Realtime and scale

Rooms are process-local unless connected through pub/sub. Redis-backed pub/sub distributes events. Queue durability depends on the selected driver and must be evaluated explicitly.

Workspaces and gateways

The gateway can dispatch multiple applications while preserving route, component, asset, config, and session boundaries. Validate host routing and isolation before production.

Build and deployment

wrnexus build . produces dist/server.js and hashed/static assets. Run the server with Bun, apply migrations before traffic, terminate TLS at a trusted edge, and forward only expected proxy headers.

Mobile

Mobile compatibility bridges SSR-safe Capacitor capabilities; native route generation is experimental and is not general web portability. Test each target platform.

Generated files and limits

app/routes.gen.ts, .wrnexus/, and dist/ are generated. The runtime is Bun-only. Preview packages are private. Historical compatibility and long-term support policy are not yet published.

+
} } \ No newline at end of file diff --git a/app/pages/benchmarks.wrn b/app/pages/benchmarks.wrn index 33da923a..f5c3665e 100644 --- a/app/pages/benchmarks.wrn +++ b/app/pages/benchmarks.wrn @@ -7,10 +7,10 @@ page Benchmarks { view {
-
W WRNexusJS
+
W WRNexusJS

Benchmarks

No publishable benchmark dataset yet

No comparative speed claims are published. A valid baseline must record scripts, commit, Bun/framework versions, hardware, OS, warmup, samples, workload, raw results, median, percentiles, memory, HTML size, browser JavaScript size, and run date.

The roadmap starts with WRNexusJS-only measurements before any maintained equivalent-workload comparison.

- +
} } \ No newline at end of file diff --git a/app/pages/changelog.wrn b/app/pages/changelog.wrn index 88c094ea..315e3ca9 100644 --- a/app/pages/changelog.wrn +++ b/app/pages/changelog.wrn @@ -7,10 +7,10 @@ page Changelog { view {
-
W WRNexusJS
+
W WRNexusJS
-

Changelog

0.8.5 2026-07-13

Documentation is aligned to all 47 installed packages. This release adds @wrnexus/helpers, original-request URL helpers, safe login redirects, working wrnexus workspace add, and forward-auth redirect propagation.

Migration notes

Run wrnexus update --latest and keep every @wrnexus/* package on 0.8.5. Existing applications must explicitly add @wrnexus/helpers before importing it; newly scaffolded applications include it automatically.

Versioning and support

The packages use semantic-looking versions, but a formal compatibility and old-release support policy has not been approved. Preview consumers should treat minor releases as potentially requiring migration review.

- +

Changelog

0.8.6 2026-07-13

Documentation is aligned to all 47 installed packages. This release adds @wrnexus/helpers, original-request URL helpers, safe login redirects, working wrnexus workspace add, and forward-auth redirect propagation.

Migration notes

Run wrnexus update --latest and keep every @wrnexus/* package on 0.8.6. Existing applications must explicitly add @wrnexus/helpers before importing it; newly scaffolded applications include it automatically.

Versioning and support

The packages use semantic-looking versions, but a formal compatibility and old-release support policy has not been approved. Preview consumers should treat minor releases as potentially requiring migration review.

+
} } \ No newline at end of file diff --git a/app/pages/examples.wrn b/app/pages/examples.wrn index 8ae5b047..7feae008 100644 --- a/app/pages/examples.wrn +++ b/app/pages/examples.wrn @@ -7,10 +7,10 @@ page Examples { view {
-
W WRNexusJS
+
W WRNexusJS
-

Examples

Examples are tied to installed 0.8.5 package documentation. The focused snippets in guides are source-verified; standalone runnable projects and CI compilation are tracked as remaining work.

Minimal .wrn page

Documented

Database CRUD

Planned fixture

Authentication and protected route

Planned fixture

Permissions

Planned fixture

Forms and validation

Documented

Realtime dashboard

Planned fixture

File upload

Planned fixture

Background queue

Planned fixture

Redis pub/sub

Planned fixture

Workspace gateway

Planned fixture

Deployment

Planned fixture

Experimental mobile mode

Planned fixture
- +

Examples

Examples are tied to installed 0.8.6 package documentation. The focused snippets in guides are source-verified; standalone runnable projects and CI compilation are tracked as remaining work.

Minimal .wrn page

Documented

Database CRUD

Planned fixture

Authentication and protected route

Planned fixture

Permissions

Planned fixture

Forms and validation

Documented

Realtime dashboard

Planned fixture

File upload

Planned fixture

Background queue

Planned fixture

Redis pub/sub

Planned fixture

Workspace gateway

Planned fixture

Deployment

Planned fixture

Experimental mobile mode

Planned fixture
+
} } \ No newline at end of file diff --git a/app/pages/getting-started.wrn b/app/pages/getting-started.wrn index a19d217d..f412168e 100644 --- a/app/pages/getting-started.wrn +++ b/app/pages/getting-started.wrn @@ -7,9 +7,9 @@ page Gettingstarted { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · v0.8.5

Build a contact inbox

This path creates a server-rendered page, validated API route, middleware, and realtime next step. It requires approved registry access and Bun 1.3.x; this site was verified with Bun 1.3.14.

1. Create the project

bunx @wrnexus/cli@0.8.5 create my-app
+      
Preview guide · v0.8.6

Build a contact inbox

This path creates a server-rendered page, validated API route, middleware, and realtime next step. It requires approved registry access and Bun 1.3.x; this site was verified with Bun 1.3.14.

1. Create the project

bunx @wrnexus/cli@0.8.6 create my-app
 cd my-app
 bun install
 bun run dev

2. Know the structure

app/pages/       # file-based .wrn routes
@@ -39,7 +39,7 @@ export const POST = async (ctx) => {
 }

7. Test and ship

bun run test
 bun run build
 bun dist/server.js

Next: deployment, database, authentication, and workspaces.

- +
} } \ No newline at end of file diff --git a/app/pages/guides/api-routes.wrn b/app/pages/guides/api-routes.wrn index 48d7b775..9559f9e8 100644 --- a/app/pages/guides/api-routes.wrn +++ b/app/pages/guides/api-routes.wrn @@ -7,10 +7,10 @@ page APIroutes { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

API routes

Export GET, POST, PUT, PATCH, or DELETE from app/api files. Validate request bodies, enforce authentication and authorization, cap request sizes, and return Web Responses.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

API routes

Export GET, POST, PUT, PATCH, or DELETE from app/api files. Validate request bodies, enforce authentication and authorization, cap request sizes, and return Web Responses.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/authentication.wrn b/app/pages/guides/authentication.wrn index 8fba9f23..da349596 100644 --- a/app/pages/guides/authentication.wrn +++ b/app/pages/guides/authentication.wrn @@ -7,10 +7,10 @@ page Authentication { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Authentication

Configure session authentication, log users in through supported auth helpers, and read identity from context. Cookie flags, rotation, expiry, and secret storage remain deployment responsibilities.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Authentication

Configure session authentication, log users in through supported auth helpers, and read identity from context. Cookie flags, rotation, expiry, and secret storage remain deployment responsibilities.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/authorization.wrn b/app/pages/guides/authorization.wrn index 35a57106..fe0a4a94 100644 --- a/app/pages/guides/authorization.wrn +++ b/app/pages/guides/authorization.wrn @@ -7,10 +7,10 @@ page Authorization { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Authorization

Authentication identifies; authorization decides. Enforce permissions in server routes and policies, including object ownership. UI hiding is never an authorization boundary.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Authorization

Authentication identifies; authorization decides. Enforce permissions in server routes and policies, including object ownership. UI hiding is never an authorization boundary.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/configuration-and-profiles.wrn b/app/pages/guides/configuration-and-profiles.wrn index 5b10df02..b3a4b390 100644 --- a/app/pages/guides/configuration-and-profiles.wrn +++ b/app/pages/guides/configuration-and-profiles.wrn @@ -7,10 +7,10 @@ page Configurationandprofiles { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Configuration and profiles

wrnexus.config.ts owns styles, SEO, security, data, mobile, fonts, and profiles. Keep secrets in validated environment variables and review merged production configuration.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Configuration and profiles

wrnexus.config.ts owns styles, SEO, security, data, mobile, fonts, and profiles. Keep secrets in validated environment variables and review merged production configuration.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/database.wrn b/app/pages/guides/database.wrn index 4b9bbb43..d2be37ac 100644 --- a/app/pages/guides/database.wrn +++ b/app/pages/guides/database.wrn @@ -7,10 +7,10 @@ page Database { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Database

Configure SQLite or the installed supported driver, keep queries in named SQL blocks, generate typed functions, and apply migrations before traffic. Back up data and test rollback independently.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Database

Configure SQLite or the installed supported driver, keep queries in named SQL blocks, generate typed functions, and apply migrations before traffic. Back up data and test rollback independently.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/deployment.wrn b/app/pages/guides/deployment.wrn index 27b0bff4..715e70d0 100644 --- a/app/pages/guides/deployment.wrn +++ b/app/pages/guides/deployment.wrn @@ -7,10 +7,10 @@ page Deployment { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Deployment

Run bun run build, apply migrations, and start dist/server.js with Bun. Configure TLS, proxy trust, environment validation, health checks, graceful restarts, logs, backups, and restrictive security headers.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Deployment

Run bun run build, apply migrations, and start dist/server.js with Bun. Configure TLS, proxy trust, environment validation, health checks, graceful restarts, logs, backups, and restrictive security headers.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/forms-and-validation.wrn b/app/pages/guides/forms-and-validation.wrn index c45d3191..60685dbd 100644 --- a/app/pages/guides/forms-and-validation.wrn +++ b/app/pages/guides/forms-and-validation.wrn @@ -7,10 +7,10 @@ page Formsandvalidation { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Forms and validation

Define a v.object schema, use data-schema on the form, show field errors with data-error, and always call parseBody on the server. refine is server-only.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Forms and validation

Define a v.object schema, use data-schema on the form, show field errors with data-error, and always call parseBody on the server. refine is server-only.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/i18n-and-themes.wrn b/app/pages/guides/i18n-and-themes.wrn index 99be733d..461c2c29 100644 --- a/app/pages/guides/i18n-and-themes.wrn +++ b/app/pages/guides/i18n-and-themes.wrn @@ -7,10 +7,10 @@ page Internationalizationandthemes { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Internationalization and themes

Store locale JSON under app/locales and use translation directives. Themes resolve CSS tokens; ensure contrast, system preference behavior, persistence, and non-color cues.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Internationalization and themes

Store locale JSON under app/locales and use translation directives. Themes resolve CSS tokens; ensure contrast, system preference behavior, persistence, and non-color cues.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/middleware.wrn b/app/pages/guides/middleware.wrn index 96e16407..a21e08d7 100644 --- a/app/pages/guides/middleware.wrn +++ b/app/pages/guides/middleware.wrn @@ -7,10 +7,10 @@ page Middleware { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Middleware

Middleware receives context and next. Return next() to continue or return a Response to stop. Put request limits and trust-boundary controls before business logic.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Middleware

Middleware receives context and next. Return next() to continue or return a Response to stop. Put request limits and trust-boundary controls before business logic.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/mobile.wrn b/app/pages/guides/mobile.wrn index 0ba47c9b..2661ffb3 100644 --- a/app/pages/guides/mobile.wrn +++ b/app/pages/guides/mobile.wrn @@ -7,10 +7,10 @@ page Mobile { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Mobile

Mobile capabilities are experimental in this preview. Test Capacitor permissions and lifecycle on each platform; do not assume every .wrn or browser API converts to native.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Mobile

Mobile capabilities are experimental in this preview. Test Capacitor permissions and lifecycle on each platform; do not assume every .wrn or browser API converts to native.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/observability.wrn b/app/pages/guides/observability.wrn index 0d417897..55881bc8 100644 --- a/app/pages/guides/observability.wrn +++ b/app/pages/guides/observability.wrn @@ -7,10 +7,10 @@ page Observability { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Observability

Use tracking middleware and sinks with redaction, sampling, stable request identifiers, alert ownership, and retention limits. Never capture registry tokens or session secrets.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Observability

Use tracking middleware and sinks with redaction, sampling, stable request identifiers, alert ownership, and retention limits. Never capture registry tokens or session secrets.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/pages-and-components.wrn b/app/pages/guides/pages-and-components.wrn index 996d5713..5f5bd429 100644 --- a/app/pages/guides/pages-and-components.wrn +++ b/app/pages/guides/pages-and-components.wrn @@ -7,10 +7,10 @@ page Pagesandcomponents { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Pages and components

Pages are routable, components are reusable, and layouts provide shared slots. Mount a component with data-component and keep browser state scoped and minimal.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Pages and components

Pages are routable, components are reusable, and layouts provide shared slots. Mount a component with data-component and keep browser state scoped and minimal.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/project-structure.wrn b/app/pages/guides/project-structure.wrn index b705ebc5..2a66d9ac 100644 --- a/app/pages/guides/project-structure.wrn +++ b/app/pages/guides/project-structure.wrn @@ -7,10 +7,10 @@ page Projectstructure { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Project structure

Pages, components, layouts, APIs, middleware, schemas, database files, locales, realtime rooms, and styles live under app. Never edit app/routes.gen.ts, .wrnexus, or dist by hand.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Project structure

Pages, components, layouts, APIs, middleware, schemas, database files, locales, realtime rooms, and styles live under app. Never edit app/routes.gen.ts, .wrnexus, or dist by hand.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/pubsub.wrn b/app/pages/guides/pubsub.wrn index a59db8a9..94f75ff3 100644 --- a/app/pages/guides/pubsub.wrn +++ b/app/pages/guides/pubsub.wrn @@ -7,10 +7,10 @@ page Pubsub { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Pub/sub

The in-process driver cannot cross processes. Use Redis where instances must share events, define channel ownership, and design for reconnects and duplicate delivery.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Pub/sub

The in-process driver cannot cross processes. Use Redis where instances must share events, define channel ownership, and design for reconnects and duplicate delivery.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/queues.wrn b/app/pages/guides/queues.wrn index 3b6c39e5..9b602404 100644 --- a/app/pages/guides/queues.wrn +++ b/app/pages/guides/queues.wrn @@ -7,10 +7,10 @@ page Queues { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Queues

Queue behavior is preview-level. Treat in-process work as non-durable, make handlers idempotent, cap retries, record failures, and choose a production persistence strategy.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Queues

Queue behavior is preview-level. Treat in-process work as non-durable, make handlers idempotent, cap retries, record failures, and choose a production persistence strategy.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/realtime.wrn b/app/pages/guides/realtime.wrn index 2235e5cc..339d53c2 100644 --- a/app/pages/guides/realtime.wrn +++ b/app/pages/guides/realtime.wrn @@ -7,10 +7,10 @@ page Realtime { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Realtime

defineRoom handles connection and messages. Validate message shapes, authorize subscriptions, restrict origins, bound payloads, and use pub/sub to scale across processes.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Realtime

defineRoom handles connection and messages. Validate message shapes, authorize subscriptions, restrict origins, bound payloads, and use pub/sub to scale across processes.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/routing.wrn b/app/pages/guides/routing.wrn index a86e7dd7..5a9cb96d 100644 --- a/app/pages/guides/routing.wrn +++ b/app/pages/guides/routing.wrn @@ -7,10 +7,10 @@ page Routing { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Routing

A page filename defines its URL; index maps to the directory root and bracket segments are dynamic parameters. API files under app/api expose HTTP method functions and receive a Context.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Routing

A page filename defines its URL; index maps to the directory root and bracket segments are dynamic parameters. API files under app/api expose HTTP method functions and receive a Context.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/security.wrn b/app/pages/guides/security.wrn index 1c51da6e..7a62cb34 100644 --- a/app/pages/guides/security.wrn +++ b/app/pages/guides/security.wrn @@ -7,10 +7,10 @@ page Applicationsecurity { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Application security

Use CSP, CSRF, Trusted Types, session hardening, validation, origin checks, upload restrictions, encryption, request limits, and explicit CORS. See the security policy for reporting.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Application security

Use CSP, CSRF, Trusted Types, session hardening, validation, origin checks, upload restrictions, encryption, request limits, and explicit CORS. See the security policy for reporting.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/server-data.wrn b/app/pages/guides/server-data.wrn index 94b1b65f..87989223 100644 --- a/app/pages/guides/server-data.wrn +++ b/app/pages/guides/server-data.wrn @@ -7,10 +7,10 @@ page Serverdata { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Server data

Use an ssr API binding, return the desired response field, and render it with a server #each block. Values are escaped. Avoid fetching private data through a route that lacks authorization.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Server data

Use an ssr API binding, return the desired response field, and render it with a server #each block. Values are escaped. Avoid fetching private data through a route that lacks authorization.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/testing.wrn b/app/pages/guides/testing.wrn index b55f25af..c5be743c 100644 --- a/app/pages/guides/testing.wrn +++ b/app/pages/guides/testing.wrn @@ -7,10 +7,10 @@ page Testing { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Testing

Use Bun tests and @wrnexus/test helpers. Cover server HTML, API status and validation, authorization failures, reactive behavior, and a production startup smoke test.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Testing

Use Bun tests and @wrnexus/test helpers. Cover server HTML, API status and validation, authorization failures, reactive behavior, and a production startup smoke test.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/troubleshooting.wrn b/app/pages/guides/troubleshooting.wrn index 736bb579..e275622b 100644 --- a/app/pages/guides/troubleshooting.wrn +++ b/app/pages/guides/troubleshooting.wrn @@ -7,10 +7,10 @@ page Troubleshooting { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Troubleshooting

Confirm Bun and package versions, regenerate docs/routes through supported commands, read the first compiler diagnostic, check file naming, validate config, and reproduce under a production build.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Troubleshooting

Confirm Bun and package versions, regenerate docs/routes through supported commands, read the first compiler diagnostic, check file naming, validate config, and reproduce under a production build.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/upgrading.wrn b/app/pages/guides/upgrading.wrn index fcb8b159..64c0a967 100644 --- a/app/pages/guides/upgrading.wrn +++ b/app/pages/guides/upgrading.wrn @@ -7,10 +7,10 @@ page Upgrading { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Upgrading

Back up and commit first, then use wrnexus update --latest as documented by the installed CLI. Review migrations and keep every @wrnexus package aligned. Current release: 0.8.5.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Upgrading

Back up and commit first, then use wrnexus update --latest as documented by the installed CLI. Review migrations and keep every @wrnexus package aligned. Current release: 0.8.6.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/uploads.wrn b/app/pages/guides/uploads.wrn index 14b8dd51..3e5ea628 100644 --- a/app/pages/guides/uploads.wrn +++ b/app/pages/guides/uploads.wrn @@ -7,10 +7,10 @@ page Uploads { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Uploads

Configure named stores, accepted MIME/extensions, and maxBytes. Random keys avoid path traversal. Private files require an authenticated serving route; v1 buffers each file in memory.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +
Preview guide · 0.8.6

Uploads

Configure named stores, accepted MIME/extensions, and maxBytes. Random keys avoid path traversal. Private files require an authenticated serving route; v1 buffers each file in memory.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/guides/workspaces-and-gateway.wrn b/app/pages/guides/workspaces-and-gateway.wrn index 9cc4404e..784aee06 100644 --- a/app/pages/guides/workspaces-and-gateway.wrn +++ b/app/pages/guides/workspaces-and-gateway.wrn @@ -7,9 +7,9 @@ page Workspacesandgateway { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview guide · 0.8.5

Workspaces and gateway

A workspace runs isolated applications behind one domain-routing gateway. Add an application from the workspace root; the CLI scaffolds apps/reports and registers it in wrnexus.workspace.ts:

wrnexus workspace add reports --domain=reports.localhost
+      
Preview guide · 0.8.6

Workspaces and gateway

A workspace runs isolated applications behind one domain-routing gateway. Add an application from the workspace root; the CLI scaffolds apps/reports and registers it in wrnexus.workspace.ts:

wrnexus workspace add reports --domain=reports.localhost
 bun install
 bun run dev

Forward authentication

Point protected applications at a dedicated verifier endpoint. The verifier must return 2xx for an authenticated session, 401/403 to deny access, or an HTTP redirect to begin browser login.

// wrnexus.workspace.ts
 {
@@ -28,8 +28,8 @@ export const GET = async (ctx: Context) => {
   return redirectToLogin(ctx, "/login", {
     allowedHosts: ["admin.localhost:3000", "reports.localhost:3000"],
   });
-};

Always allowlist redirect hosts. After login, validate or sign the returnTo value before redirecting. Keep internal app ports private and open applications through the gateway port.

Release scope

This guide describes installed 0.8.5 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

- +};

Always allowlist redirect hosts. After login, validate or sign the returnTo value before redirecting. Keep internal app ports private and open applications through the gateway port.

Release scope

This guide describes installed 0.8.6 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

+
} } \ No newline at end of file diff --git a/app/pages/index.wrn b/app/pages/index.wrn index 3ea9a16c..bf128588 100644 --- a/app/pages/index.wrn +++ b/app/pages/index.wrn @@ -7,9 +7,9 @@ page Home { view {
-
W WRNexusJS
+
W WRNexusJS
-

WRNexusJS v0.8.5

Build from the server.
Ship only what matters.

WRNexusJS is an SSR-first, Bun-native full-stack framework. Build typed pages, APIs, validated forms, realtime rooms, secure sessions, workspaces, and optional mobile experiences with the .wrn component language.

Private developer preview. Request access to the package registry.

app/pages/dashboard.wrn
page Dashboard {
+      

WRNexusJS v0.8.6

Build from the server.
Ship only what matters.

WRNexusJS is an SSR-first, Bun-native full-stack framework. Build typed pages, APIs, validated forms, realtime rooms, secure sessions, workspaces, and optional mobile experiences with the .wrn component language.

Private developer preview. Request access to the package registry.

app/pages/dashboard.wrn
page Dashboard {
   ssr { api tasks GET /api/tasks { return tasks } }
   view {
     <main>
@@ -35,10 +35,10 @@ export const POST = async (ctx) => {
   return result.ok ? Response.json({ ok: true }, { status: 201 }) : result.response;
 };

Request lifecycle

  1. RequestSecurity headers and request limits
  2. MiddlewareAuthentication, policy, and context
  3. File routePage or API handler
  4. Compiler + SSRSafe HTML and scoped runtime
  5. ResponseHTML, JSON, stream, or realtime upgrade
-

Production proof

WorkRoot

Public creator/company site and approved WRNexusJS production showcase.

wrnexusjs.dev

This documentation application runs WRNexusJS 0.8.5.

View deployment notes and showcase status →

-

Capability status

CapabilityStatusDetails
SSR, routing, compiler, APIsPreviewInstalled in 0.8.5; public support policy pending.
Mobile/nativeExperimentalCapacitor compatibility and native generation have platform limitations.
Durable queuesExperimentalProduction durability requires an appropriate driver strategy.
+

Production proof

WorkRoot

Public creator/company site and approved WRNexusJS production showcase.

wrnexusjs.dev

This documentation application runs WRNexusJS 0.8.6.

View deployment notes and showcase status →

+

Capability status

CapabilityStatusDetails
SSR, routing, compiler, APIsPreviewInstalled in 0.8.6; public support policy pending.
Mobile/nativeExperimentalCapacitor compatibility and native generation have platform limitations.
Durable queuesExperimentalProduction durability requires an appropriate driver strategy.

Continue exploring

- +
} } \ No newline at end of file diff --git a/app/pages/language.wrn b/app/pages/language.wrn index 469d7c5c..7853c85d 100644 --- a/app/pages/language.wrn +++ b/app/pages/language.wrn @@ -7,15 +7,15 @@ page Thewrnlanguage { view {
-
W WRNexusJS
+
W WRNexusJS
-
Language reference · 0.8.5

The .wrn language

File anatomy

page Account {
+      
Language reference · 0.8.6

The .wrn language

File anatomy

page Account {
   layout = "public"
   seo { title = "Account" description = "Manage your account." }
   state count = 0
   view { <button @click="count++">Count {count}</button> }
 }

Pages, components, layouts, props, and state

Pages are routes. Components declare default-valued props and may hold state. Layouts provide shared slots. Mount components with data-component; fill default or named slots with data-slot.

Interpolation, conditionals, and loops

Interpolation is HTML-escaped. Use server {#if} and {#each} for SSR data. Use data-show for reactive client visibility.

Events and directives

@click and other events execute in the reactive scope. Data attributes opt into forms, i18n, themes, realtime, uploader, browser, and mobile behavior. Consult the exact package page because availability varies.

Forms, i18n, themes, and realtime

form[data-schema] connects descriptors to client and server validation. Translation keys use {t:key}. Theme toggles use data-wire-theme-toggle. Realtime pages opt into a named room.

Escaping and security

Text interpolation is escaped by default. Do not construct trusted HTML from user input. Server-only refinements must be repeated at the authoritative mutation boundary.

Common compiler errors

  • Use balanced braces; a literal brace must be escaped.
  • Declare UI in view, not JSX or hooks.
  • Use a valid page, component, or layout declaration matching the file role.
  • Keep server loops tied to available SSR bindings.
  • Check troubleshooting and compiler API for this release.
- +
} } \ No newline at end of file diff --git a/app/pages/license.wrn b/app/pages/license.wrn index b33a5499..c3a30d51 100644 --- a/app/pages/license.wrn +++ b/app/pages/license.wrn @@ -7,10 +7,10 @@ page License { view {
-
W WRNexusJS
+
W WRNexusJS

License

Owner decision required

This documentation repository contains no public license file, and the packages are unavailable from the public npm registry. No open-source license or redistribution right should be inferred.

Approved preview users must follow the private/commercial terms supplied by WorkRoot. Contact WorkRoot before copying, redistributing, or using WRNexusJS in production.

- +
} } \ No newline at end of file diff --git a/app/pages/packages.wrn b/app/pages/packages.wrn index 87908a60..fb0f8638 100644 --- a/app/pages/packages.wrn +++ b/app/pages/packages.wrn @@ -12,10 +12,10 @@ page Packages {
W WRNexusJS - +
-
46 focused packages

Package reference

Everything in the framework, organized by responsibility and documented from the published 0.8.5 APIs.

Showing {category} packages

+
46 focused packages

Package reference

Everything in the framework, organized by responsibility and documented from the published 0.8.6 APIs.

Showing {category} packages

AI

@wrnexus/ai

Server-side Anthropic client with generation and streaming.

Open documentation →
@@ -153,7 +153,7 @@ page Packages { Security

@wrnexus/validation

Typed schemas, coercion, validation, and browser descriptors.

Open documentation →
- +
} } diff --git a/app/pages/packages/ai.wrn b/app/pages/packages/ai.wrn index 6b1e276a..51ed90ae 100644 --- a/app/pages/packages/ai.wrn +++ b/app/pages/packages/ai.wrn @@ -10,11 +10,11 @@ page wrnexusai {
W WRNexusJS - +
-
AI · Package reference

@wrnexus/ai

Server-side Anthropic client with generation and streaming.

v0.8.5Private registryAI

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/ai@0.8.5

Request preview access. Never put registry tokens in source control.

Provider-neutral AI orchestration for OpenAI, Anthropic, Google and local OpenAI-compatible models, with streaming, structured output, tools, embeddings, vector search/RAG, conversation persistence, templates, guardrails, usage events, fallback, rate limits and evaluation reports.

+
AI · Package reference

@wrnexus/ai

Server-side Anthropic client with generation and streaming.

v0.8.6Private registryAI

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/ai@0.8.6

Request preview access. Never put registry tokens in source control.

Provider-neutral AI orchestration for OpenAI, Anthropic, Google and local OpenAI-compatible models, with streaming, structured output, tools, embeddings, vector search/RAG, conversation persistence, templates, guardrails, usage events, fallback, rate limits and evaluation reports.

A tiny, zero-dependency Claude (Anthropic) client for WRNexusJS apps — generate and stream text with Claude from any server-side code.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

Overview

@@ -151,7 +151,7 @@ export const POST = async (ctx) => { };
- + } } diff --git a/app/pages/packages/auth.wrn b/app/pages/packages/auth.wrn index 4d0193b7..eee12672 100644 --- a/app/pages/packages/auth.wrn +++ b/app/pages/packages/auth.wrn @@ -10,11 +10,11 @@ page wrnexusauth {
W WRNexusJS - +
-
Security · Package reference

@wrnexus/auth

Authentication routes, sessions, forms, guards, and account flows.

v0.8.5Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/auth@0.8.5

Request preview access. Never put registry tokens in source control.

Framework-native authentication, identity, account-security, and session management for WRNexusJS.

+
Security · Package reference

@wrnexus/auth

Authentication routes, sessions, forms, guards, and account flows.

v0.8.6Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/auth@0.8.6

Request preview access. Never put registry tokens in source control.

Framework-native authentication, identity, account-security, and session management for WRNexusJS.

Capabilities

  • Password registration, login, recovery, reset, and authenticated password changes
  • @@ -287,7 +287,7 @@ export { A as AUTH_SECURITY_EVENT_TYPES, a as AuthAccountStatus, b as AuthC export { MemoryAuthStore } from './stores/memory.js'; export { SqlAuthStore } from './stores/sql.js'; export { AUTH_SESSION_KEY, authSession, clearAuthSession, establishAuthSession, getAuthSession, getAuthUser, isAuthenticatedContext, requireAuth } from './middleware.js'; -export { A as AuthHttpOptions, a as AuthPasskeyHttpOptions, b as AuthSchemaOverrides, c as AuthSchemaSet, d as authBrowserSchemaDescriptors, e as authBrowserSchemaMap, f as authSchemas, g as authenticatorConfirmSchema, h as authenticatorDisableSchema, i as authenticatorSetupSchema, j as changePasswordSchema, k as createAuthHttpHandlers, l as emptyActionSchema, m as impersonationStartSchema, n as invitationAcceptSchema, o as loginSchema, p as magicLinkConsumeSchema, q as magicLinkRequestSchema, r as mfaOtpRequestSchema, s as mfaSchema, t as otpIssueSchema, u as otpLoginCompleteSchema, v as otpLoginRequestSchema, w as otpSchema, x as passkeyAuthenticationOptionsSchema, y as passkeyAuthenticationVerifySchema, z as passkeyRegistrationOptionsSchema, B as passkeyRegistrationVerifySchema, C as passwordResetRequestSchema, D as passwordResetSchema, E as recoveryCodesSchema, F as registerSchema, G as resolveAuthSchemas, H as sessionRevokeSchema, I as signUpSchema, J as verificationRequestSchema, K as verificationTokenSchema } from './index-BuZlwKSF.js'; +export { A as AuthHttpOptions, a as AuthPasskeyHttpOptions, b as AuthSchemaOverrides, c as AuthSchemaSet, d as authBrowserSchemaDescriptors, e as authBrowserSchemaMap, f as authSchemas, g as authenticatorConfirmSchema, h as authenticatorDisableSchema, i as authenticatorSetupSchema, j as changePasswordSchema, k as createAuthHttpHandlers, l as emptyActionSchema, m as impersonationStartSchema, n as invitationAcceptSchema, o as loginSchema, p as magicLinkConsumeSchema, q as magicLinkRequestSchema, r as mfaOtpRequestSchema, s as mfaSchema, t as otpIssueSchema, u as otpLoginCompleteSchema, v as otpLoginRequestSchema, w as otpSchema, x as passkeyAuthenticationOptionsSchema, y as passkeyAuthenticationVerifySchema, z as passkeyRegistrationOptionsSchema, B as passkeyRegistrationVerifySchema, C as passwordResetRequestSchema, D as passwordResetSchema, E as recoveryCodesSchema, F as registerSchema, G as resolveAuthSchemas, H as sessionRevokeSchema, I as signUpSchema, J as verificationRequestSchema, K as verificationTokenSchema } from './index-B4uaD0Z3.js'; export { AuthAuditIssue, AuthConfig, AuthPluginOptions, AuthRoutesConfig, authComponentsDir, authPlugin } from './plugin.js'; export { DefaultAuthRouteOptions, clearDefaultAuthEngine, getDefaultAuthEngine, getDefaultAuthRouteOptions, getDefaultAuthSchemas, hasDefaultAuthEngine, setDefaultAuthEngine, setDefaultAuthRouteOptions, setDefaultAuthSchemas, tryGetDefaultAuthEngine } from './runtime.js'; export { createAuthSecretProtector } from './protector.js'; @@ -386,7 +386,7 @@ export const auth = createAuthEngine({ };
- + } } diff --git a/app/pages/packages/authz.wrn b/app/pages/packages/authz.wrn index 8ebe7da1..4c61aae1 100644 --- a/app/pages/packages/authz.wrn +++ b/app/pages/packages/authz.wrn @@ -10,11 +10,11 @@ page wrnexusauthz {
W WRNexusJS - +
-
Security · Package reference

@wrnexus/authz

Role, permission, policy, and authorization guards.

v0.8.5Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/authz@0.8.5

Request preview access. Never put registry tokens in source control.

Composable authorization for WRNexusJS — role-based (RBAC), policy-based (PBAC), and attribute-based (ABAC) access control that reduces to a boolean check plus an authorize() guard.
+
Security · Package reference

@wrnexus/authz

Role, permission, policy, and authorization guards.

v0.8.6Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/authz@0.8.6

Request preview access. Never put registry tokens in source control.

Composable authorization for WRNexusJS — role-based (RBAC), policy-based (PBAC), and attribute-based (ABAC) access control that reduces to a boolean check plus an authorize() guard.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

Overview

@wrnexus/authz is a small, server-side authorization toolkit. It gives you three interchangeable models — RBAC (roles → permissions), PBAC (policy predicates), and ABAC (attribute matchers) — that all collapse to a boolean | Promise<boolean> decision. Wrap any decision in a Middleware guard (authorize, requireRole, requirePermission) to protect WRNexusJS routes. Reach for it whenever a route or action needs to be gated on who the user is, what roles they hold, or attributes of the user and the resource. It plugs into @wrnexus/core by reading ctx.user as the authorization subject.

@@ -580,7 +580,7 @@ app.put( );
- + } } diff --git a/app/pages/packages/benchmark.wrn b/app/pages/packages/benchmark.wrn index 115c480a..d270517e 100644 --- a/app/pages/packages/benchmark.wrn +++ b/app/pages/packages/benchmark.wrn @@ -10,11 +10,11 @@ page wrnexusbenchmark {
W WRNexusJS - +
-
Tooling · Package reference

@wrnexus/benchmark

Framework benchmark scenarios and repeatable performance measurements.

v0.8.5Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/benchmark@0.8.5

Request preview access. Never put registry tokens in source control.

Deterministic benchmark execution, percentiles, baseline comparisons, and regression budgets for builds, SSR, hydration, stores, and application hot paths.

+
Tooling · Package reference

@wrnexus/benchmark

Framework benchmark scenarios and repeatable performance measurements.

v0.8.6Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/benchmark@0.8.6

Request preview access. Never put registry tokens in source control.

Deterministic benchmark execution, percentiles, baseline comparisons, and regression budgets for builds, SSR, hydration, stores, and application hot paths.

import { runBenchmark, assertBenchmarkBudget } from "@wrnexus/benchmark";
 const result = await runBenchmark("render", render, { iterations: 100 });
 assertBenchmarkBudget(result, baseline, { p95Percent: 5 });

Complete TypeScript API

Generated from the exact installed package declarations.

interface BenchmarkOptions {
@@ -61,7 +61,7 @@ const result = await runBenchmark("render", render, { iterations:
 assertBenchmarkBudget(result, baseline, { p95Percent: 5 });

Install @wrnexus/benchmark

bun add @wrnexus/benchmark
- + } } diff --git a/app/pages/packages/cache.wrn b/app/pages/packages/cache.wrn index 9a4369dd..98a0725c 100644 --- a/app/pages/packages/cache.wrn +++ b/app/pages/packages/cache.wrn @@ -10,11 +10,11 @@ page wrnexuscache {
W WRNexusJS - +
-
Data · Package reference

@wrnexus/cache

Memory and distributed caching with coordination and invalidation.

v0.8.5Private registryData

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/cache@0.8.5

Request preview access. Never put registry tokens in source control.

Bounded in-memory/tag caching and HTTP response caching for WRNexusJS. Supports request deduplication, tag invalidation, ETags, fresh/stale states, and optional detached stale revalidation.

+
Data · Package reference

@wrnexus/cache

Memory and distributed caching with coordination and invalidation.

v0.8.6Private registryData

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/cache@0.8.6

Request preview access. Never put registry tokens in source control.

Bounded in-memory/tag caching and HTTP response caching for WRNexusJS. Supports request deduplication, tag invalidation, ETags, fresh/stale states, and optional detached stale revalidation.

import { connectCacheInvalidation, TagCache, responseCache } from "@wrnexus/cache";
 const cache = new TagCache({ ttlMs: 60_000, staleWhileRevalidateMs: 300_000 });
 export default responseCache({ cache, tags: ["products"] });
@@ -235,7 +235,7 @@ await bus.close();

Pages }

- + } } diff --git a/app/pages/packages/captcha.wrn b/app/pages/packages/captcha.wrn index 6e0ddb85..505114e1 100644 --- a/app/pages/packages/captcha.wrn +++ b/app/pages/packages/captcha.wrn @@ -10,11 +10,11 @@ page wrnexuscaptcha {
W WRNexusJS - +
-
Security · Package reference

@wrnexus/captcha

Managed CAPTCHA verification, middleware, and UI integration.

v0.8.5Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/captcha@0.8.5

Request preview access. Never put registry tokens in source control.

A first-class CAPTCHA and anti-automation package for WRNexusJS. It supports self-hosted challenges, a managed WRNexus service, external providers, form submission guards, page gates, accessible audio, adaptive risk checks, and a Tailwind-only .wrn component.

+
Security · Package reference

@wrnexus/captcha

Managed CAPTCHA verification, middleware, and UI integration.

v0.8.6Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/captcha@0.8.6

Request preview access. Never put registry tokens in source control.

A first-class CAPTCHA and anti-automation package for WRNexusJS. It supports self-hosted challenges, a managed WRNexus service, external providers, form submission guards, page gates, accessible audio, adaptive risk checks, and a Tailwind-only .wrn component.

Install

bun add @wrnexus/captcha

WRNexusJS automatically discovers the package plugin, component, client runtime, styles, and DevToolbar audit. Use <Captcha /> directly after installation. The browser runtime is injected once only on responses that render a CAPTCHA; no script tag, public-file copy, or manual plugin registration is required. Call captchaPlugin(options) explicitly only when an application needs to override the discovered package configuration.

@@ -333,7 +333,7 @@ export const HEAD = POST;
- + } } diff --git a/app/pages/packages/cli.wrn b/app/pages/packages/cli.wrn index ac1f70b1..1db1ce4c 100644 --- a/app/pages/packages/cli.wrn +++ b/app/pages/packages/cli.wrn @@ -10,11 +10,11 @@ page wrnexuscli {
W WRNexusJS - +
-
Tooling · Package reference

@wrnexus/cli

Create, develop, build, generate, test, and maintain WRNexusJS apps.

v0.8.5Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/cli@0.8.5

Request preview access. Never put registry tokens in source control.

Production parity commands:

+
Tooling · Package reference

@wrnexus/cli

Create, develop, build, generate, test, and maintain WRNexusJS apps.

v0.8.6Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/cli@0.8.6

Request preview access. Never put registry tokens in source control.

Production parity commands:

wrnexus build .
 wrnexus preview . --port=3000
 wrnexus dev . --production-runtime
@@ -167,7 +167,7 @@ wrnexus update --latest wrnexus doctor
- + } } diff --git a/app/pages/packages/compiler.wrn b/app/pages/packages/compiler.wrn index e86e85bb..69d2c6b6 100644 --- a/app/pages/packages/compiler.wrn +++ b/app/pages/packages/compiler.wrn @@ -10,11 +10,11 @@ page wrnexuscompiler {
W WRNexusJS - +
-
Core · Package reference

@wrnexus/compiler

Parser and code generators for the .wrn language.

v0.8.5Private registryCore

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/compiler@0.8.5

Request preview access. Never put registry tokens in source control.

Partial-static rendering

+
Core · Package reference

@wrnexus/compiler

Parser and code generators for the .wrn language.

v0.8.6Private registryCore

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/compiler@0.8.6

Request preview access. Never put registry tokens in source control.

Partial-static rendering

Pages can select render = "partial-static" and divide their view with <Static> and <Dynamic> boundaries. The compiler emits a build-only shell renderer that never evaluates dynamic-boundary children. wrnexus build expands static component mounts into dist/partial-shells.json, records byte/region evidence in build-report.json, and embeds the shell in the production route manifest. At request time the production runtime retains request-aware layouts, locale/theme metadata and security nonces while streaming dynamic regions into stable placeholders.

Compiler for the .wrn language — tokenizes, parses, and lowers .wrn page and component files to TypeScript.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

@@ -409,7 +409,7 @@ lx.next(); // { type: "ident", value: "Home", pos: 5 &# lx.next(); // { type: "lbrace", value: "{", pos: 10 }
- + } } diff --git a/app/pages/packages/content.wrn b/app/pages/packages/content.wrn index fea17d91..b7451d49 100644 --- a/app/pages/packages/content.wrn +++ b/app/pages/packages/content.wrn @@ -10,11 +10,11 @@ page wrnexuscontent {
W WRNexusJS - +
-
Data · Package reference

@wrnexus/content

Content collections, validation, querying, and publishing workflows.

v0.8.5Private registryData

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/content@0.8.5

Request preview access. Never put registry tokens in source control.

Typed content collections for Markdown/MDX-like documents and remote CMS records. Collections validate frontmatter through any { parse(input) } schema, render escaped HTML, and expose draft preview, versions, references, headings, search indexes, pagination, RSS and sitemaps.

+
Data · Package reference

@wrnexus/content

Content collections, validation, querying, and publishing workflows.

v0.8.6Private registryData

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/content@0.8.6

Request preview access. Never put registry tokens in source control.

Typed content collections for Markdown/MDX-like documents and remote CMS records. Collections validate frontmatter through any { parse(input) } schema, render escaped HTML, and expose draft preview, versions, references, headings, search indexes, pagination, RSS and sitemaps.

const posts = defineCollection({
   name: "posts",
   schema: PostSchema,
@@ -170,7 +170,7 @@ const published = await posts.load();
 const preview = await posts.load({ previewToken: request.headers.get("x-preview-token") ?? "" });

Install @wrnexus/content

bun add @wrnexus/content
- + } } diff --git a/app/pages/packages/core.wrn b/app/pages/packages/core.wrn index 1bbce856..c1ebc5b8 100644 --- a/app/pages/packages/core.wrn +++ b/app/pages/packages/core.wrn @@ -10,11 +10,11 @@ page wrnexuscore {
W WRNexusJS - +
-
Core · Package reference

@wrnexus/core

Contexts, middleware, security, sessions, caching, JSX, and realtime.

v0.8.5Private registryCore

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/core@0.8.5

Request preview access. Never put registry tokens in source control.

The framework core: the request Context, middleware contract, and the security, session, caching, streaming, realtime, and JSX primitives every other WRNexusJS package builds on.
+
Core · Package reference

@wrnexus/core

Contexts, middleware, security, sessions, caching, JSX, and realtime.

v0.8.6Private registryCore

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/core@0.8.6

Request preview access. Never put registry tokens in source control.

The framework core: the request Context, middleware contract, and the security, session, caching, streaming, realtime, and JSX primitives every other WRNexusJS package builds on.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

Overview

@wrnexus/core is the shared foundation of WRNexusJS. It defines the Context object that flows through every middleware, page, and API route, plus the Middleware/Next contract they implement. On top of that it ships the building blocks a real app needs: cookie-backed sessions, password auth, CSRF protection, rate limiting, request logging, HTTP + in-memory caching, file uploads, streaming/SSE responses, WebSocket "rooms", security headers/CORS, and a server-side JSX runtime that renders to HTML strings. Everything here is server-side and Bun-native (it uses Bun.password, Bun.write, the web-standard Request/Response, and crypto). You depend on it directly and transitively through the rest of the framework.

@@ -1550,7 +1550,7 @@ const registry = createRealtimeRegistry(); bridgeRealtime(registry, createPubSub(redisDriver(process.env.REDIS_URL)));
- + } } diff --git a/app/pages/packages/csr.wrn b/app/pages/packages/csr.wrn index 02b279bb..0ef460b0 100644 --- a/app/pages/packages/csr.wrn +++ b/app/pages/packages/csr.wrn @@ -10,11 +10,11 @@ page wrnexuscsr {
W WRNexusJS - +
-
Frontend · Package reference

@wrnexus/csr

Reactive, navigation, and realtime browser runtimes.

v0.8.5Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/csr@0.8.5

Request preview access. Never put registry tokens in source control.

+
Frontend · Package reference

@wrnexus/csr

Reactive, navigation, and realtime browser runtimes.

v0.8.6Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/csr@0.8.6

Request preview access. Never put registry tokens in source control.

Pages can opt into restoration across client navigation:

page Users {
   navigation {
@@ -330,7 +330,7 @@ room.on("chat", (msg) => console.log(msg.user, msg.text));
 room.send({ type: "chat", user: "ada", text: "hi" });
- + } } diff --git a/app/pages/packages/db.wrn b/app/pages/packages/db.wrn index 53311f0d..a7036c3a 100644 --- a/app/pages/packages/db.wrn +++ b/app/pages/packages/db.wrn @@ -10,11 +10,11 @@ page wrnexusdb {
W WRNexusJS - +
-
Data · Package reference

@wrnexus/db

Database adapters, typed queries, models, migrations, and sessions.

v0.8.5Private registryData

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/db@0.8.5

Request preview access. Never put registry tokens in source control.

Rollout-safe migrations

+
Data · Package reference

@wrnexus/db

Database adapters, typed queries, models, migrations, and sessions.

v0.8.6Private registryData

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/db@0.8.6

Request preview access. Never put registry tokens in source control.

Rollout-safe migrations

Run wrnexus db check in CI before deployment. The analyzer reports stable diagnostics for drops, renames, type changes, new/enforced required columns, and potentially blocking index creation, with an expand/backfill/switch/contract recommendation. wrnexus db migrate blocks critical issues in pending migrations. --allow-breaking is an explicit operator override; already-applied migrations do not block later releases.

The database layer for WRNexusJS: TS models as the single source of truth for DDL, validation, and result typing, plus a driver-based Db client, migrations, and a sqlc-style query generator.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

@@ -527,7 +527,7 @@ await repo.insert({ email: "a@b.com" }); const active = await repo.find({ active: true });
- + } } diff --git a/app/pages/packages/dev-server.wrn b/app/pages/packages/dev-server.wrn index 709fbcb1..f3e1bb04 100644 --- a/app/pages/packages/dev-server.wrn +++ b/app/pages/packages/dev-server.wrn @@ -10,11 +10,11 @@ page wrnexusdevserver {
W WRNexusJS - +
-
Runtime · Package reference

@wrnexus/dev-server

Development and production servers, HMR, assets, and gateways.

v0.8.5Private registryRuntime

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/dev-server@0.8.5

Request preview access. Never put registry tokens in source control.

The WRNexusJS HTTP + WebSocket server runtime — request dispatch, SSR document assembly, live-reload (HMR), and the portable production handler.
+
Runtime · Package reference

@wrnexus/dev-server

Development and production servers, HMR, assets, and gateways.

v0.8.6Private registryRuntime

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/dev-server@0.8.6

Request preview access. Never put registry tokens in source control.

The WRNexusJS HTTP + WebSocket server runtime — request dispatch, SSR document assembly, live-reload (HMR), and the portable production handler.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

Overview

This package is the server runtime that powers a WRNexusJS app in both development and production. A single request runtime (createHandlers) owns HTTP/WebSocket dispatch and SSR document assembly; it knows nothing about _how_ modules and assets are produced, so the dev and prod entry points wire in different backends: dev uses dynamic module loading plus on-the-fly bundling and injects a live-reload client; prod uses a static, pre-built manifest with cache-immutable assets. The package also ships a multi-app gateway (route several apps by Host header behind one port) and a portable node:http adapter for WinterCG hosts. It is entirely server-side and Bun-native (Bun.serve, Bun.file, Bun.gzipSync).

@@ -860,7 +860,7 @@ await startGateway({ });
- + } } diff --git a/app/pages/packages/dev-toolbar.wrn b/app/pages/packages/dev-toolbar.wrn index 4359885d..0813b90e 100644 --- a/app/pages/packages/dev-toolbar.wrn +++ b/app/pages/packages/dev-toolbar.wrn @@ -10,11 +10,11 @@ page wrnexusdevtoolbar {
W WRNexusJS - +
-
Tooling · Package reference

@wrnexus/dev-toolbar

Development toolbar diagnostics, inspection, and runtime status.

v0.8.5Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/dev-toolbar@0.8.5

Request preview access. Never put registry tokens in source control.

Development-only page quality toolbar for WRNexusJS.

+
Tooling · Package reference

@wrnexus/dev-toolbar

Development toolbar diagnostics, inspection, and runtime status.

v0.8.6Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/dev-toolbar@0.8.6

Request preview access. Never put registry tokens in source control.

Development-only page quality toolbar for WRNexusJS.

Features

  • Runtime, resource and unhandled promise error capture
  • @@ -41,7 +41,7 @@ export { DEV_TOOLBAR_CSS, DEV_TOOLBAR_RUNTIME } from './client/index.j const issues = runDevToolbarRules(context);
- + } } diff --git a/app/pages/packages/encryption.wrn b/app/pages/packages/encryption.wrn index 6ae39956..bb245a49 100644 --- a/app/pages/packages/encryption.wrn +++ b/app/pages/packages/encryption.wrn @@ -10,11 +10,11 @@ page wrnexusencryption {
W WRNexusJS - +
-
Security · Package reference

@wrnexus/encryption

Hashing, HMAC, authenticated encryption, and key derivation.

v0.8.5Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/encryption@0.8.5

Request preview access. Never put registry tokens in source control.

Authenticated encryption, hashing, HMAC, key rotation, and optional encrypted HTTP exchanges for WRNexusJS.

+
Security · Package reference

@wrnexus/encryption

Hashing, HMAC, authenticated encryption, and key derivation.

v0.8.6Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/encryption@0.8.6

Request preview access. Never put registry tokens in source control.

Authenticated encryption, hashing, HMAC, key rotation, and optional encrypted HTTP exchanges for WRNexusJS.

Core helpers

  • generateKey() — random 256-bit AES key encoded as base64.
  • @@ -213,7 +213,7 @@ const response = await fetch(request); const result = await decryptEncryptedResponse(response, request, { keyring });

Install @wrnexus/encryption

bun add @wrnexus/encryption
- + } } diff --git a/app/pages/packages/graphql.wrn b/app/pages/packages/graphql.wrn index d13a9b33..8d64fc3e 100644 --- a/app/pages/packages/graphql.wrn +++ b/app/pages/packages/graphql.wrn @@ -10,16 +10,16 @@ page wrnexusgraphql {
W WRNexusJS - +
-
Data · Package reference

@wrnexus/graphql

GraphQL schemas, routes, and framework plugin integration.

v0.8.5Private registryData

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/graphql@0.8.5

Request preview access. Never put registry tokens in source control.

Optional GraphQL endpoint plugin. Supply the executor from GraphQL.js, GraphQL Yoga, Mercurius, or another maintained engine; WRNexus owns bounded HTTP input, depth/alias limits, introspection policy, generic production errors and plugin route integration.

Complete TypeScript API

Generated from the exact installed package declarations.

export { G as GraphqlExecutionResult, a as GraphqlOptions, b as GraphqlRequest, c as createGraphqlHandler, default as graphqlPlugin } from './plugin.js';
+      
Data · Package reference

@wrnexus/graphql

GraphQL schemas, routes, and framework plugin integration.

v0.8.6Private registryData

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/graphql@0.8.6

Request preview access. Never put registry tokens in source control.

Optional GraphQL endpoint plugin. Supply the executor from GraphQL.js, GraphQL Yoga, Mercurius, or another maintained engine; WRNexus owns bounded HTTP input, depth/alias limits, introspection policy, generic production errors and plugin route integration.

Complete TypeScript API

Generated from the exact installed package declarations.

export { G as GraphqlExecutionResult, a as GraphqlOptions, b as GraphqlRequest, c as createGraphqlHandler, default as graphqlPlugin } from './plugin.js';
 import '@wrnexus/plugin';
 

Examples

Copy-ready examples from the installed package documentation.

Install @wrnexus/graphql

bun add @wrnexus/graphql

Import @wrnexus/graphql

import * as graphql from "@wrnexus/graphql";
- + } } diff --git a/app/pages/packages/helpers.wrn b/app/pages/packages/helpers.wrn index 665af973..1e41bc73 100644 --- a/app/pages/packages/helpers.wrn +++ b/app/pages/packages/helpers.wrn @@ -10,11 +10,11 @@ page wrnexushelpers {
W WRNexusJS - +
-
Tooling · Package reference

@wrnexus/helpers

Safe Context URL helpers and forward-auth login redirects.

v0.8.5Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/helpers@0.8.5

Request preview access. Never put registry tokens in source control.

Safe convenience helpers for common WRNexusJS application flows. The package uses standard Context, URL, and Response values and has no runtime dependency beyond @wrnexus/core.

+
Tooling · Package reference

@wrnexus/helpers

Safe Context URL helpers and forward-auth login redirects.

v0.8.6Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/helpers@0.8.6

Request preview access. Never put registry tokens in source control.

Safe convenience helpers for common WRNexusJS application flows. The package uses standard Context, URL, and Response values and has no runtime dependency beyond @wrnexus/core.

bun add @wrnexus/helpers

The package is private, so the machine must be authenticated to the wrnexus npm organization.

Usage

@@ -156,7 +156,7 @@ export const GET = async (ctx: Context) => { };
- + } } diff --git a/app/pages/packages/i18n.wrn b/app/pages/packages/i18n.wrn index 50edd97a..2310a1e8 100644 --- a/app/pages/packages/i18n.wrn +++ b/app/pages/packages/i18n.wrn @@ -10,11 +10,11 @@ page wrnexusi18n {
W WRNexusJS - +
-
Frontend · Package reference

@wrnexus/i18n

Translation loading, locale resolution, and Intl formatting.

v0.8.5Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/i18n@0.8.5

Request preview access. Never put registry tokens in source control.

Recursive locale loading, fallback resolution, SSR/browser translations, locale formatting, and language UI blocks for WRNexusJS.

+
Frontend · Package reference

@wrnexus/i18n

Translation loading, locale resolution, and Intl formatting.

v0.8.6Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/i18n@0.8.6

Request preview access. Never put registry tokens in source control.

Recursive locale loading, fallback resolution, SSR/browser translations, locale formatting, and language UI blocks for WRNexusJS.

Locale files

Both layouts can be used together:

app/locales/en.json
@@ -231,7 +231,7 @@ const enXA = createPseudoLocale(messages.en);
 const arXB = createPseudoLocale(messages.en, { rtl: true });
- + } } diff --git a/app/pages/packages/identity.wrn b/app/pages/packages/identity.wrn index 96ac17e8..5060700c 100644 --- a/app/pages/packages/identity.wrn +++ b/app/pages/packages/identity.wrn @@ -10,11 +10,11 @@ page wrnexusidentity {
W WRNexusJS - +
-
Security · Package reference

@wrnexus/identity

Portable identity records, claims, and account linking.

v0.8.5Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/identity@0.8.5

Request preview access. Never put registry tokens in source control.

Enterprise identity and governance for WRNexusJS: OIDC discovery, signed SAML adapter flows, LDAP/Active Directory synchronization adapters, SCIM provisioning, scoped API keys, service accounts, approval workflows, consent history, retention, subject export/deletion and audit.

+
Security · Package reference

@wrnexus/identity

Portable identity records, claims, and account linking.

v0.8.6Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/identity@0.8.6

Request preview access. Never put registry tokens in source control.

Enterprise identity and governance for WRNexusJS: OIDC discovery, signed SAML adapter flows, LDAP/Active Directory synchronization adapters, SCIM provisioning, scoped API keys, service accounts, approval workflows, consent history, retention, subject export/deletion and audit.

The package complements @wrnexus/auth (passkeys, MFA, devices, sessions, OAuth and audited impersonation) and @wrnexus/authz (RBAC, ABAC and policy decisions). Protocol-specific SAML and directory parsing is supplied through adapters so applications can select a maintained vendor SDK without weakening framework validation, replay protection or governance auditing.

Complete TypeScript API

Generated from the exact installed package declarations.

interface OidcMetadata {
     issuer: string;
     authorization_endpoint: string;
@@ -233,7 +233,7 @@ export { type DirectoryAdapter, type EnterpriseIdentity, type GovernanceEve
 

Examples

Copy-ready examples from the installed package documentation.

Install @wrnexus/identity

bun add @wrnexus/identity

Import @wrnexus/identity

import * as identity from "@wrnexus/identity";
- + } } diff --git a/app/pages/packages/image.wrn b/app/pages/packages/image.wrn index 1749c97c..26dbc160 100644 --- a/app/pages/packages/image.wrn +++ b/app/pages/packages/image.wrn @@ -10,11 +10,11 @@ page wrnexusimage {
W WRNexusJS - +
-
Frontend · Package reference

@wrnexus/image

Responsive image optimization, loaders, placeholders, and components.

v0.8.5Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/image@0.8.5

Request preview access. Never put registry tokens in source control.

Secure responsive-image planning, loader adapters, picture sources, preload hints, placeholders, and performance auditing for WRNexusJS.

+
Frontend · Package reference

@wrnexus/image

Responsive image optimization, loaders, placeholders, and components.

v0.8.6Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/image@0.8.6

Request preview access. Never put registry tokens in source control.

Secure responsive-image planning, loader adapters, picture sources, preload hints, placeholders, and performance auditing for WRNexusJS.

Build-time conversion is available through optimizeImage. It normalizes and bounds width/format variants, prevents variant explosions, writes deterministic filenames, and returns a manifest with dimensions and byte sizes:

import { optimizeImage } from "@wrnexus/image";
 
@@ -219,7 +219,7 @@ const picture = createPicture({
 });
- + } } diff --git a/app/pages/packages/jwt.wrn b/app/pages/packages/jwt.wrn index f2edea8e..dd4b0c15 100644 --- a/app/pages/packages/jwt.wrn +++ b/app/pages/packages/jwt.wrn @@ -10,11 +10,11 @@ page wrnexusjwt {
W WRNexusJS - +
-
Security · Package reference

@wrnexus/jwt

HS256 JWT signing, verification, and bearer authentication.

v0.8.5Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/jwt@0.8.5

Request preview access. Never put registry tokens in source control.

Dependency-free JSON Web Tokens (HS256) via Web Crypto, plus a bearer-token auth middleware for WRNexusJS.
+
Security · Package reference

@wrnexus/jwt

HS256 JWT signing, verification, and bearer authentication.

v0.8.6Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/jwt@0.8.6

Request preview access. Never put registry tokens in source control.

Dependency-free JSON Web Tokens (HS256) via Web Crypto, plus a bearer-token auth middleware for WRNexusJS.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

Overview

@wrnexus/jwt signs and verifies stateless JSON Web Tokens using the HS256 (HMAC-SHA-256) algorithm. It has no runtime dependencies — signing and verification are implemented directly on the standard Web Crypto API (crypto.subtle), which Bun provides natively. It runs server-side and pairs with the session-based auth in @wrnexus/core, giving you a stateless option for API and mobile clients. Reach for it when you need bearer-token auth rather than cookie sessions.

@@ -316,7 +316,7 @@ app.use(jwtAuth({ secret: process.env.JWT_SECRET! })); app.use(jwtAuth({ secret: process.env.JWT_SECRET!, required: false }));
- + } } diff --git a/app/pages/packages/language-server.wrn b/app/pages/packages/language-server.wrn index b468d375..2d3b7bca 100644 --- a/app/pages/packages/language-server.wrn +++ b/app/pages/packages/language-server.wrn @@ -10,11 +10,11 @@ page wrnexuslanguageserver {
W WRNexusJS - +
-
Tooling · Package reference

@wrnexus/language-server

Editor-neutral language intelligence for WRN files.

v0.8.5Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/language-server@0.8.5

Request preview access. Never put registry tokens in source control.

Editor-neutral Language Server Protocol support for .wrn files. It uses the canonical @wrnexus/syntax parser, diagnostics, accessibility rules, and formatter.

+
Tooling · Package reference

@wrnexus/language-server

Editor-neutral language intelligence for WRN files.

v0.8.6Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/language-server@0.8.6

Request preview access. Never put registry tokens in source control.

Editor-neutral Language Server Protocol support for .wrn files. It uses the canonical @wrnexus/syntax parser, diagnostics, accessibility rules, and formatter.

bunx wrnexus-language-server --stdio

Capabilities include syntax, accessibility and TypeScript expression diagnostics, formatting, completion, hover, document symbols, go-to-definition, references, rename, and quick fixes. The custom wrnexus/virtualDocument request returns the mapped TypeScript representation of an open .wrn document for editor TypeScript plugins and safe refactoring tools. Any LSP 3.x client can launch the stdio command. Example Neovim configuration:

vim.lsp.start({
@@ -157,7 +157,7 @@ export { type Position, type Range, type TextDocument, WRN_COMPLETIONS, typ
 })
- + } } diff --git a/app/pages/packages/mcp.wrn b/app/pages/packages/mcp.wrn index a280d511..f3c5c317 100644 --- a/app/pages/packages/mcp.wrn +++ b/app/pages/packages/mcp.wrn @@ -10,11 +10,11 @@ page wrnexusmcp {
W WRNexusJS - +
-
Tooling · Package reference

@wrnexus/mcp

Model Context Protocol tools for WRNexus projects.

v0.8.5Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/mcp@0.8.5

Request preview access. Never put registry tokens in source control.

Editor-neutral Model Context Protocol server for AI development tools.

+
Tooling · Package reference

@wrnexus/mcp

Model Context Protocol tools for WRNexus projects.

v0.8.6Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/mcp@0.8.6

Request preview access. Never put registry tokens in source control.

Editor-neutral Model Context Protocol server for AI development tools.

bunx wrnexus-mcp --root=.

It exposes current routes, components with props/events, database schema files, compiler diagnostics, runtime errors, dev-server health, framework documentation and installed packages. Files are resolved inside the configured application root and returned as bounded structured JSON.

Complete TypeScript API

Generated from the exact installed package declarations.

interface McpTool {
     name: string;
@@ -43,7 +43,7 @@ export { type McpServer, type McpServerOptions, type McpTool, createFramewo
 

Examples

Copy-ready examples from the installed package documentation.

Editor-neutral Model Context Protocol server for AI development tools.

bunx wrnexus-mcp --root=.

Install @wrnexus/mcp

bun add @wrnexus/mcp
- + } } diff --git a/app/pages/packages/mobile.wrn b/app/pages/packages/mobile.wrn index f38b7fb1..63edc6f5 100644 --- a/app/pages/packages/mobile.wrn +++ b/app/pages/packages/mobile.wrn @@ -10,11 +10,11 @@ page wrnexusmobile {
W WRNexusJS - +
-
Native · Package reference

@wrnexus/mobile

SSR-safe compatibility access to Capacitor plugins.

v0.8.5Private registryNative

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/mobile@0.8.5

Request preview access. Never put registry tokens in source control.

SSR-safe access to Capacitor plugins from WRNexusJS browser code.
+
Native · Package reference

@wrnexus/mobile

SSR-safe compatibility access to Capacitor plugins.

v0.8.6Private registryNative

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/mobile@0.8.6

Request preview access. Never put registry tokens in source control.

SSR-safe access to Capacitor plugins from WRNexusJS browser code.

Overview

@wrnexus/mobile keeps optional native imports out of server rendering while giving browser-owned modules one consistent registry for Capacitor plugins. During SSR, mobile.isNative() is false and mobile.platform() is "web".

Install a plugin through the WRNexusJS CLI so the web and native projects stay aligned:

@@ -213,7 +213,7 @@ const network = mobile.plugin<NetworkPlugin>("Network"); const status = network ? await network.getStatus() : { connected: true, connectionType: "unknown" };
- + } } diff --git a/app/pages/packages/native.wrn b/app/pages/packages/native.wrn index 5fba8fed..3401b9b2 100644 --- a/app/pages/packages/native.wrn +++ b/app/pages/packages/native.wrn @@ -10,11 +10,11 @@ page wrnexusnative {
W WRNexusJS - +
-
Native · Package reference

@wrnexus/native

Cross-platform browser and Capacitor capability registry.

v0.8.5Private registryNative

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/native@0.8.5

Request preview access. Never put registry tokens in source control.

Cross-platform capabilities for browsers, Capacitor WebViews, and compiled native apps.
+
Native · Package reference

@wrnexus/native

Cross-platform browser and Capacitor capability registry.

v0.8.6Private registryNative

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/native@0.8.6

Request preview access. Never put registry tokens in source control.

Cross-platform capabilities for browsers, Capacitor WebViews, and compiled native apps.

Overview

@wrnexus/native exposes capabilities by name so application code can ask what the current platform supports before presenting an action. Browser capabilities use Web APIs; mobile capabilities use installed Capacitor plugins. platform() returns "server" during SSR, "browser" on the web, and the Capacitor platform in a native WebView.

bun add @wrnexus/native
@@ -154,7 +154,7 @@ const position = await native.run( );
- + } } diff --git a/app/pages/packages/oauth.wrn b/app/pages/packages/oauth.wrn index 54088b6b..529f7a22 100644 --- a/app/pages/packages/oauth.wrn +++ b/app/pages/packages/oauth.wrn @@ -10,11 +10,11 @@ page wrnexusoauth {
W WRNexusJS - +
-
Security · Package reference

@wrnexus/oauth

OAuth 2.0, PKCE, provider presets, and profile mapping.

v0.8.5Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/oauth@0.8.5

Request preview access. Never put registry tokens in source control.

Dependency-free OAuth 2.0 sign-in for any provider, with PKCE and presets for Google, GitHub, and Discord.
+
Security · Package reference

@wrnexus/oauth

OAuth 2.0, PKCE, provider presets, and profile mapping.

v0.8.6Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/oauth@0.8.6

Request preview access. Never put registry tokens in source control.

Dependency-free OAuth 2.0 sign-in for any provider, with PKCE and presets for Google, GitHub, and Discord.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

Overview

@wrnexus/oauth implements the OAuth 2.0 Authorization Code flow (with PKCE) for server-side sign-in. It ships ready-made provider presets and a defineProvider helper for custom providers, then gives you two flow functions — startAuth (build the redirect) and completeAuth (exchange the code and fetch the user's profile). It has no runtime dependencies: it uses the platform fetch and WebCrypto only. Pairs naturally with @wrnexus/core's logIn to establish a session once you have a normalized profile.

@@ -350,7 +350,7 @@ const gitlab = defineProvider({ });
- + } } diff --git a/app/pages/packages/observability.wrn b/app/pages/packages/observability.wrn index c40b545c..8e435d3c 100644 --- a/app/pages/packages/observability.wrn +++ b/app/pages/packages/observability.wrn @@ -10,11 +10,11 @@ page wrnexusobservability {
W WRNexusJS - +
-
Runtime · Package reference

@wrnexus/observability

Structured logging, tracing, health, and integration adapters.

v0.8.5Private registryRuntime

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/observability@0.8.5

Request preview access. Never put registry tokens in source control.

Open-standard traces, metrics, logs, health checks, Web Vitals, error reporting and profiling.

+
Runtime · Package reference

@wrnexus/observability

Structured logging, tracing, health, and integration adapters.

v0.8.6Private registryRuntime

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/observability@0.8.6

Request preview access. Never put registry tokens in source control.

Open-standard traces, metrics, logs, health checks, Web Vitals, error reporting and profiling.

Use createOperationTracer() for database, cache, queue, realtime, server-action or custom application spans. Export through OTLP, Prometheus, Zipkin/Jaeger, or the Sentry-compatible error reporter; Grafana can consume the Prometheus or OTLP signals.

Privacy-conscious counters, gauges, histograms, HTTP middleware, Web Vitals ingestion, browser collection, and exporter adapters. Request bodies and user identifiers are not collected by default.

export default {
@@ -126,7 +126,7 @@ export const live = createLivenessHandler();
 export const ready = createReadinessHandler(health);
- + } } diff --git a/app/pages/packages/playground.wrn b/app/pages/packages/playground.wrn index f758ab12..7f0f4f91 100644 --- a/app/pages/packages/playground.wrn +++ b/app/pages/packages/playground.wrn @@ -10,11 +10,11 @@ page wrnexusplayground {
W WRNexusJS - +
-
Tooling · Package reference

@wrnexus/playground

Interactive framework examples and executable playground utilities.

v0.8.5Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/playground@0.8.5

Request preview access. Never put registry tokens in source control.

A deployable, shareable .wrn playground with diagnostics, generated JavaScript, safe SSR-shaped HTML, sandboxed preview, reactive/UI examples, and version adapters.

+
Tooling · Package reference

@wrnexus/playground

Interactive framework examples and executable playground utilities.

v0.8.6Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/playground@0.8.6

Request preview access. Never put registry tokens in source control.

A deployable, shareable .wrn playground with diagnostics, generated JavaScript, safe SSR-shaped HTML, sandboxed preview, reactive/UI examples, and version adapters.

Run wrnexus playground, or deploy createPlaygroundHandler().

Complete TypeScript API

Generated from the exact installed package declarations.

interface PlaygroundCompilation {
     source: string;
     generated: string;
@@ -59,7 +59,7 @@ export { type PlaygroundCompilation, type PlaygroundVersionAdapter, compare
 

Examples

Copy-ready examples from the installed package documentation.

Install @wrnexus/playground

bun add @wrnexus/playground

Import @wrnexus/playground

import * as playground from "@wrnexus/playground";
- + } } diff --git a/app/pages/packages/plugin.wrn b/app/pages/packages/plugin.wrn index f0e960e3..c40199ab 100644 --- a/app/pages/packages/plugin.wrn +++ b/app/pages/packages/plugin.wrn @@ -10,11 +10,11 @@ page wrnexusplugin {
W WRNexusJS - +
-
Core · Package reference

@wrnexus/plugin

Plugin contracts, lifecycle hooks, composition, and framework integration.

v0.8.5Private registryCore

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/plugin@0.8.5

Request preview access. Never put registry tokens in source control.

Least-privilege package permissions

+
Core · Package reference

@wrnexus/plugin

Plugin contracts, lifecycle hooks, composition, and framework integration.

v0.8.6Private registryCore

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/plugin@0.8.6

Request preview access. Never put registry tokens in source control.

Least-privilege package permissions

Package manifests declare every framework capability they register:

{
   "wrnexus": {
@@ -79,7 +79,7 @@ export { type PluginCompatibilityResult, type PluginCompatibilityTarget, Pl
 };
- + } } diff --git a/app/pages/packages/pubsub.wrn b/app/pages/packages/pubsub.wrn index 4ffd6473..ff1395b7 100644 --- a/app/pages/packages/pubsub.wrn +++ b/app/pages/packages/pubsub.wrn @@ -10,11 +10,11 @@ page wrnexuspubsub {
W WRNexusJS - +
-
Realtime · Package reference

@wrnexus/pubsub

In-process and Redis-backed publish/subscribe.

v0.8.5Private registryRealtime

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/pubsub@0.8.5

Request preview access. Never put registry tokens in source control.

Topic-based publish/subscribe with a pluggable driver — in-process by default, Redis for cross-process messaging.
+
Realtime · Package reference

@wrnexus/pubsub

In-process and Redis-backed publish/subscribe.

v0.8.6Private registryRealtime

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/pubsub@0.8.6

Request preview access. Never put registry tokens in source control.

Topic-based publish/subscribe with a pluggable driver — in-process by default, Redis for cross-process messaging.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

Overview

@wrnexus/pubsub is a small server-side pub/sub bus. You publish messages to a topic and subscribe with topic patterns; handlers fire for matching topics. The default driver keeps everything in-process, and you can swap in the Redis driver (@wrnexus/pubsub/redis) to fan messages out across processes or hosts. It also backs @wrnexus/core's realtime bridge for horizontal scaling.

@@ -197,7 +197,7 @@ await bus.publish("order:created", { id: 7 }); await bus.close();
- + } } diff --git a/app/pages/packages/pwa.wrn b/app/pages/packages/pwa.wrn index 0a46bd13..73bb5bd6 100644 --- a/app/pages/packages/pwa.wrn +++ b/app/pages/packages/pwa.wrn @@ -10,11 +10,11 @@ page wrnexuspwa {
W WRNexusJS - +
-
Frontend · Package reference

@wrnexus/pwa

Progressive Web App manifests, service workers, and offline strategies.

v0.8.5Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/pwa@0.8.5

Request preview access. Never put registry tokens in source control.

Official PWA primitives for manifests, service workers, offline pages and precaching, runtime caching, background synchronization, push notifications, install/update events, offline mutation stores, and conflict resolution. createOfflineQueue() accepts a durable IndexedDB-style store and retries requests with stable idempotency headers.

Complete TypeScript API

Generated from the exact installed package declarations.

interface IndexedDbMigration {
+      
Frontend · Package reference

@wrnexus/pwa

Progressive Web App manifests, service workers, and offline strategies.

v0.8.6Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/pwa@0.8.6

Request preview access. Never put registry tokens in source control.

Official PWA primitives for manifests, service workers, offline pages and precaching, runtime caching, background synchronization, push notifications, install/update events, offline mutation stores, and conflict resolution. createOfflineQueue() accepts a durable IndexedDB-style store and retries requests with stable idempotency headers.

Complete TypeScript API

Generated from the exact installed package declarations.

interface IndexedDbMigration {
     version: number;
     migrate(db: IDBDatabase, transaction: IDBTransaction): void;
 }
@@ -176,7 +176,7 @@ export { type ConflictResolution, type IndexedDbMigration, type OfflineMuta
 

Examples

Copy-ready examples from the installed package documentation.

Install @wrnexus/pwa

bun add @wrnexus/pwa

Import @wrnexus/pwa

import * as pwa from "@wrnexus/pwa";
- + } } diff --git a/app/pages/packages/queue.wrn b/app/pages/packages/queue.wrn index ccc39529..e6740cf9 100644 --- a/app/pages/packages/queue.wrn +++ b/app/pages/packages/queue.wrn @@ -10,11 +10,11 @@ page wrnexusqueue {
W WRNexusJS - +
-
Data · Package reference

@wrnexus/queue

Background jobs with delay, concurrency, retry, and repetition.

v0.8.5Private registryData

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/queue@0.8.5

Request preview access. Never put registry tokens in source control.

A background job queue with delays, retries + exponential backoff, recurring jobs, and concurrent workers.
+
Data · Package reference

@wrnexus/queue

Background jobs with delay, concurrency, retry, and repetition.

v0.8.6Private registryData

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/queue@0.8.6

Request preview access. Never put registry tokens in source control.

A background job queue with delays, retries + exponential backoff, recurring jobs, and concurrent workers.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

Overview

@wrnexus/queue is a server-side in-process job queue. You register named workers, enqueue jobs (optionally delayed or recurring), and let the queue poll and run them on a timer — with per-job retry limits and doubling backoff between attempts. The default store lives in memory; the design allows a pluggable driver to back it with Redis/SQL for durability across restarts. Reach for it when you need to defer work (emails, webhooks, cleanup) off the request path without a heavyweight external broker. Tests can drive it deterministically via drain().

@@ -421,7 +421,7 @@ const run = await engine.start(workflow, input); await engine.approve(workflow, run.id, "approve", currentUser.id);
- + } } diff --git a/app/pages/packages/reactive.wrn b/app/pages/packages/reactive.wrn index 2ae1bef2..57295364 100644 --- a/app/pages/packages/reactive.wrn +++ b/app/pages/packages/reactive.wrn @@ -10,11 +10,11 @@ page wrnexusreactive {
W WRNexusJS - +
-
Frontend · Package reference

@wrnexus/reactive

Small type-safe reactive signal primitives.

v0.8.5Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/reactive@0.8.5

Request preview access. Never put registry tokens in source control.

Tiny, type-safe reactive primitives (signals) with zero dependencies.
+
Frontend · Package reference

@wrnexus/reactive

Small type-safe reactive signal primitives.

v0.8.6Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/reactive@0.8.6

Request preview access. Never put registry tokens in source control.

Tiny, type-safe reactive primitives (signals) with zero dependencies.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

Overview

@wrnexus/reactive is the seed of WRNexusJS's reactivity layer: a minimal signal primitive that holds a value, notifies subscribers when it changes, and hands back an unsubscribe function. It is deliberately small and framework-agnostic — it powers nothing on its own, but is shaped so client islands (and later the .wrn compiler's state blocks) can build reactive bindings on top of it. Reach for it when you need observable state without pulling in a full reactivity library.

@@ -206,7 +206,7 @@ const user: Signal<{ name: string } | null> = signal(null); user.set({ name: "Ada" });
- + } } diff --git a/app/pages/packages/realtime.wrn b/app/pages/packages/realtime.wrn index b26807c4..98786175 100644 --- a/app/pages/packages/realtime.wrn +++ b/app/pages/packages/realtime.wrn @@ -10,11 +10,11 @@ page wrnexusrealtime {
W WRNexusJS - +
-
Realtime · Package reference

@wrnexus/realtime

Rooms, presence, messaging, history, streams, and UI components.

v0.8.5Private registryRealtime

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/realtime@0.8.5

Request preview access. Never put registry tokens in source control.

Typed rooms, secure message envelopes, browser room helpers, presence utilities, and complete realtime UI blocks for WRNexusJS.

+
Realtime · Package reference

@wrnexus/realtime

Rooms, presence, messaging, history, streams, and UI components.

v0.8.6Private registryRealtime

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/realtime@0.8.6

Request preview access. Never put registry tokens in source control.

Typed rooms, secure message envelopes, browser room helpers, presence utilities, and complete realtime UI blocks for WRNexusJS.

Server rooms

import { defineRoom } from "@wrnexus/realtime";
 
@@ -267,7 +267,7 @@ history.acknowledge("support", clientId, entry.sequence);
 const missed = history.resume("support", clientId);
- + } } diff --git a/app/pages/packages/router.wrn b/app/pages/packages/router.wrn index 575d74da..29b37248 100644 --- a/app/pages/packages/router.wrn +++ b/app/pages/packages/router.wrn @@ -10,11 +10,11 @@ page wrnexusrouter {
W WRNexusJS - +
-
Core · Package reference

@wrnexus/router

Filesystem discovery, route matching, and typed route generation.

v0.8.5Private registryCore

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/router@0.8.5

Request preview access. Never put registry tokens in source control.

File-based router that maps an app/ directory onto route tables and matches request paths against them.
+
Core · Package reference

@wrnexus/router

Filesystem discovery, route matching, and typed route generation.

v0.8.6Private registryCore

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/router@0.8.6

Request preview access. Never put registry tokens in source control.

File-based router that maps an app/ directory onto route tables and matches request paths against them.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

Overview

@wrnexus/router scans an application's app/ directory once at startup and builds route tables for pages, API endpoints, realtime channels, middleware, server-rendered .wrn components, layouts, and validation schemas. It also compiles URL patterns (/users/[id]) into RegExps and matches request paths against them. Request input is never turned into a file path, which makes the router immune to path traversal. This is a server-side package used by the WRNexusJS runtime to resolve incoming requests, plus a codegen helper for compile-time typed links.

@@ -306,7 +306,7 @@ const routes = sortRoutes([{ raw: "/posts/[slug]", file: " const m = matchRoute(routes, "/posts/hello"); // { route, params: { slug: "hello" } }
- + } } diff --git a/app/pages/packages/security.wrn b/app/pages/packages/security.wrn index 104704cc..c386c8f5 100644 --- a/app/pages/packages/security.wrn +++ b/app/pages/packages/security.wrn @@ -10,11 +10,11 @@ page wrnexussecurity {
W WRNexusJS - +
-
Security · Package reference

@wrnexus/security

Security headers, CSRF protection, rate limits, and safe rendering.

v0.8.5Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/security@0.8.5

Request preview access. Never put registry tokens in source control.

Secure-by-default utilities for WRNexusJS: bounded HTML-safe serialization, prototype-pollution rejection, URL policy, secure cookies, request hardening, security presets, and SSRF-safe remote fetches.

+
Security · Package reference

@wrnexus/security

Security headers, CSRF protection, rate limits, and safe rendering.

v0.8.6Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/security@0.8.6

Request preview access. Never put registry tokens in source control.

Secure-by-default utilities for WRNexusJS: bounded HTML-safe serialization, prototype-pollution rejection, URL policy, secure cookies, request hardening, security presets, and SSRF-safe remote fetches.

import { safeFetch, securityPreset, setSecureCookie } from "@wrnexus/security";
 
 export default { security: securityPreset("strict") };
@@ -59,7 +59,7 @@ const response = await safeFetch(remoteUrl, { allowedHosts: ["api.exam
 setSecureCookie(ctx, "__Host-session", sessionId);

Install @wrnexus/security

bun add @wrnexus/security
- + } } diff --git a/app/pages/packages/ssr.wrn b/app/pages/packages/ssr.wrn index e26fe9b5..b7c7d2b2 100644 --- a/app/pages/packages/ssr.wrn +++ b/app/pages/packages/ssr.wrn @@ -10,11 +10,11 @@ page wrnexusssr {
W WRNexusJS - +
-
Runtime · Package reference

@wrnexus/ssr

Secure HTML document rendering and SEO metadata.

v0.8.5Private registryRuntime

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/ssr@0.8.5

Request preview access. Never put registry tokens in source control.

Server-side rendering: wraps a page's HTML body in a complete HTML document with a metadata-driven <head>.
+
Runtime · Package reference

@wrnexus/ssr

Secure HTML document rendering and SEO metadata.

v0.8.6Private registryRuntime

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/ssr@0.8.6

Request preview access. Never put registry tokens in source control.

Server-side rendering: wraps a page's HTML body in a complete HTML document with a metadata-driven <head>.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

Overview

Pages in WRNexusJS return an HTML string for the body. @wrnexus/ssr takes that body and produces a full HTML document — building the <head> from page metadata and global SEO defaults, resolving canonical/Open Graph/Twitter tags, and injecting module preloads and <script type="module"> tags. It is deliberately server-only: nothing in this package touches the DOM or ships to the browser, keeping server code genuinely server-only. Reach for it on the server when turning a rendered page body into a response document.

@@ -224,7 +224,7 @@ return new Response(html, { return new Response(html, { headers: { "content-type": "text/html; charset=utf-8" } });
- + } } diff --git a/app/pages/packages/store.wrn b/app/pages/packages/store.wrn index 8df3028d..c9cdcbc0 100644 --- a/app/pages/packages/store.wrn +++ b/app/pages/packages/store.wrn @@ -10,11 +10,11 @@ page wrnexusstore {
W WRNexusJS - +
-
Data · Package reference

@wrnexus/store

Application state stores shared across server and browser runtimes.

v0.8.5Private registryData

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/store@0.8.5

Request preview access. Never put registry tokens in source control.

Typed global and page-scoped WRNexusJS stores with runtime-specific state, computed values, actions, lifecycle hooks, persistence, SSR isolation, and HMR support.

+
Data · Package reference

@wrnexus/store

Application state stores shared across server and browser runtimes.

v0.8.6Private registryData

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/store@0.8.6

Request preview access. Never put registry tokens in source control.

Typed global and page-scoped WRNexusJS stores with runtime-specific state, computed values, actions, lifecycle hooks, persistence, SSR isolation, and HMR support.

Use defineStore() to declare a store and createStoreContainer() to create an isolated request or browser container. Store definitions are framework helpers and do not require UI components.

Complete TypeScript API

Generated from the exact installed package declarations.

import { StoreMutation, StoreFunction, StoreDefinition, StoreInstance, StoreCombinedState } from './types.js';
 export { PersistenceStorage, StoreActionContext, StoreActionDefinition, StoreInstanceCore, StoreKind, StoreLifecycleContext, StorePersistenceConfig, StoreRuntime } from './types.js';
 
@@ -62,7 +62,7 @@ export { StoreCombinedState, StoreContainer, type StoreContainerOptions, St
 

Examples

Copy-ready examples from the installed package documentation.

Install @wrnexus/store

bun add @wrnexus/store

Import @wrnexus/store

import * as store from "@wrnexus/store";
- + } } diff --git a/app/pages/packages/styles.wrn b/app/pages/packages/styles.wrn index 3fb5bfe8..341e92a2 100644 --- a/app/pages/packages/styles.wrn +++ b/app/pages/packages/styles.wrn @@ -10,11 +10,11 @@ page wrnexusstyles {
W WRNexusJS - +
-
Frontend · Package reference

@wrnexus/styles

CSS pipeline, themes, fonts, profiles, and application config.

v0.8.5Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/styles@0.8.5

Request preview access. Never put registry tokens in source control.

Reusable layers and presets

+
Frontend · Package reference

@wrnexus/styles

CSS pipeline, themes, fonts, profiles, and application config.

v0.8.6Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/styles@0.8.6

Request preview access. Never put registry tokens in source control.

Reusable layers and presets

Compose local or package foundations in order; later layers override earlier ones and the application has final base-config precedence:

export default defineConfig({
   extends: ["@workroot/wrnexus-enterprise", "./layers/company"],
@@ -199,7 +199,7 @@ import { StorageConfig } from '@wrnexus/uploader';
  * emitted as the native CSS property instead of a custom property.
  */
 type ThemeSemanticColor = "primary" | "secondary" | "info" | "success" | "warning" | "danger" | "error";
-type ThemeToken = "color-scheme" | "color-bg" | "color-background" | "color-foreground" | "color-surface" | "color-surface-2" | "color-surface-raised" | "color-surface-muted" | "color-text" | "color-text-muted" | "color-text-subtle" | "color-muted" | "color-border" | "color-border-strong" | "color-code-background" | "color-code-surface" | "color-code-text" | "color-code-muted" | "color-code-border" | `color-${ThemeSemanticColor}` | `color-${ThemeSemanticColor}-${"hover" | "active" | "contrast" | "soft" | "muted" | "text"}` | `color-on-${"primary" | "secondary"}` | "radius" | "radius-sm" | "shadow-1" | "shadow-sm" | "shadow-md" | "shadow-lg" | "space-section" | "space-section-sm" | "container-max" | "font-sans";
+type ThemeToken = "color-scheme" | "color-bg" | "color-background" | "color-foreground" | "color-surface" | "color-surface-2" | "color-surface-raised" | "color-surface-muted" | "color-surface-soft" | "color-text" | "color-text-muted" | "color-text-subtle" | "color-muted" | "color-border" | "color-border-strong" | "color-code-background" | "color-code-surface" | "color-code-text" | "color-code-muted" | "color-code-border" | `color-${ThemeSemanticColor}` | `color-${ThemeSemanticColor}-${"hover" | "active" | "contrast" | "soft" | "muted" | "text"}` | `color-on-${"primary" | "secondary"}` | "radius" | "radius-sm" | "shadow-1" | "shadow-sm" | "shadow-md" | "shadow-lg" | "space-section" | "space-section-sm" | "container-max" | "font-sans";
 /** Known tokens get autocomplete while applications may add namespaced custom tokens. */
 type ThemeTokens = Partial<Record<ThemeToken, string>> & Record<string, string>;
 declare function defineThemeTokens<T extends ThemeTokens>(tokens: T): T;
@@ -885,7 +885,7 @@ const themeJs = renderThemeRuntime(theme); // served at THEME_JS_HREF
- + } } diff --git a/app/pages/packages/syntax.wrn b/app/pages/packages/syntax.wrn index b6fb812d..71c4b333 100644 --- a/app/pages/packages/syntax.wrn +++ b/app/pages/packages/syntax.wrn @@ -10,11 +10,11 @@ page wrnexussyntax {
W WRNexusJS - +
-
Frontend · Package reference

@wrnexus/syntax

Editor syntax definitions and language tooling for .wrn files.

v0.8.5Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/syntax@0.8.5

Request preview access. Never put registry tokens in source control.

Canonical WRN lexer, parser, AST, language metadata, source positions, and stable diagnostics. Framework tooling should import this package instead of implementing a separate .wrn parser.

+
Frontend · Package reference

@wrnexus/syntax

Editor syntax definitions and language tooling for .wrn files.

v0.8.6Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/syntax@0.8.6

Request preview access. Never put registry tokens in source control.

Canonical WRN lexer, parser, AST, language metadata, source positions, and stable diagnostics. Framework tooling should import this package instead of implementing a separate .wrn parser.

See docs/WRN-LANGUAGE-SPEC-1.0.md in the WRNexusJS repository.

Complete TypeScript API

Generated from the exact installed package declarations.

export { LexError, Lexer } from './tokenizer.js';
 export { FormatWrnOptions, formatWrn } from './formatter.js';
 export { A as ActionBlock, a as ApiBlock, b as Attr, C as ComputedDecl, D as DataApiBlock, c as DataMode, E as EffectBlock, d as EventDecl, F as FunctionParameterDecl, e as FunctionRuntime, L as LifecycleBlock, f as LoadBlock, M as ModeFunctionsBlock, O as OutputDecl, P as PageAst, g as ParseError, h as PersistDecl, i as PropDecl, R as RealtimeBlock, j as RealtimeHandler, k as RuntimeFunctionDecl, S as SeoBlock, l as StateDecl, m as StateRuntime, n as StoreKind, o as StoreLifecycleDecl, p as StructuredImportDecl, V as VOID_ELEMENTS, q as ViewNode, W as WatchBlock, r as parse, s as parseComputedDeclarations, t as parseHtmlView, u as parseOutputs, v as parsePersist, w as parseRuntimeFunctions, x as parseStateDeclarations, y as parseStoreLifecycle, z as parseStructuredImports, B as stripRuntimeFunctionModifiers } from './parser-CTLO4mcT.js';
@@ -49,7 +49,7 @@ const ast = parse('component Greeting { view { <p>Hello</p>
 const summary = diagnosticSummary(diagnose(source));
- + } } diff --git a/app/pages/packages/test.wrn b/app/pages/packages/test.wrn index e2f5cddc..6b0cc531 100644 --- a/app/pages/packages/test.wrn +++ b/app/pages/packages/test.wrn @@ -10,11 +10,11 @@ page wrnexustest {
W WRNexusJS - +
-
Tooling · Package reference

@wrnexus/test

WRNexusJS-aware component, route, and browser testing utilities.

v0.8.5Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/test@0.8.5

Request preview access. Never put registry tokens in source control.

Testing utilities for WRNexusJS apps — component rendering, reactive-DOM mounting, route handler calls, and a full in-process app harness, plus a one-import re-export of bun:test.
+
Tooling · Package reference

@wrnexus/test

WRNexusJS-aware component, route, and browser testing utilities.

v0.8.6Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/test@0.8.6

Request preview access. Never put registry tokens in source control.

Testing utilities for WRNexusJS apps — component rendering, reactive-DOM mounting, route handler calls, and a full in-process app harness, plus a one-import re-export of bun:test.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

Overview

@wrnexus/test is the server-side test toolkit you reach for when writing tests for a WRNexusJS app. It runs under bun test (invoked via wrnexus test) and gives you a single import surface: the bun:test primitives (test, expect, mock, …) re-exported alongside WRNexusJS-aware helpers that compile .wrn components, hydrate server HTML in a DOM, invoke API route handlers, and boot the real app on an ephemeral port for integration tests.

@@ -267,7 +267,7 @@ test("health endpoint", async () => { });
- + } } diff --git a/app/pages/packages/tracking.wrn b/app/pages/packages/tracking.wrn index d677a682..d8e1e36f 100644 --- a/app/pages/packages/tracking.wrn +++ b/app/pages/packages/tracking.wrn @@ -10,11 +10,11 @@ page wrnexustracking {
W WRNexusJS - +
-
Runtime · Package reference

@wrnexus/tracking

Error/event capture, middleware, filtering, and sinks.

v0.8.5Private registryRuntime

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/tracking@0.8.5

Request preview access. Never put registry tokens in source control.

Error tracking for WRNexusJS apps: capture exceptions manually or via middleware and fan them out to pluggable sinks.
+
Runtime · Package reference

@wrnexus/tracking

Error/event capture, middleware, filtering, and sinks.

v0.8.6Private registryRuntime

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/tracking@0.8.6

Request preview access. Never put registry tokens in source control.

Error tracking for WRNexusJS apps: capture exceptions manually or via middleware and fan them out to pluggable sinks.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

Overview

@wrnexus/tracking is a small, server-side error-capture layer. You create a tracker with one or more sinks, then feed it errors — either manually with tracker.capture(err, context) or automatically by mounting tracker.middleware() in your request pipeline. A consoleSink is included; forwarding to Sentry, Datadog, or any other backend is just a matter of writing a tiny sink. Reach for it when you want a single, sink-agnostic place to route application errors. Sinks run best-effort — a throwing sink never breaks the request.

@@ -199,7 +199,7 @@ const tracker = createTracker({ tracker.addSink(anotherSink); // add more sinks later
- + } } diff --git a/app/pages/packages/typecheck.wrn b/app/pages/packages/typecheck.wrn index f96b25be..cf9f4cbd 100644 --- a/app/pages/packages/typecheck.wrn +++ b/app/pages/packages/typecheck.wrn @@ -10,11 +10,11 @@ page wrnexustypecheck {
W WRNexusJS - +
-
Tooling · Package reference

@wrnexus/typecheck

WRN-aware TypeScript diagnostics and virtual documents.

v0.8.5Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/typecheck@0.8.5

Request preview access. Never put registry tokens in source control.

Static type checking for .wrn declarations, props, state, outputs, functions, stores, and generated virtual TypeScript files.

+
Tooling · Package reference

@wrnexus/typecheck

WRN-aware TypeScript diagnostics and virtual documents.

v0.8.6Private registryTooling

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/typecheck@0.8.6

Request preview access. Never put registry tokens in source control.

Static type checking for .wrn declarations, props, state, outputs, functions, stores, and generated virtual TypeScript files.

The package is compiler tooling rather than a browser UI package, so its public kit consists of programmatic typecheck helpers and diagnostics.

Complete TypeScript API

Generated from the exact installed package declarations.

import { PageAst } from '@wrnexus/syntax';
 export { componentContract, storeContract } from './contracts.js';
 export { findAppRoot, loadApplicationTypes } from './project.js';
@@ -65,7 +65,7 @@ export { type TypecheckOptions, type VirtualTypeScriptModule, type WrnTypeD
 

Examples

Copy-ready examples from the installed package documentation.

Install @wrnexus/typecheck

bun add @wrnexus/typecheck

Import @wrnexus/typecheck

import * as typecheck from "@wrnexus/typecheck";
- + } } diff --git a/app/pages/packages/ui.wrn b/app/pages/packages/ui.wrn index 61bc7de4..7ec6c9dc 100644 --- a/app/pages/packages/ui.wrn +++ b/app/pages/packages/ui.wrn @@ -10,11 +10,11 @@ page wrnexusui {
W WRNexusJS - +
-
Frontend · Package reference

@wrnexus/ui

Themeable server-rendered UI components and CSS.

v0.8.5Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/ui@0.8.5

Request preview access. Never put registry tokens in source control.

First-party Wire UI component library — a set of themeable .wrn components plus a single tokenized stylesheet.
+
Frontend · Package reference

@wrnexus/ui

Themeable server-rendered UI components and CSS.

v0.8.6Private registryFrontend

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/ui@0.8.6

Request preview access. Never put registry tokens in source control.

First-party Wire UI component library — a set of themeable .wrn components plus a single tokenized stylesheet.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

Overview

@wrnexus/ui ships a library of server-rendered .wrn components (layout, form controls, and feedback UI) together with one themeable stylesheet, ui.css. The components are auto-discovered by the framework router — you don't import them in code. Once the package's component directory is on the router's scan path, you mount any component in a page with data-component="<name>". Every visual is driven by var(--wire-*) theme tokens, so components restyle instantly when the theme changes. The tiny JS surface (src/index.ts) exists only so the toolchain (CLI build + dev server) can locate the component directory and stylesheet.

@@ -108,7 +108,7 @@ const router = buildRouter(appDir, { componentDirs: [uiComponentsDir()]  </div>

Explore the component library

Browse interactive examples and complete component usage in the dedicated WRNexusJS component showcase.

Browse all 108 components →

- + } } diff --git a/app/pages/packages/uploader.wrn b/app/pages/packages/uploader.wrn index f51a84de..b7d676c7 100644 --- a/app/pages/packages/uploader.wrn +++ b/app/pages/packages/uploader.wrn @@ -10,11 +10,11 @@ page wrnexusuploader {
W WRNexusJS - +
-
Data · Package reference

@wrnexus/uploader

Validated local/S3 uploads and secure file serving.

v0.8.5Private registryData

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/uploader@0.8.5

Request preview access. Never put registry tokens in source control.

Config-driven file uploads + serving for WRNexusJS. Declare named storage stores (local disk or any S3-compatible backend) in wrnexus.config.ts, upload with one function call, drop a drag-and-drop widget on a page, and serve files back — public or private. Zero external dependencies (S3 is signed with a built-in AWS SigV4 implementation, like the rest of the framework).

+
Data · Package reference

@wrnexus/uploader

Validated local/S3 uploads and secure file serving.

v0.8.6Private registryData

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/uploader@0.8.6

Request preview access. Never put registry tokens in source control.

Config-driven file uploads + serving for WRNexusJS. Declare named storage stores (local disk or any S3-compatible backend) in wrnexus.config.ts, upload with one function call, drop a drag-and-drop widget on a page, and serve files back — public or private. Zero external dependencies (S3 is signed with a built-in AWS SigV4 implementation, like the rest of the framework).

Usage

Configure local and S3 stores

// wrnexus.config.ts
@@ -632,7 +632,7 @@ import { serveFromStore } from "@wrnexus/uploader";
 export const GET = serveFromStore("docs"); // your middleware decides who gets in
- + } } diff --git a/app/pages/packages/validation.wrn b/app/pages/packages/validation.wrn index acf42f66..65e54198 100644 --- a/app/pages/packages/validation.wrn +++ b/app/pages/packages/validation.wrn @@ -10,11 +10,11 @@ page wrnexusvalidation {
W WRNexusJS - +
-
Security · Package reference

@wrnexus/validation

Typed schemas, coercion, validation, and browser descriptors.

v0.8.5Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/validation@0.8.5

Request preview access. Never put registry tokens in source control.

One fluent schema, validated on the server (API bodies, env vars) and mirrored to an eval-free browser validator for forms.
+
Security · Package reference

@wrnexus/validation

Typed schemas, coercion, validation, and browser descriptors.

v0.8.6Private registrySecurity

Install the package

After WorkRoot approves private registry access, install the release-aligned package:

bun add @wrnexus/validation@0.8.6

Request preview access. Never put registry tokens in source control.

One fluent schema, validated on the server (API bodies, env vars) and mirrored to an eval-free browser validator for forms.

Part of the WRNexusJS framework — an SSR-first, Bun-native full-stack web framework.

Boundary contracts

Use ContractRegistry with defineContract or defineEvent to publish the same schema descriptors for APIs, actions, webhooks, realtime, queues, cron, pub/sub, plugins, configuration, and environment variables.

@@ -545,7 +545,7 @@ const head = `<script>${renderSchemasScript({ signup: signupSche // render a <form data-schema="signup"> with [data-error="email"] etc.
- + } } diff --git a/app/pages/releases/0.8.6.wrn b/app/pages/releases/0.8.6.wrn new file mode 100644 index 00000000..785b150b --- /dev/null +++ b/app/pages/releases/0.8.6.wrn @@ -0,0 +1,16 @@ +page Release086 { + seo { + title = "Release 0.8.6" + description = "WRNexusJS 0.8.6 release notes." + canonical = "https://wrnexusjs.dev/releases/0.8.6" + } + view { + +
+
W WRNexusJS
+ +

WRNexusJS 0.8.6

Released 2026-07-13. All 47 installed packages are aligned to this version. Highlights include the new helpers package, reliable workspace app addition, and browser SSO redirects through forward authentication. See the changelog, upgrade guide, and package references.

+ +
+ } +} \ No newline at end of file diff --git a/app/pages/roadmap.wrn b/app/pages/roadmap.wrn index 8a954c19..8583c352 100644 --- a/app/pages/roadmap.wrn +++ b/app/pages/roadmap.wrn @@ -7,10 +7,10 @@ page Roadmap { view {
-
W WRNexusJS
+
W WRNexusJS

Roadmap

Roadmap items are direction, not delivery commitments. Dates require explicit owner approval.

Now

  • Private preview onboarding and accurate package references
  • Runnable documentation fixtures and link/accessibility checks
  • License, support, and disclosure owner decisions

Next

  • Durable queue driver guidance
  • Expanded database/auth/realtime examples
  • Versioned release notes and migration fixtures

Later / exploration

  • Historical documentation selector
  • Maintained reproducible benchmarks
  • Broader mobile/native coverage
- +
} } \ No newline at end of file diff --git a/app/pages/search.wrn b/app/pages/search.wrn index 750d5a6a..026572ca 100644 --- a/app/pages/search.wrn +++ b/app/pages/search.wrn @@ -7,10 +7,10 @@ page Search { view {
-
W WRNexusJS
+
W WRNexusJS

Search documentation

This build-time index is local and sends no query to a third party. Use your browser’s find command to filter this compact index.

Core documentation

Get started · Packages · Components · Language · Architecture

Guides

Project structure · Routing · Pages and components · Server data · API routes · Middleware · Forms and validation · Authentication · Authorization · Application security · Database · Uploads · Realtime · Pub/sub · Queues · Testing · Workspaces and gateway · Deployment · Configuration and profiles · Internationalization and themes · Mobile · Observability · Upgrading · Troubleshooting

Package APIs

@wrnexus/ai · @wrnexus/authz · @wrnexus/compiler · @wrnexus/core · @wrnexus/csr · @wrnexus/db · @wrnexus/dev-server · @wrnexus/encryption · @wrnexus/helpers · @wrnexus/i18n · @wrnexus/jwt · @wrnexus/mobile · @wrnexus/native · @wrnexus/oauth · @wrnexus/pubsub · @wrnexus/queue · @wrnexus/reactive · @wrnexus/router · @wrnexus/ssr · @wrnexus/styles · @wrnexus/test · @wrnexus/tracking · @wrnexus/ui · @wrnexus/uploader · @wrnexus/validation · @wrnexus/dev-toolbar · @wrnexus/syntax · @wrnexus/plugin · @wrnexus/captcha · @wrnexus/auth · @wrnexus/store · @wrnexus/typecheck · @wrnexus/security · @wrnexus/cache · @wrnexus/image · @wrnexus/observability · @wrnexus/benchmark · @wrnexus/realtime · @wrnexus/content · @wrnexus/graphql · @wrnexus/identity · @wrnexus/language-server · @wrnexus/mcp · @wrnexus/playground · @wrnexus/pwa · @wrnexus/rpc · @wrnexus/cli

- +
} } \ No newline at end of file diff --git a/app/pages/security.wrn b/app/pages/security.wrn index 1f27bb79..5b2d9711 100644 --- a/app/pages/security.wrn +++ b/app/pages/security.wrn @@ -7,10 +7,10 @@ page Security { view {
-
W WRNexusJS
+
W WRNexusJS
-

Security

WRNexusJS provides primitives for CSP, CSRF, Trusted Types, sessions, validation, authorization, encryption, upload restrictions, request limits, and WebSocket-origin checks. Applications remain responsible for correct configuration, business authorization, secrets, dependencies, data protection, and operations.

Supported releases

Only the current private-preview release 0.8.5 is documented here. A formal old-release support window is not yet published.

Report a vulnerability

Use WorkRoot’s approved private contact path at workroot.in. Do not publish exploit details or secrets. Include affected version, impact, reproduction, and a safe contact method. Response targets, encryption key, bounty, audit, and certification are not currently claimed.

Deployment controls

Use restrictive CSP and permissions policies, HSTS only on HTTPS production origins, MIME sniffing protection, restrictive referrers, explicit CORS, secure cookies, CSRF validation, request limits, and origin checks. See application security.

- +

Security

WRNexusJS provides primitives for CSP, CSRF, Trusted Types, sessions, validation, authorization, encryption, upload restrictions, request limits, and WebSocket-origin checks. Applications remain responsible for correct configuration, business authorization, secrets, dependencies, data protection, and operations.

Supported releases

Only the current private-preview release 0.8.6 is documented here. A formal old-release support window is not yet published.

Report a vulnerability

Use WorkRoot’s approved private contact path at workroot.in. Do not publish exploit details or secrets. Include affected version, impact, reproduction, and a safe contact method. Response targets, encryption key, bounty, audit, and certification are not currently claimed.

Deployment controls

Use restrictive CSP and permissions policies, HSTS only on HTTPS production origins, MIME sniffing protection, restrictive referrers, explicit CORS, secure cookies, CSRF validation, request limits, and origin checks. See application security.

+
} } \ No newline at end of file diff --git a/app/pages/showcase.wrn b/app/pages/showcase.wrn index c33cc6e3..a9dbb152 100644 --- a/app/pages/showcase.wrn +++ b/app/pages/showcase.wrn @@ -7,10 +7,10 @@ page Showcase { view {
-
W WRNexusJS
+
W WRNexusJS
-

Showcase

Only confirmed public properties are listed; no customer or traffic claims are made.

WorkRoot

Creator/company site demonstrating a public WRNexusJS deployment. Exact deployed version and infrastructure notes await owner confirmation.

WRNexusJS docs

This documentation portal, built and verified against WRNexusJS 0.8.5 on Bun.

Screenshots are intentionally deferred until approved assets and alt text are available.

- +

Showcase

Only confirmed public properties are listed; no customer or traffic claims are made.

WorkRoot

Creator/company site demonstrating a public WRNexusJS deployment. Exact deployed version and infrastructure notes await owner confirmation.

WRNexusJS docs

This documentation portal, built and verified against WRNexusJS 0.8.6 on Bun.

Screenshots are intentionally deferred until approved assets and alt text are available.

+
} } \ No newline at end of file diff --git a/app/pages/support.wrn b/app/pages/support.wrn index 492dae60..2aedfd16 100644 --- a/app/pages/support.wrn +++ b/app/pages/support.wrn @@ -7,10 +7,10 @@ page Support { view {
-
W WRNexusJS
+
W WRNexusJS

Support

WRNexusJS has no public Discord, public issue tracker, or guaranteed community support channel listed by this repository. Preview access and support begin through WorkRoot’s public contact path.

Include WRNexusJS version, Bun version, OS, a minimal reproduction, expected and actual behavior, and sanitized logs. Never include registry tokens, credentials, session cookies, or private data.

Support scope, service levels, and commercial terms require owner confirmation.

- +
} } \ No newline at end of file diff --git a/app/pages/tutorial.wrn b/app/pages/tutorial.wrn index b2c898b1..4cd22a74 100644 --- a/app/pages/tutorial.wrn +++ b/app/pages/tutorial.wrn @@ -7,9 +7,9 @@ page Tutorial { view {
-
W WRNexusJS
+
W WRNexusJS
-
Preview · runnable-project extraction pending

Secure task board

This tutorial connects the installed 0.8.5 APIs into one design. Snippets are limited to declarations and README patterns verified in the installed packages; a CI-compiled standalone fixture remains on the roadmap.

Application shape

A .wrn page renders tasks from an SSR API binding. A shared validation schema protects mutations. Session middleware identifies users, authorization policies gate updates, and a realtime room broadcasts changes.

Schema and create route

import { v, parseBody } from "@wrnexus/validation";
+      
Preview · runnable-project extraction pending

Secure task board

This tutorial connects the installed 0.8.6 APIs into one design. Snippets are limited to declarations and README patterns verified in the installed packages; a CI-compiled standalone fixture remains on the roadmap.

Application shape

A .wrn page renders tasks from an SSR API binding. A shared validation schema protects mutations. Session middleware identifies users, authorization policies gate updates, and a realtime room broadcasts changes.

Schema and create route

import { v, parseBody } from "@wrnexus/validation";
 const task = v.object({ title: v.string().trim().min(3).max(120) });
 export const POST = async (ctx) => {
   const parsed = await parseBody(task, ctx.req);
@@ -23,7 +23,7 @@ export const POST = async (ctx) => {
     </ul></main>
   }
 }

Production checklist

  • Choose SQLite for local development or configure the supported PostgreSQL driver.
  • Run migrations before accepting traffic.
  • Enable session authentication and enforce authorization on every mutation.
  • Validate upload types and sizes; keep private objects behind authenticated routes.
  • Use Redis pub/sub when realtime rooms span processes.
  • Treat the default queue as non-durable until a production driver is selected.

Follow the focused database, authentication, authorization, realtime, and upload guides.

- +
} } \ No newline at end of file diff --git a/app/routes.gen.ts b/app/routes.gen.ts index b8257508..fa3fa738 100644 --- a/app/routes.gen.ts +++ b/app/routes.gen.ts @@ -169,6 +169,7 @@ export interface Routes { "/releases/0.8.3": Record; "/releases/0.8.4": Record; "/releases/0.8.5": Record; + "/releases/0.8.6": Record; "/roadmap": Record; "/search": Record; "/security": Record; @@ -345,6 +346,7 @@ export interface RouteNames { "releases.0.8.3": "/releases/0.8.3"; "releases.0.8.4": "/releases/0.8.4"; "releases.0.8.5": "/releases/0.8.5"; + "releases.0.8.6": "/releases/0.8.6"; "roadmap": "/roadmap"; "search": "/search"; "security": "/security"; @@ -590,6 +592,7 @@ export function route( "releases.0.8.3": "/releases/0.8.3", "releases.0.8.4": "/releases/0.8.4", "releases.0.8.5": "/releases/0.8.5", + "releases.0.8.6": "/releases/0.8.6", "roadmap": "/roadmap", "search": "/search", "security": "/security", diff --git a/app/types/wrnexus.generated.d.ts b/app/types/wrnexus.generated.d.ts index 181b940b..4454a309 100644 --- a/app/types/wrnexus.generated.d.ts +++ b/app/types/wrnexus.generated.d.ts @@ -14,7 +14,7 @@ declare namespace WRNexusGenerated { : never; type RealtimeMessage = T extends import("@wrnexus/core").RoomDefinition ? M : unknown; type QueuePayload = T extends import("@wrnexus/queue").JobDefinition ? I : unknown; - type RouteName = "404" | "access" | "architecture" | "benchmarks" | "changelog" | "examples" | "getting.started" | "guides.api.routes" | "guides.authentication" | "guides.authorization" | "guides.configuration.and.profiles" | "guides.database" | "guides.deployment" | "guides.forms.and.validation" | "guides.i18n.and.themes" | "guides.middleware" | "guides.mobile" | "guides.observability" | "guides.pages.and.components" | "guides.project.structure" | "guides.pubsub" | "guides.queues" | "guides.realtime" | "guides.routing" | "guides.security" | "guides.server.data" | "guides.testing" | "guides.troubleshooting" | "guides.upgrading" | "guides.uploads" | "guides.workspaces.and.gateway" | "index" | "language" | "license" | "packages" | "packages.ai" | "packages.auth" | "packages.authz" | "packages.benchmark" | "packages.cache" | "packages.captcha" | "packages.cli" | "packages.compiler" | "packages.content" | "packages.core" | "packages.csr" | "packages.db" | "packages.dev.server" | "packages.dev.toolbar" | "packages.encryption" | "packages.graphql" | "packages.helpers" | "packages.i18n" | "packages.identity" | "packages.image" | "packages.jwt" | "packages.language.server" | "packages.mcp" | "packages.mobile" | "packages.native" | "packages.oauth" | "packages.observability" | "packages.playground" | "packages.plugin" | "packages.pubsub" | "packages.pwa" | "packages.queue" | "packages.reactive" | "packages.realtime" | "packages.router" | "packages.security" | "packages.ssr" | "packages.store" | "packages.styles" | "packages.syntax" | "packages.test" | "packages.tracking" | "packages.typecheck" | "packages.ui" | "packages.uploader" | "packages.validation" | "releases.0.2.15" | "releases.0.2.17" | "releases.0.2.18" | "releases.0.2.19" | "releases.0.2.20" | "releases.0.2.21" | "releases.0.2.22" | "releases.0.2.23" | "releases.0.2.24" | "releases.0.2.25" | "releases.0.2.26" | "releases.0.2.27" | "releases.0.2.28" | "releases.0.2.29" | "releases.0.2.30" | "releases.0.2.31" | "releases.0.2.32" | "releases.0.2.33" | "releases.0.2.34" | "releases.0.2.35" | "releases.0.2.36" | "releases.0.2.37" | "releases.0.2.38" | "releases.0.2.39" | "releases.0.2.40" | "releases.0.2.41" | "releases.0.2.42" | "releases.0.2.43" | "releases.0.2.44" | "releases.0.2.45" | "releases.0.2.46" | "releases.0.2.47" | "releases.0.2.48" | "releases.0.2.49" | "releases.0.2.50" | "releases.0.2.51" | "releases.0.2.52" | "releases.0.2.53" | "releases.0.2.54" | "releases.0.2.55" | "releases.0.2.56" | "releases.0.2.57" | "releases.0.2.58" | "releases.0.2.59" | "releases.0.2.60" | "releases.0.2.61" | "releases.0.2.62" | "releases.0.2.63" | "releases.0.2.64" | "releases.0.2.65" | "releases.0.2.66" | "releases.0.2.67" | "releases.0.2.68" | "releases.0.2.69" | "releases.0.2.70" | "releases.0.2.71" | "releases.0.2.72" | "releases.0.2.73" | "releases.0.2.74" | "releases.0.2.75" | "releases.0.2.76" | "releases.0.2.77" | "releases.0.2.78" | "releases.0.2.79" | "releases.0.3.0" | "releases.0.3.1" | "releases.0.3.2" | "releases.0.3.3" | "releases.0.3.4" | "releases.0.3.5" | "releases.0.3.6" | "releases.0.4.0" | "releases.0.5.0" | "releases.0.5.1" | "releases.0.5.10" | "releases.0.5.11" | "releases.0.5.12" | "releases.0.5.13" | "releases.0.6.0" | "releases.0.7.0" | "releases.0.8.0" | "releases.0.8.1" | "releases.0.8.2" | "releases.0.8.3" | "releases.0.8.4" | "releases.0.8.5" | "roadmap" | "search" | "security" | "showcase" | "support" | "tutorial"; + type RouteName = "404" | "access" | "architecture" | "benchmarks" | "changelog" | "examples" | "getting.started" | "guides.api.routes" | "guides.authentication" | "guides.authorization" | "guides.configuration.and.profiles" | "guides.database" | "guides.deployment" | "guides.forms.and.validation" | "guides.i18n.and.themes" | "guides.middleware" | "guides.mobile" | "guides.observability" | "guides.pages.and.components" | "guides.project.structure" | "guides.pubsub" | "guides.queues" | "guides.realtime" | "guides.routing" | "guides.security" | "guides.server.data" | "guides.testing" | "guides.troubleshooting" | "guides.upgrading" | "guides.uploads" | "guides.workspaces.and.gateway" | "index" | "language" | "license" | "packages" | "packages.ai" | "packages.auth" | "packages.authz" | "packages.benchmark" | "packages.cache" | "packages.captcha" | "packages.cli" | "packages.compiler" | "packages.content" | "packages.core" | "packages.csr" | "packages.db" | "packages.dev.server" | "packages.dev.toolbar" | "packages.encryption" | "packages.graphql" | "packages.helpers" | "packages.i18n" | "packages.identity" | "packages.image" | "packages.jwt" | "packages.language.server" | "packages.mcp" | "packages.mobile" | "packages.native" | "packages.oauth" | "packages.observability" | "packages.playground" | "packages.plugin" | "packages.pubsub" | "packages.pwa" | "packages.queue" | "packages.reactive" | "packages.realtime" | "packages.router" | "packages.security" | "packages.ssr" | "packages.store" | "packages.styles" | "packages.syntax" | "packages.test" | "packages.tracking" | "packages.typecheck" | "packages.ui" | "packages.uploader" | "packages.validation" | "releases.0.2.15" | "releases.0.2.17" | "releases.0.2.18" | "releases.0.2.19" | "releases.0.2.20" | "releases.0.2.21" | "releases.0.2.22" | "releases.0.2.23" | "releases.0.2.24" | "releases.0.2.25" | "releases.0.2.26" | "releases.0.2.27" | "releases.0.2.28" | "releases.0.2.29" | "releases.0.2.30" | "releases.0.2.31" | "releases.0.2.32" | "releases.0.2.33" | "releases.0.2.34" | "releases.0.2.35" | "releases.0.2.36" | "releases.0.2.37" | "releases.0.2.38" | "releases.0.2.39" | "releases.0.2.40" | "releases.0.2.41" | "releases.0.2.42" | "releases.0.2.43" | "releases.0.2.44" | "releases.0.2.45" | "releases.0.2.46" | "releases.0.2.47" | "releases.0.2.48" | "releases.0.2.49" | "releases.0.2.50" | "releases.0.2.51" | "releases.0.2.52" | "releases.0.2.53" | "releases.0.2.54" | "releases.0.2.55" | "releases.0.2.56" | "releases.0.2.57" | "releases.0.2.58" | "releases.0.2.59" | "releases.0.2.60" | "releases.0.2.61" | "releases.0.2.62" | "releases.0.2.63" | "releases.0.2.64" | "releases.0.2.65" | "releases.0.2.66" | "releases.0.2.67" | "releases.0.2.68" | "releases.0.2.69" | "releases.0.2.70" | "releases.0.2.71" | "releases.0.2.72" | "releases.0.2.73" | "releases.0.2.74" | "releases.0.2.75" | "releases.0.2.76" | "releases.0.2.77" | "releases.0.2.78" | "releases.0.2.79" | "releases.0.3.0" | "releases.0.3.1" | "releases.0.3.2" | "releases.0.3.3" | "releases.0.3.4" | "releases.0.3.5" | "releases.0.3.6" | "releases.0.4.0" | "releases.0.5.0" | "releases.0.5.1" | "releases.0.5.10" | "releases.0.5.11" | "releases.0.5.12" | "releases.0.5.13" | "releases.0.6.0" | "releases.0.7.0" | "releases.0.8.0" | "releases.0.8.1" | "releases.0.8.2" | "releases.0.8.3" | "releases.0.8.4" | "releases.0.8.5" | "releases.0.8.6" | "roadmap" | "search" | "security" | "showcase" | "support" | "tutorial"; type ApiRoute = never; type RealtimeRoute = never; type EnvironmentKey = never; diff --git a/bun.lock b/bun.lock index 41efebd9..b5c25a0d 100644 --- a/bun.lock +++ b/bun.lock @@ -7,59 +7,59 @@ "dependencies": { "@iconify-json/lucide": "^1.2.118", "@iconify/tailwind4": "^1.2.3", - "@wrnexus/ai": "^0.8.5", - "@wrnexus/auth": "^0.8.5", - "@wrnexus/authz": "^0.8.5", - "@wrnexus/benchmark": "^0.8.5", - "@wrnexus/cache": "^0.8.5", - "@wrnexus/captcha": "^0.8.5", - "@wrnexus/compiler": "^0.8.5", - "@wrnexus/content": "^0.8.5", - "@wrnexus/core": "^0.8.5", - "@wrnexus/csr": "^0.8.5", - "@wrnexus/db": "^0.8.5", - "@wrnexus/dev-server": "^0.8.5", - "@wrnexus/dev-toolbar": "^0.8.5", - "@wrnexus/encryption": "^0.8.5", - "@wrnexus/graphql": "^0.8.5", - "@wrnexus/helpers": "^0.8.5", - "@wrnexus/i18n": "^0.8.5", - "@wrnexus/identity": "^0.8.5", - "@wrnexus/image": "^0.8.5", - "@wrnexus/jwt": "^0.8.5", - "@wrnexus/language-server": "^0.8.5", - "@wrnexus/mcp": "^0.8.5", - "@wrnexus/mobile": "^0.8.5", - "@wrnexus/native": "^0.8.5", - "@wrnexus/oauth": "^0.8.5", - "@wrnexus/observability": "^0.8.5", - "@wrnexus/playground": "^0.8.5", - "@wrnexus/plugin": "^0.8.5", - "@wrnexus/pubsub": "^0.8.5", - "@wrnexus/pwa": "^0.8.5", - "@wrnexus/queue": "^0.8.5", - "@wrnexus/reactive": "^0.8.5", - "@wrnexus/realtime": "^0.8.5", - "@wrnexus/router": "^0.8.5", - "@wrnexus/rpc": "^0.8.5", - "@wrnexus/security": "^0.8.5", - "@wrnexus/ssr": "^0.8.5", - "@wrnexus/store": "^0.8.5", - "@wrnexus/styles": "^0.8.5", - "@wrnexus/syntax": "^0.8.5", - "@wrnexus/test": "^0.8.5", - "@wrnexus/tracking": "^0.8.5", - "@wrnexus/typecheck": "^0.8.5", - "@wrnexus/ui": "^0.8.5", - "@wrnexus/uploader": "^0.8.5", - "@wrnexus/validation": "^0.8.5", + "@wrnexus/ai": "^0.8.6", + "@wrnexus/auth": "^0.8.6", + "@wrnexus/authz": "^0.8.6", + "@wrnexus/benchmark": "^0.8.6", + "@wrnexus/cache": "^0.8.6", + "@wrnexus/captcha": "^0.8.6", + "@wrnexus/compiler": "^0.8.6", + "@wrnexus/content": "^0.8.6", + "@wrnexus/core": "^0.8.6", + "@wrnexus/csr": "^0.8.6", + "@wrnexus/db": "^0.8.6", + "@wrnexus/dev-server": "^0.8.6", + "@wrnexus/dev-toolbar": "^0.8.6", + "@wrnexus/encryption": "^0.8.6", + "@wrnexus/graphql": "^0.8.6", + "@wrnexus/helpers": "^0.8.6", + "@wrnexus/i18n": "^0.8.6", + "@wrnexus/identity": "^0.8.6", + "@wrnexus/image": "^0.8.6", + "@wrnexus/jwt": "^0.8.6", + "@wrnexus/language-server": "^0.8.6", + "@wrnexus/mcp": "^0.8.6", + "@wrnexus/mobile": "^0.8.6", + "@wrnexus/native": "^0.8.6", + "@wrnexus/oauth": "^0.8.6", + "@wrnexus/observability": "^0.8.6", + "@wrnexus/playground": "^0.8.6", + "@wrnexus/plugin": "^0.8.6", + "@wrnexus/pubsub": "^0.8.6", + "@wrnexus/pwa": "^0.8.6", + "@wrnexus/queue": "^0.8.6", + "@wrnexus/reactive": "^0.8.6", + "@wrnexus/realtime": "^0.8.6", + "@wrnexus/router": "^0.8.6", + "@wrnexus/rpc": "^0.8.6", + "@wrnexus/security": "^0.8.6", + "@wrnexus/ssr": "^0.8.6", + "@wrnexus/store": "^0.8.6", + "@wrnexus/styles": "^0.8.6", + "@wrnexus/syntax": "^0.8.6", + "@wrnexus/test": "^0.8.6", + "@wrnexus/tracking": "^0.8.6", + "@wrnexus/typecheck": "^0.8.6", + "@wrnexus/ui": "^0.8.6", + "@wrnexus/uploader": "^0.8.6", + "@wrnexus/validation": "^0.8.6", }, "devDependencies": { "@eslint/js": "^9.0.0", "@tailwindcss/cli": "^4.0.0", "@types/bun": "latest", "@types/node": "^26.1.1", - "@wrnexus/cli": "^0.8.5", + "@wrnexus/cli": "^0.8.6", "eslint": "^9.0.0", "prettier": "latest", "tailwindcss": "^4.0.0", @@ -233,99 +233,99 @@ "@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.63.0", "", { "dependencies": { "@typescript-eslint/types": "8.63.0", "eslint-visitor-keys": "^5.0.0" } }, "sha512-UexrHGnGTpbuQHct2ExOc2ZcFbGUS9FOesCxxqdBGcpI1BxYu/LZ6U8Aq6/72XtF/qRBk9nhuGHFJIXXMhPMdw=="], - "@wrnexus/ai": ["@wrnexus/ai@0.8.5", "", {}, "sha512-TLRbvepuMnIZmsmMH/5cTzHfdkvK2+lNU+CX/2DIRHAC8/ghz2wpp7ZVv/J6LU7shygJx/IDDOJfKlAAwFjEvA=="], + "@wrnexus/ai": ["@wrnexus/ai@0.8.6", "", {}, "sha512-s+dG8qezNis6Km81SG+2WESFmk1kn+wT1FSfv6FwKm6PyvMB35So4PFXz9BNqsSI1giA+6zW4tlihJFBmSX05w=="], - "@wrnexus/auth": ["@wrnexus/auth@0.8.5", "", { "dependencies": { "@wrnexus/authz": "^0.8.5", "@wrnexus/captcha": "^0.8.5", "@wrnexus/core": "^0.8.5", "@wrnexus/db": "^0.8.5", "@wrnexus/encryption": "^0.8.5", "@wrnexus/jwt": "^0.8.5", "@wrnexus/oauth": "^0.8.5", "@wrnexus/plugin": "^0.8.5", "@wrnexus/queue": "^0.8.5", "@wrnexus/ui": "^0.8.5", "@wrnexus/validation": "^0.8.5" } }, "sha512-6KbeRreKjew3LlY1u5t681nrzZzVMT19hFCRFVeAsL8Avc/VzYqd5G6QdcV2ixDObz4pIktXJL/Yg4LfvzQZ+w=="], + "@wrnexus/auth": ["@wrnexus/auth@0.8.6", "", { "dependencies": { "@wrnexus/authz": "^0.8.6", "@wrnexus/captcha": "^0.8.6", "@wrnexus/core": "^0.8.6", "@wrnexus/db": "^0.8.6", "@wrnexus/encryption": "^0.8.6", "@wrnexus/jwt": "^0.8.6", "@wrnexus/oauth": "^0.8.6", "@wrnexus/plugin": "^0.8.6", "@wrnexus/queue": "^0.8.6", "@wrnexus/ui": "^0.8.6", "@wrnexus/validation": "^0.8.6" } }, "sha512-SBKsfYMib/blRk4CrUw0WOXxb2dNcOwoCxx1S2gq4KYnvNOu18NMH5Vs3DpuxF9/uOLrfOXxOpSXWG1+XbMlUw=="], - "@wrnexus/authz": ["@wrnexus/authz@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5", "@wrnexus/db": "^0.8.5" } }, "sha512-tgtnNkPp+qVk0W6Tq/Kn4PXsbD14mAEpGKhvNyHwqY/fU5zp3D+1L+RjiWPA2r0+qOhfePOJdgBFvbODAdBcrA=="], + "@wrnexus/authz": ["@wrnexus/authz@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6", "@wrnexus/db": "^0.8.6" } }, "sha512-2n3dqXdxXS1lXxb7m/WzPbcP4PzBS/d2rm4nNpVbXBD1p26ajnqJTPcph/71LMUJnxuYGJOsUIvNwJsRoJil3w=="], - "@wrnexus/benchmark": ["@wrnexus/benchmark@0.8.5", "", {}, "sha512-PjtCCI7KUuKQW1k2K0apjVnvUIPocPmxOJii/TnsxgzNYE5W22IFux5rOK93sM2zUJVB6aUaR4jQhCxctUMjsg=="], + "@wrnexus/benchmark": ["@wrnexus/benchmark@0.8.6", "", {}, "sha512-GEnaw2tWgmMkZxJFaS9LTJiX4JM+fI/tu9Mub4Uj+apmZkorRkGvqaSqJ4FMBAv2xlpUCIzaM8LdsZCQj/vc0A=="], - "@wrnexus/cache": ["@wrnexus/cache@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5" } }, "sha512-d3SXerkaUArgWo68FXdyr2owtji9cSHEsMH6bkQIAgFh3BvbQn5nvA+BHX37EqUAWpMcOMfSG9tw08kLFgBTHA=="], + "@wrnexus/cache": ["@wrnexus/cache@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6" } }, "sha512-jUmx6mglnS8NtHBc8tnrKcPRsJd0pKJ2EN9HZqSDT2aNLaocoVHt+JwJNy4s1XWPmp/aHMT6JxSBACrPGaZYgQ=="], - "@wrnexus/captcha": ["@wrnexus/captcha@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5", "@wrnexus/plugin": "^0.8.5", "@wrnexus/ui": "^0.8.5", "@wrnexus/validation": "^0.8.5" } }, "sha512-QFH+MXxiIZWEfZDUm28pJcCkDkRFb7Dehw4URscuMZar4wCrWCsE+xdhtHZiNiaBqwfSwWFqcH2qVjweT/ZVDg=="], + "@wrnexus/captcha": ["@wrnexus/captcha@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6", "@wrnexus/plugin": "^0.8.6", "@wrnexus/ui": "^0.8.6", "@wrnexus/validation": "^0.8.6" } }, "sha512-tjL1RckyI8u8a2QGJ2rh3YVDl+V2k/CfPS7+H8/jLGI1EyaYYVHLyqDZOkFE0dxrVNhJa9zz6HD6bfmRFf+N6Q=="], - "@wrnexus/cli": ["@wrnexus/cli@0.8.5", "", { "dependencies": { "@wrnexus/authz": "^0.8.5", "@wrnexus/compiler": "^0.8.5", "@wrnexus/core": "^0.8.5", "@wrnexus/csr": "^0.8.5", "@wrnexus/db": "^0.8.5", "@wrnexus/dev-server": "^0.8.5", "@wrnexus/i18n": "^0.8.5", "@wrnexus/mcp": "^0.8.5", "@wrnexus/playground": "^0.8.5", "@wrnexus/plugin": "^0.8.5", "@wrnexus/router": "^0.8.5", "@wrnexus/security": "^0.8.5", "@wrnexus/styles": "^0.8.5", "@wrnexus/syntax": "^0.8.5", "@wrnexus/typecheck": "^0.8.5", "@wrnexus/ui": "^0.8.5", "@wrnexus/validation": "^0.8.5", "selfsigned": "^5.5.0" }, "bin": { "wrnexus": "dist/index.js" } }, "sha512-k0QOLnDrDY/gNzY3VTEZgYhobI3xJH0xjqjdVr2/6VBxkmuDXqZt1vOLS37p5ugbfpLOw+aIrcfQ8iG4u3w2iw=="], + "@wrnexus/cli": ["@wrnexus/cli@0.8.6", "", { "dependencies": { "@wrnexus/authz": "^0.8.6", "@wrnexus/compiler": "^0.8.6", "@wrnexus/core": "^0.8.6", "@wrnexus/csr": "^0.8.6", "@wrnexus/db": "^0.8.6", "@wrnexus/dev-server": "^0.8.6", "@wrnexus/i18n": "^0.8.6", "@wrnexus/mcp": "^0.8.6", "@wrnexus/playground": "^0.8.6", "@wrnexus/plugin": "^0.8.6", "@wrnexus/router": "^0.8.6", "@wrnexus/security": "^0.8.6", "@wrnexus/styles": "^0.8.6", "@wrnexus/syntax": "^0.8.6", "@wrnexus/typecheck": "^0.8.6", "@wrnexus/ui": "^0.8.6", "@wrnexus/validation": "^0.8.6", "selfsigned": "^5.5.0" }, "bin": { "wrnexus": "dist/index.js" } }, "sha512-Av8XUTfFh4XFX6Z2iJl//xLAmiJ2mIOiZMCNEAdY97kD8H5Ev5KOb8HPb2uiTIfKrDL0aHRqHW+6xzWN/kAgUg=="], - "@wrnexus/compiler": ["@wrnexus/compiler@0.8.5", "", { "dependencies": { "@wrnexus/csr": "^0.8.5", "@wrnexus/store": "^0.8.5", "@wrnexus/syntax": "^0.8.5", "@wrnexus/validation": "^0.8.5" } }, "sha512-+jU7J8SBsDylMw22y5LiK1R80Etv5o5uX5bELGVxiKD/au2rw6JTFI7ERxVFjw4i4C1ASnwkfA6pnbUzbdP6Lw=="], + "@wrnexus/compiler": ["@wrnexus/compiler@0.8.6", "", { "dependencies": { "@wrnexus/csr": "^0.8.6", "@wrnexus/store": "^0.8.6", "@wrnexus/syntax": "^0.8.6", "@wrnexus/validation": "^0.8.6" } }, "sha512-/fa1U37+A8itfFPxMyAtVe5JVgo0dSMavq72omJNQk8yB7r46HuQ7AUtm2DBwCQxv16kq6USvHXo1lRIOvsy0A=="], - "@wrnexus/content": ["@wrnexus/content@0.8.5", "", {}, "sha512-pD7gqEY+phI4ggfQ7/SG927GgPSUkGDHk3mXSAFJmIQl2xoeVRlLSilbnYOaHT8+rR4Fx/zMuGNhu2SCOMk/Ag=="], + "@wrnexus/content": ["@wrnexus/content@0.8.6", "", {}, "sha512-gOYn2A53ZCqNpI954HvAaeaYblEr2c2TZtUSik/VXScDn6M/rLqpPuIk9EHKvenHDYOW28QOHPxswUAYwmtNoQ=="], - "@wrnexus/core": ["@wrnexus/core@0.8.5", "", {}, "sha512-mKPNgOKa68T1056Z/Ond1WL7qBT2pDvG72WQfdQ4Z8+XQ9aQXLr5tikBtoUOW5xj9mQdQLJ3Di4tqjhjCMoR1g=="], + "@wrnexus/core": ["@wrnexus/core@0.8.6", "", {}, "sha512-m/VUFVc736ijvSOKqVrsA2Nd6Ty7CZmtrKgYOMOoQELoxtmWM8CifjKicJQgTX7NwlOLYFa7PITqpqiBRDizQA=="], - "@wrnexus/csr": ["@wrnexus/csr@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5" } }, "sha512-e1kh6PyA9CnzVmbQRcvBPvkJzsIWP4Z6HDppFDOymwIKPf7/aFck2u7r5pM9XDLLuNaJOPyq2BOfj1a/vF1yUQ=="], + "@wrnexus/csr": ["@wrnexus/csr@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6" } }, "sha512-leB5XDZVApT6tw+EdIsnZhqaQ4aT3CpwNZWCRcyp+LNYmoohWu5rI342Zb2cuvEWGeA45Xma+lQ/y/8oGvkbQA=="], - "@wrnexus/db": ["@wrnexus/db@0.8.5", "", {}, "sha512-cRLPfh+4+0iOTrWW5HqMiHRyUdmQLMAdtSPeB9XkCSctUZFfRGjKRpqnlgzglh4q2TijFymSiJUpVCut84KpLA=="], + "@wrnexus/db": ["@wrnexus/db@0.8.6", "", {}, "sha512-t7OrLnEKoLYds6F/IhLq8LRx61WWErym7mcETuJWPzsRV+Wlv0z3qTj8S/S4hKMc9Lv94X9CyxGq1u4hd1gJfQ=="], - "@wrnexus/dev-server": ["@wrnexus/dev-server@0.8.5", "", { "dependencies": { "@wrnexus/authz": "^0.8.5", "@wrnexus/cache": "^0.8.5", "@wrnexus/compiler": "^0.8.5", "@wrnexus/core": "^0.8.5", "@wrnexus/csr": "^0.8.5", "@wrnexus/db": "^0.8.5", "@wrnexus/dev-toolbar": "^0.8.5", "@wrnexus/i18n": "^0.8.5", "@wrnexus/observability": "^0.8.5", "@wrnexus/plugin": "^0.8.5", "@wrnexus/pubsub": "^0.8.5", "@wrnexus/pwa": "^0.8.5", "@wrnexus/router": "^0.8.5", "@wrnexus/rpc": "^0.8.5", "@wrnexus/security": "^0.8.5", "@wrnexus/ssr": "^0.8.5", "@wrnexus/store": "^0.8.5", "@wrnexus/styles": "^0.8.5", "@wrnexus/ui": "^0.8.5", "@wrnexus/uploader": "^0.8.5", "@wrnexus/validation": "^0.8.5" } }, "sha512-kSztqn4b+eeJeAadT+fWxVCxG2jXGrrxWbzOBHTGzN2KI4Z8nHlvJZCY1XOpUUCsGwKfF6jC29n2L5N0DBjYNQ=="], + "@wrnexus/dev-server": ["@wrnexus/dev-server@0.8.6", "", { "dependencies": { "@wrnexus/authz": "^0.8.6", "@wrnexus/cache": "^0.8.6", "@wrnexus/compiler": "^0.8.6", "@wrnexus/core": "^0.8.6", "@wrnexus/csr": "^0.8.6", "@wrnexus/db": "^0.8.6", "@wrnexus/dev-toolbar": "^0.8.6", "@wrnexus/i18n": "^0.8.6", "@wrnexus/observability": "^0.8.6", "@wrnexus/plugin": "^0.8.6", "@wrnexus/pubsub": "^0.8.6", "@wrnexus/pwa": "^0.8.6", "@wrnexus/router": "^0.8.6", "@wrnexus/rpc": "^0.8.6", "@wrnexus/security": "^0.8.6", "@wrnexus/ssr": "^0.8.6", "@wrnexus/store": "^0.8.6", "@wrnexus/styles": "^0.8.6", "@wrnexus/ui": "^0.8.6", "@wrnexus/uploader": "^0.8.6", "@wrnexus/validation": "^0.8.6" } }, "sha512-yLlt9UB+wlXUhVxnqBGXfCF0+TxiB7GEgO0bsY/6qt/he9p4lcZ3ig4flJ608oppk8CZcpEKv+/pWAE8GkpSYQ=="], - "@wrnexus/dev-toolbar": ["@wrnexus/dev-toolbar@0.8.5", "", {}, "sha512-gIg/OQlAD63XRtQ0ncAu6RuDQaVTOYgBxUSgIB6dq4+LZQGsKgv7GZMej5LwGOJsw1eU1+X7qtUqJ8GWiWQNSw=="], + "@wrnexus/dev-toolbar": ["@wrnexus/dev-toolbar@0.8.6", "", {}, "sha512-YfRbMBlFEci8Idoqt68dO66oVfEZqduC45EaR4i1GllwNmwe6POoeZCmn1DbCE5LVLRM8RtDOmT8AZaaRjdvoQ=="], - "@wrnexus/encryption": ["@wrnexus/encryption@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5" } }, "sha512-nfqb2DJ2FHGozkfxrxOeNrb96fZ4X5IJXM0DCF0Ix75nnHFcYEVc2MXll1uoQt0K6YYUl27NzVx2W7Sakz6hFA=="], + "@wrnexus/encryption": ["@wrnexus/encryption@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6" } }, "sha512-b2zfDgsHgDEeNX1R6dPH5HoxAVBJgQx8pGt9UydN2d02HS6hIbUBg5k679DFDlI1GEZ8qT2BcD8e64DjVXdjuw=="], - "@wrnexus/graphql": ["@wrnexus/graphql@0.8.5", "", { "dependencies": { "@wrnexus/plugin": "^0.8.5" } }, "sha512-/9+ONokYh9b3ZiLT8XVz8BQNOTsPjYHx6TG74X4YpkG4wpIYB7T2aWzgheAeHg/qPy3l17gbQiMDnH9VzEU3/g=="], + "@wrnexus/graphql": ["@wrnexus/graphql@0.8.6", "", { "dependencies": { "@wrnexus/plugin": "^0.8.6" } }, "sha512-Q8w9IGpqD6NU+qFXEa01Pp+9iMyRAujB/YMALMGE5KjLZI7iP71o8oF7EOXe1fdGNQfMTJSk+CX4SsXVaZi4mQ=="], - "@wrnexus/helpers": ["@wrnexus/helpers@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5" } }, "sha512-2FHTuCklh4JKv3w0bfNW2qm/ulweSvluFF0GoIG7EVjBxP6AQO6JyaaZVddd/7N1k5Klnbir9+aiDBgcbf5gWQ=="], + "@wrnexus/helpers": ["@wrnexus/helpers@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6" } }, "sha512-0jOjKn5scK3qAKcK9fEv++yiND174/Mw0f6k+3ICM1mbWL4sZFLN1mJFcF5qdcyKU3yzax9H3f7szt/iYjJthw=="], - "@wrnexus/i18n": ["@wrnexus/i18n@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5", "@wrnexus/plugin": "^0.8.5", "@wrnexus/ui": "^0.8.5" } }, "sha512-9VgDK6pjVk7QPG/WYtDmqLw2myBKTMHu5Bl39rX52yJY6bm6W9o+/bFZ14x3IlJ66JFO+XTkHviC2RnQwUD8TQ=="], + "@wrnexus/i18n": ["@wrnexus/i18n@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6", "@wrnexus/plugin": "^0.8.6", "@wrnexus/ui": "^0.8.6" } }, "sha512-IGKn35S1tc5yUrC30+RU82ToxXhEElFuro2LF8tJq/PUjQFWDv0GPuml6eadgwwya2wPoztqOY6kFzC8fX6GyQ=="], - "@wrnexus/identity": ["@wrnexus/identity@0.8.5", "", { "dependencies": { "@wrnexus/auth": "^0.8.5", "@wrnexus/authz": "^0.8.5", "@wrnexus/oauth": "^0.8.5" } }, "sha512-YUQ/8XunmUFEyHbqOhITHV5KgszJGLCDvGZvlXkHUzbia5B2nakYy0Gw+RsSumYCGcXmxalbSx+UhmMkHY+cfA=="], + "@wrnexus/identity": ["@wrnexus/identity@0.8.6", "", { "dependencies": { "@wrnexus/auth": "^0.8.6", "@wrnexus/authz": "^0.8.6", "@wrnexus/oauth": "^0.8.6" } }, "sha512-vGXUPk9Do3Qxe3g1K2QqE8e7QMZpFTEsTtny4pmQNrlMJqVMptvTh41Md2ftRN7Q+LB56ggNOqXDMiN3ycaM9A=="], - "@wrnexus/image": ["@wrnexus/image@0.8.5", "", { "dependencies": { "@wrnexus/plugin": "^0.8.5", "@wrnexus/security": "^0.8.5", "@wrnexus/ui": "^0.8.5" } }, "sha512-+Bf3DNaLQAw4oMYCw3U9wT1h6AGQH1uC7PjKPNsns1pxhpqeSjOOjLI3pI8HaWjeR9D9sZ3XaGqqV3ly7LFZ1g=="], + "@wrnexus/image": ["@wrnexus/image@0.8.6", "", { "dependencies": { "@wrnexus/plugin": "^0.8.6", "@wrnexus/security": "^0.8.6", "@wrnexus/ui": "^0.8.6" } }, "sha512-QvdAEj0YhPRiH6TA4DX7mmJdwbvxqQ6+1znnZyiWNpj4xggsyurOWBz/fXH3Shzqno4Tw3uchYTqdkYceb1q4g=="], - "@wrnexus/jwt": ["@wrnexus/jwt@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5" } }, "sha512-tj3UnWR1Uqtrnon4+UNlHcI1pqgmk/ul4b+Oc9HynKd1r7OqO41P92AFgFTPHyeR1xRrl0/ELaIqpE/uIz4wrw=="], + "@wrnexus/jwt": ["@wrnexus/jwt@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6" } }, "sha512-Cf8mQ/aRr74S1mRbeN1Qx3ICWOeHQkXFVqJljHROlWpinpfKurE59XT1jENYCghzIfZH6jKUqWOGXNHilIqduQ=="], - "@wrnexus/language-server": ["@wrnexus/language-server@0.8.5", "", { "dependencies": { "@wrnexus/syntax": "^0.8.5", "@wrnexus/typecheck": "^0.8.5" }, "bin": { "wrnexus-language-server": "dist/server.js" } }, "sha512-G2UmH+a9/9xxaJqqYeOHx/A1baj8TELCKy2ehoa/H1jB9ZbMl0GXkzUS0jZSHEDio6Ln2R1wpC6PvSIkwmAsWg=="], + "@wrnexus/language-server": ["@wrnexus/language-server@0.8.6", "", { "dependencies": { "@wrnexus/syntax": "^0.8.6", "@wrnexus/typecheck": "^0.8.6" }, "bin": { "wrnexus-language-server": "dist/server.js" } }, "sha512-fdcQLd9rzYxWMDqIZYF1WCIDOAaRDrdR2+K0Bk7MoVApgKd6FD20AN6Qs1MKhr5grUfMzvLxaDIcXSuL9yGDlQ=="], - "@wrnexus/mcp": ["@wrnexus/mcp@0.8.5", "", { "bin": { "wrnexus-mcp": "dist/stdio.js" } }, "sha512-xDcXX9sYkBOX5CHYTEi7zjPr0SRReyN+p9zvLQFjVK0WVv9TRws9FckSujyz1RNHjSf0PxK2vr9d0ibdxG33Pw=="], + "@wrnexus/mcp": ["@wrnexus/mcp@0.8.6", "", { "bin": { "wrnexus-mcp": "dist/stdio.js" } }, "sha512-x24SqmbGw+mILna/5uf16t00ll0fAzCB95/BHlC4xmlQOmnU6jCQpg/c5Et9j9I698H1a6LvG9x6TB7/Ft9ybA=="], - "@wrnexus/mobile": ["@wrnexus/mobile@0.8.5", "", { "dependencies": { "@wrnexus/native": "^0.8.5" } }, "sha512-qHbwKp3TIAdRBEaV/7ixDA4LUyArsJZmOCGlTsrA2xQiO3YGvMNNsh9rjSqZuQO5tC1WrJVXMmOnMbtJf2jJjQ=="], + "@wrnexus/mobile": ["@wrnexus/mobile@0.8.6", "", { "dependencies": { "@wrnexus/native": "^0.8.6" } }, "sha512-QLi80kt8ia2OubaWyW9Bwnf2k2veUJ49n5WPKn2DiuDCfHAoWapark8xPmrxVJLw8ctDr0DtM4BvP+a+m2OdoQ=="], - "@wrnexus/native": ["@wrnexus/native@0.8.5", "", {}, "sha512-181rt4/KLBcCOcRe62N0Txx6fiJplsmz4e8F6nbC2gGKplxH+WYXfp0+ZeL6szXqhVBb/rbsZgRi9Xots/7xHw=="], + "@wrnexus/native": ["@wrnexus/native@0.8.6", "", {}, "sha512-tvixeM+JnBG+lndVBZn9SmlaNq/Pvj/JjpV+gjkmmg9XH4Cnh0egh4uyqxGv+kC9svnAgzq+WOb20binOp+0ZQ=="], - "@wrnexus/oauth": ["@wrnexus/oauth@0.8.5", "", { "dependencies": { "@wrnexus/jwt": "^0.8.5" } }, "sha512-kkYXRaftZGcKnvm3UxlgUBnE6DWZ5/cTSj4LIJ3C4Y2j0vXdso+CSmPPzXM3TvPY/4d1NQMuBOB69JC83s70nA=="], + "@wrnexus/oauth": ["@wrnexus/oauth@0.8.6", "", { "dependencies": { "@wrnexus/jwt": "^0.8.6" } }, "sha512-PaIvb+MHMQ+s2SRantoHo4AgtMRImMxZ4EiI7DtiPrd/lhGvXkwQXaX0mDDOwV5lMhkvWq2cx5gMhewOKuceJw=="], - "@wrnexus/observability": ["@wrnexus/observability@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5" } }, "sha512-gEWx5mruRElJbCKTYRFdncotXHJOqw7Bzm41dcR+NVvkZlV8ome+s8f8XPzlJWpYmFYVzGj9N0ev14AP3ax9kw=="], + "@wrnexus/observability": ["@wrnexus/observability@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6" } }, "sha512-tAdVBGLx/xJpcYtQLkLc8YAFMNlXH2KrHeefU/Hx/ZVtDNgwrVhQqLYctq7s6q7a3i6zDUuJ50DX4J9XFUJmOA=="], - "@wrnexus/playground": ["@wrnexus/playground@0.8.5", "", { "dependencies": { "@wrnexus/compiler": "^0.8.5", "@wrnexus/syntax": "^0.8.5" } }, "sha512-8saMjmZfRiFXMlMa4qjyG66xfVqCoQhsW/KeIQUF/MkCFtm8FGkexgR5RANiH8wALD/d8uEMNnPMRg7B1iWymw=="], + "@wrnexus/playground": ["@wrnexus/playground@0.8.6", "", { "dependencies": { "@wrnexus/compiler": "^0.8.6", "@wrnexus/syntax": "^0.8.6" } }, "sha512-m6kGb3hQchlWd+2Q211BCoFo2Qd0J3ItL1vNAGxEwpA+WO4zj3mcXK6YEgP4cHns+90AFP6GjEgCjUAa4Ldrhg=="], - "@wrnexus/plugin": ["@wrnexus/plugin@0.8.5", "", { "dependencies": { "@wrnexus/syntax": "^0.8.5" } }, "sha512-PYgpNZ6dmJvv+DJUtv8rKd1SAQ0as12Y5UZcy0SpHU+ZUrrrOakwpOtAdXlKJTG1+1rsZjbdDVgFIauSnnOOpg=="], + "@wrnexus/plugin": ["@wrnexus/plugin@0.8.6", "", { "dependencies": { "@wrnexus/syntax": "^0.8.6" } }, "sha512-W2OtscCsv7PPuCAWCQ5pj8bVk9qcoGm12LYnQ+QUOd7a5wPBb1ucedl8+vbZS+HHYfNs9eOIywMz/dXo8otluA=="], - "@wrnexus/pubsub": ["@wrnexus/pubsub@0.8.5", "", {}, "sha512-3XNKkRestcL8UDCM1GBWxbl6W5k1vx4Gi1XzpsWF9TrAf42wwFgYvdTrDknNqf58Mf7QGUAhwZFL/HN4AIH7/A=="], + "@wrnexus/pubsub": ["@wrnexus/pubsub@0.8.6", "", {}, "sha512-34TlBxf0HvpcTNp5hPOufWuqIZqUYivbfp0BCdMMUvZqhcG3YCnhH0K5PPkJzVS04wj6myaNcv9nu24wxRGb9w=="], - "@wrnexus/pwa": ["@wrnexus/pwa@0.8.5", "", {}, "sha512-mpXZqlD1M9OForvmdFPdjisZM+ymf7qpm2U7FvneogXxsUIrTSGUEtPg9QMKdw30WkTR4zqvEpCbfWaVOSkhIA=="], + "@wrnexus/pwa": ["@wrnexus/pwa@0.8.6", "", {}, "sha512-t6ZQezxbAPuTkpFfUSZhOfNOOtrog3sV1JiJOiPmK/aSL05l2o5KBpqxLczzR6wbxTLFn3nLEt1h84ub5mzOEA=="], - "@wrnexus/queue": ["@wrnexus/queue@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5" } }, "sha512-2IT0Gj+THkyqu+8X/XfHn4JEkhd/MvYMIGv5al7WFDgmrOb20Ls6dfNDenoDmXjSWkLcACRRXYTX+Zxj6/2MKQ=="], + "@wrnexus/queue": ["@wrnexus/queue@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6" } }, "sha512-fWJsLZOcLkuiYHqOa/jHjyqVMTlUxexO46S/7iXFYEgKEvOb+gnrF/4efdsqnvjjjYEkmGypUkRxTP1vgfVzlw=="], - "@wrnexus/reactive": ["@wrnexus/reactive@0.8.5", "", {}, "sha512-ccRzjvXz5PZDajFBJ4pclQ9AIFrFpn8ZAwgi+OSiQJSr6elDVdx+lDNQXngkfK2OuJyBvkZNg/7GLnT9sbm6eg=="], + "@wrnexus/reactive": ["@wrnexus/reactive@0.8.6", "", {}, "sha512-tgzFwilkjsG8JawcTS99cuKSgD+ZiKD72KE5KGQmEBAzgP8NMYmmCdhTxTzeqKTwo1P7KKZi5MOFDnlu7LfdMw=="], - "@wrnexus/realtime": ["@wrnexus/realtime@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5", "@wrnexus/plugin": "^0.8.5", "@wrnexus/ui": "^0.8.5" } }, "sha512-oGIF/RAmrlo2hrXRYNIwNDHNcdrUT0CYo5vXk3GDiXGTeDpIdoGxwP7qVYNYxTkqHvxJnA4Lls4MtZBD63nuqQ=="], + "@wrnexus/realtime": ["@wrnexus/realtime@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6", "@wrnexus/plugin": "^0.8.6", "@wrnexus/ui": "^0.8.6" } }, "sha512-m3zlV67fcAGdkpVQxwwybbVy97gjsWscJn+Cz/xOQNJXPjPW1sL7VPCJYiujDgTKhoobSJT4nBVUMbdwqQ+4ew=="], - "@wrnexus/router": ["@wrnexus/router@0.8.5", "", { "dependencies": { "@wrnexus/compiler": "^0.8.5", "@wrnexus/core": "^0.8.5" } }, "sha512-vKwKHNynHGufqD2xjntGzvf0ZwFrqWWnrs7H3gbIg9cUfbD6zdaYYDEm0UpuEDR4A5g6Y2hvEcPTyncj+nIQjw=="], + "@wrnexus/router": ["@wrnexus/router@0.8.6", "", { "dependencies": { "@wrnexus/compiler": "^0.8.6", "@wrnexus/core": "^0.8.6" } }, "sha512-q8zB9jq7ZCptvX+9O84Be/hBpySkzCif6EqAVt0l75mDIjaHd3aK1SrdgXkQcKOi2KlU+4zP4iUc/f2pTyPryQ=="], - "@wrnexus/rpc": ["@wrnexus/rpc@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5", "@wrnexus/helpers": "^0.8.5", "@wrnexus/jwt": "^0.8.5", "@wrnexus/validation": "^0.8.5" } }, "sha512-qxG/GayQxN9iusJ50M4ybsXPwdJUYCEB0Pkghs7dG1B+FcKOrYDkysx+zwaQ3uYN8ugfL4hk2NPmczRow41x3w=="], + "@wrnexus/rpc": ["@wrnexus/rpc@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6", "@wrnexus/helpers": "^0.8.6", "@wrnexus/jwt": "^0.8.6", "@wrnexus/validation": "^0.8.6" } }, "sha512-nQWFHd7LPrerbWZQk8Nru0+1muQCRbMc8alvP041JRnUL+YlKFC9zG2lt4Ftux6pMGIFB8T2v1pVEzwgBQgqjg=="], - "@wrnexus/security": ["@wrnexus/security@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5" } }, "sha512-JJ2kzLdlWv3BuixJIi4HwMEk6Ke+gLmvINVJf5JInxsqc+hpikGyPDdkgCsY/6uS0ZS4vnFOiHs7GgmLwPQ33g=="], + "@wrnexus/security": ["@wrnexus/security@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6" } }, "sha512-Yuld+0JZYzJSG41bcr63V81OyOuTzrkHWO1F7rauNeARalIuWJE5RsoiQFvaS7G9mBXM858QoIqUz5hUlfv9gg=="], - "@wrnexus/ssr": ["@wrnexus/ssr@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5", "@wrnexus/security": "^0.8.5", "@wrnexus/store": "^0.8.5" } }, "sha512-Ju27nwR3SoupXvkTYwRqNXTgHaxB1XpN03LO7pHFV2QTw9zAvsAx818A99g5PmZoN87VuJX51kz+Dnqy5FoBow=="], + "@wrnexus/ssr": ["@wrnexus/ssr@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6", "@wrnexus/security": "^0.8.6", "@wrnexus/store": "^0.8.6" } }, "sha512-YE1TrNRhJN5e0bIJLTSgBns/ggjwN7CgOXrQ8PZZ58FWjqxrMxVVG5/0rfcnlHo1mvm6I6+QWcI+11HCK1xW+g=="], - "@wrnexus/store": ["@wrnexus/store@0.8.5", "", {}, "sha512-d52gERyyfqNd3kwiRbQ9+y8BxhP3VxckwCE6BU+vB4DYvMFAD6b0R4sAYSKgbO4gU8QS4vbO4blNXTyaeHlc0A=="], + "@wrnexus/store": ["@wrnexus/store@0.8.6", "", {}, "sha512-aufLAYyFNx7U2b1c0hDDIUj9CxG79ENckVqAVV41Bl5GxmqizHEVnX5G8dNw1aBe0smuwWsqgN7ipTB91VftqA=="], - "@wrnexus/styles": ["@wrnexus/styles@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5", "@wrnexus/plugin": "^0.8.5", "@wrnexus/uploader": "^0.8.5" } }, "sha512-aSuvyiHGWTFKOPnUPsfybE5hFXQFnz1cIFluGkd0ACE3F8x83YzaM6rheCADvRvDfEUDVor40VD1QEEYNawmUQ=="], + "@wrnexus/styles": ["@wrnexus/styles@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6", "@wrnexus/plugin": "^0.8.6", "@wrnexus/uploader": "^0.8.6" } }, "sha512-d1uvrmC1yRuvdfW/Gao8jfJYw1FUD186Ndrm5zFfKGB3AelXxw+3a/CviVDdYF9MucgoPGhYXbDFlsn5gR4TpA=="], - "@wrnexus/syntax": ["@wrnexus/syntax@0.8.5", "", {}, "sha512-6MHmdzR1D+/gD6cXdbOgzzgj6I62VCyRVmtx8sa+qHrrcftdARj5OI/YyjyMGpHKdOCx4rGUhOCrSkjjiKgPDg=="], + "@wrnexus/syntax": ["@wrnexus/syntax@0.8.6", "", {}, "sha512-ODHB6mNba2W7dRCTb46NeqFByac3y1RuIUVTfhsMijoGRmN6YOfqsR2Qcchril8SIH3xolzdUqzbSJF/RCkuNw=="], - "@wrnexus/test": ["@wrnexus/test@0.8.5", "", {}, "sha512-dNGayxozSDjDYOlnR5cPYZfX4lIxrksCAFKHTDWHfpKd/UmLCj2BvarSF1hKsZf7PcKwy3U1T+unMPRwf56ghg=="], + "@wrnexus/test": ["@wrnexus/test@0.8.6", "", {}, "sha512-BKQT4636XgbnwTlJVBqHKaL1k+5diN5GStQbvz76LbSsnRDTWP4m8f//JFnUxL27r1/YXxSxsP2hIdWf5adKeg=="], - "@wrnexus/tracking": ["@wrnexus/tracking@0.8.5", "", {}, "sha512-UZ0Z9yJ7I4XxAcsfOONPKgcjXdyD9qIgUGqRZvZ3yT6WCI1vSYedZb1hhIdHZ2romWOmiHaEut+tto95NivLOQ=="], + "@wrnexus/tracking": ["@wrnexus/tracking@0.8.6", "", {}, "sha512-CHN+Xk5+F5L5wis8xUMLt9aQ7khvCdBQbCDFl4ELRgcbQHajzO45kBDUz5rV3XolYkzRRHrH7LNWqMArZ1kAlQ=="], - "@wrnexus/typecheck": ["@wrnexus/typecheck@0.8.5", "", { "dependencies": { "@wrnexus/syntax": "^0.8.5", "typescript": "^5.5.0" } }, "sha512-O8Y2CbReia1zUBeSNLXNa9qpp0js4uUMmhE2yvM6lu4mh5Iw/6It2VgQH910zstPx6mDnnQlpTF5S/x+X1Oocg=="], + "@wrnexus/typecheck": ["@wrnexus/typecheck@0.8.6", "", { "dependencies": { "@wrnexus/syntax": "^0.8.6", "typescript": "^5.5.0" } }, "sha512-j5uE6eK5AxurHhN4Aw9ngnKE5PUEQF93SywtGYMXw91chtdAH1Fx4u1xLewB7n4jLCXPCEg8blAs3GmNfNvMLw=="], - "@wrnexus/ui": ["@wrnexus/ui@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5" } }, "sha512-9ZjOAZ1gGJs2v1AYY8tJQd24MqYV8xxyjlII3JFiYXt0Ek5EGlpY4l79i8zVCxWwQXrCkt1xWlacOM7F6hzdJA=="], + "@wrnexus/ui": ["@wrnexus/ui@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6" } }, "sha512-SFgbDQRZaY3chIAUxnlLqVOU/52hK/Ytpg5I6D8v1DqYX0W9rjGhF6kkJT1X+yu4/XGhj2dndsg7ik4tZYF3uA=="], - "@wrnexus/uploader": ["@wrnexus/uploader@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5", "@wrnexus/plugin": "^0.8.5", "@wrnexus/ui": "^0.8.5" } }, "sha512-rk0VipXH5B3oWR1qsb1NLtZ2tSraRzwlgbMP/GC8UpzFdW2hCOwFAa9u5dES1sPEGqTlcHoK9xLherSRfaB6KQ=="], + "@wrnexus/uploader": ["@wrnexus/uploader@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6", "@wrnexus/plugin": "^0.8.6", "@wrnexus/ui": "^0.8.6" } }, "sha512-z5fySfqpSXsikGyFMpOgOAydlIeK/N9ZbiHDfWEUMd9HwZO8PVLnZydLafN8L+uMKslbJVhLGB2zGH04L+7eAA=="], - "@wrnexus/validation": ["@wrnexus/validation@0.8.5", "", { "dependencies": { "@wrnexus/core": "^0.8.5", "@wrnexus/plugin": "^0.8.5", "@wrnexus/ui": "^0.8.5" } }, "sha512-qtSEu3qRgxhyUu+3fhMr4pR6PaBHUtTnDqI/UeQ+u0buMx06j54iXvy8TW7dwe8QVvY5AmY8zvT5jaeYlKt1xA=="], + "@wrnexus/validation": ["@wrnexus/validation@0.8.6", "", { "dependencies": { "@wrnexus/core": "^0.8.6", "@wrnexus/plugin": "^0.8.6", "@wrnexus/ui": "^0.8.6" } }, "sha512-BTbpjkg7A0d/bhjeg6veNK8weyn/1O3r+MOmxjDn4ESZhBCw/fxBQO6Mj1FhcOu4rs2hiS3TvNpd9B7UY/cMaA=="], "acorn": ["acorn@8.17.0", "", { "bin": { "acorn": "bin/acorn" } }, "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg=="], diff --git a/docs/release-access-status.md b/docs/release-access-status.md index ca9d6575..ce63794c 100644 --- a/docs/release-access-status.md +++ b/docs/release-access-status.md @@ -2,6 +2,6 @@ ## Decision: Mode B — Private Developer Preview -Active version: 0.8.5, derived from package.json#wrnexus.version. All 47 installed @wrnexus packages resolve to 0.8.5 and npm reports restricted access. The repository remote is a private WorkRoot Git service and no public license file exists. +Active version: 0.8.6, derived from package.json#wrnexus.version. All 47 installed @wrnexus packages resolve to 0.8.6 and npm reports restricted access. The repository remote is a private WorkRoot Git service and no public license file exists. -External users cannot execute an installation without approved private registry credentials. The truthful CTA is Request preview access. After approval, the canonical command is bunx @wrnexus/cli@0.8.5 create my-app. Tokens must never appear in documentation or source. +External users cannot execute an installation without approved private registry credentials. The truthful CTA is Request preview access. After approval, the canonical command is bunx @wrnexus/cli@0.8.6 create my-app. Tokens must never appear in documentation or source. diff --git a/docs/site-audit.md b/docs/site-audit.md index 8320ef40..0a088906 100644 --- a/docs/site-audit.md +++ b/docs/site-audit.md @@ -1,6 +1,6 @@ # WRNexusJS site audit -Date: 2026-07-13. Baseline: Bun 1.3.14, framework 0.8.5. +Date: 2026-07-13. Baseline: Bun 1.3.14, framework 0.8.6. ## Baseline results @@ -12,7 +12,7 @@ Date: 2026-07-13. Baseline: Bun 1.3.14, framework 0.8.5. ## Findings -Package documentation, discovery assets, and AI-readable references are generated from the installed release. The 0.8.5 portal includes the helpers package, workspace app addition, and safe forward-auth login redirect guidance. +Package documentation, discovery assets, and AI-readable references are generated from the installed release. The 0.8.6 portal includes the helpers package, workspace app addition, and safe forward-auth login redirect guidance. ## Audit limitations diff --git a/package-lock.json b/package-lock.json index c8517a92..1a16a6f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,59 +10,59 @@ "dependencies": { "@iconify-json/lucide": "^1.2.118", "@iconify/tailwind4": "^1.2.3", - "@wrnexus/ai": "^0.8.5", - "@wrnexus/auth": "^0.8.5", - "@wrnexus/authz": "^0.8.5", - "@wrnexus/benchmark": "^0.8.5", - "@wrnexus/cache": "^0.8.5", - "@wrnexus/captcha": "^0.8.5", - "@wrnexus/compiler": "^0.8.5", - "@wrnexus/content": "^0.8.5", - "@wrnexus/core": "^0.8.5", - "@wrnexus/csr": "^0.8.5", - "@wrnexus/db": "^0.8.5", - "@wrnexus/dev-server": "^0.8.5", - "@wrnexus/dev-toolbar": "^0.8.5", - "@wrnexus/encryption": "^0.8.5", - "@wrnexus/graphql": "^0.8.5", - "@wrnexus/helpers": "^0.8.5", - "@wrnexus/i18n": "^0.8.5", - "@wrnexus/identity": "^0.8.5", - "@wrnexus/image": "^0.8.5", - "@wrnexus/jwt": "^0.8.5", - "@wrnexus/language-server": "^0.8.5", - "@wrnexus/mcp": "^0.8.5", - "@wrnexus/mobile": "^0.8.5", - "@wrnexus/native": "^0.8.5", - "@wrnexus/oauth": "^0.8.5", - "@wrnexus/observability": "^0.8.5", - "@wrnexus/playground": "^0.8.5", - "@wrnexus/plugin": "^0.8.5", - "@wrnexus/pubsub": "^0.8.5", - "@wrnexus/pwa": "^0.8.5", - "@wrnexus/queue": "^0.8.5", - "@wrnexus/reactive": "^0.8.5", - "@wrnexus/realtime": "^0.8.5", - "@wrnexus/router": "^0.8.5", - "@wrnexus/rpc": "^0.8.5", - "@wrnexus/security": "^0.8.5", - "@wrnexus/ssr": "^0.8.5", - "@wrnexus/store": "^0.8.5", - "@wrnexus/styles": "^0.8.5", - "@wrnexus/syntax": "^0.8.5", - "@wrnexus/test": "^0.8.5", - "@wrnexus/tracking": "^0.8.5", - "@wrnexus/typecheck": "^0.8.5", - "@wrnexus/ui": "^0.8.5", - "@wrnexus/uploader": "^0.8.5", - "@wrnexus/validation": "^0.8.5" + "@wrnexus/ai": "^0.8.6", + "@wrnexus/auth": "^0.8.6", + "@wrnexus/authz": "^0.8.6", + "@wrnexus/benchmark": "^0.8.6", + "@wrnexus/cache": "^0.8.6", + "@wrnexus/captcha": "^0.8.6", + "@wrnexus/compiler": "^0.8.6", + "@wrnexus/content": "^0.8.6", + "@wrnexus/core": "^0.8.6", + "@wrnexus/csr": "^0.8.6", + "@wrnexus/db": "^0.8.6", + "@wrnexus/dev-server": "^0.8.6", + "@wrnexus/dev-toolbar": "^0.8.6", + "@wrnexus/encryption": "^0.8.6", + "@wrnexus/graphql": "^0.8.6", + "@wrnexus/helpers": "^0.8.6", + "@wrnexus/i18n": "^0.8.6", + "@wrnexus/identity": "^0.8.6", + "@wrnexus/image": "^0.8.6", + "@wrnexus/jwt": "^0.8.6", + "@wrnexus/language-server": "^0.8.6", + "@wrnexus/mcp": "^0.8.6", + "@wrnexus/mobile": "^0.8.6", + "@wrnexus/native": "^0.8.6", + "@wrnexus/oauth": "^0.8.6", + "@wrnexus/observability": "^0.8.6", + "@wrnexus/playground": "^0.8.6", + "@wrnexus/plugin": "^0.8.6", + "@wrnexus/pubsub": "^0.8.6", + "@wrnexus/pwa": "^0.8.6", + "@wrnexus/queue": "^0.8.6", + "@wrnexus/reactive": "^0.8.6", + "@wrnexus/realtime": "^0.8.6", + "@wrnexus/router": "^0.8.6", + "@wrnexus/rpc": "^0.8.6", + "@wrnexus/security": "^0.8.6", + "@wrnexus/ssr": "^0.8.6", + "@wrnexus/store": "^0.8.6", + "@wrnexus/styles": "^0.8.6", + "@wrnexus/syntax": "^0.8.6", + "@wrnexus/test": "^0.8.6", + "@wrnexus/tracking": "^0.8.6", + "@wrnexus/typecheck": "^0.8.6", + "@wrnexus/ui": "^0.8.6", + "@wrnexus/uploader": "^0.8.6", + "@wrnexus/validation": "^0.8.6" }, "devDependencies": { "@eslint/js": "^9.0.0", "@tailwindcss/cli": "^4.0.0", "@types/bun": "latest", "@types/node": "^26.1.1", - "@wrnexus/cli": "^0.8.5", + "@wrnexus/cli": "^0.8.6", "eslint": "^9.0.0", "prettier": "latest", "tailwindcss": "^4.0.0", @@ -1504,109 +1504,109 @@ } }, "node_modules/@wrnexus/ai": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/ai/-/ai-0.8.5.tgz", - "integrity": "sha512-TLRbvepuMnIZmsmMH/5cTzHfdkvK2+lNU+CX/2DIRHAC8/ghz2wpp7ZVv/J6LU7shygJx/IDDOJfKlAAwFjEvA==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/ai/-/ai-0.8.6.tgz", + "integrity": "sha512-s+dG8qezNis6Km81SG+2WESFmk1kn+wT1FSfv6FwKm6PyvMB35So4PFXz9BNqsSI1giA+6zW4tlihJFBmSX05w==", "license": "MIT", "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/auth": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/auth/-/auth-0.8.5.tgz", - "integrity": "sha512-6KbeRreKjew3LlY1u5t681nrzZzVMT19hFCRFVeAsL8Avc/VzYqd5G6QdcV2ixDObz4pIktXJL/Yg4LfvzQZ+w==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/auth/-/auth-0.8.6.tgz", + "integrity": "sha512-SBKsfYMib/blRk4CrUw0WOXxb2dNcOwoCxx1S2gq4KYnvNOu18NMH5Vs3DpuxF9/uOLrfOXxOpSXWG1+XbMlUw==", "license": "MIT", "dependencies": { - "@wrnexus/authz": "^0.8.5", - "@wrnexus/captcha": "^0.8.5", - "@wrnexus/core": "^0.8.5", - "@wrnexus/db": "^0.8.5", - "@wrnexus/encryption": "^0.8.5", - "@wrnexus/jwt": "^0.8.5", - "@wrnexus/oauth": "^0.8.5", - "@wrnexus/plugin": "^0.8.5", - "@wrnexus/queue": "^0.8.5", - "@wrnexus/ui": "^0.8.5", - "@wrnexus/validation": "^0.8.5" + "@wrnexus/authz": "^0.8.6", + "@wrnexus/captcha": "^0.8.6", + "@wrnexus/core": "^0.8.6", + "@wrnexus/db": "^0.8.6", + "@wrnexus/encryption": "^0.8.6", + "@wrnexus/jwt": "^0.8.6", + "@wrnexus/oauth": "^0.8.6", + "@wrnexus/plugin": "^0.8.6", + "@wrnexus/queue": "^0.8.6", + "@wrnexus/ui": "^0.8.6", + "@wrnexus/validation": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/authz": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/authz/-/authz-0.8.5.tgz", - "integrity": "sha512-tgtnNkPp+qVk0W6Tq/Kn4PXsbD14mAEpGKhvNyHwqY/fU5zp3D+1L+RjiWPA2r0+qOhfePOJdgBFvbODAdBcrA==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/authz/-/authz-0.8.6.tgz", + "integrity": "sha512-2n3dqXdxXS1lXxb7m/WzPbcP4PzBS/d2rm4nNpVbXBD1p26ajnqJTPcph/71LMUJnxuYGJOsUIvNwJsRoJil3w==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5", - "@wrnexus/db": "^0.8.5" + "@wrnexus/core": "^0.8.6", + "@wrnexus/db": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/benchmark": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/benchmark/-/benchmark-0.8.5.tgz", - "integrity": "sha512-PjtCCI7KUuKQW1k2K0apjVnvUIPocPmxOJii/TnsxgzNYE5W22IFux5rOK93sM2zUJVB6aUaR4jQhCxctUMjsg==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/benchmark/-/benchmark-0.8.6.tgz", + "integrity": "sha512-GEnaw2tWgmMkZxJFaS9LTJiX4JM+fI/tu9Mub4Uj+apmZkorRkGvqaSqJ4FMBAv2xlpUCIzaM8LdsZCQj/vc0A==", "license": "MIT", "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/cache": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/cache/-/cache-0.8.5.tgz", - "integrity": "sha512-d3SXerkaUArgWo68FXdyr2owtji9cSHEsMH6bkQIAgFh3BvbQn5nvA+BHX37EqUAWpMcOMfSG9tw08kLFgBTHA==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/cache/-/cache-0.8.6.tgz", + "integrity": "sha512-jUmx6mglnS8NtHBc8tnrKcPRsJd0pKJ2EN9HZqSDT2aNLaocoVHt+JwJNy4s1XWPmp/aHMT6JxSBACrPGaZYgQ==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5" + "@wrnexus/core": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/captcha": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/captcha/-/captcha-0.8.5.tgz", - "integrity": "sha512-QFH+MXxiIZWEfZDUm28pJcCkDkRFb7Dehw4URscuMZar4wCrWCsE+xdhtHZiNiaBqwfSwWFqcH2qVjweT/ZVDg==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/captcha/-/captcha-0.8.6.tgz", + "integrity": "sha512-tjL1RckyI8u8a2QGJ2rh3YVDl+V2k/CfPS7+H8/jLGI1EyaYYVHLyqDZOkFE0dxrVNhJa9zz6HD6bfmRFf+N6Q==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5", - "@wrnexus/plugin": "^0.8.5", - "@wrnexus/ui": "^0.8.5", - "@wrnexus/validation": "^0.8.5" + "@wrnexus/core": "^0.8.6", + "@wrnexus/plugin": "^0.8.6", + "@wrnexus/ui": "^0.8.6", + "@wrnexus/validation": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/cli": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/cli/-/cli-0.8.5.tgz", - "integrity": "sha512-k0QOLnDrDY/gNzY3VTEZgYhobI3xJH0xjqjdVr2/6VBxkmuDXqZt1vOLS37p5ugbfpLOw+aIrcfQ8iG4u3w2iw==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/cli/-/cli-0.8.6.tgz", + "integrity": "sha512-Av8XUTfFh4XFX6Z2iJl//xLAmiJ2mIOiZMCNEAdY97kD8H5Ev5KOb8HPb2uiTIfKrDL0aHRqHW+6xzWN/kAgUg==", "dev": true, "license": "MIT", "dependencies": { - "@wrnexus/authz": "^0.8.5", - "@wrnexus/compiler": "^0.8.5", - "@wrnexus/core": "^0.8.5", - "@wrnexus/csr": "^0.8.5", - "@wrnexus/db": "^0.8.5", - "@wrnexus/dev-server": "^0.8.5", - "@wrnexus/i18n": "^0.8.5", - "@wrnexus/mcp": "^0.8.5", - "@wrnexus/playground": "^0.8.5", - "@wrnexus/plugin": "^0.8.5", - "@wrnexus/router": "^0.8.5", - "@wrnexus/security": "^0.8.5", - "@wrnexus/styles": "^0.8.5", - "@wrnexus/syntax": "^0.8.5", - "@wrnexus/typecheck": "^0.8.5", - "@wrnexus/ui": "^0.8.5", - "@wrnexus/validation": "^0.8.5", + "@wrnexus/authz": "^0.8.6", + "@wrnexus/compiler": "^0.8.6", + "@wrnexus/core": "^0.8.6", + "@wrnexus/csr": "^0.8.6", + "@wrnexus/db": "^0.8.6", + "@wrnexus/dev-server": "^0.8.6", + "@wrnexus/i18n": "^0.8.6", + "@wrnexus/mcp": "^0.8.6", + "@wrnexus/playground": "^0.8.6", + "@wrnexus/plugin": "^0.8.6", + "@wrnexus/router": "^0.8.6", + "@wrnexus/security": "^0.8.6", + "@wrnexus/styles": "^0.8.6", + "@wrnexus/syntax": "^0.8.6", + "@wrnexus/typecheck": "^0.8.6", + "@wrnexus/ui": "^0.8.6", + "@wrnexus/validation": "^0.8.6", "selfsigned": "^5.5.0" }, "bin": { @@ -1617,198 +1617,198 @@ } }, "node_modules/@wrnexus/compiler": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/compiler/-/compiler-0.8.5.tgz", - "integrity": "sha512-+jU7J8SBsDylMw22y5LiK1R80Etv5o5uX5bELGVxiKD/au2rw6JTFI7ERxVFjw4i4C1ASnwkfA6pnbUzbdP6Lw==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/compiler/-/compiler-0.8.6.tgz", + "integrity": "sha512-/fa1U37+A8itfFPxMyAtVe5JVgo0dSMavq72omJNQk8yB7r46HuQ7AUtm2DBwCQxv16kq6USvHXo1lRIOvsy0A==", "license": "MIT", "dependencies": { - "@wrnexus/csr": "^0.8.5", - "@wrnexus/store": "^0.8.5", - "@wrnexus/syntax": "^0.8.5", - "@wrnexus/validation": "^0.8.5" + "@wrnexus/csr": "^0.8.6", + "@wrnexus/store": "^0.8.6", + "@wrnexus/syntax": "^0.8.6", + "@wrnexus/validation": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/content": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/content/-/content-0.8.5.tgz", - "integrity": "sha512-pD7gqEY+phI4ggfQ7/SG927GgPSUkGDHk3mXSAFJmIQl2xoeVRlLSilbnYOaHT8+rR4Fx/zMuGNhu2SCOMk/Ag==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/content/-/content-0.8.6.tgz", + "integrity": "sha512-gOYn2A53ZCqNpI954HvAaeaYblEr2c2TZtUSik/VXScDn6M/rLqpPuIk9EHKvenHDYOW28QOHPxswUAYwmtNoQ==", "license": "MIT", "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/core": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/core/-/core-0.8.5.tgz", - "integrity": "sha512-mKPNgOKa68T1056Z/Ond1WL7qBT2pDvG72WQfdQ4Z8+XQ9aQXLr5tikBtoUOW5xj9mQdQLJ3Di4tqjhjCMoR1g==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/core/-/core-0.8.6.tgz", + "integrity": "sha512-m/VUFVc736ijvSOKqVrsA2Nd6Ty7CZmtrKgYOMOoQELoxtmWM8CifjKicJQgTX7NwlOLYFa7PITqpqiBRDizQA==", "license": "MIT", "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/csr": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/csr/-/csr-0.8.5.tgz", - "integrity": "sha512-e1kh6PyA9CnzVmbQRcvBPvkJzsIWP4Z6HDppFDOymwIKPf7/aFck2u7r5pM9XDLLuNaJOPyq2BOfj1a/vF1yUQ==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/csr/-/csr-0.8.6.tgz", + "integrity": "sha512-leB5XDZVApT6tw+EdIsnZhqaQ4aT3CpwNZWCRcyp+LNYmoohWu5rI342Zb2cuvEWGeA45Xma+lQ/y/8oGvkbQA==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5" + "@wrnexus/core": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/db": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/db/-/db-0.8.5.tgz", - "integrity": "sha512-cRLPfh+4+0iOTrWW5HqMiHRyUdmQLMAdtSPeB9XkCSctUZFfRGjKRpqnlgzglh4q2TijFymSiJUpVCut84KpLA==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/db/-/db-0.8.6.tgz", + "integrity": "sha512-t7OrLnEKoLYds6F/IhLq8LRx61WWErym7mcETuJWPzsRV+Wlv0z3qTj8S/S4hKMc9Lv94X9CyxGq1u4hd1gJfQ==", "license": "MIT", "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/dev-server": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/dev-server/-/dev-server-0.8.5.tgz", - "integrity": "sha512-kSztqn4b+eeJeAadT+fWxVCxG2jXGrrxWbzOBHTGzN2KI4Z8nHlvJZCY1XOpUUCsGwKfF6jC29n2L5N0DBjYNQ==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/dev-server/-/dev-server-0.8.6.tgz", + "integrity": "sha512-yLlt9UB+wlXUhVxnqBGXfCF0+TxiB7GEgO0bsY/6qt/he9p4lcZ3ig4flJ608oppk8CZcpEKv+/pWAE8GkpSYQ==", "license": "MIT", "dependencies": { - "@wrnexus/authz": "^0.8.5", - "@wrnexus/cache": "^0.8.5", - "@wrnexus/compiler": "^0.8.5", - "@wrnexus/core": "^0.8.5", - "@wrnexus/csr": "^0.8.5", - "@wrnexus/db": "^0.8.5", - "@wrnexus/dev-toolbar": "^0.8.5", - "@wrnexus/i18n": "^0.8.5", - "@wrnexus/observability": "^0.8.5", - "@wrnexus/plugin": "^0.8.5", - "@wrnexus/pubsub": "^0.8.5", - "@wrnexus/pwa": "^0.8.5", - "@wrnexus/router": "^0.8.5", - "@wrnexus/rpc": "^0.8.5", - "@wrnexus/security": "^0.8.5", - "@wrnexus/ssr": "^0.8.5", - "@wrnexus/store": "^0.8.5", - "@wrnexus/styles": "^0.8.5", - "@wrnexus/ui": "^0.8.5", - "@wrnexus/uploader": "^0.8.5", - "@wrnexus/validation": "^0.8.5" + "@wrnexus/authz": "^0.8.6", + "@wrnexus/cache": "^0.8.6", + "@wrnexus/compiler": "^0.8.6", + "@wrnexus/core": "^0.8.6", + "@wrnexus/csr": "^0.8.6", + "@wrnexus/db": "^0.8.6", + "@wrnexus/dev-toolbar": "^0.8.6", + "@wrnexus/i18n": "^0.8.6", + "@wrnexus/observability": "^0.8.6", + "@wrnexus/plugin": "^0.8.6", + "@wrnexus/pubsub": "^0.8.6", + "@wrnexus/pwa": "^0.8.6", + "@wrnexus/router": "^0.8.6", + "@wrnexus/rpc": "^0.8.6", + "@wrnexus/security": "^0.8.6", + "@wrnexus/ssr": "^0.8.6", + "@wrnexus/store": "^0.8.6", + "@wrnexus/styles": "^0.8.6", + "@wrnexus/ui": "^0.8.6", + "@wrnexus/uploader": "^0.8.6", + "@wrnexus/validation": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/dev-toolbar": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/dev-toolbar/-/dev-toolbar-0.8.5.tgz", - "integrity": "sha512-gIg/OQlAD63XRtQ0ncAu6RuDQaVTOYgBxUSgIB6dq4+LZQGsKgv7GZMej5LwGOJsw1eU1+X7qtUqJ8GWiWQNSw==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/dev-toolbar/-/dev-toolbar-0.8.6.tgz", + "integrity": "sha512-YfRbMBlFEci8Idoqt68dO66oVfEZqduC45EaR4i1GllwNmwe6POoeZCmn1DbCE5LVLRM8RtDOmT8AZaaRjdvoQ==", "license": "MIT", "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/encryption": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/encryption/-/encryption-0.8.5.tgz", - "integrity": "sha512-nfqb2DJ2FHGozkfxrxOeNrb96fZ4X5IJXM0DCF0Ix75nnHFcYEVc2MXll1uoQt0K6YYUl27NzVx2W7Sakz6hFA==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/encryption/-/encryption-0.8.6.tgz", + "integrity": "sha512-b2zfDgsHgDEeNX1R6dPH5HoxAVBJgQx8pGt9UydN2d02HS6hIbUBg5k679DFDlI1GEZ8qT2BcD8e64DjVXdjuw==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5" + "@wrnexus/core": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/graphql": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/graphql/-/graphql-0.8.5.tgz", - "integrity": "sha512-/9+ONokYh9b3ZiLT8XVz8BQNOTsPjYHx6TG74X4YpkG4wpIYB7T2aWzgheAeHg/qPy3l17gbQiMDnH9VzEU3/g==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/graphql/-/graphql-0.8.6.tgz", + "integrity": "sha512-Q8w9IGpqD6NU+qFXEa01Pp+9iMyRAujB/YMALMGE5KjLZI7iP71o8oF7EOXe1fdGNQfMTJSk+CX4SsXVaZi4mQ==", "license": "MIT", "dependencies": { - "@wrnexus/plugin": "^0.8.5" + "@wrnexus/plugin": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/helpers": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/helpers/-/helpers-0.8.5.tgz", - "integrity": "sha512-2FHTuCklh4JKv3w0bfNW2qm/ulweSvluFF0GoIG7EVjBxP6AQO6JyaaZVddd/7N1k5Klnbir9+aiDBgcbf5gWQ==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/helpers/-/helpers-0.8.6.tgz", + "integrity": "sha512-0jOjKn5scK3qAKcK9fEv++yiND174/Mw0f6k+3ICM1mbWL4sZFLN1mJFcF5qdcyKU3yzax9H3f7szt/iYjJthw==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5" + "@wrnexus/core": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/i18n": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/i18n/-/i18n-0.8.5.tgz", - "integrity": "sha512-9VgDK6pjVk7QPG/WYtDmqLw2myBKTMHu5Bl39rX52yJY6bm6W9o+/bFZ14x3IlJ66JFO+XTkHviC2RnQwUD8TQ==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/i18n/-/i18n-0.8.6.tgz", + "integrity": "sha512-IGKn35S1tc5yUrC30+RU82ToxXhEElFuro2LF8tJq/PUjQFWDv0GPuml6eadgwwya2wPoztqOY6kFzC8fX6GyQ==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5", - "@wrnexus/plugin": "^0.8.5", - "@wrnexus/ui": "^0.8.5" + "@wrnexus/core": "^0.8.6", + "@wrnexus/plugin": "^0.8.6", + "@wrnexus/ui": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/identity": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/identity/-/identity-0.8.5.tgz", - "integrity": "sha512-YUQ/8XunmUFEyHbqOhITHV5KgszJGLCDvGZvlXkHUzbia5B2nakYy0Gw+RsSumYCGcXmxalbSx+UhmMkHY+cfA==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/identity/-/identity-0.8.6.tgz", + "integrity": "sha512-vGXUPk9Do3Qxe3g1K2QqE8e7QMZpFTEsTtny4pmQNrlMJqVMptvTh41Md2ftRN7Q+LB56ggNOqXDMiN3ycaM9A==", "license": "MIT", "dependencies": { - "@wrnexus/auth": "^0.8.5", - "@wrnexus/authz": "^0.8.5", - "@wrnexus/oauth": "^0.8.5" + "@wrnexus/auth": "^0.8.6", + "@wrnexus/authz": "^0.8.6", + "@wrnexus/oauth": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/image": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/image/-/image-0.8.5.tgz", - "integrity": "sha512-+Bf3DNaLQAw4oMYCw3U9wT1h6AGQH1uC7PjKPNsns1pxhpqeSjOOjLI3pI8HaWjeR9D9sZ3XaGqqV3ly7LFZ1g==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/image/-/image-0.8.6.tgz", + "integrity": "sha512-QvdAEj0YhPRiH6TA4DX7mmJdwbvxqQ6+1znnZyiWNpj4xggsyurOWBz/fXH3Shzqno4Tw3uchYTqdkYceb1q4g==", "license": "MIT", "dependencies": { - "@wrnexus/plugin": "^0.8.5", - "@wrnexus/security": "^0.8.5", - "@wrnexus/ui": "^0.8.5" + "@wrnexus/plugin": "^0.8.6", + "@wrnexus/security": "^0.8.6", + "@wrnexus/ui": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/jwt": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/jwt/-/jwt-0.8.5.tgz", - "integrity": "sha512-tj3UnWR1Uqtrnon4+UNlHcI1pqgmk/ul4b+Oc9HynKd1r7OqO41P92AFgFTPHyeR1xRrl0/ELaIqpE/uIz4wrw==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/jwt/-/jwt-0.8.6.tgz", + "integrity": "sha512-Cf8mQ/aRr74S1mRbeN1Qx3ICWOeHQkXFVqJljHROlWpinpfKurE59XT1jENYCghzIfZH6jKUqWOGXNHilIqduQ==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5" + "@wrnexus/core": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/language-server": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/language-server/-/language-server-0.8.5.tgz", - "integrity": "sha512-G2UmH+a9/9xxaJqqYeOHx/A1baj8TELCKy2ehoa/H1jB9ZbMl0GXkzUS0jZSHEDio6Ln2R1wpC6PvSIkwmAsWg==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/language-server/-/language-server-0.8.6.tgz", + "integrity": "sha512-fdcQLd9rzYxWMDqIZYF1WCIDOAaRDrdR2+K0Bk7MoVApgKd6FD20AN6Qs1MKhr5grUfMzvLxaDIcXSuL9yGDlQ==", "license": "MIT", "dependencies": { - "@wrnexus/syntax": "^0.8.5", - "@wrnexus/typecheck": "^0.8.5" + "@wrnexus/syntax": "^0.8.6", + "@wrnexus/typecheck": "^0.8.6" }, "bin": { "wrnexus-language-server": "dist/server.js" @@ -1818,9 +1818,9 @@ } }, "node_modules/@wrnexus/mcp": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/mcp/-/mcp-0.8.5.tgz", - "integrity": "sha512-xDcXX9sYkBOX5CHYTEi7zjPr0SRReyN+p9zvLQFjVK0WVv9TRws9FckSujyz1RNHjSf0PxK2vr9d0ibdxG33Pw==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/mcp/-/mcp-0.8.6.tgz", + "integrity": "sha512-x24SqmbGw+mILna/5uf16t00ll0fAzCB95/BHlC4xmlQOmnU6jCQpg/c5Et9j9I698H1a6LvG9x6TB7/Ft9ybA==", "license": "MIT", "bin": { "wrnexus-mcp": "dist/stdio.js" @@ -1830,239 +1830,239 @@ } }, "node_modules/@wrnexus/mobile": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/mobile/-/mobile-0.8.5.tgz", - "integrity": "sha512-qHbwKp3TIAdRBEaV/7ixDA4LUyArsJZmOCGlTsrA2xQiO3YGvMNNsh9rjSqZuQO5tC1WrJVXMmOnMbtJf2jJjQ==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/mobile/-/mobile-0.8.6.tgz", + "integrity": "sha512-QLi80kt8ia2OubaWyW9Bwnf2k2veUJ49n5WPKn2DiuDCfHAoWapark8xPmrxVJLw8ctDr0DtM4BvP+a+m2OdoQ==", "license": "MIT", "dependencies": { - "@wrnexus/native": "^0.8.5" + "@wrnexus/native": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/native": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/native/-/native-0.8.5.tgz", - "integrity": "sha512-181rt4/KLBcCOcRe62N0Txx6fiJplsmz4e8F6nbC2gGKplxH+WYXfp0+ZeL6szXqhVBb/rbsZgRi9Xots/7xHw==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/native/-/native-0.8.6.tgz", + "integrity": "sha512-tvixeM+JnBG+lndVBZn9SmlaNq/Pvj/JjpV+gjkmmg9XH4Cnh0egh4uyqxGv+kC9svnAgzq+WOb20binOp+0ZQ==", "license": "MIT", "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/oauth": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/oauth/-/oauth-0.8.5.tgz", - "integrity": "sha512-kkYXRaftZGcKnvm3UxlgUBnE6DWZ5/cTSj4LIJ3C4Y2j0vXdso+CSmPPzXM3TvPY/4d1NQMuBOB69JC83s70nA==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/oauth/-/oauth-0.8.6.tgz", + "integrity": "sha512-PaIvb+MHMQ+s2SRantoHo4AgtMRImMxZ4EiI7DtiPrd/lhGvXkwQXaX0mDDOwV5lMhkvWq2cx5gMhewOKuceJw==", "license": "MIT", "dependencies": { - "@wrnexus/jwt": "^0.8.5" + "@wrnexus/jwt": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/observability": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/observability/-/observability-0.8.5.tgz", - "integrity": "sha512-gEWx5mruRElJbCKTYRFdncotXHJOqw7Bzm41dcR+NVvkZlV8ome+s8f8XPzlJWpYmFYVzGj9N0ev14AP3ax9kw==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/observability/-/observability-0.8.6.tgz", + "integrity": "sha512-tAdVBGLx/xJpcYtQLkLc8YAFMNlXH2KrHeefU/Hx/ZVtDNgwrVhQqLYctq7s6q7a3i6zDUuJ50DX4J9XFUJmOA==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5" + "@wrnexus/core": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/playground": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/playground/-/playground-0.8.5.tgz", - "integrity": "sha512-8saMjmZfRiFXMlMa4qjyG66xfVqCoQhsW/KeIQUF/MkCFtm8FGkexgR5RANiH8wALD/d8uEMNnPMRg7B1iWymw==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/playground/-/playground-0.8.6.tgz", + "integrity": "sha512-m6kGb3hQchlWd+2Q211BCoFo2Qd0J3ItL1vNAGxEwpA+WO4zj3mcXK6YEgP4cHns+90AFP6GjEgCjUAa4Ldrhg==", "license": "MIT", "dependencies": { - "@wrnexus/compiler": "^0.8.5", - "@wrnexus/syntax": "^0.8.5" + "@wrnexus/compiler": "^0.8.6", + "@wrnexus/syntax": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/plugin": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/plugin/-/plugin-0.8.5.tgz", - "integrity": "sha512-PYgpNZ6dmJvv+DJUtv8rKd1SAQ0as12Y5UZcy0SpHU+ZUrrrOakwpOtAdXlKJTG1+1rsZjbdDVgFIauSnnOOpg==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/plugin/-/plugin-0.8.6.tgz", + "integrity": "sha512-W2OtscCsv7PPuCAWCQ5pj8bVk9qcoGm12LYnQ+QUOd7a5wPBb1ucedl8+vbZS+HHYfNs9eOIywMz/dXo8otluA==", "license": "MIT", "dependencies": { - "@wrnexus/syntax": "^0.8.5" + "@wrnexus/syntax": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/pubsub": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/pubsub/-/pubsub-0.8.5.tgz", - "integrity": "sha512-3XNKkRestcL8UDCM1GBWxbl6W5k1vx4Gi1XzpsWF9TrAf42wwFgYvdTrDknNqf58Mf7QGUAhwZFL/HN4AIH7/A==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/pubsub/-/pubsub-0.8.6.tgz", + "integrity": "sha512-34TlBxf0HvpcTNp5hPOufWuqIZqUYivbfp0BCdMMUvZqhcG3YCnhH0K5PPkJzVS04wj6myaNcv9nu24wxRGb9w==", "license": "MIT", "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/pwa": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/pwa/-/pwa-0.8.5.tgz", - "integrity": "sha512-mpXZqlD1M9OForvmdFPdjisZM+ymf7qpm2U7FvneogXxsUIrTSGUEtPg9QMKdw30WkTR4zqvEpCbfWaVOSkhIA==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/pwa/-/pwa-0.8.6.tgz", + "integrity": "sha512-t6ZQezxbAPuTkpFfUSZhOfNOOtrog3sV1JiJOiPmK/aSL05l2o5KBpqxLczzR6wbxTLFn3nLEt1h84ub5mzOEA==", "license": "MIT", "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/queue": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/queue/-/queue-0.8.5.tgz", - "integrity": "sha512-2IT0Gj+THkyqu+8X/XfHn4JEkhd/MvYMIGv5al7WFDgmrOb20Ls6dfNDenoDmXjSWkLcACRRXYTX+Zxj6/2MKQ==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/queue/-/queue-0.8.6.tgz", + "integrity": "sha512-fWJsLZOcLkuiYHqOa/jHjyqVMTlUxexO46S/7iXFYEgKEvOb+gnrF/4efdsqnvjjjYEkmGypUkRxTP1vgfVzlw==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5" + "@wrnexus/core": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/reactive": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/reactive/-/reactive-0.8.5.tgz", - "integrity": "sha512-ccRzjvXz5PZDajFBJ4pclQ9AIFrFpn8ZAwgi+OSiQJSr6elDVdx+lDNQXngkfK2OuJyBvkZNg/7GLnT9sbm6eg==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/reactive/-/reactive-0.8.6.tgz", + "integrity": "sha512-tgzFwilkjsG8JawcTS99cuKSgD+ZiKD72KE5KGQmEBAzgP8NMYmmCdhTxTzeqKTwo1P7KKZi5MOFDnlu7LfdMw==", "license": "MIT", "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/realtime": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/realtime/-/realtime-0.8.5.tgz", - "integrity": "sha512-oGIF/RAmrlo2hrXRYNIwNDHNcdrUT0CYo5vXk3GDiXGTeDpIdoGxwP7qVYNYxTkqHvxJnA4Lls4MtZBD63nuqQ==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/realtime/-/realtime-0.8.6.tgz", + "integrity": "sha512-m3zlV67fcAGdkpVQxwwybbVy97gjsWscJn+Cz/xOQNJXPjPW1sL7VPCJYiujDgTKhoobSJT4nBVUMbdwqQ+4ew==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5", - "@wrnexus/plugin": "^0.8.5", - "@wrnexus/ui": "^0.8.5" + "@wrnexus/core": "^0.8.6", + "@wrnexus/plugin": "^0.8.6", + "@wrnexus/ui": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/router": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/router/-/router-0.8.5.tgz", - "integrity": "sha512-vKwKHNynHGufqD2xjntGzvf0ZwFrqWWnrs7H3gbIg9cUfbD6zdaYYDEm0UpuEDR4A5g6Y2hvEcPTyncj+nIQjw==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/router/-/router-0.8.6.tgz", + "integrity": "sha512-q8zB9jq7ZCptvX+9O84Be/hBpySkzCif6EqAVt0l75mDIjaHd3aK1SrdgXkQcKOi2KlU+4zP4iUc/f2pTyPryQ==", "license": "MIT", "dependencies": { - "@wrnexus/compiler": "^0.8.5", - "@wrnexus/core": "^0.8.5" + "@wrnexus/compiler": "^0.8.6", + "@wrnexus/core": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/rpc": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/rpc/-/rpc-0.8.5.tgz", - "integrity": "sha512-qxG/GayQxN9iusJ50M4ybsXPwdJUYCEB0Pkghs7dG1B+FcKOrYDkysx+zwaQ3uYN8ugfL4hk2NPmczRow41x3w==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/rpc/-/rpc-0.8.6.tgz", + "integrity": "sha512-nQWFHd7LPrerbWZQk8Nru0+1muQCRbMc8alvP041JRnUL+YlKFC9zG2lt4Ftux6pMGIFB8T2v1pVEzwgBQgqjg==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5", - "@wrnexus/helpers": "^0.8.5", - "@wrnexus/jwt": "^0.8.5", - "@wrnexus/validation": "^0.8.5" + "@wrnexus/core": "^0.8.6", + "@wrnexus/helpers": "^0.8.6", + "@wrnexus/jwt": "^0.8.6", + "@wrnexus/validation": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/security": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/security/-/security-0.8.5.tgz", - "integrity": "sha512-JJ2kzLdlWv3BuixJIi4HwMEk6Ke+gLmvINVJf5JInxsqc+hpikGyPDdkgCsY/6uS0ZS4vnFOiHs7GgmLwPQ33g==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/security/-/security-0.8.6.tgz", + "integrity": "sha512-Yuld+0JZYzJSG41bcr63V81OyOuTzrkHWO1F7rauNeARalIuWJE5RsoiQFvaS7G9mBXM858QoIqUz5hUlfv9gg==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5" + "@wrnexus/core": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/ssr": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/ssr/-/ssr-0.8.5.tgz", - "integrity": "sha512-Ju27nwR3SoupXvkTYwRqNXTgHaxB1XpN03LO7pHFV2QTw9zAvsAx818A99g5PmZoN87VuJX51kz+Dnqy5FoBow==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/ssr/-/ssr-0.8.6.tgz", + "integrity": "sha512-YE1TrNRhJN5e0bIJLTSgBns/ggjwN7CgOXrQ8PZZ58FWjqxrMxVVG5/0rfcnlHo1mvm6I6+QWcI+11HCK1xW+g==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5", - "@wrnexus/security": "^0.8.5", - "@wrnexus/store": "^0.8.5" + "@wrnexus/core": "^0.8.6", + "@wrnexus/security": "^0.8.6", + "@wrnexus/store": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/store": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/store/-/store-0.8.5.tgz", - "integrity": "sha512-d52gERyyfqNd3kwiRbQ9+y8BxhP3VxckwCE6BU+vB4DYvMFAD6b0R4sAYSKgbO4gU8QS4vbO4blNXTyaeHlc0A==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/store/-/store-0.8.6.tgz", + "integrity": "sha512-aufLAYyFNx7U2b1c0hDDIUj9CxG79ENckVqAVV41Bl5GxmqizHEVnX5G8dNw1aBe0smuwWsqgN7ipTB91VftqA==", "license": "MIT", "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/styles": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/styles/-/styles-0.8.5.tgz", - "integrity": "sha512-aSuvyiHGWTFKOPnUPsfybE5hFXQFnz1cIFluGkd0ACE3F8x83YzaM6rheCADvRvDfEUDVor40VD1QEEYNawmUQ==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/styles/-/styles-0.8.6.tgz", + "integrity": "sha512-d1uvrmC1yRuvdfW/Gao8jfJYw1FUD186Ndrm5zFfKGB3AelXxw+3a/CviVDdYF9MucgoPGhYXbDFlsn5gR4TpA==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5", - "@wrnexus/plugin": "^0.8.5", - "@wrnexus/uploader": "^0.8.5" + "@wrnexus/core": "^0.8.6", + "@wrnexus/plugin": "^0.8.6", + "@wrnexus/uploader": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/syntax": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/syntax/-/syntax-0.8.5.tgz", - "integrity": "sha512-6MHmdzR1D+/gD6cXdbOgzzgj6I62VCyRVmtx8sa+qHrrcftdARj5OI/YyjyMGpHKdOCx4rGUhOCrSkjjiKgPDg==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/syntax/-/syntax-0.8.6.tgz", + "integrity": "sha512-ODHB6mNba2W7dRCTb46NeqFByac3y1RuIUVTfhsMijoGRmN6YOfqsR2Qcchril8SIH3xolzdUqzbSJF/RCkuNw==", "license": "MIT", "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/test": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/test/-/test-0.8.5.tgz", - "integrity": "sha512-dNGayxozSDjDYOlnR5cPYZfX4lIxrksCAFKHTDWHfpKd/UmLCj2BvarSF1hKsZf7PcKwy3U1T+unMPRwf56ghg==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/test/-/test-0.8.6.tgz", + "integrity": "sha512-BKQT4636XgbnwTlJVBqHKaL1k+5diN5GStQbvz76LbSsnRDTWP4m8f//JFnUxL27r1/YXxSxsP2hIdWf5adKeg==", "license": "MIT", "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/tracking": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/tracking/-/tracking-0.8.5.tgz", - "integrity": "sha512-UZ0Z9yJ7I4XxAcsfOONPKgcjXdyD9qIgUGqRZvZ3yT6WCI1vSYedZb1hhIdHZ2romWOmiHaEut+tto95NivLOQ==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/tracking/-/tracking-0.8.6.tgz", + "integrity": "sha512-CHN+Xk5+F5L5wis8xUMLt9aQ7khvCdBQbCDFl4ELRgcbQHajzO45kBDUz5rV3XolYkzRRHrH7LNWqMArZ1kAlQ==", "license": "MIT", "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/typecheck": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/typecheck/-/typecheck-0.8.5.tgz", - "integrity": "sha512-O8Y2CbReia1zUBeSNLXNa9qpp0js4uUMmhE2yvM6lu4mh5Iw/6It2VgQH910zstPx6mDnnQlpTF5S/x+X1Oocg==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/typecheck/-/typecheck-0.8.6.tgz", + "integrity": "sha512-j5uE6eK5AxurHhN4Aw9ngnKE5PUEQF93SywtGYMXw91chtdAH1Fx4u1xLewB7n4jLCXPCEg8blAs3GmNfNvMLw==", "license": "MIT", "dependencies": { - "@wrnexus/syntax": "^0.8.5", + "@wrnexus/syntax": "^0.8.6", "typescript": "^5.5.0" }, "engines": { @@ -2070,40 +2070,40 @@ } }, "node_modules/@wrnexus/ui": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/ui/-/ui-0.8.5.tgz", - "integrity": "sha512-9ZjOAZ1gGJs2v1AYY8tJQd24MqYV8xxyjlII3JFiYXt0Ek5EGlpY4l79i8zVCxWwQXrCkt1xWlacOM7F6hzdJA==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/ui/-/ui-0.8.6.tgz", + "integrity": "sha512-SFgbDQRZaY3chIAUxnlLqVOU/52hK/Ytpg5I6D8v1DqYX0W9rjGhF6kkJT1X+yu4/XGhj2dndsg7ik4tZYF3uA==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5" + "@wrnexus/core": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/uploader": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/uploader/-/uploader-0.8.5.tgz", - "integrity": "sha512-rk0VipXH5B3oWR1qsb1NLtZ2tSraRzwlgbMP/GC8UpzFdW2hCOwFAa9u5dES1sPEGqTlcHoK9xLherSRfaB6KQ==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/uploader/-/uploader-0.8.6.tgz", + "integrity": "sha512-z5fySfqpSXsikGyFMpOgOAydlIeK/N9ZbiHDfWEUMd9HwZO8PVLnZydLafN8L+uMKslbJVhLGB2zGH04L+7eAA==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5", - "@wrnexus/plugin": "^0.8.5", - "@wrnexus/ui": "^0.8.5" + "@wrnexus/core": "^0.8.6", + "@wrnexus/plugin": "^0.8.6", + "@wrnexus/ui": "^0.8.6" }, "engines": { "bun": ">=1.3.0" } }, "node_modules/@wrnexus/validation": { - "version": "0.8.5", - "resolved": "https://registry.npmjs.org/@wrnexus/validation/-/validation-0.8.5.tgz", - "integrity": "sha512-qtSEu3qRgxhyUu+3fhMr4pR6PaBHUtTnDqI/UeQ+u0buMx06j54iXvy8TW7dwe8QVvY5AmY8zvT5jaeYlKt1xA==", + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@wrnexus/validation/-/validation-0.8.6.tgz", + "integrity": "sha512-BTbpjkg7A0d/bhjeg6veNK8weyn/1O3r+MOmxjDn4ESZhBCw/fxBQO6Mj1FhcOu4rs2hiS3TvNpd9B7UY/cMaA==", "license": "MIT", "dependencies": { - "@wrnexus/core": "^0.8.5", - "@wrnexus/plugin": "^0.8.5", - "@wrnexus/ui": "^0.8.5" + "@wrnexus/core": "^0.8.6", + "@wrnexus/plugin": "^0.8.6", + "@wrnexus/ui": "^0.8.6" }, "engines": { "bun": ">=1.3.0" diff --git a/package.json b/package.json index 099f4ae4..070e6598 100644 --- a/package.json +++ b/package.json @@ -27,59 +27,59 @@ "dependencies": { "@iconify-json/lucide": "^1.2.118", "@iconify/tailwind4": "^1.2.3", - "@wrnexus/ai": "^0.8.5", - "@wrnexus/authz": "^0.8.5", - "@wrnexus/compiler": "^0.8.5", - "@wrnexus/core": "^0.8.5", - "@wrnexus/csr": "^0.8.5", - "@wrnexus/db": "^0.8.5", - "@wrnexus/dev-server": "^0.8.5", - "@wrnexus/encryption": "^0.8.5", - "@wrnexus/helpers": "^0.8.5", - "@wrnexus/i18n": "^0.8.5", - "@wrnexus/jwt": "^0.8.5", - "@wrnexus/mobile": "^0.8.5", - "@wrnexus/native": "^0.8.5", - "@wrnexus/oauth": "^0.8.5", - "@wrnexus/pubsub": "^0.8.5", - "@wrnexus/queue": "^0.8.5", - "@wrnexus/reactive": "^0.8.5", - "@wrnexus/router": "^0.8.5", - "@wrnexus/ssr": "^0.8.5", - "@wrnexus/styles": "^0.8.5", - "@wrnexus/test": "^0.8.5", - "@wrnexus/tracking": "^0.8.5", - "@wrnexus/ui": "^0.8.5", - "@wrnexus/uploader": "^0.8.5", - "@wrnexus/validation": "^0.8.5", - "@wrnexus/dev-toolbar": "^0.8.5", - "@wrnexus/syntax": "^0.8.5", - "@wrnexus/plugin": "^0.8.5", - "@wrnexus/captcha": "^0.8.5", - "@wrnexus/auth": "^0.8.5", - "@wrnexus/store": "^0.8.5", - "@wrnexus/typecheck": "^0.8.5", - "@wrnexus/security": "^0.8.5", - "@wrnexus/cache": "^0.8.5", - "@wrnexus/image": "^0.8.5", - "@wrnexus/observability": "^0.8.5", - "@wrnexus/benchmark": "^0.8.5", - "@wrnexus/realtime": "^0.8.5", - "@wrnexus/content": "^0.8.5", - "@wrnexus/graphql": "^0.8.5", - "@wrnexus/identity": "^0.8.5", - "@wrnexus/language-server": "^0.8.5", - "@wrnexus/mcp": "^0.8.5", - "@wrnexus/playground": "^0.8.5", - "@wrnexus/pwa": "^0.8.5", - "@wrnexus/rpc": "^0.8.5" + "@wrnexus/ai": "^0.8.6", + "@wrnexus/authz": "^0.8.6", + "@wrnexus/compiler": "^0.8.6", + "@wrnexus/core": "^0.8.6", + "@wrnexus/csr": "^0.8.6", + "@wrnexus/db": "^0.8.6", + "@wrnexus/dev-server": "^0.8.6", + "@wrnexus/encryption": "^0.8.6", + "@wrnexus/helpers": "^0.8.6", + "@wrnexus/i18n": "^0.8.6", + "@wrnexus/jwt": "^0.8.6", + "@wrnexus/mobile": "^0.8.6", + "@wrnexus/native": "^0.8.6", + "@wrnexus/oauth": "^0.8.6", + "@wrnexus/pubsub": "^0.8.6", + "@wrnexus/queue": "^0.8.6", + "@wrnexus/reactive": "^0.8.6", + "@wrnexus/router": "^0.8.6", + "@wrnexus/ssr": "^0.8.6", + "@wrnexus/styles": "^0.8.6", + "@wrnexus/test": "^0.8.6", + "@wrnexus/tracking": "^0.8.6", + "@wrnexus/ui": "^0.8.6", + "@wrnexus/uploader": "^0.8.6", + "@wrnexus/validation": "^0.8.6", + "@wrnexus/dev-toolbar": "^0.8.6", + "@wrnexus/syntax": "^0.8.6", + "@wrnexus/plugin": "^0.8.6", + "@wrnexus/captcha": "^0.8.6", + "@wrnexus/auth": "^0.8.6", + "@wrnexus/store": "^0.8.6", + "@wrnexus/typecheck": "^0.8.6", + "@wrnexus/security": "^0.8.6", + "@wrnexus/cache": "^0.8.6", + "@wrnexus/image": "^0.8.6", + "@wrnexus/observability": "^0.8.6", + "@wrnexus/benchmark": "^0.8.6", + "@wrnexus/realtime": "^0.8.6", + "@wrnexus/content": "^0.8.6", + "@wrnexus/graphql": "^0.8.6", + "@wrnexus/identity": "^0.8.6", + "@wrnexus/language-server": "^0.8.6", + "@wrnexus/mcp": "^0.8.6", + "@wrnexus/playground": "^0.8.6", + "@wrnexus/pwa": "^0.8.6", + "@wrnexus/rpc": "^0.8.6" }, "devDependencies": { "@eslint/js": "^9.0.0", "@tailwindcss/cli": "^4.0.0", "@types/bun": "latest", "@types/node": "^26.1.1", - "@wrnexus/cli": "^0.8.5", + "@wrnexus/cli": "^0.8.6", "eslint": "^9.0.0", "prettier": "latest", "tailwindcss": "^4.0.0", @@ -87,6 +87,6 @@ "typescript-eslint": "latest" }, "wrnexus": { - "version": "0.8.5" + "version": "0.8.6" } } diff --git a/public/docs-index.json b/public/docs-index.json index c7ecc162..ae36fca8 100644 --- a/public/docs-index.json +++ b/public/docs-index.json @@ -1,5 +1,5 @@ { - "version": "0.8.5", + "version": "0.8.6", "status": "private-developer-preview", "generatedAt": "2026-07-13", "documents": [ @@ -7,623 +7,623 @@ "url": "/", "title": "WRNexusJS", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/access", "title": "access", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/getting-started", "title": "getting started", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/tutorial", "title": "tutorial", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/architecture", "title": "architecture", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/language", "title": "language", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages", "title": "packages", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/project-structure", "title": "project structure", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/routing", "title": "routing", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/pages-and-components", "title": "pages and components", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/server-data", "title": "server data", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/api-routes", "title": "api routes", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/middleware", "title": "middleware", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/forms-and-validation", "title": "forms and validation", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/authentication", "title": "authentication", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/authorization", "title": "authorization", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/security", "title": "security", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/database", "title": "database", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/uploads", "title": "uploads", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/realtime", "title": "realtime", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/pubsub", "title": "pubsub", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/queues", "title": "queues", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "experimental" }, { "url": "/guides/testing", "title": "testing", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/workspaces-and-gateway", "title": "workspaces and gateway", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/deployment", "title": "deployment", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/configuration-and-profiles", "title": "configuration and profiles", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/i18n-and-themes", "title": "i18n and themes", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/mobile", "title": "mobile", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "experimental" }, { "url": "/guides/observability", "title": "observability", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/upgrading", "title": "upgrading", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/guides/troubleshooting", "title": "troubleshooting", "section": "guide", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/examples", "title": "examples", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/showcase", "title": "showcase", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/benchmarks", "title": "benchmarks", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/roadmap", "title": "roadmap", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/changelog", "title": "changelog", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { - "url": "/releases/0.8.5", - "title": "0.8.5", + "url": "/releases/0.8.6", + "title": "0.8.6", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/security", "title": "security", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/support", "title": "support", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/license", "title": "license", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/search", "title": "search", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/404", "title": "404", "section": "portal", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/ai", "title": "ai", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/auth", "title": "auth", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/authz", "title": "authz", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/benchmark", "title": "benchmark", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/cache", "title": "cache", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/captcha", "title": "captcha", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/cli", "title": "cli", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/compiler", "title": "compiler", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/content", "title": "content", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/core", "title": "core", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/csr", "title": "csr", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/db", "title": "db", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/dev-server", "title": "dev server", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/dev-toolbar", "title": "dev toolbar", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/encryption", "title": "encryption", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/graphql", "title": "graphql", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/helpers", "title": "helpers", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/i18n", "title": "i18n", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/identity", "title": "identity", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/image", "title": "image", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/jwt", "title": "jwt", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/language-server", "title": "language server", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/mcp", "title": "mcp", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/mobile", "title": "mobile", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "experimental" }, { "url": "/packages/native", "title": "native", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/oauth", "title": "oauth", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/observability", "title": "observability", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/playground", "title": "playground", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/plugin", "title": "plugin", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/pubsub", "title": "pubsub", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/pwa", "title": "pwa", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/queue", "title": "queue", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/reactive", "title": "reactive", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/realtime", "title": "realtime", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/router", "title": "router", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/rpc", "title": "rpc", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/security", "title": "security", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/ssr", "title": "ssr", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/store", "title": "store", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/styles", "title": "styles", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/syntax", "title": "syntax", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/test", "title": "test", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/tracking", "title": "tracking", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/typecheck", "title": "typecheck", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/ui", "title": "ui", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/uploader", "title": "uploader", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" }, { "url": "/packages/validation", "title": "validation", "section": "package", - "version": "0.8.5", + "version": "0.8.6", "stability": "preview" } ] diff --git a/public/llms-full.txt b/public/llms-full.txt index 4d323c0a..83052806 100644 --- a/public/llms-full.txt +++ b/public/llms-full.txt @@ -1,4 +1,4 @@ -# WRNexusJS documentation 0.8.5 +# WRNexusJS documentation 0.8.6 Status: Private Developer Preview. This site documents 47 release-aligned packages. @@ -279,7 +279,7 @@ wrnexus eject # copy a Wire UI component's .wrn into app/compone 4. Style with Tailwind utility classes in the view, or theme tokens (`var(--wire-*)`), or `style { }`. 5. Never emit React/JSX, a manual router, or client-side island JS — the framework handles hydration. -Release: WRNexusJS 0.8.5 +Release: WRNexusJS 0.8.6 # Canonical documentation locations @@ -288,7 +288,7 @@ Release: WRNexusJS 0.8.5 # Installed package documentation -The following README files and declarations come from the installed private 0.8.5 release. +The following README files and declarations come from the installed private 0.8.6 release. ## @wrnexus/ai @@ -896,7 +896,7 @@ export { A as AUTH_SECURITY_EVENT_TYPES, a as AuthAccountStatus, b as AuthClock, export { MemoryAuthStore } from './stores/memory.js'; export { SqlAuthStore } from './stores/sql.js'; export { AUTH_SESSION_KEY, authSession, clearAuthSession, establishAuthSession, getAuthSession, getAuthUser, isAuthenticatedContext, requireAuth } from './middleware.js'; -export { A as AuthHttpOptions, a as AuthPasskeyHttpOptions, b as AuthSchemaOverrides, c as AuthSchemaSet, d as authBrowserSchemaDescriptors, e as authBrowserSchemaMap, f as authSchemas, g as authenticatorConfirmSchema, h as authenticatorDisableSchema, i as authenticatorSetupSchema, j as changePasswordSchema, k as createAuthHttpHandlers, l as emptyActionSchema, m as impersonationStartSchema, n as invitationAcceptSchema, o as loginSchema, p as magicLinkConsumeSchema, q as magicLinkRequestSchema, r as mfaOtpRequestSchema, s as mfaSchema, t as otpIssueSchema, u as otpLoginCompleteSchema, v as otpLoginRequestSchema, w as otpSchema, x as passkeyAuthenticationOptionsSchema, y as passkeyAuthenticationVerifySchema, z as passkeyRegistrationOptionsSchema, B as passkeyRegistrationVerifySchema, C as passwordResetRequestSchema, D as passwordResetSchema, E as recoveryCodesSchema, F as registerSchema, G as resolveAuthSchemas, H as sessionRevokeSchema, I as signUpSchema, J as verificationRequestSchema, K as verificationTokenSchema } from './index-BuZlwKSF.js'; +export { A as AuthHttpOptions, a as AuthPasskeyHttpOptions, b as AuthSchemaOverrides, c as AuthSchemaSet, d as authBrowserSchemaDescriptors, e as authBrowserSchemaMap, f as authSchemas, g as authenticatorConfirmSchema, h as authenticatorDisableSchema, i as authenticatorSetupSchema, j as changePasswordSchema, k as createAuthHttpHandlers, l as emptyActionSchema, m as impersonationStartSchema, n as invitationAcceptSchema, o as loginSchema, p as magicLinkConsumeSchema, q as magicLinkRequestSchema, r as mfaOtpRequestSchema, s as mfaSchema, t as otpIssueSchema, u as otpLoginCompleteSchema, v as otpLoginRequestSchema, w as otpSchema, x as passkeyAuthenticationOptionsSchema, y as passkeyAuthenticationVerifySchema, z as passkeyRegistrationOptionsSchema, B as passkeyRegistrationVerifySchema, C as passwordResetRequestSchema, D as passwordResetSchema, E as recoveryCodesSchema, F as registerSchema, G as resolveAuthSchemas, H as sessionRevokeSchema, I as signUpSchema, J as verificationRequestSchema, K as verificationTokenSchema } from './index-B4uaD0Z3.js'; export { AuthAuditIssue, AuthConfig, AuthPluginOptions, AuthRoutesConfig, authComponentsDir, authPlugin } from './plugin.js'; export { DefaultAuthRouteOptions, clearDefaultAuthEngine, getDefaultAuthEngine, getDefaultAuthRouteOptions, getDefaultAuthSchemas, hasDefaultAuthEngine, setDefaultAuthEngine, setDefaultAuthRouteOptions, setDefaultAuthSchemas, tryGetDefaultAuthEngine } from './runtime.js'; export { createAuthSecretProtector } from './protector.js'; @@ -12194,7 +12194,7 @@ import { StorageConfig } from '@wrnexus/uploader'; * emitted as the native CSS property instead of a custom property. */ type ThemeSemanticColor = "primary" | "secondary" | "info" | "success" | "warning" | "danger" | "error"; -type ThemeToken = "color-scheme" | "color-bg" | "color-background" | "color-foreground" | "color-surface" | "color-surface-2" | "color-surface-raised" | "color-surface-muted" | "color-text" | "color-text-muted" | "color-text-subtle" | "color-muted" | "color-border" | "color-border-strong" | "color-code-background" | "color-code-surface" | "color-code-text" | "color-code-muted" | "color-code-border" | `color-${ThemeSemanticColor}` | `color-${ThemeSemanticColor}-${"hover" | "active" | "contrast" | "soft" | "muted" | "text"}` | `color-on-${"primary" | "secondary"}` | "radius" | "radius-sm" | "shadow-1" | "shadow-sm" | "shadow-md" | "shadow-lg" | "space-section" | "space-section-sm" | "container-max" | "font-sans"; +type ThemeToken = "color-scheme" | "color-bg" | "color-background" | "color-foreground" | "color-surface" | "color-surface-2" | "color-surface-raised" | "color-surface-muted" | "color-surface-soft" | "color-text" | "color-text-muted" | "color-text-subtle" | "color-muted" | "color-border" | "color-border-strong" | "color-code-background" | "color-code-surface" | "color-code-text" | "color-code-muted" | "color-code-border" | `color-${ThemeSemanticColor}` | `color-${ThemeSemanticColor}-${"hover" | "active" | "contrast" | "soft" | "muted" | "text"}` | `color-on-${"primary" | "secondary"}` | "radius" | "radius-sm" | "shadow-1" | "shadow-sm" | "shadow-md" | "shadow-lg" | "space-section" | "space-section-sm" | "container-max" | "font-sans"; /** Known tokens get autocomplete while applications may add namespaced custom tokens. */ type ThemeTokens = Partial> & Record; declare function defineThemeTokens(tokens: T): T; @@ -14985,22 +14985,24 @@ component Accordion { return multiple || alwaysOpen } - client function dispatchAccordionEvent(sourceEvent, eventName, value, item, root, customEvent) { - root = sourceEvent.currentTarget.closest("[data-wrn-accordion]") - - if (!root) { - return - } - - customEvent = document.createEvent("CustomEvent") - customEvent.initCustomEvent(eventName, true, false, { + // Named rather than computed: an output is resolved as a property name, so + // output[eventName] would not reach a parent binding. + client function dispatchAccordionEvent(sourceEvent, eventName, value, item, payload) { + payload = { component: "Accordion", value: value, item: item, open: isOpen(value), openValues: openValues - }) - root.dispatchEvent(customEvent) + } + + if (eventName === "open") { + output.open(payload) + } else if (eventName === "close") { + output.close(payload) + } else { + output.change(payload) + } } client function toggleItem(sourceEvent, value, item, wasOpen) { @@ -15757,22 +15759,23 @@ component Alert { state visible: boolean = true functions { - client function dispatchAlertEvent(sourceEvent, eventName, action, root, customEvent) { - root = sourceEvent.currentTarget.closest("[data-wrn-alert]") - - if (!root) { - return - } - - customEvent = document.createEvent("CustomEvent") - customEvent.initCustomEvent(eventName, true, false, { + // The output name has to be written out rather than computed: outputs are + // resolved as named properties, so a dynamic key would not reach a parent + // binding. Only two names exist here, so a branch is honest and cheap. + client function dispatchAlertEvent(sourceEvent, eventName, action, payload) { + payload = { component: "Alert", title: title, color: color, variant: variant, action: action - }) - root.dispatchEvent(customEvent) + } + + if (eventName === "dismiss") { + output.dismiss(payload) + } else { + output.action(payload) + } } client function dismissAlert(sourceEvent) { @@ -16011,7 +16014,7 @@ badge: string = "" aria-label='{dismissLabel}' title='{dismissLabel}' class="wire-announcement__dismiss" - @click='dismissed = true; event.currentTarget.dispatchEvent(new CustomEvent("dismiss", { bubbles: true, detail: { message: message } }))' + @click='dismissed = true; output.dismiss({ message: message })' > {#if homeIcon === "icon-[lucide--house]"} @@ -17638,7 +17635,7 @@ label: string = "Breadcrumb" target='{item.target || ""}' rel='{item.external ? "noopener noreferrer" : (item.rel || "")}' class="wire-breadcrumb__link" - @click='event.currentTarget.dispatchEvent(new CustomEvent("select", { bubbles: true, detail: { item: item, itemIndex: itemIndex } }))' + @click='output.select({ item: item, itemIndex: itemIndex })' > {#if item.icon} @@ -17653,7 +17650,7 @@ label: string = "Breadcrumb" {:else} {#if item.icon} @@ -18959,67 +18956,27 @@ component Card { state dismissed: boolean = false functions { - client function dispatchCardNavigation(sourceEvent, item, index, root, customEvent) { - root = sourceEvent.currentTarget.closest("[data-wrn-card]") - - if (!root) { - return - } - - customEvent = document.createEvent("CustomEvent") - customEvent.initCustomEvent("navigate", true, false, { - component: "Card", - item: item, - index: index - }) - root.dispatchEvent(customEvent) + // Outputs must go through output.*; a CustomEvent dispatched on the root + // bubbles past every parent @binding without being seen, because the + // runtime keeps parent handlers in a registry only the output proxy reads. + client function dispatchCardNavigation(sourceEvent, item, index) { + output.navigate({ component: "Card", item: item, index: index }) } - client function dispatchCardNavigationValue(sourceEvent, root, customEvent) { - root = sourceEvent.currentTarget.closest("[data-wrn-card]") - - if (!root) { - return - } - - customEvent = document.createEvent("CustomEvent") - customEvent.initCustomEvent("navigate", true, false, { + client function dispatchCardNavigationValue(sourceEvent) { + output.navigate({ component: "Card", value: sourceEvent.currentTarget.value }) - root.dispatchEvent(customEvent) } - client function dispatchCardHeaderAction(sourceEvent, action, index, root, customEvent) { - root = sourceEvent.currentTarget.closest("[data-wrn-card]") - - if (!root) { - return - } - - customEvent = document.createEvent("CustomEvent") - customEvent.initCustomEvent("action", true, false, { - component: "Card", - action: action, - index: index - }) - root.dispatchEvent(customEvent) + client function dispatchCardHeaderAction(sourceEvent, action, index) { + output.action({ component: "Card", action: action, index: index }) } - client function dismissCard(sourceEvent, root, customEvent) { + client function dismissCard() { dismissed = true - root = sourceEvent.currentTarget.closest("[data-wrn-card]") - - if (!root) { - return - } - - customEvent = document.createEvent("CustomEvent") - customEvent.initCustomEvent("dismiss", true, false, { - component: "Card", - title: title - }) - root.dispatchEvent(customEvent) + output.dismiss({ component: "Card", title: title }) } } @@ -19051,8 +19008,8 @@ component Card { alt='{item.imageAlt || item.alt || ""}' loading='{item.loading || "lazy"}' decoding="async" - @load='event.currentTarget.dispatchEvent(new CustomEvent("load", { bubbles: true, detail: { item: item, index: itemIndex } }))' - @error='event.currentTarget.dispatchEvent(new CustomEvent("error", { bubbles: true, detail: { item: item, index: itemIndex } }))' + @load='output.load({ item: item, index: itemIndex })' + @error='output.error({ item: item, index: itemIndex })' /> {/if} @@ -19071,7 +19028,7 @@ component Card { {item.actionLabel || "Learn more"} @@ -19094,8 +19051,8 @@ component Card { alt='{imageAlt}' loading="lazy" decoding="async" - @load='event.currentTarget.dispatchEvent(new CustomEvent("load", { bubbles: true, detail: { src: imageSrc } }))' - @error='event.currentTarget.dispatchEvent(new CustomEvent("error", { bubbles: true, detail: { src: imageSrc } }))' + @load='output.load({ src: imageSrc })' + @error='output.error({ src: imageSrc })' /> @@ -19108,8 +19065,8 @@ component Card { alt='{imageAlt}' loading="lazy" decoding="async" - @load='event.currentTarget.dispatchEvent(new CustomEvent("load", { bubbles: true, detail: { src: imageSrc } }))' - @error='event.currentTarget.dispatchEvent(new CustomEvent("error", { bubbles: true, detail: { src: imageSrc } }))' + @load='output.load({ src: imageSrc })' + @error='output.error({ src: imageSrc })' /> {/if} @@ -19237,7 +19194,7 @@ component Card { {actionLabel} @@ -19254,8 +19211,8 @@ component Card { alt='{imageAlt}' loading="lazy" decoding="async" - @load='event.currentTarget.dispatchEvent(new CustomEvent("load", { bubbles: true, detail: { src: imageSrc } }))' - @error='event.currentTarget.dispatchEvent(new CustomEvent("error", { bubbles: true, detail: { src: imageSrc } }))' + @load='output.load({ src: imageSrc })' + @error='output.error({ src: imageSrc })' /> {/if} @@ -20379,6 +20336,16 @@ Events: none ### Complete .wrn source contract ```wrn +// Columns -- a simple multi-column split for page content. +// +// ... +// +// Columns and Grid overlap deliberately: Columns is the coarse two or three +// way split of a page, and its gaps are wider for that reason. Grid is the one +// to reach for when the items are cards and the count matters. +// +// NOTE: the style block uses /* */ comments only -- // is not a CSS comment +// and silently swallows the rule that follows it. component Columns { props { size: string = "default" @@ -20389,30 +20356,94 @@ component Columns { class: string = "" } + functions { + shared function columnCount() { + var value = Number(columns) + if (!value || value < 1) { + return 1 + } + return Math.min(4, value) + } + } + view {
} + + style { + .wire-columns { + --columns-gap: 1.5rem; + display: grid; + width: 100%; + min-width: 0; + gap: var(--columns-gap); + grid-template-columns: 1fr; + align-items: start; + } + + .wire-columns[data-max-width="md"] { + max-width: 48rem; + } + + .wire-columns[data-max-width="lg"] { + max-width: 64rem; + } + + .wire-columns[data-max-width="xl"] { + max-width: 80rem; + } + + .wire-columns[data-max-width="2xl"] { + max-width: 96rem; + } + + .wire-columns[data-max-width="full"] { + max-width: none; + } + + .wire-columns[data-gap="sm"] { + --columns-gap: 0.75rem; + } + + .wire-columns[data-gap="lg"] { + --columns-gap: 2.5rem; + } + + .wire-columns[data-gap="xl"] { + --columns-gap: 3.5rem; + } + + /* + * Splits at the tablet breakpoint rather than the phone one: a page split + * is worth keeping single-column for longer than a card deck is. + */ + @media (min-width: 768px) { + .wire-columns:not([data-columns="1"]) { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } + } + + @media (min-width: 1024px) { + .wire-columns[data-columns="3"] { + grid-template-columns: repeat(3, minmax(0, 1fr)); + } + + .wire-columns[data-columns="4"] { + grid-template-columns: repeat(4, minmax(0, 1fr)); + } + } + } } ``` @@ -20871,58 +20902,174 @@ Showcase: https://component.wrnexusjs.dev/ Mount: (legacy: data-component="Container") Category: layout Purpose: Constrain and align page content with responsive gutters and compact, wide, or full width options. -Props: size: string = "default", color: string = "primary", columns: number = 2, gap: string = "md", maxWidth: string = "xl", class: string = "" +Props: size: string = "default", color: string = "primary", columns: number = 2, gap: string = "md", maxWidth: string = "xl", centered: boolean = true, class: string = "" Slots: default Events: none ### Complete .wrn source contract ```wrn +// Container -- a centred, width-limited page wrapper. +// +// ... +// +// It also accepts columns and gap, because it always has and applications +// depend on it. Reach for Grid when a grid is the point; reach for Container +// when the point is the reading width. +// +// NOTE: the style block uses /* */ comments only -- // is not a CSS comment +// and silently swallows the rule that follows it. component Container { props { size: string = "default" color: string = "primary" + // Stays 2 to match what shipped. A published default cannot be changed + // without silently reflowing every Container already in use. columns: number = 2 gap: string = "md" maxWidth: string = "xl" + centered: boolean = true class: string = "" } + functions { + shared function columnCount() { + var value = Number(columns) + if (!value || value < 1) { + return 1 + } + return Math.min(6, value) + } + } + view {
} + + style { + .wire-container { + --container-gap: 1.25rem; + width: 100%; + min-width: 0; + padding-inline: 1rem; + } + + .wire-container[data-centered="true"] { + margin-inline: auto; + } + + /* Reading widths, not breakpoints: the cap is about line length. */ + .wire-container[data-max-width="md"] { + max-width: 48rem; + } + + .wire-container[data-max-width="lg"] { + max-width: 64rem; + } + + .wire-container[data-max-width="xl"], + .wire-container[data-max-width="wide"] { + max-width: 80rem; + } + + .wire-container[data-max-width="2xl"] { + max-width: 96rem; + } + + .wire-container[data-max-width="full"] { + max-width: none; + } + + .wire-container[data-size="compact"] { + padding-inline: 1rem; + } + + .wire-container[data-size="comfortable"] { + padding-inline: 1.25rem; + } + + .wire-container[data-size="spacious"] { + padding-inline: 1.5rem; + } + + .wire-container[data-gap="xs"] { + --container-gap: 0.5rem; + } + + .wire-container[data-gap="sm"] { + --container-gap: 0.75rem; + } + + .wire-container[data-gap="lg"] { + --container-gap: 2rem; + } + + .wire-container[data-gap="xl"] { + --container-gap: 2.5rem; + } + + /* + * Columns are opt-in. One column stays plain flow so a container does not + * quietly turn every page into a grid. + */ + .wire-container:not([data-columns="1"]) { + display: grid; + gap: var(--container-gap); + grid-template-columns: 1fr; + } + + @media (min-width: 640px) { + .wire-container[data-columns="2"], + .wire-container[data-columns="3"], + .wire-container[data-columns="4"], + .wire-container[data-columns="5"], + .wire-container[data-columns="6"] { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } + + .wire-container[data-size="default"], + .wire-container[data-size="comfortable"], + .wire-container[data-size="spacious"] { + padding-inline: 1.5rem; + } + } + + @media (min-width: 1024px) { + .wire-container[data-columns="3"] { + grid-template-columns: repeat(3, minmax(0, 1fr)); + } + + .wire-container[data-columns="4"] { + grid-template-columns: repeat(4, minmax(0, 1fr)); + } + + .wire-container[data-columns="5"] { + grid-template-columns: repeat(5, minmax(0, 1fr)); + } + + .wire-container[data-columns="6"] { + grid-template-columns: repeat(6, minmax(0, 1fr)); + } + + .wire-container[data-size="default"], + .wire-container[data-size="comfortable"], + .wire-container[data-size="spacious"] { + padding-inline: 2rem; + } + } + } } ``` @@ -21520,28 +21667,133 @@ Showcase: https://component.wrnexusjs.dev/ Mount: (legacy: data-component="CustomScrollbar") Category: layout Purpose: Theme-aware, responsive custom scrollbar component. -Props: size: string = "default", color: string = "primary", columns: number = 2, gap: string = "md", maxWidth: string = "xl", class: string = "" +Props: color: string = "primary", size: string = "default", axis: string = "vertical", thickness: number = 8, maxHeight: string = "20rem", radius: string = "999px", class: string = "" Slots: default -Events: scroll +Events: none ### Complete .wrn source contract ```wrn +// CustomScrollbar -- a scrolling region with a themed scrollbar. +// +// ...long content... +// +// Scrollbar appearance is CSS, not script: scrollbar-width and scrollbar-color +// are the standard properties, and the ::-webkit-scrollbar rules cover the +// browsers that still need them. +// +// This component used to declare a scroll output it never emitted, and its +// props were columns, gap and maxWidth copied from a grid scaffold. The output +// is removed rather than left unimplemented -- a caller can listen for a plain +// scroll event on the element, which is what it would have been anyway. +// +// NOTE: the style block uses /* */ comments only -- // is not a CSS comment +// and silently swallows the rule that follows it. component CustomScrollbar { - outputs { - scroll(payload: { sourceEvent?: Event; value: string | number | boolean | null | object; [key: string]: string | number | boolean | null | object } | string | number | boolean | null | object[]) - } - props { -size: string = "default" color: string = "primary" - columns: number = 2 - gap: string = "md" - maxWidth: string = "xl" + size: string = "default" + axis: string = "vertical" + // Track thickness in pixels. Clamped, because it arrives as an attribute + // and a scrollbar wider than the content is not useful to anyone. + thickness: number = 8 + maxHeight: string = "20rem" + radius: string = "999px" class: string = "" } + + functions { + shared function trackSize() { + var value = Number(thickness) + if (!value || value < 2) { + return 8 + } + return Math.min(24, value) + } + } + view { -
+
+ +
+ } + + style { + .wire-scrollbar { + --scrollbar-accent: var(--wire-color-primary); + min-width: 0; + overflow: auto; + /* + * The standard properties. Firefox and current Chrome honour these; the + * webkit rules below are only for the engines that still ignore them. + */ + scrollbar-width: thin; + scrollbar-color: color-mix(in srgb, var(--scrollbar-accent) 55%, transparent) transparent; + overscroll-behavior: contain; + } + + .wire-scrollbar[data-color="secondary"] { + --scrollbar-accent: var(--wire-color-secondary); + } + + .wire-scrollbar[data-color="success"] { + --scrollbar-accent: var(--wire-color-success); + } + + .wire-scrollbar[data-color="danger"] { + --scrollbar-accent: var(--wire-color-danger); + } + + .wire-scrollbar[data-color="info"] { + --scrollbar-accent: var(--wire-color-info); + } + + .wire-scrollbar[data-axis="vertical"] { + overflow-x: hidden; + overflow-y: auto; + } + + .wire-scrollbar[data-axis="horizontal"] { + overflow-x: auto; + overflow-y: hidden; + } + + .wire-scrollbar::-webkit-scrollbar { + width: var(--scrollbar-thickness, 8px); + height: var(--scrollbar-thickness, 8px); + } + + .wire-scrollbar::-webkit-scrollbar-track { + background: var(--wire-color-surface-soft); + border-radius: var(--scrollbar-radius, 999px); + } + + .wire-scrollbar::-webkit-scrollbar-thumb { + background: color-mix(in srgb, var(--scrollbar-accent) 45%, transparent); + border-radius: var(--scrollbar-radius, 999px); + } + + .wire-scrollbar::-webkit-scrollbar-thumb:hover { + background: var(--scrollbar-accent); + } + + /* + * A pointer-less device paints its own overlay scrollbar and ignores the + * width above, so the region keeps its own padding instead. + */ + @media (hover: none) { + .wire-scrollbar { + scrollbar-width: auto; + } + } } } ``` @@ -23376,81 +23628,153 @@ Showcase: https://component.wrnexusjs.dev/ Mount: (legacy: data-component="Divider") Category: layout Purpose: Separate related horizontal or vertical content with optional labels, sizes, and semantic colors. -Props: size: string = "default", color: string = "primary", label: string = "", orientation: string = "horizontal", class: string = "" +Props: size: string = "default", color: string = "primary", label: string = "", orientation: string = "horizontal", variant: string = "solid", class: string = "" Slots: none Events: none ### Complete .wrn source contract ```wrn +// Divider -- a rule between sections, optionally labelled. +// +// +// +// +// +// The label sits between two rules rather than on top of one, so the text +// never overlaps the line at any width. +// +// NOTE: the style block uses /* */ comments only -- // is not a CSS comment +// and silently swallows the rule that follows it. component Divider { props { size: string = "default" color: string = "primary" label: string = "" orientation: string = "horizontal" + variant: string = "solid" class: string = "" } + functions { + shared function isVertical() { + return orientation === "vertical" + } + + // The rule only takes the component colour when there is a label. A plain + // divider is chrome and should stay the border token. + shared function tone() { + return label ? color : "border" + } + } + view { } + + style { + .wire-divider { + --divider-tone: var(--wire-color-border); + --divider-thickness: 1px; + display: flex; + align-items: center; + gap: 1rem; + width: 100%; + min-width: 0; + } + + .wire-divider[data-tone="primary"] { + --divider-tone: var(--wire-color-primary); + } + + .wire-divider[data-tone="secondary"] { + --divider-tone: var(--wire-color-secondary); + } + + .wire-divider[data-tone="success"] { + --divider-tone: var(--wire-color-success); + } + + .wire-divider[data-tone="warning"] { + --divider-tone: var(--wire-color-warning); + } + + .wire-divider[data-tone="danger"] { + --divider-tone: var(--wire-color-danger); + } + + .wire-divider[data-size="lg"] { + --divider-thickness: 2px; + } + + .wire-divider__rule { + flex: 1 1 auto; + height: var(--divider-thickness); + background: var(--divider-tone); + } + + .wire-divider[data-variant="dashed"] .wire-divider__rule { + height: 0; + background: transparent; + border-top: var(--divider-thickness) dashed var(--divider-tone); + } + + .wire-divider[data-variant="dotted"] .wire-divider__rule { + height: 0; + background: transparent; + border-top: var(--divider-thickness) dotted var(--divider-tone); + } + + .wire-divider__label { + flex: 0 0 auto; + color: var(--wire-color-text-muted); + font-size: 0.72rem; + font-weight: 700; + letter-spacing: 0.16em; + text-transform: uppercase; + } + + .wire-divider[data-orientation="vertical"] { + flex-direction: column; + width: auto; + height: 100%; + min-height: 1.5rem; + margin-inline: 0.75rem; + } + + .wire-divider[data-orientation="vertical"] .wire-divider__rule { + width: var(--divider-thickness); + height: auto; + } + + .wire-divider[data-orientation="vertical"][data-variant="dashed"] .wire-divider__rule { + width: 0; + border-top: 0; + border-left: var(--divider-thickness) dashed var(--divider-tone); + } + + .wire-divider[data-orientation="vertical"][data-variant="dotted"] .wire-divider__rule { + width: 0; + border-top: 0; + border-left: var(--divider-thickness) dotted var(--divider-tone); + } + } } ``` @@ -26012,7 +26336,7 @@ component Footer { rel='{child.external ? "noopener noreferrer" : (child.rel || "")}' aria-current='{child.active ? "page" : ""}' class="wire-footer__link" - @click='event.currentTarget.dispatchEvent(new CustomEvent("select", { bubbles: true, detail: { item: child, parent: item, itemIndex: childIndex, sectionIndex: itemIndex } })); child.action && event.currentTarget.dispatchEvent(new CustomEvent("action", { bubbles: true, detail: { item: child, parent: item, itemIndex: childIndex, sectionIndex: itemIndex } }))' + @click='output.select({ item: child, parent: item, itemIndex: childIndex, sectionIndex: itemIndex }); child.action && output.action({ item: child, parent: item, itemIndex: childIndex, sectionIndex: itemIndex })' > {#if child.icon} {#if item.icon} {#if child.icon} (legacy: data-component="Grid") Category: layout Purpose: Arrange arbitrary content in a responsive configurable CSS grid with stable columns, gaps, alignment, and width. -Props: size: string = "default", color: string = "primary", columns: number = 2, gap: string = "md", maxWidth: string = "xl", class: string = "" +Props: size: string = "default", color: string = "primary", columns: number = 2, gap: string = "md", maxWidth: string = "xl", minItemWidth: string = "", class: string = "" Slots: default Events: none ### Complete .wrn source contract ```wrn +// Grid -- an equal-track grid that collapses on small screens. +// +// ... +// +// Pass minItemWidth to let the browser decide the count instead: the track +// list becomes auto-fit, which reflows continuously rather than at fixed +// breakpoints and suits card decks whose item count is not known. +// +// NOTE: the style block uses /* */ comments only -- // is not a CSS comment +// and silently swallows the rule that follows it. component Grid { props { size: string = "default" @@ -26243,38 +26577,126 @@ component Grid { columns: number = 2 gap: string = "md" maxWidth: string = "xl" + // When set, the count is derived from the available width instead of the + // columns prop. Accepts any CSS length. + minItemWidth: string = "" class: string = "" } + functions { + shared function columnCount() { + var value = Number(columns) + if (!value || value < 1) { + return 1 + } + return Math.min(6, value) + } + + shared function autoTrack() { + return minItemWidth ? "repeat(auto-fit, minmax(" + minItemWidth + ", 1fr))" : "" + } + } + view {
} + + style { + .wire-grid { + --grid-gap: 1.25rem; + display: grid; + width: 100%; + min-width: 0; + gap: var(--grid-gap); + grid-template-columns: 1fr; + align-items: stretch; + } + + .wire-grid[data-size="compact"] { + align-items: start; + } + + .wire-grid[data-max-width="md"] { + max-width: 48rem; + } + + .wire-grid[data-max-width="lg"] { + max-width: 64rem; + } + + .wire-grid[data-max-width="xl"] { + max-width: 80rem; + } + + .wire-grid[data-max-width="2xl"] { + max-width: 96rem; + } + + .wire-grid[data-max-width="full"] { + max-width: none; + } + + .wire-grid[data-gap="xs"] { + --grid-gap: 0.5rem; + } + + .wire-grid[data-gap="sm"] { + --grid-gap: 0.75rem; + } + + .wire-grid[data-gap="lg"] { + --grid-gap: 2rem; + } + + .wire-grid[data-gap="xl"] { + --grid-gap: 2.5rem; + } + + /* + * auto-fit needs no breakpoints, so it wins over the fixed counts below + * and applies at every width. + */ + .wire-grid[data-auto="true"] { + grid-template-columns: var(--grid-auto-track); + } + + @media (min-width: 640px) { + .wire-grid[data-auto="false"]:not([data-columns="1"]) { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } + } + + @media (min-width: 1024px) { + .wire-grid[data-auto="false"][data-columns="3"] { + grid-template-columns: repeat(3, minmax(0, 1fr)); + } + + .wire-grid[data-auto="false"][data-columns="4"] { + grid-template-columns: repeat(4, minmax(0, 1fr)); + } + + .wire-grid[data-auto="false"][data-columns="5"] { + grid-template-columns: repeat(5, minmax(0, 1fr)); + } + + .wire-grid[data-auto="false"][data-columns="6"] { + grid-template-columns: repeat(6, minmax(0, 1fr)); + } + } + } } ``` @@ -27404,13 +27826,23 @@ Showcase: https://component.wrnexusjs.dev/ Mount: (legacy: data-component="Image") Category: layout Purpose: Render a responsive image with explicit dimensions, loading behavior, alternative text, sizing, and rounded treatment. -Props: size: string = "default", color: string = "primary", src: string = "", alt: string = "", width: string = "", height: string = "", loading: string = "lazy", rounded: boolean = false, class: string = "" +Props: size: string = "default", color: string = "primary", src: string = "", alt: string = "", width: string = "", height: string = "", loading: string = "lazy", fit: string = "cover", rounded: boolean = false, class: string = "" Slots: default Events: none ### Complete .wrn source contract ```wrn +// Image -- a framed image with a reserved aspect ratio. +// +// Dashboard +// +// The frame keeps its ratio whether or not the image has loaded, so the page +// does not jump when it arrives. Without a src it renders a labelled +// placeholder of the same shape rather than collapsing. +// +// NOTE: the style block uses /* */ comments only -- // is not a CSS comment +// and silently swallows the rule that follows it. component Image { props { size: string = "default" @@ -27420,43 +27852,113 @@ component Image { width: string = "" height: string = "" loading: string = "lazy" + fit: string = "cover" rounded: boolean = false class: string = "" } view {
- {#if src} - {alt} - {:else} - - {/if} + {alt} + +
} + + style { + .wire-image { + position: relative; + margin: 0; + overflow: hidden; + width: 100%; + min-width: 0; + background: var(--wire-color-surface-soft); + } + + .wire-image[data-rounded="true"] { + border-radius: var(--wire-radius-lg); + } + + /* + * The ratio sits on the frame rather than the image, so the space is + * reserved before the file arrives and the page does not jump. + */ + .wire-image[data-size="square"] { + aspect-ratio: 1 / 1; + } + + .wire-image[data-size="video"] { + aspect-ratio: 16 / 9; + } + + .wire-image[data-size="landscape"] { + aspect-ratio: 4 / 3; + } + + .wire-image[data-size="portrait"] { + aspect-ratio: 3 / 4; + } + + .wire-image__img { + display: block; + width: 100%; + height: 100%; + object-fit: cover; + } + + .wire-image[data-fit="contain"] .wire-image__img { + object-fit: contain; + } + + .wire-image[data-fit="fill"] .wire-image__img { + object-fit: fill; + } + + .wire-image[data-size="default"] .wire-image__img { + height: auto; + } + + .wire-image__placeholder { + display: flex; + align-items: center; + justify-content: center; + width: 100%; + min-height: 12rem; + height: 100%; + color: var(--wire-color-text-muted); + } + + .wire-image__placeholder-icon { + width: 2rem; + height: 2rem; + } + } } ``` @@ -27892,26 +28394,17 @@ component InputNumber { ) } + // Outputs are resolved by name, so each one is written out. Raw + // CustomEvents dispatched on the root -- what this did before -- never + // reach a parent @binding. client function dispatchInputNumberEvent( sourceEvent, eventName, action, previousValue, - root, - customEvent + payload ) { - root = sourceEvent.currentTarget.closest("[data-wrn-input-number]") - - if (!root && sourceEvent.target) { - root = sourceEvent.target.closest("[data-wrn-input-number]") - } - - if (!root) { - return - } - - customEvent = document.createEvent("CustomEvent") - customEvent.initCustomEvent(eventName, true, false, { + payload = { component: "InputNumber", name: name, value: currentValue, @@ -27921,8 +28414,17 @@ component InputNumber { max: hasMax() ? Number(max) : null, step: normalizedStep(), valid: !isInvalid() - }) - root.dispatchEvent(customEvent) + } + + if (eventName === "input") { + output.input(payload) + } else if (eventName === "change") { + output.change(payload) + } else if (eventName === "increment") { + output.increment(payload) + } else if (eventName === "decrement") { + output.decrement(payload) + } } client function applyControlValue(nextValue, action, sourceEvent, previousValue) { @@ -28294,21 +28796,67 @@ Showcase: https://component.wrnexusjs.dev/ Mount: (legacy: data-component="Kbd") Category: layout Purpose: Theme-aware, responsive kbd component. -Props: size: string = "default", color: string = "primary", label: string = "⌘ K", class: string = "" +Props: size: string = "default", color: string = "primary", label: string = "K", class: string = "" Slots: default Events: none ### Complete .wrn source contract ```wrn +// Kbd -- a keyboard key. +// +// +// +// Deliberately small. A kbd element is a kbd element; the work here is making +// it look like a key and follow the theme. +// +// NOTE: the style block uses /* */ comments only -- // is not a CSS comment +// and silently swallows the rule that follows it. component Kbd { props { size: string = "default" color: string = "primary" - label: string = "⌘ K" + label: string = "K" class: string = "" } - view { {label} } + + view { + + {label} + + } + + style { + .wire-kbd { + display: inline-flex; + align-items: center; + justify-content: center; + min-width: 1.6rem; + padding: 0.15rem 0.4rem; + border: 1px solid var(--wire-color-border); + /* The lower edge is what reads as a physical key. */ + border-bottom-width: 2px; + border-radius: var(--wire-radius-sm); + background: var(--wire-color-surface-soft); + color: var(--wire-color-text); + font-family: inherit; + font-size: 0.78rem; + font-weight: 600; + line-height: 1; + } + + .wire-kbd[data-size="sm"] { + min-width: 1.4rem; + padding: 0.1rem 0.3rem; + font-size: 0.7rem; + } + + .wire-kbd[data-size="lg"] { + min-width: 2rem; + padding: 0.3rem 0.55rem; + font-size: 0.9rem; + } + } } ``` @@ -28320,30 +28868,236 @@ Showcase: https://component.wrnexusjs.dev/ Mount: (legacy: data-component="LayoutSplitter") Category: layout Purpose: Theme-aware, responsive layout splitter component. -Props: size: string = "default", color: string = "primary", columns: number = 2, gap: string = "md", maxWidth: string = "xl", class: string = "" -Slots: default -Events: resizeStart, resize, resizeEnd +Props: color: string = "primary", size: number = 50, orientation: string = "horizontal", minSize: number = 15, step: number = 5, label: string = "Resize panels", class: string = "" +Slots: start, end, default +Events: sizeChange ### Complete .wrn source contract ```wrn +// LayoutSplitter -- two panes with a divider the reader can move. +// +// +//
...
+//
...
+//
+// +// The dragging lives in the reactive runtime behind data-wrn-splitter. Pointer +// moves fire far too often to route through a client function, and a state +// write made inside a pointermove callback is dropped, so the resolved size is +// held in the DOM as the --wrn-split custom property and these styles read it. +// +// This component previously declared resizeStart, resize and resizeEnd with no +// pointer handling whatsoever: a caller wired up @resize and received nothing, +// for ever, with no error. +// +// NOTE: the style block uses /* */ comments only -- // is not a CSS comment +// and silently swallows the rule that follows it. component LayoutSplitter { outputs { - resizeStart(payload: { sourceEvent?: Event; value: string | number | boolean | null | object; [key: string]: string | number | boolean | null | object } | string | number | boolean | null | object[]) - resize(payload: { sourceEvent?: Event; value: string | number | boolean | null | object; [key: string]: string | number | boolean | null | object } | string | number | boolean | null | object[]) - resizeEnd(payload: { sourceEvent?: Event; value: string | number | boolean | null | object; [key: string]: string | number | boolean | null | object } | string | number | boolean | null | object[]) + // Named sizeChange rather than resize so it cannot be confused with the + // native window event a caller may already be listening for. An earlier + // comment here claimed a natively-named output could never reach a parent + // binding; that was wrong, and the rename was never what fixed anything. + sizeChange(payload: { size: number }) } props { -size: string = "default" color: string = "primary" - columns: number = 2 - gap: string = "md" - maxWidth: string = "xl" + size: number = 50 + orientation: string = "horizontal" + // Smallest share either pane may take, as a percentage. It also fixes the + // upper bound at 100 - minSize, so neither pane can be dragged away to + // nothing and left unrecoverable by pointer. + minSize: number = 15 + step: number = 5 + label: string = "Resize panels" class: string = "" } + + functions { + // The runtime resolves the size and announces it; this turns that into the + // declared output so a parent @resize binding receives it. + client function reportResize(sourceEvent) { + var detail = sourceEvent ? sourceEvent.detail : null + if (!detail) { + return + } + output.sizeChange({ size: detail.size }) + } + + shared function isVertical() { + return orientation === "vertical" + } + + shared function lowerBound() { + var value = Number(minSize) + if (!value || value < 0) { + return 15 + } + return Math.min(45, value) + } + + shared function upperBound() { + return 100 - lowerBound() + } + + // Sizes arrive as HTML attributes, so a value outside the bounds is + // routine rather than exceptional. Clamp instead of rendering something + // the reader cannot undo. + shared function currentSize() { + var value = Number(size) + if (!value || value < 0) { + return 50 + } + return Math.min(upperBound(), Math.max(lowerBound(), value)) + } + + shared function stepSize() { + var value = Number(step) + return value && value > 0 ? value : 5 + } + } + view { -
+
+
+ +
+ + + +
+ +
+ + +
+ } + + style { + .wire-splitter { + --splitter-accent: var(--wire-color-primary); + display: grid; + /* The first track follows the size the runtime resolves. */ + grid-template-columns: var(--wrn-split, 50%) auto minmax(0, 1fr); + align-items: stretch; + width: 100%; + min-width: 0; + } + + .wire-splitter[data-color="secondary"] { + --splitter-accent: var(--wire-color-secondary); + } + + .wire-splitter[data-color="success"] { + --splitter-accent: var(--wire-color-success); + } + + .wire-splitter[data-color="danger"] { + --splitter-accent: var(--wire-color-danger); + } + + .wire-splitter[data-color="info"] { + --splitter-accent: var(--wire-color-info); + } + + .wire-splitter[data-orientation="vertical"] { + grid-template-columns: minmax(0, 1fr); + grid-template-rows: var(--wrn-split, 50%) auto minmax(0, 1fr); + } + + .wire-splitter__pane { + min-width: 0; + min-height: 0; + overflow: auto; + } + + .wire-splitter__handle { + display: flex; + align-items: center; + justify-content: center; + flex: 0 0 auto; + padding: 0 0.25rem; + border: 0; + background: transparent; + cursor: col-resize; + /* Without this the pointer drag selects the text in both panes. */ + touch-action: none; + user-select: none; + } + + .wire-splitter[data-orientation="vertical"] .wire-splitter__handle { + padding: 0.25rem 0; + cursor: row-resize; + } + + .wire-splitter__grip { + display: block; + width: 2px; + height: 100%; + min-height: 1.5rem; + border-radius: 999px; + background: var(--wire-color-border); + transition: background 140ms ease; + } + + .wire-splitter[data-orientation="vertical"] .wire-splitter__grip { + width: 100%; + min-width: 1.5rem; + height: 2px; + } + + .wire-splitter__handle:hover .wire-splitter__grip, + .wire-splitter[data-wrn-splitter-dragging="true"] .wire-splitter__grip { + background: var(--splitter-accent); + } + + .wire-splitter__handle:focus-visible { + outline: 2px solid var(--splitter-accent); + outline-offset: -2px; + border-radius: var(--wire-radius-sm); + } + + /* + * Two panes side by side stop making sense on a phone. Stacking them keeps + * both readable, and the divider stops being draggable because the grid + * no longer has a second track to trade against. + */ + @media (max-width: 639px) { + .wire-splitter, + .wire-splitter[data-orientation="vertical"] { + grid-template-columns: minmax(0, 1fr); + grid-template-rows: auto auto auto; + } + + .wire-splitter__handle { + cursor: default; + } + } } } ``` @@ -28397,13 +29151,23 @@ Showcase: https://component.wrnexusjs.dev/ Mount: (legacy: data-component="Link") Category: layout Purpose: Render an accessible internal or external link with target, relation, size, color, and public focus or click events. -Props: size: string = "default", color: string = "primary", label: string = "Link", href: string = "#", target: string = "", rel: string = "", external: boolean = false, class: string = "" +Props: size: string = "default", color: string = "primary", label: string = "Link", href: string = "#", target: string = "", rel: string = "", underline: string = "hover", external: boolean = false, class: string = "" Slots: default Events: none ### Complete .wrn source contract ```wrn +// Link -- a text link that follows the theme. +// +// +// +// +// external adds rel="noopener noreferrer" and an outbound icon, so the reader +// is told the link leaves the site before they follow it. +// +// NOTE: the style block uses /* */ comments only -- // is not a CSS comment +// and silently swallows the rule that follows it. component Link { props { size: string = "default" @@ -28412,44 +29176,124 @@ component Link { href: string = "#" target: string = "" rel: string = "" + underline: string = "hover" external: boolean = false class: string = "" } view {
- {label} - - {#if external} - - {/if} - + {label} + } + + style { + .wire-link { + --link-tone: var(--wire-color-primary); + --link-tone-hover: var(--wire-color-primary-hover); + display: inline-flex; + align-items: center; + gap: 0.35rem; + min-width: 0; + border-radius: var(--wire-radius-sm); + color: var(--link-tone); + font-size: 0.875rem; + font-weight: 600; + text-decoration: none; + text-underline-offset: 4px; + transition: color 140ms ease; + } + + .wire-link[data-color="secondary"] { + --link-tone: var(--wire-color-secondary); + --link-tone-hover: var(--wire-color-secondary-hover); + } + + .wire-link[data-color="success"] { + --link-tone: var(--wire-color-success); + --link-tone-hover: var(--wire-color-success); + } + + .wire-link[data-color="warning"] { + --link-tone: var(--wire-color-warning-text); + --link-tone-hover: var(--wire-color-warning-text); + } + + .wire-link[data-color="danger"] { + --link-tone: var(--wire-color-danger); + --link-tone-hover: var(--wire-color-danger); + } + + .wire-link[data-color="info"] { + --link-tone: var(--wire-color-info); + --link-tone-hover: var(--wire-color-info); + } + + .wire-link[data-color="neutral"] { + --link-tone: var(--wire-color-text); + --link-tone-hover: var(--wire-color-text); + } + + .wire-link[data-size="xs"] { + font-size: 0.75rem; + } + + .wire-link[data-size="md"] { + font-size: 1rem; + } + + .wire-link[data-size="lg"] { + font-size: 1.125rem; + } + + .wire-link[data-underline="always"] { + text-decoration: underline; + } + + .wire-link[data-underline="hover"]:hover { + text-decoration: underline; + } + + .wire-link:hover { + color: var(--link-tone-hover); + } + + .wire-link:focus-visible { + outline: 2px solid var(--wire-color-focus); + outline-offset: 2px; + } + + /* The label truncates; the outbound icon must not shrink with it. */ + .wire-link__label { + min-width: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + + .wire-link__icon { + flex: 0 0 auto; + width: 0.875rem; + height: 0.875rem; + } + } } ``` @@ -28463,12 +29307,16 @@ Category: base Purpose: Present structured responsive linked or status items with icons, descriptions, actions, and selection events. Props: size: string = "default", color: string = "primary", title: string = "List", description: string = "", items: unknown[] = [], variant: string = "default", class: string = "" Slots: default -Events: none +Events: select ### Complete .wrn source contract ```wrn component List { + outputs { + select(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) + } + props { size: string = "default" color: string = "primary" @@ -28522,7 +29370,7 @@ component List { class:py-2.5='size === "sm"' class:px-5='size === "lg"' class:py-4='size === "lg"' - @click='event.currentTarget.dispatchEvent(new CustomEvent("select", { bubbles: true, detail: { item: item, index: index } }))' + @click='output.select({ item: item, index: index })' > {#if item.icon} @@ -28628,12 +29476,20 @@ Category: integrations Purpose: Present responsive location information and markers with map-ready metadata and movement or marker events. Props: size: string = "default", color: string = "primary", title: string = "Map", description: string = "", items: unknown[] = [], variant: string = "default", class: string = "" Slots: default -Events: none +Events: markerClick, select, zoom ### Complete .wrn source contract ```wrn component Map { + outputs { + // markerClick and select both fire for a marker press; select is the + // generic name callers reach for, markerClick the explicit one. + markerClick(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) + select(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) + zoom(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) + } + props { size: string = "default" color: string = "primary" @@ -28689,7 +29545,7 @@ component Map { aria-label='{item.label || item.title || "Map marker"}' class="absolute inline-flex size-10 items-center justify-center rounded-full border-4 border-[var(--wire-color-surface-raised)] bg-[var(--wire-color-primary)] text-[var(--wire-color-on-primary)] shadow-lg transition hover:scale-110 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--wire-color-focus)]" style='left: {item.x || (20 + index * 12)}%; top: {item.y || (30 + (index % 3) * 18)}%;' - @click='event.currentTarget.dispatchEvent(new CustomEvent("markerClick", { bubbles: true, detail: item })); event.currentTarget.dispatchEvent(new CustomEvent("select", { bubbles: true, detail: item }))' + @click='output.markerClick(item); output.select(item)' > @@ -28701,7 +29557,7 @@ component Map { type="button" aria-label="Zoom in" class="inline-flex size-10 items-center justify-center rounded-xl border border-[var(--wire-color-border)] bg-[var(--wire-color-surface-raised)] text-[var(--wire-color-text)] shadow-sm transition hover:bg-[var(--wire-color-surface-soft)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--wire-color-focus)]" - @click='event.currentTarget.dispatchEvent(new CustomEvent("zoom", { bubbles: true, detail: { direction: "in" } }))' + @click='output.zoom({ direction: "in" })' > @@ -28709,7 +29565,7 @@ component Map { type="button" aria-label="Zoom out" class="inline-flex size-10 items-center justify-center rounded-xl border border-[var(--wire-color-border)] bg-[var(--wire-color-surface-raised)] text-[var(--wire-color-text)] shadow-sm transition hover:bg-[var(--wire-color-surface-soft)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--wire-color-focus)]" - @click='event.currentTarget.dispatchEvent(new CustomEvent("zoom", { bubbles: true, detail: { direction: "out" } }))' + @click='output.zoom({ direction: "out" })' > @@ -28809,12 +29665,18 @@ Category: base Purpose: Continuously present responsive labels, partners, notices, or capabilities with pause and resume behavior. Props: size: string = "default", color: string = "primary", title: string = "Marquee", description: string = "", items: unknown[] = [], variant: string = "default", class: string = "" Slots: default -Events: none +Events: pause, resume ### Complete .wrn source contract ```wrn component Marquee { + outputs { + // Fired when the reader pauses the scroll, by hover, focus or the button. + pause(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) + resume(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) + } + props { size: string = "default" color: string = "primary" @@ -28843,8 +29705,8 @@ component Marquee {
@@ -28893,7 +29755,7 @@ component Marquee { type="button" aria-label='{paused ? "Resume announcements" : "Pause announcements"}' class="flex shrink-0 items-center justify-center border-l border-[var(--wire-color-border)] px-4 text-[var(--wire-color-text-muted)] transition hover:bg-[var(--wire-color-surface-soft)] hover:text-[var(--wire-color-text)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-[var(--wire-color-focus)]" - @click='paused = !paused; event.currentTarget.dispatchEvent(new CustomEvent(paused ? "pause" : "resume", { bubbles: true }))' + @click='paused = !paused; paused ? output.pause({}) : output.resume({})' > @@ -28935,34 +29797,355 @@ Showcase: https://component.wrnexusjs.dev/ Mount: (legacy: data-component="MegaMenu") Category: navigation Purpose: Theme-aware, responsive mega menu component. -Props: size: string = "default", color: string = "primary", label: string = "Mega Menu", items: unknown[] = [], active: string = "", orientation: string = "horizontal", class: string = "" +Props: color: string = "primary", size: string = "default", label: string = "Menu", icon: string = "", columns: unknown[] = [], footer: string = "", defaultOpen: boolean = false, class: string = "" Slots: default Events: open, close, select ### Complete .wrn source contract ```wrn +// MegaMenu -- a trigger and a wide panel of grouped links. +// +// +// +// Deliberately one level deep. A mega menu exists to show breadth flat, so +// everything is one click away; nesting inside the panel buries content behind +// hover-within-hover and is close to unusable by keyboard and touch. Use Nav +// when you actually want cascading submenus. +// +// The panel carries data-wrn-anchored so the runtime clamp keeps it inside the +// viewport instead of hanging off the edge of a wide layout. +// +// NOTE: the style block uses /* */ comments only -- // is not a CSS comment +// and silently swallows the rule that follows it. component MegaMenu { outputs { - open(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) - close(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) - select(payload: { value?: string | number | boolean | null; values?: Array; sourceEvent?: Event; [key: string]: string | number | boolean | null | object } | string | number | boolean | null) + open(payload: { sourceEvent: Event }) + close(payload: { reason: string }) + select(payload: { item: object; value: string }) } props { -size: string = "default" color: string = "primary" - label: string = "Mega Menu" - items: unknown[] = [] - active: string = "" - orientation: string = "horizontal" + size: string = "default" + label: string = "Menu" + icon: string = "" + columns: unknown[] = [] + footer: string = "" + defaultOpen: boolean = false class: string = "" } + + state visible = defaultOpen + + functions { + shared function columnList() { + return Array.isArray(columns) ? columns : [] + } + + shared function itemsOf(column) { + return column && Array.isArray(column.items) ? column.items : [] + } + + client function showPanel(sourceEvent) { + visible = true + output.open({ sourceEvent: sourceEvent }) + } + + client function hidePanel(reason) { + visible = false + output.close({ reason: reason }) + } + + client function togglePanel(sourceEvent) { + if (visible) { + hidePanel("toggle") + } else { + showPanel(sourceEvent) + } + } + + client function handleKeydown(sourceEvent) { + if (sourceEvent.key === "Escape" && visible) { + sourceEvent.preventDefault() + hidePanel("escape") + } + } + + client function choose(item) { + if (item.disabled) { + return + } + output.select({ item: item, value: item.value || item.label || "" }) + hidePanel("select") + } + } + view { - +
+ + +
+
+ {#each columnList() as column} +
+

{column.heading}

+ +
+ {/each} +
+ + + +
+
+ } + + style { + .wire-mega { + --mega-accent: var(--wire-color-primary); + position: relative; + display: inline-block; + max-width: 100%; + } + + .wire-mega[data-color="secondary"] { + --mega-accent: var(--wire-color-secondary); + } + + .wire-mega[data-color="success"] { + --mega-accent: var(--wire-color-success); + } + + .wire-mega[data-color="danger"] { + --mega-accent: var(--wire-color-danger); + } + + .wire-mega[data-color="info"] { + --mega-accent: var(--wire-color-info); + } + + .wire-mega[data-size="sm"] { + font-size: 0.82rem; + } + + .wire-mega[data-size="lg"] { + font-size: 1rem; + } + + .wire-mega__trigger { + appearance: none; + display: inline-flex; + align-items: center; + gap: 0.4rem; + padding: 0.45rem 0.7rem; + border: 1px solid transparent; + border-radius: var(--wire-radius-sm); + background: transparent; + color: var(--wire-color-text-muted); + font: inherit; + font-size: 0.9rem; + font-weight: 600; + cursor: pointer; + } + + .wire-mega__trigger:hover, + .wire-mega[data-open="true"] .wire-mega__trigger { + background: var(--wire-color-surface-soft); + color: var(--wire-color-text); + } + + .wire-mega__trigger:focus-visible { + outline: 2px solid var(--mega-accent); + outline-offset: 2px; + } + + .wire-mega__arrow { + display: inline-block; + transition: transform 160ms ease; + } + + .wire-mega[data-open="true"] .wire-mega__arrow { + transform: rotate(90deg); + } + + /* + * The panel is offset below the trigger for looks, which used to close the + * menu on the way to it: that offset is dead space belonging to neither + * element, so crossing it fired mouseleave on the root. The bridge below + * covers the gap with a descendant, so the pointer never actually leaves. + */ + .wire-mega__panel::before { + content: ""; + position: absolute; + left: 0; + right: 0; + bottom: 100%; + height: 0.6rem; + } + + .wire-mega__panel { + position: absolute; + z-index: 40; + top: calc(100% + 0.4rem); + left: 0; + width: max-content; + max-width: min(60rem, calc(100vw - 2rem)); + padding: 1rem; + border: 1px solid var(--wire-color-border); + border-radius: var(--wire-radius-lg); + background: var(--wire-color-surface); + box-shadow: var(--wire-shadow-1); + } + + .wire-mega__columns { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); + gap: 1.25rem; + } + + .wire-mega__column { + min-width: 0; + } + + .wire-mega__heading { + margin: 0 0 0.5rem; + color: var(--wire-color-text-muted); + font-size: 0.72rem; + font-weight: 700; + letter-spacing: 0.08em; + text-transform: uppercase; + } + + .wire-mega__list { + display: grid; + gap: 0.15rem; + margin: 0; + padding: 0; + list-style: none; + } + + .wire-mega__link { + display: flex; + align-items: flex-start; + gap: 0.5rem; + padding: 0.45rem 0.5rem; + border-radius: var(--wire-radius-sm); + color: var(--wire-color-text); + text-decoration: none; + } + + .wire-mega__link:hover { + background: var(--wire-color-surface-soft); + } + + .wire-mega__link:focus-visible { + outline: 2px solid var(--mega-accent); + outline-offset: 2px; + } + + .wire-mega__link[aria-disabled="true"] { + opacity: 0.5; + pointer-events: none; + } + + .wire-mega__link-body { + display: flex; + flex-direction: column; + min-width: 0; + } + + .wire-mega__link-label { + font-size: 0.88rem; + font-weight: 600; + } + + .wire-mega__link-description { + color: var(--wire-color-text-muted); + font-size: 0.78rem; + line-height: 1.5; + } + + .wire-mega__footer { + margin: 1rem 0 0; + padding-top: 0.75rem; + border-top: 1px solid var(--wire-color-border); + color: var(--wire-color-text-muted); + font-size: 0.8rem; + } + + /* + * On a phone the panel stops floating and becomes part of the flow. A + * pointer-opened overlay pinned to a trigger is unreachable on touch, and + * a 60rem grid has nowhere to go on a 360px screen. + */ + @media (max-width: 767px) { + .wire-mega { + display: block; + } + + .wire-mega__panel { + position: static; + width: auto; + max-width: 100%; + box-shadow: none; + } + + .wire-mega__columns { + grid-template-columns: 1fr; + } + } } } ``` @@ -30719,34 +31902,366 @@ Showcase: https://component.wrnexusjs.dev/ Mount:
} + + style { + /* Full application navigation */ + .wire-navbar { + position: relative; + z-index: 40; + width: 100%; + color: var(--wire-color-text); + background: color-mix(in srgb, var(--wire-color-surface) 96%, transparent); + border-bottom: 1px solid var(--wire-color-border); + } + + .wire-navbar--sticky { + position: sticky; + top: 0; + backdrop-filter: blur(16px); + } + + .wire-navbar__topbar:empty, + .wire-navbar__topbar:not(:has(*)) { + display: none; + } + + .wire-navbar__topbar:not(:empty) { + display: flex; + min-height: 2.25rem; + align-items: center; + justify-content: space-between; + gap: 1rem; + padding: 0.35rem clamp(1rem, 4vw, 3rem); + color: var(--wire-color-muted); + background: var(--wire-color-surface-2); + border-bottom: 1px solid var(--wire-color-border); + font-size: 0.75rem; + font-weight: 400; + } + + .wire-navbar__main { + display: flex; + min-height: 4.25rem; + width: min(100%, 90rem); + margin-inline: auto; + padding: 0.75rem clamp(1rem, 4vw, 3rem); + align-items: center; + gap: 1.5rem; + } + + .wire-navbar--width-full .wire-navbar__main { + width: 100%; + max-width: none; + } + + .wire-navbar--width-compact .wire-navbar__main { + width: min(86%, 80rem); + } + + .wire-navbar__brand, + .wire-navbar__menu-link, + .wire-navbar__dropdown summary, + .wire-navbar__action, + .wire-navbar__panel a { + color: inherit; + text-decoration: none; + } + + .wire-navbar__brand { + display: inline-flex; + min-width: 0; + align-items: center; + gap: 0.75rem; + flex: 0 0 auto; + } + + .wire-navbar__brand-logo { + display: block; + width: auto; + max-width: 11rem; + height: 2.5rem; + object-fit: contain; + } + + .wire-navbar__brand-icon { + width: 2.5rem; + height: 2.5rem; + color: var(--wire-component-color, var(--wire-color-primary)); + } + + .wire-navbar__brand-copy { + display: grid; + min-width: 0; + line-height: 1.2; + } + + .wire-navbar__brand-copy strong { + font-size: 0.9rem; + font-weight: 600; + } + + .wire-navbar__brand-copy small { + margin-top: 0.2rem; + color: var(--wire-color-muted); + font-size: 0.6875rem; + font-weight: 400; + } + + .wire-navbar__collapse, + .wire-navbar__menus, + .wire-navbar__actions { + display: flex; + align-items: center; + } + + .wire-navbar__collapse { + min-width: 0; + flex: 1; + gap: 1rem; + } + + .wire-navbar__menus { + justify-content: center; + flex: 1; + gap: 0.25rem; + } + + .wire-navbar__actions { + justify-content: flex-end; + gap: 0.5rem; + } + + .wire-navbar__menu-link, + .wire-navbar__dropdown > summary, + .wire-navbar__action { + display: inline-flex; + min-height: 2.75rem; + padding: 0.65rem 0.8rem; + align-items: center; + gap: 0.45rem; + border-radius: 0.65rem; + cursor: pointer; + font-size: 0.8125rem; + font-weight: 500; + white-space: nowrap; + } + + .wire-navbar__menu-link:hover, + .wire-navbar__dropdown > summary:hover { + color: var(--wire-color-text); + background: var(--wire-color-surface-2); + } + + .wire-navbar__menu-link[aria-current="page"], + .wire-navbar__dropdown > summary[aria-current="page"] { + color: var(--wire-component-color, var(--wire-color-primary)); + font-weight: 600; + background: color-mix( + in srgb, + var(--wire-component-color, var(--wire-color-primary)) 12%, + transparent + ); + box-shadow: inset 0 -2px 0 var(--wire-component-color, var(--wire-color-primary)); + } + + .wire-navbar__menu-link[aria-current="page"]:hover, + .wire-navbar__dropdown > summary[aria-current="page"]:hover { + color: var(--wire-component-color, var(--wire-color-primary)); + background: color-mix( + in srgb, + var(--wire-component-color, var(--wire-color-primary)) 16%, + transparent + ); + } + + .wire-navbar__dropdown { + position: relative; + } + + .wire-navbar__dropdown > summary { + list-style: none; + } + + .wire-navbar__dropdown > summary::-webkit-details-marker { + display: none; + } + + .wire-navbar__chevron { + width: 0.45rem; + height: 0.45rem; + border-right: 1.5px solid currentColor; + border-bottom: 1.5px solid currentColor; + transform: rotate(45deg) translateY(-0.15rem); + transition: transform var(--wire-motion-fast, 150ms) ease; + } + + .wire-navbar__dropdown[open] .wire-navbar__chevron { + transform: rotate(225deg) translate(-0.1rem, -0.1rem); + } + + .wire-navbar__panel { + position: absolute; + top: calc(100% + 0.55rem); + left: 50%; + display: grid; + width: max-content; + min-width: 15rem; + max-width: min(90vw, 64rem); + padding: 0.65rem; + gap: 0.45rem; + border: 1px solid var(--wire-color-border); + border-radius: 0.9rem; + color: var(--wire-color-text); + background: var(--wire-color-surface); + box-shadow: 0 18px 48px rgb(15 23 42 / 0.16); + opacity: 1; + transform: translateX(-50%) translateY(0) scale(1); + transform-origin: top center; + transition: + opacity 180ms ease, + transform 180ms cubic-bezier(0.22, 1, 0.36, 1), + display 180ms allow-discrete; + } + + .wire-navbar__panel::before { + position: absolute; + right: 0; + bottom: 100%; + left: 0; + height: 0.65rem; + content: ""; + } + + .wire-navbar__dropdown:not([open]) > .wire-navbar__panel { + display: none; + opacity: 0; + transform: translateX(-50%) translateY(-0.5rem) scale(0.98); + } + + @starting-style { + .wire-navbar__dropdown[open] > .wire-navbar__panel { + opacity: 0; + transform: translateX(-50%) translateY(-0.5rem) scale(0.98); + } + } + + .wire-navbar__dropdown--mega { + position: static; + } + + .wire-navbar__dropdown--mega .wire-navbar__panel { + right: auto; + left: 50%; + width: min(calc(100vw - 2rem), 64rem); + } + + .wire-navbar__panel--columns-2 { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } + + .wire-navbar__panel--columns-3 { + grid-template-columns: repeat(3, minmax(0, 1fr)); + } + + .wire-navbar__panel--columns-4 { + grid-template-columns: repeat(4, minmax(0, 1fr)); + } + + .wire-navbar__panel-intro { + grid-column: 1 / -1; + margin: 0; + padding: 0.5rem 0.65rem; + color: var(--wire-color-muted); + font-size: 0.8125rem; + font-weight: 400; + } + + .wire-navbar__group { + display: grid; + align-content: start; + gap: 0.25rem; + } + + .wire-navbar__group-title { + padding: 0.55rem 0.65rem 0.25rem; + font-size: 0.7rem; + font-weight: 600; + letter-spacing: 0.04em; + text-transform: uppercase; + } + + .wire-navbar__group > small { + padding: 0 0.65rem 0.4rem; + color: var(--wire-color-muted); + font-size: 0.7rem; + font-weight: 400; + } + + .wire-navbar__panel a { + display: flex; + min-height: 2.75rem; + padding: 0.65rem; + align-items: flex-start; + gap: 0.65rem; + border-radius: 0.6rem; + font-size: 0.8rem; + font-weight: 450; + } + + .wire-navbar__panel a:hover { + background: var(--wire-color-surface-2); + } + + .wire-navbar__panel a span:last-child { + display: grid; + gap: 0.15rem; + } + + .wire-navbar__panel a strong { + font-weight: 500; + } + + .wire-navbar__panel a small { + color: var(--wire-color-muted); + font-size: 0.7rem; + font-weight: 400; + } + + .wire-navbar__action { + border: 1px solid transparent; + } + + .wire-navbar__action--primary { + color: var(--wire-color-on-primary, #fff); + background: var(--wire-component-color, var(--wire-color-primary)); + font-weight: 600; + } + + .wire-navbar__action--outline { + border-color: var(--wire-color-border); + } + + .wire-navbar__toggle { + display: none; + width: 2.75rem; + height: 2.75rem; + margin-left: auto; + padding: 0.65rem; + border: 1px solid var(--wire-color-border); + border-radius: 0.65rem; + color: inherit; + background: var(--wire-color-surface); + } + + .wire-navbar__toggle span { + display: block; + height: 2px; + margin: 0.25rem 0; + background: currentColor; + } + + @media (max-width: 900px) { + .wire-navbar--width-compact .wire-navbar__main { + width: 100%; + } + .wire-navbar__toggle { + display: block; + } + .wire-navbar__collapse { + position: absolute; + top: 100%; + right: 0; + left: 0; + display: none; + padding: 0.75rem 1rem 1rem; + align-items: stretch; + flex-direction: column; + background: var(--wire-color-surface); + border-bottom: 1px solid var(--wire-color-border); + box-shadow: 0 16px 32px rgb(15 23 42 / 0.12); + max-height: calc(100dvh - 4rem); + overflow-x: hidden; + overflow-y: auto; + overscroll-behavior: contain; + } + .wire-navbar__collapse.is-open { + display: flex; + } + .wire-navbar__menus, + .wire-navbar__actions { + width: 100%; + align-items: stretch; + flex-direction: column; + } + .wire-navbar__menu-link, + .wire-navbar__dropdown > summary, + .wire-navbar__action { + width: 100%; + } + .wire-navbar__panel, + .wire-navbar__dropdown--mega .wire-navbar__panel { + position: static; + width: 100%; + max-width: none; + margin-top: 0.25rem; + box-shadow: none; + transform: none; + overflow: hidden; + animation: wire-navbar-mobile-panel 180ms ease both; + } + .wire-navbar__dropdown:not([open]) > .wire-navbar__panel, + .wire-navbar__dropdown[open] > .wire-navbar__panel { + transform: none; + } + .wire-navbar__panel[class*="wire-navbar__panel--columns-"] { + grid-template-columns: 1fr; + } + .wire-navbar__panel::before { + display: none; + } + } + + @media (max-width: 600px) { + .wire-navbar__brand-copy small { + display: none; + } + } + + @keyframes wire-navbar-mobile-panel { + from { + opacity: 0; + transform: translateY(-0.35rem); + } + to { + opacity: 1; + transform: translateY(0); + } + } + } } ``` @@ -31631,35 +33582,303 @@ Showcase: https://component.wrnexusjs.dev/ Mount: (legacy: data-component="Pagination") Category: navigation Purpose: Theme-aware, responsive pagination component. -Props: size: string = "default", color: string = "primary", label: string = "Pagination", items: unknown[] = [], active: string = "", orientation: string = "horizontal", class: string = "" +Props: color: string = "primary", size: string = "default", page: number = 1, pageSize: number = 10, total: number = 0, variant: string = "compact", siblingCount: number = 1, showSummary: boolean = true, label: string = "Pagination", previousLabel: string = "Previous", nextLabel: string = "Next", class: string = "" Slots: default Events: change, previous, next ### Complete .wrn source contract ```wrn +// Pagination -- page controls over a known total. +// +// +// +// The component owns no data. It reports the requested page through its +// change output and lets the caller fetch or slice. +// +// NOTE: the style block uses /* */ comments only -- // is not a CSS comment +// and silently swallows the rule that follows it. component Pagination { outputs { - change(payload: { value?: string | number | boolean | null; values?: Array; sourceEvent?: Event; [key: string]: string | number | boolean | null | object } | string | number | boolean | null) - previous(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) - next(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object }) + change(payload: { page: number; pageSize: number }) + previous(payload: { page: number }) + next(payload: { page: number }) } props { -size: string = "default" color: string = "primary" + size: string = "default" + page: number = 1 + pageSize: number = 10 + total: number = 0 + variant: string = "compact" + siblingCount: number = 1 + showSummary: boolean = true label: string = "Pagination" - items: unknown[] = [] - active: string = "" - orientation: string = "horizontal" + previousLabel: string = "Previous" + nextLabel: string = "Next" class: string = "" } + + functions { + shared function lastPage() { + var size = Number(pageSize) > 0 ? Number(pageSize) : 10 + var count = Number(total) > 0 ? Number(total) : 0 + return Math.max(1, Math.ceil(count / size)) + } + + // Out-of-range values arrive routinely: page travels as an HTML attribute + // and callers compute it from data that may have shrunk underneath them. + shared function currentPage() { + var value = Number(page) + if (!value || value < 1) { + return 1 + } + return Math.min(value, lastPage()) + } + + shared function firstShown() { + if (Number(total) < 1) { + return 0 + } + return (currentPage() - 1) * (Number(pageSize) || 10) + 1 + } + + shared function lastShown() { + return Math.min(currentPage() * (Number(pageSize) || 10), Number(total) || 0) + } + + shared function pageNumbers() { + var last = lastPage() + var current = currentPage() + var siblings = Math.max(0, Number(siblingCount) || 0) + var start = Math.max(1, current - siblings) + var end = Math.min(last, current + siblings) + var pages = [] + if (start > 1) { + pages.push({ value: 1, label: "1", gap: false }) + if (start > 2) { + pages.push({ value: 0, label: "...", gap: true }) + } + } + for (var index = start; index <= end; index += 1) { + pages.push({ value: index, label: String(index), gap: false }) + } + if (end < last) { + if (end < last - 1) { + pages.push({ value: 0, label: "...", gap: true }) + } + pages.push({ value: last, label: String(last), gap: false }) + } + return pages + } + + client function goToPage(target) { + var next = Math.min(Math.max(1, Number(target) || 1), lastPage()) + output.change({ page: next, pageSize: Number(pageSize) || 10 }) + } + + client function goPrevious() { + var target = Math.max(1, currentPage() - 1) + output.previous({ page: target }) + output.change({ page: target, pageSize: Number(pageSize) || 10 }) + } + + client function goNext() { + var target = Math.min(lastPage(), currentPage() + 1) + output.next({ page: target }) + output.change({ page: target, pageSize: Number(pageSize) || 10 }) + } + } + view { -