Stone.jsDocs
Paradigm

Extensions

Extensions

Extensions are the opt-in capabilities that turn a kernel into a product: validation, auth, authorization, resources, OpenAPI, testing, agent tooling, telemetry. Each is a package that attaches through a blueprint and providers, never by the core reaching out to it.

#How an extension attaches

The pattern is always the same: install the package, add its blueprint (or its decorators) to the manifest, and its services and middleware become available. The kernel needs no knowledge of any of them; they plug in, it does not plug out.

The core stays small. Capability arrives as packages that graft on, and never the other way around.

#The catalog

ExtensionTypeDescription
@stone-js/validationvalidationOne schema, enforced on the API and the frontend form.
@stone-js/authauthenticationStateless JWT / OAuth, edge-native, no session.
@stone-js/authzauthorizationIsomorphic RBAC + ABAC: one rule set for API and UI.
@stone-js/resourcesoutput shapingDeliberate projections from model to public shape.
@stone-js/openapicontractA public OpenAPI document derived from your schemas.
@stone-js/testingtestingBoot the real app in memory; dispatch real events.
@stone-js/mcp-devagents / devServe the framework + your app to a coding agent via `stone mcp`.
@stone-js/telemetryobservabilitySpans and metrics with pluggable exporters.

Stone.js

Your app exists in every runtime. Until you run it.

An open-source project by Stone Foundation
Created by Mr. Stone (Evens Pierre)