AREA GUIDE / 9 PACKAGES

Handlers, runtimes and transports

Connect declared operations to supplied handlers, client state and the transport your application actually runs.

What are you trying to do?

  • What belongs in the portable runtime kernel?
  • Which adapter matches my REST, GraphQL or MCP host?
  • Where are approvals and authenticated context enforced?
FIND YOUR WAY THROUGH THIS AREA

Start with the work you want to do.

Choose a practical step, then inspect a package before opening its full manual.

ÉTAPE 01

Choose one vertical slice

Select a query and a command already declared in source. Identify their registry bindings, handler context, adapter entry and consumer call. Start with the smallest actual host composition that exercises these pieces together.

THE PACKAGE LANDSCAPE

9 packages. Choose an entry point.

9 paquets · les 6 premiers affichésSELECT TO INSPECT

Task guidance and package membership come from this area’s captured source guide.

Start with these packages.

lib.contracts-runtime-kernel

Start with the framework-neutral engine, canonical registries and caller-supplied runtime ports.

Read the package guide →
lib.contracts-runtime-server-rest

Inspect the REST adapter matching your framework and its request/context handling.

Read the package guide →
lib.contracts-runtime-server-mcp

Use the existing contract-to-MCP adapter when exposing a selected operation registry to tools.

Read the package guide →
lib.contracts-runtime-client-react

Locate the React consumer integration for the shared query/cache runtime.

Read the package guide →

Separate reusable runtime from host composition

The runtime kernel owns the shared engine and registry identities while accepting storage, transport, approval, policy and audit responsibilities through supplied ports. Host/environment wiring and concrete providers live above that foundation. Select the server adapter by the application framework and transport, then inspect the client adapter that consumes it. REST, GraphQL and MCP are related projections of selected contracts; registering a contract does not by itself establish an authenticated endpoint or a configured handler.

Follow the request context

The REST README documents createFetchHandler with an asynchronous-capable context factory and an approvalReceipt adapter. Approval evidence is kept outside operation input and is passed to the common handler context. Required approvals are checked before handler invocation by the shared registry. Parameterized REST routes decode path values and make them authoritative over conflicting query/body fields. These details matter when replacing a handwritten endpoint: preserving the public input shape also requires preserving trusted context and precedence rules.

Keep query behavior consistent

REST requests rebuild the canonical QueryEnvelope, including supported search, filter, sort, pagination and consistency metadata. That metadata is separate from flat business input. The documented client deliberately avoids sending client cache policy by default because cache key material may contain tenant or user identifiers that would enter URL logs. Inspect caching, invalidation and offline behavior at the kernel/client boundary instead of hiding those concerns inside each handler. A transport success must still produce the expected canonical result.

Follow a practical path.

  1. Choose one vertical slice

    Select a query and a command already declared in source. Identify their registry bindings, handler context, adapter entry and consumer call. Start with the smallest actual host composition that exercises these pieces together.

  2. Inspect the negative path

    Trace invalid input, missing trusted identity, required-but-missing approval and an unavailable handler/provider. The relevant question is whether execution stops at the correct boundary and returns a result the caller can handle.

  3. Qualify the selected environment

    Use the host’s existing test and build setup for the exact runtime and package versions. Record separately whether you checked source, local handler execution, the transport boundary or a deployed endpoint; those observations answer different questions.

All packages in this area.

9 packages
foundation / library

lib.contracts-runtime-kernel

v0.1.0
Package manifestGuide availablenodebunbrowser

Canonical framework-neutral ContractSpec engine, ports and storage; no Forms or backend authority

@lssm-tech/lib.contracts-runtime-kernel
33Declared imports
7Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

  • @lssm-tech/lib.contracts-runtime-kernel
    ./src/index.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-kernel/engine/events
    ./src/engine/events.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-kernel/forms/form-registry
    ./src/forms/form-registry.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-kernel/forms/projection-lookup
    ./src/forms/projection-lookup.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-kernel/redaction
    ./src/redaction.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-kernel/storage/async-storage
    ./src/storage/async-storage.native.tsOuvrir la source

Showing 6 of 33 declared entry points.

