bundlePackage manifestv5.0.8

bundle.library

Composable ContractSpec library bundle for documentation, MCP, and runtime consumers.

@lssm-tech/bundle.library
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 5.0.8. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
serverbun
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGEbundle.librarybundles

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

35 declarations · first 6 shownSELECT TO INSPECT

@lssm-tech/bundle.library

Shared library bundle that composes docs, templates, integrations, MCP implementations, and reusable presentation surfaces.

What It Provides

  • Provides the reusable product-facing bundle consumed by API, web, and documentation surfaces.
  • Aggregates docs pages, integration marketplace UI, templates, example showcase pages, and library-side MCP implementations.
  • Includes reusable managed/BYOK credential setup UI for integration manifests and monorepo-aware env alias previews.
  • Acts as the main composition layer between lower-level libraries and app-specific delivery shells.
  • src/presentation/ contains presentation-layer components and renderers.

Installation

npm install @lssm-tech/bundle.library

or

bun add @lssm-tech/bundle.library

Usage

Import the root entrypoint from @lssm-tech/bundle.library, or choose a documented subpath when you only need one part of the package surface.

Architecture

  • src/application/ contains application services including MCP implementations and cross-surface orchestration.
  • src/components/ contains reusable docs, integrations, legal, shell, and template presentation code.
  • src/components/docs/agents/ contains the canonical public Agent Ecosystem hub and guides for multi-agent execution, self-improvement, durable runtime, self-maintaining APIs, deployment, and production qualification.
  • src/components/docs/examples/ derives showcase links from the discoverable example catalog and leaves preview rendering to the shared @lssm-tech/module.examples/runtime host.
  • src/features/, src.config/, src.infrastructure/, and src.libs/ hold bundle-local composition helpers.
  • src/presentation/ contains feature-specific UI composition exported to consuming apps.
  • src/index.ts is the root public barrel and package entrypoint.

Public Entry Points

  • Large multi-subpath bundle exporting docs, integrations, templates, shell layout, email helpers, and MCP application surfaces.
  • Export . resolves through ./src/index.ts.
  • Export ./application resolves through ./src/application/index.ts.
  • Export ./application/context-storage resolves through ./src/application/context-storage/index.ts.
  • Export ./application/mcp resolves through ./src/application/mcp/index.ts.
  • Export ./application/mcp/cliMcp resolves through ./src/application/mcp/cliMcp.ts.
  • Export ./application/mcp/common resolves through ./src/application/mcp/common.ts.
  • Export ./application/mcp/contractsMcp resolves through ./src/application/mcp/contractsMcp.ts.
  • Export ./application/mcp/contractsMcpResources resolves through ./src/application/mcp/contractsMcpResources.ts.
  • Export ./application/mcp/contractsMcpTools resolves through ./src/application/mcp/contractsMcpTools.ts.
  • Export ./application/mcp/contractsMcpTypes resolves through ./src/application/mcp/contractsMcpTypes.ts.
  • Export ./components/docs/agents exposes the public Agent Ecosystem page components consumed by the website delivery shell.
  • The package publishes many generated export subpaths; treat package.json as the source of truth for the current subpath list and keep public-surface docs aligned when exports change.

Local Commands

  • bun run dev — contractspec-bun-build dev
  • bun run build — contractspec-bun-build build
  • bun run test — bun test
  • bun run lint — bun run lint:fix
  • bun run lint:check — biome check .
  • bun run lint:fix — biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .
  • bun run typecheck — tsgo --noEmit
  • bun run publish:pkg — bun publish --tolerate-republish --ignore-scripts --verbose
  • bun run publish:pkg:canary — bun publish:pkg --tag canary
  • bun run clean — rm -rf dist
  • bun run build:bundle — contractspec-bun-build transpile
  • bun run build:types — contractspec-bun-build types
  • bun run prebuild — contractspec-bun-build prebuild

Recent Updates

  • Replace eslint+prettier by biomejs to optimize speed.
  • Package exports.
  • Vnext ai-native.
  • Add latest models and align defaults.
  • Standardize tool naming to underscore notation.
  • Add changesets and apply pending fixes.

Notes

  • This bundle is consumed by multiple apps — breaking export changes cascade widely.
  • MCP server implementations must stay transport-agnostic (the app layer wires the transport).
  • Keep side effects behind explicit adapters; do not perform I/O at import time.

Cross-platform UI documentation and the customer markdown kit now cover translation-bound data-view filters and active chips.

