app.registry-server
Registry server for ContractSpec packages, contracts, and ecosystem metadata.
appsappv5.0.4stableservernode
@lssm-tech/app.registry-serverbun add @lssm-tech/app.registry-serverManifest declarations describe the current workspace; they do not verify registry publication or runtime execution.
Package guide
Website: https://contractspec.io
ContractSpec registry server. Serves contract specs and metadata over HTTP for IDE plugins, CLI tools, and other consumers.
What It Does
- Built with Elysia (Bun HTTP framework).
- Uses
@lssm-tech/lib.contracts-specfor contract definitions. - Uses
@lssm-tech/lib.loggerfor structured logging. - Separate handlers for ContractSpec and LSSM routes.
src/handlers/contains handlers or demo adapters wired to contract surfaces.src/handlers/contains handlers or demo adapters wired to contract surfaces.
Running Locally
From packages/apps/registry-server:
bun run devbun run startbun run build
Usage
bash
bun run devArchitecture
- Built with Elysia (Bun HTTP framework).
- Uses
@lssm-tech/lib.contracts-specfor contract definitions. - Uses
@lssm-tech/lib.loggerfor structured logging. - Separate handlers for ContractSpec and LSSM routes.
src/index.tsis the root public barrel and package entrypoint.src/server.tsis the main server bootstrap entrypoint.
Public Entry Points
- This package is a deployable application rather than a library with published subpath exports.
- Registry packages include the portable
src/entrypoints for Bun. Host-nativedist/serverexecutables and.bun-buildscratch files are local build artifacts and are not included in npm or GitHub Packages tarballs.
Local Commands
bun run dev— bun run --watch src/server.tsbun run start— ./serverbun run build— bun build --compile --minify-whitespace --minify-syntax --target bun --outfile dist/server src/index.tsbun run lint— bun run lint:fixbun run lint:check— biome check .bun run lint:fix— biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .bun run publish:pkg— bun publish --tolerate-republish --ignore-scripts --verbosebun run publish:pkg:canary— bun publish:pkg --tag canarybun run clean— rm -rf dist server
Recent Updates
- Replace eslint+prettier by biomejs to optimize speed.
Notes
- API routes are consumed by IDE plugins and CI — do not change paths or response shapes without versioning.
- Filesystem access must use the
src/utils/helpers for consistent path resolution.
Relationships
THIS PACKAGEapp.registry-server1 import paths
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
5 declarations
@lssm-tech/lib.contracts-specworkspace:^
Read the package manual ↗@elysiajs/cors^1.4.2
@elysiajs/server-timing^1.4.1
@lssm-tech/lib.loggerworkspace:^
Read the package manual ↗elysiacatalog:server
Declared capabilities
This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.
Scripts
publish:pkgbun publish --tolerate-republish --ignore-scripts --verbosepublish:pkg:canarybun publish:pkg --tag canarycleanrm -rf dist serverlintbun run lint:fixlint:fixnode ../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../scripts/biome.cjs check --write .lint:checknode ../../../scripts/biome.cjs check .devbun run --watch src/server.tsbuildbun build --compile --minify-whitespace --minify-syntax --target bun --outfile dist/server src/index.tsstart./server