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.

PASO 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 paquetesSELECT 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
Ejecución
3
Par
0
Desarrollo
3
Opcional
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
Source guide
README available
Declared runtimes
node, bun, browser
Declared stability
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

  • @lssm-tech/lib.contracts-library
    ./src/index.tsAbrir la fuente
  • @lssm-tech/lib.contracts-library/contracts-library.feature
    ./src/contracts-library.feature.tsAbrir la fuente
  • @lssm-tech/lib.contracts-library/templates
    ./src/templates/index.tsAbrir la fuente
  • @lssm-tech/lib.contracts-library/templates/messaging
    ./src/templates/messaging.tsAbrir la fuente
  • @lssm-tech/lib.contracts-library/templates/recipes
    ./src/templates/recipes.tsAbrir la fuente
  • @lssm-tech/lib.contracts-library/templates/todos
    ./src/templates/todos.tsAbrir la fuente

Showing 6 of 104 declared entry points.

Dependency declarations
Ejecución
18
Par
0
Desarrollo
3
Opcional
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
Source guide
README available
Declared runtimes
node
Declared stability
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

  • @lssm-tech/lib.contracts-spec
    ./src/index.tsAbrir la fuente
  • @lssm-tech/lib.contracts-spec/acp
    ./src/acp/index.tsAbrir la fuente
  • @lssm-tech/lib.contracts-spec/acp/acp.feature
    ./src/acp/acp.feature.tsAbrir la fuente
  • @lssm-tech/lib.contracts-spec/acp/capabilities
    ./src/acp/capabilities/index.tsAbrir la fuente
  • @lssm-tech/lib.contracts-spec/acp/capabilities/acpTransport.capability
    ./src/acp/capabilities/acpTransport.capability.tsAbrir la fuente
  • @lssm-tech/lib.contracts-spec/acp/commands
    ./src/acp/commands/index.tsAbrir la fuente

Showing 6 of 1687 declared entry points.

Dependency declarations
Ejecución
52
Par
1
Desarrollo
4
Opcional
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
Source guide
README available
Declared runtimes
bun
Declared stability
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
Ejecución
12
Par
0
Desarrollo
3
Opcional
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
Source guide
README available
Declared runtimes
node
Declared stability
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
Ejecución
1
Par
0
Desarrollo
0
Opcional
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
Source guide
README available
Declared runtimes
node
Declared stability
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
Ejecución
2
Par
0
Desarrollo
3
Opcional
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
Source guide
README available
Declared runtimes
node
Declared stability
experimental
Source path
packages/platform/delivery/contractspec-catalog

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

Tu vista

Make room for your context.

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

Tu contexto

The different parts of you

Choose a starting point

Una mezcla útil de contexto, imágenes y orientación discreta.

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

Comodidad de lectura

Elige tu idioma

El idioma de la interfaz solo cambia el texto. Los mercados, precios y flujos de trabajo conservan sus propios ajustes.

Cobertura de traducción

Parte del contenido se muestra en inglés.

Navegación151
Grafo616
Categorías188
Portafolio332
Ejemplos2035
Vista previa de la fuente41

Se añadirán más traducciones a medida que se revise el contenido.

Esta preferencia se guarda en este navegador.

Buscar en el sitio web

Puntos de partida útiles

Sin resultados. Prueba una frase más corta, un nombre de operación u otro ámbito de búsqueda.

UN POCO DE ESPACIO PARA EXPLORAR

Encuentra algo que explorar.

Abre una vista detallada en esta página, prueba otra perspectiva o sigue el detalle a su propia página.

Cómo funcionan las vistas previas y los controles
01

Mirar antes de salir

Pasa el cursor por un enlace o enfócalo con Tab para ver una vista previa. Hacer clic en el enlace original o pulsar Intro siempre abre su destino.

02

Mantener el contexto

Entra en la vista previa para explorar sus secciones. Usa Alt + ↓ desde un enlace enfocado para entrar con el teclado. Escape la cierra.

03

Abrir las posibilidades

Las filas desplegables, las perspectivas y los controles destacados revelan más. Tu vista cambia la comodidad de lectura y el contexto que exploras.

Un botón separado para mirar más de cerca

Muestra pequeños botones de vista previa junto a los enlaces donde haya espacio. Toca el ojo para inspeccionar o el enlace para ir directamente. Esta elección permanece en esta pestaña.

No se recoge historial de navegación. El movimiento reducido sigue tu dispositivo y Tu vista.