Standalone declaration exports keep their existing public subpath names. The shared builder preserves their original declaration suffix and copies checked source declarations into dist, without overwriting emitted implementation types.

The 355 retained declaration-named implementation aliases select the existing canonical TypeScript module and its compiled JavaScript artifact. Public keys, condition keys and type targets remain unchanged. Eight historical test declarations derive through the existing TypeScript 5 compiler from their canonical test sources without evaluating those tests. Run bun run generate:mcp-test-declarations to regenerate them; prebuild checks that their exact compiler outputs remain current. The owning configuration freezes the reviewed map so source discovery cannot retire compatibility keys. The declaration generator resolves the package's catalog:testing TypeScript 5.9.3 dependency. The existing tsgo typecheck and mandatory TypeScript 7 consumer qualification remain separate gates.

Declared capabilities.

Bundle Library

Composable ContractSpec library bundle for documentation, MCP, and runtime consumers.

Use it to

  • Adopt composable contractspec library bundle for documentation, mcp, and runtime consumers

Requires

  • TypeScript

Choose another boundary when

  • The @lssm-tech/bundle.library package constraints do not match the target runtime or platform.

@lssm-tech/bundle.library

@lssm-tech/bundle.library/application

@lssm-tech/bundle.library/application/context-storage

@lssm-tech/bundle.library/application/context-storage/index.d

@lssm-tech/bundle.library/application/index.d

@lssm-tech/bundle.library/application/mcp

@lssm-tech/bundle.library/application/mcp/cliMcp

@lssm-tech/bundle.library/application/mcp/cliMcp.d

@lssm-tech/bundle.library/application/mcp/cliMcp.onboarding

@lssm-tech/bundle.library/application/mcp/cliMcp.onboarding.d

@lssm-tech/bundle.library/application/mcp/cliMcp.test.d

@lssm-tech/bundle.library/application/mcp/cliMcp.tools

Imports and export paths.

748 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

748 imports · showing 35

Dependencies and related packages.

Runtime dependencies 35
@apollo/client
catalog:graphql
@modelcontextprotocol/sdk
catalog:ai
@scaleway/sdk
catalog:integrations
@scaleway/sdk-client
catalog:integrations
drizzle-orm
catalog:data
elysia
catalog:server
lucide-react
catalog:ui
posthog-js
^1.434.0
posthog-node
catalog:integrations
posthog-react-native
^4.74.2
react-hook-form
^7.86.0
zod
catalog:
Peer dependencies 1
react
catalog:
Development dependencies 5
@types/bun
catalog:types
@types/react
~19.2.18
typescript
catalog:testing

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

cleanrm -rf dist
testbun test
lintbun run lint:fix
lint:fixnode ../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../scripts/biome.cjs check --write .
lint:checknode ../../../scripts/biome.cjs check .
buildcontractspec-bun-build build
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
publish:pkgbun publish --tolerate-republish --ignore-scripts --verbose
publish:pkg:canarybun publish:pkg --tag canary
generate:mcp-test-declarationsnode scripts/generate-mcp-test-declarations.mjs --write
prebuildnode scripts/generate-mcp-test-declarations.mjs --check && contractspec-bun-build prebuild
typechecktsgo --noEmit
devcontractspec-bun-build dev
Your view

Make room for your context.

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

Your context

The different parts of you

Choose a starting point

A useful mix of context, visuals and gentle guidance.

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

Reading comfort

Choose your language

Interface language changes text only. Markets, prices and workflows keep their own settings.

Translation coverage

Original source

Navigation151
Graph616
Categories378
Portfolio833
Examples2,035
Source preview1,542

More translations will be added as content is reviewed.

This preference is saved on this browser.

Search the website

Useful starting points

No results. Try a shorter phrase, an operation name or another search area.

A LITTLE ROOM TO EXPLORE

Find something to explore.

Open a closer look on this page, try a different perspective, or follow the detail into its own page.

How previews and controls work
01

Look before you leave

Hover a link or focus it with Tab to see a preview. Clicking the original link or pressing Enter always opens its destination.

02

Stay with the context

Move into the preview to explore its sections. Use Alt + ↓ from a focused link to enter it with the keyboard. Escape closes it.

03

Open the possibilities

Disclosure rows, perspective choices and highlighted controls reveal more. Your view changes reading comfort and the context you explore.

A separate button for a closer look

Show small preview buttons beside links where there is room. Tap the eye to inspect, or tap the link to go straight there. This choice stays in this tab.

No browsing history is collected. Reduced motion follows your device and Your view.