AREA GUIDE / 6 PACKAGES

Core contracts and features

Define the behavior, references and composition rules that other parts of a product can share.

What are you trying to do?

  • Where should a command, query or event be declared?
  • Which package owns portable models and which supplies registries?
  • How does a feature connect related contracts?
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

Trace one complete operation

Open the definition and record its exact key/version, input and output model, policy and event references. Follow the implementation registration into a runtime package, then the host adapter. This establishes which parts are declarative and which part handles a real request.

THE PACKAGE LANDSCAPE

6 packages. Choose an entry point.

6 paquetsSELECT TO INSPECT

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

Start with these packages.

lib.contracts-spec-core

Begin with portable operation, event, capability and feature definitions when authoring a reusable contract.

Read the package guide →
lib.contracts-spec

Use the compatibility distribution to understand existing consumers and forwarding paths in this source snapshot.

Read the package guide →
lib.contracts-library

Inspect the maintained documentation, review and platform contract families for complete source examples.

Read the package guide →

Choose the layer that matches the job

Portable Core owns operation metadata and the existing defineCommand, defineQuery, defineEvent and defineCapability constructors. It also owns feature composition, versioned references and documentation references. Start here to describe a reusable domain boundary. The compatibility package forwards established paths to canonical owners; it remains useful when reading older consumers. A registry, renderer, provider implementation or installed product capability is a separate part of the composition. The current README describes this ownership extraction as staged, so follow the selected release context when deciding what a consumer can adopt.

Write the contract before the transport

Describe one concrete action or read: its key, version, input, output, error outcomes and declared policy. Identify any emitted event and its relationship to the operation. Put related operations behind a capability, then use a feature to describe the larger composition and its dependencies. Keep documentation close to the definition and reference it explicitly. The source docs.generate operation is a useful complete specimen because its operation, capability requirement and colocated DocBlock can be inspected together.

Preserve identity while navigating the repository

The same contract may be reachable through a canonical leaf and a historical forwarding path. Compare the selected package export maps before creating a second declaration or duplicating a registry. Treat document revision, operation version and package version as separate identifiers. When a contract changes, inspect its callers, event consumers, presentation bindings and examples. A renamed source folder is an ownership change; it should not silently become a new semantic operation or erase an existing versioned reference.

Follow a practical path.

  1. Trace one complete operation

    Open the definition and record its exact key/version, input and output model, policy and event references. Follow the implementation registration into a runtime package, then the host adapter. This establishes which parts are declarative and which part handles a real request.

  2. Extend a feature deliberately

    List the operation, event, capability and presentation references that the feature actually needs. Reuse their canonical identities and keep optional dependencies visible. Compare a nearby maintained feature rather than guessing a new reference shape.

  3. Check the consumer boundary

    Choose the package and subpath available in the intended release, inspect its forwarding relationship, and run the owning project’s existing validation in that environment. Record the result separately from the fact that a source declaration exists.

All packages in this area.

6 packages
foundation / library

lib.contracts-spec-core

v0.1.0
Package manifestGuide availablenodebunbrowser

Portable ContractSpec feature models, ownership, query, result, approval and reference primitives

@lssm-tech/lib.contracts-spec-core
74Declared imports
6Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

Showing 6 of 74 declared entry points.

Dependency declarations
Exécution
3
Pair
0
Développement
3
Facultatif
0
  • @lssm-tech/lib.crypto-utilsworkspace:^ · runtime
  • @lssm-tech/lib.schemaworkspace:^ · runtime
  • zodcatalog: · runtime
  • @lssm-tech/tool.bunworkspace:* · development
  • @lssm-tech/tool.typescriptworkspace:* · development
  • @types/buncatalog:types · development

Showing 6 of 6 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-spec

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

platform / library

lib.contracts-library

v5.0.4
Package manifestGuide availablenode

Reusable contract library and registry primitives for ContractSpec applications.

@lssm-tech/lib.contracts-library
104Declared imports
21Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

Showing 6 of 104 declared entry points.

Dependency declarations
Exécution
18
Pair
0
Développement
3
Facultatif
0
  • @lssm-tech/lib.contracts-spec-coreworkspace:^ · runtime
  • @lssm-tech/lib.schemaworkspace:^ · runtime
  • @lssm-tech/lib.contracts-runtime-kernelworkspace:^ · runtime
  • @lssm-tech/lib.contracts-runtime-coreworkspace:^ · runtime
  • @lssm-tech/lib.surface-runtimeworkspace:^ · runtime
  • @lssm-tech/lib.design-catalogworkspace:^ · runtime

Showing 6 of 21 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-library

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

platform / library

lib.contracts-spec

v17.3.5
Package manifestGuide availablebun

Spec definitions and registries for ContractSpec

@lssm-tech/lib.contracts-spec
1687Declared imports
56Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

Showing 6 of 1687 declared entry points.

Dependency declarations
Exécution
52
Pair
1
Développement
4
Facultatif
0
  • @lssm-tech/lib.growth-runtimeworkspace:^ · runtime
  • @lssm-tech/lib.contractspec-connectworkspace:^ · runtime
  • @lssm-tech/lib.contracts-transformersworkspace:^ · runtime
  • @lssm-tech/lib.communication-specworkspace:^ · runtime
  • @lssm-tech/lib.contractspec-catalogworkspace:^ · runtime
  • @lssm-tech/lib.creative-intelligence-specworkspace:^ · runtime

Showing 6 of 57 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
bun
Stabilité déclarée
stable
Source path
packages/platform/delivery/contracts-spec-compat

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

platform / library

lib.contracts-transformers

v5.0.4
Package manifestGuide availablenode

Contract format transformations: import/export between ContractSpec and external formats (OpenAPI, AsyncAPI, etc.)

@lssm-tech/lib.contracts-transformers
6Declared imports
15Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

Showing 6 of 6 declared entry points.

Dependency declarations
Exécution
12
Pair
0
Développement
3
Facultatif
0
  • @lssm-tech/lib.workflow-composerworkspace:^ · runtime
  • @lssm-tech/lib.orchestration-specworkspace:^ · runtime
  • @lssm-tech/lib.contracts-runtime-kernelworkspace:^ · runtime
  • @lssm-tech/lib.contracts-spec-coreworkspace:^ · runtime
  • @lssm-tech/lib.contracts-runtime-coreworkspace:^ · runtime
  • @lssm-tech/lib.schemaworkspace:^ · 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-transformers

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

platform / library

lib.contracts

v4.0.4
Package manifestGuide availablenode

Deprecated monolith package split into contracts-spec, contracts-integrations, and contracts-runtime-* packages

@lssm-tech/lib.contracts
1Declared imports
1Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

Showing 1 of 1 declared entry points.

Dependency declarations
Exécution
1
Pair
0
Développement
0
Facultatif
0
  • @lssm-tech/lib.contracts-specworkspace:^ · runtime

Showing 1 of 1 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

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

platform / library

lib.contractspec-catalog

v2.0.5
Package manifestGuide availablenode

Versioned, machine-readable ContractSpec package and capability catalog.

@lssm-tech/lib.contractspec-catalog
4Declared imports
5Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

Showing 4 of 4 declared entry points.

Dependency declarations
Exécution
2
Pair
0
Développement
3
Facultatif
0
  • @lssm-tech/lib.crypto-utilsworkspace:^ · runtime
  • zodcatalog: · runtime
  • @lssm-tech/tool.bunworkspace:* · development
  • @lssm-tech/tool.typescriptworkspace:* · development
  • typescriptcatalog: · development

Showing 5 of 5 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
experimental
Source path
packages/platform/delivery/contractspec-catalog

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.