Dependency declarations
Exécution
5
Pair
0
Développement
2
Facultatif
0
  • @lssm-tech/lib.schemaworkspace:^ · runtime
  • compare-versionscatalog:data · runtime
  • @lssm-tech/lib.contracts-spec-coreworkspace:^ · runtime
  • @lssm-tech/lib.crypto-utilsworkspace:^ · runtime
  • zodcatalog: · runtime
  • @lssm-tech/tool.bunworkspace:* · development

Showing 6 of 7 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Guide source
README available
Declared runtimes
node, bun, browser
Stabilité déclarée
experimental
Source path
packages/foundation/contracts-runtime-kernel

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

platform / library

lib.contracts-runtime-client-react

v6.0.4
Package manifestGuide availablebrowserbunnode

React runtime adapters for ContractSpec contracts

@lssm-tech/lib.contracts-runtime-client-react
24Declared imports
18Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

  • @lssm-tech/lib.contracts-runtime-client-react
    ./src/index.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-client-react/adaptive-form
    ./src/adaptive-form.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-client-react/contract-data-engine-context
    ./src/contract-data-engine-context.tsxOuvrir la source
  • @lssm-tech/lib.contracts-runtime-client-react/contract-result-client
    ./src/contract-result-client.tsxOuvrir la source
  • @lssm-tech/lib.contracts-runtime-client-react/contracts-runtime-client-react.feature
    ./src/contracts-runtime-client-react.feature.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-client-react/drivers/rn-reusables
    ./src/drivers/rn-reusables.tsOuvrir la source

Showing 6 of 24 declared entry points.

Dependency declarations
Exécution
8
Pair
5
Développement
5
Facultatif
0
  • @lssm-tech/lib.personalizationworkspace:^ · runtime
  • @lssm-tech/lib.schemaworkspace:^ · runtime
  • @lssm-tech/lib.lssm-os-runtimeworkspace:^ · runtime
  • @lssm-tech/lib.presentation-runtime-coreworkspace:^ · runtime
  • @lssm-tech/lib.contracts-runtime-kernelworkspace:^ · runtime
  • @lssm-tech/lib.contracts-spec-coreworkspace:^ · runtime

Showing 6 of 18 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Guide source
README available
Declared runtimes
browser, bun, node
Stabilité déclarée
stable
Source path
packages/platform/delivery/contracts-runtime-client-react

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

platform / library

lib.contracts-runtime-core

v3.0.4
Package manifestGuide availablenode

Framework-neutral in-house query/cache/offline engine and Transport port for ContractSpec data fetching

@lssm-tech/lib.contracts-runtime-core
24Declared imports
14Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

  • @lssm-tech/lib.contracts-runtime-core
    ./src/index.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-core/contracts-runtime-core.feature
    ./src/contracts-runtime-core.feature.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-core/observability
    ./src/observability.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-core/storage/async-storage
    ./src/storage/async-storage.native.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-core/storage/indexeddb
    ./src/storage/indexeddb.web.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-core/serialization/serializers
    ./src/serialization/serializers.tsOuvrir la source

Showing 6 of 24 declared entry points.

Dependency declarations
Exécution
11
Pair
1
Développement
3
Facultatif
0
  • @lssm-tech/lib.observabilityworkspace:^ · runtime
  • @lssm-tech/lib.contracts-spec-coreworkspace:^ · runtime
  • @lssm-tech/lib.contracts-runtime-kernelworkspace:^ · runtime
  • @lssm-tech/lib.forms-runtimeworkspace:^ · runtime
  • @lssm-tech/lib.assurance-specworkspace:^ · runtime
  • @lssm-tech/lib.lssm-os-specworkspace:^ · runtime

Showing 6 of 15 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Guide source
README available
Declared runtimes
node
Stabilité déclarée
stable
Source path
packages/platform/delivery/contracts-runtime-core

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

platform / library

lib.contracts-runtime-server-graphql

v5.0.4
Package manifestGuide availablenode

GraphQL server runtime adapters for ContractSpec contracts

@lssm-tech/lib.contracts-runtime-server-graphql
3Declared imports
15Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

  • @lssm-tech/lib.contracts-runtime-server-graphql
    ./src/index.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-server-graphql/contracts-runtime-server-graphql.feature
    ./src/contracts-runtime-server-graphql.feature.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-server-graphql/graphql-pothos
    ./src/graphql-pothos.tsOuvrir la source

Showing 3 of 3 declared entry points.

Dependency declarations
Exécution
11
Pair
1
Développement
3
Facultatif
0
  • @lssm-tech/lib.contracts-runtime-coreworkspace:^ · runtime
  • @lssm-tech/lib.contracts-runtime-kernelworkspace:^ · runtime
  • @lssm-tech/lib.contracts-runtime-server-restworkspace:^ · runtime
  • @lssm-tech/lib.contracts-spec-coreworkspace:^ · runtime
  • @lssm-tech/lib.schemaworkspace:^ · runtime
  • @lssm-tech/lib.utils-typescriptworkspace:^ · runtime

Showing 6 of 15 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Guide source
README available
Declared runtimes
node
Stabilité déclarée
stable
Source path
packages/platform/delivery/contracts-runtime-server-graphql

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

platform / library

lib.contracts-runtime-server-mcp

v5.0.4
Package manifestGuide availablenode

MCP server runtime adapters for ContractSpec contracts

@lssm-tech/lib.contracts-runtime-server-mcp
13Declared imports
13Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

  • @lssm-tech/lib.contracts-runtime-server-mcp
    ./src/index.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-server-mcp/contracts-runtime-server-mcp.feature
    ./src/contracts-runtime-server-mcp.feature.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-server-mcp/marketing
    ./src/marketing/index.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-server-mcp/marketing/marketing-agent-config
    ./src/marketing/marketing-agent-config.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-server-mcp/marketing/marketing-mcp
    ./src/marketing/marketing-mcp.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-server-mcp/marketing/marketing-registry
    ./src/marketing/marketing-registry.tsOuvrir la source

Showing 6 of 13 declared entry points.

Dependency declarations
Exécution
7
Pair
0
Développement
6
Facultatif
0
  • @lssm-tech/lib.contracts-runtime-coreworkspace:^ · runtime
  • @lssm-tech/lib.contracts-specworkspace:^ · runtime
  • @lssm-tech/lib.contracts-spec-coreworkspace:^ · runtime
  • @lssm-tech/lib.loggerworkspace:^ · runtime
  • @lssm-tech/lib.utils-typescriptworkspace:^ · runtime
  • @modelcontextprotocol/sdkcatalog:ai · runtime

Showing 6 of 13 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Guide source
README available
Declared runtimes
node
Stabilité déclarée
stable
Source path
packages/platform/delivery/contracts-runtime-server-mcp

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

platform / library

lib.contracts-runtime-server-rest

v5.0.4
Package manifestGuide availablenode

REST server runtime adapters for ContractSpec contracts

@lssm-tech/lib.contracts-runtime-server-rest
17Declared imports
16Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

  • @lssm-tech/lib.contracts-runtime-server-rest
    ./src/index.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-server-rest/ai-cost-guard
    ./src/ai-cost-guard.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-server-rest/contracts-adapter-hydration
    ./src/contracts-adapter-hydration.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-server-rest/contracts-adapter-input
    ./src/contracts-adapter-input.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-server-rest/contracts-runtime-server-rest.feature
    ./src/contracts-runtime-server-rest.feature.tsOuvrir la source
  • @lssm-tech/lib.contracts-runtime-server-rest/pwa-update
    ./src/pwa-update.tsOuvrir la source

Showing 6 of 17 declared entry points.

Dependency declarations
Exécution
6
Pair
6
Développement
4
Facultatif
0
  • @lssm-tech/lib.contracts-runtime-coreworkspace:^ · runtime
  • @lssm-tech/lib.contracts-runtime-kernelworkspace:^ · runtime
  • @lssm-tech/lib.contracts-spec-coreworkspace:^ · runtime
  • @lssm-tech/lib.schemaworkspace:^ · runtime
  • @lssm-tech/lib.utils-typescriptworkspace:^ · runtime
  • zodcatalog: · runtime

Showing 6 of 16 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Guide source
README available
Declared runtimes
node
Stabilité déclarée
stable
Source path
packages/platform/delivery/contracts-runtime-server-rest

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

platform / library

lib.graphql-core

v5.1.3
Package manifestGuide availablenode

Shared GraphQL core: Pothos builder factory, scalars, tracing & complexity

@lssm-tech/lib.graphql-core
2Declared imports
11Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

Showing 2 of 2 declared entry points.

Dependency declarations
Exécution
8
Pair
1
Développement
3
Facultatif
0
  • @pothos/corecatalog:graphql · runtime
  • @pothos/plugin-complexitycatalog:graphql · runtime
  • @pothos/plugin-dataloadercatalog:graphql · runtime
  • @pothos/plugin-relaycatalog:graphql · runtime
  • @pothos/plugin-tracingcatalog:graphql · runtime
  • graphqlcatalog:graphql · runtime

Showing 6 of 12 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Guide source
README available
Declared runtimes
node
Stabilité déclarée
stable
Source path
packages/platform/delivery/graphql-core

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

platform / library

lib.graphql-federation

v6.0.3
Package manifestGuide availablenode

Pothos federation helpers and subgraph schema export utilities

@lssm-tech/lib.graphql-federation
2Declared imports
9Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

Showing 2 of 2 declared entry points.

Dependency declarations
Exécution
6
Pair
1
Développement
3
Facultatif
0
  • @pothos/corecatalog:graphql · runtime
  • @pothos/plugin-federation^4.5.3 · runtime
  • @pothos/plugin-directives^4.3.2 · runtime
  • graphqlcatalog:graphql · runtime
  • @apollo/subgraph^2.15.1 · runtime
  • @lssm-tech/lib.contracts-spec-coreworkspace:^ · runtime

Showing 6 of 10 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Guide source
README available
Declared runtimes
node
Stabilité déclarée
stable
Source path
packages/platform/delivery/graphql-federation

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

platform / library

lib.graphql-prisma

v6.1.3
Package manifestGuide availablenode

Pothos + Prisma builder factory with injectable client/DMMF

@lssm-tech/lib.graphql-prisma
2Declared imports
13Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

Showing 2 of 2 declared entry points.

Dependency declarations
Exécution
10
Pair
1
Développement
3
Facultatif
0
  • @lssm-tech/lib.schemaworkspace:^ · runtime
  • @pothos/corecatalog:graphql · runtime
  • @pothos/plugin-complexitycatalog:graphql · runtime
  • @pothos/plugin-dataloadercatalog:graphql · runtime
  • @pothos/plugin-prisma^4.17.0 · runtime
  • @pothos/plugin-relaycatalog:graphql · runtime

Showing 6 of 14 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Guide source
README available
Declared runtimes
node
Stabilité déclarée
stable
Source path
packages/platform/delivery/graphql-prisma

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

Votre vue

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Votre contexte

The different parts of you

Choose a starting point

Un mélange utile de contexte, de visuels et de guidage discret.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Confort de lecture

Choisir votre langue

La langue de l’interface change uniquement le texte. Les marchés, les prix et les parcours conservent leurs propres paramètres.

Couverture des traductions

Une partie du contenu est affichée en anglais.

Navigation151
Graphe616
Catégories378
Portfolio833
Exemples2 035
Aperçu de la source1 542

D’autres traductions seront ajoutées à mesure que le contenu sera relu.

Cette préférence est enregistrée dans ce navigateur.

Rechercher sur le site

Des points de départ utiles

Aucun résultat. Essayez une expression plus courte, un nom d’opération ou un autre périmètre de recherche.

UN PEU DE PLACE POUR EXPLORER

Trouvez quelque chose à explorer.

Ouvrez un aperçu détaillé sur cette page, essayez une autre perspective ou suivez le détail vers sa propre page.

Fonctionnement des aperçus et des commandes
01

Regarder avant de partir

Survolez un lien ou sélectionnez-le avec Tab pour voir un aperçu. Cliquer sur le lien d’origine ou appuyer sur Entrée ouvre toujours sa destination.

02

Rester dans le contexte

Entrez dans l’aperçu pour explorer ses sections. Depuis un lien sélectionné, utilisez Alt + ↓ pour y entrer au clavier. Échap le ferme.

03

Ouvrir les possibilités

Les lignes dépliables, les choix de perspective et les commandes mises en évidence révèlent davantage. Votre vue adapte le confort de lecture et le contexte exploré.

Un bouton séparé pour voir de plus près

Affichez de petits boutons d’aperçu à côté des liens quand l’espace le permet. Touchez l’œil pour examiner ou le lien pour y aller directement. Ce choix reste dans cet onglet.

Aucun historique de navigation n’est collecté. La réduction des animations suit votre appareil et Votre vue.