vscode-contractspecvscode-contractspec
Inspect the package guide, declared imports and source relationships.
vscode-contractspecSource, release and verification context
Source snapshot bcc79fcc · Declared package version 3.11.6. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.
See where this package fits.
Follow a declared connection, inspect an import, then open the source guide when you need the detail.
Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.
vscode-contractspec
Website: https://contractspec.io
ContractSpec: spec-first development for AI-written software. Validate, scaffold, and explore your contract specifications.
What It Does
@lssm-tech/module.workspacefor pure analysis + templates.@lssm-tech/bundle.workspacefor workspace services + adapters.src/ui/contains packaged UI exports and embeddable views.- Related ContractSpec packages include
@lssm-tech/bundle.workspace,@lssm-tech/lib.ai-agent,@lssm-tech/lib.ai-providers,@lssm-tech/lib.contracts-spec,@lssm-tech/lib.contracts-transformers,@lssm-tech/module.ai-chat, ... src/ui/contains packaged UI exports and embeddable views.
Running Locally
From packages/apps/vscode-contractspec:
bun run devbun run buildbun run test
Usage
bun run devInitialization Presets
The extension setup flow is preset-driven and backed by the shared workspace setup service.
ContractSpec: Setup ContractSpeclets you choose betweencore,connect,builder-managed,builder-local, andbuilder-hybrid.ContractSpec: Quick Setup (Defaults)applies thecorepreset with no prompts.- Builder managed and hybrid presets mirror the configured Builder API base URL into
contractspec.api.baseUrlin.vscode/settings.json.
Representative follow-up commands after setup:
contractspec builder init --workspace-id ws-demo --preset managed-mvp
contractspec builder init --workspace-id ws-demo --preset local-daemon-mvp
contractspec builder local register --workspace-id ws-demo --runtime-id rt_local_daemon --granted-to local:operatorArchitecture
@lssm-tech/module.workspacefor pure analysis + templates.@lssm-tech/bundle.workspacefor workspace services + adapters.
Public Entry Points
- This package is a deployable application rather than a library with published subpath exports.
Local Commands
bun run dev— bun build src/extension.ts --outdir=dist --target=node --format=cjs --external=vscode --sourcemap=external --watchbun run build— bun run build:types && bun run build:bundlebun run test— run the extension's Bun unit testsbun 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 vscode:prepublish— bun run buildbun run build:bundle— bun build src/extension.ts --outdir=dist --target=node --format=cjs --external=vscode --minifybun run build:types— tsgo --noEmitbun run package— vsce package --no-dependenciesbun run publish:off— vsce publish --no-dependencies
Recent Updates
- Replace eslint+prettier by biomejs to optimize speed.
- Standardize tool naming to underscore notation.
Notes
- Works alongside
@lssm-tech/bundle.workspace,@lssm-tech/lib.ai-agent,@lssm-tech/lib.ai-providers,@lssm-tech/lib.contracts-spec,@lssm-tech/lib.contracts-transformers, ...
Declared capabilities.
This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.
Imports and export paths.
1 entriesThese are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.
1 import
No export paths match this search.
Dependencies and related packages.
Runtime dependencies 10
- @lssm-tech/bundle.workspace
- workspace:*
- @lssm-tech/lib.ai-agent
- workspace:*
- @lssm-tech/lib.ai-providers
- workspace:*
- @lssm-tech/lib.cli-runtime
- workspace:*
- @lssm-tech/lib.contracts-spec
- workspace:*
- @lssm-tech/lib.contracts-transformers
- workspace:*
- @lssm-tech/module.ai-chat
- workspace:*
- @lssm-tech/module.examples
- workspace:*
- @lssm-tech/module.workspace
- workspace:*
- ai
- catalog:ai
Optional dependencies 1
- @swc/wasm
- 1.16.2
Development dependencies 5
- @lssm-tech/tool.typescript
- workspace:*
- @types/vscode
- 1.104.0
- @vscode/vsce
- ^3.9.2
- esbuild
- ^0.28.2
- typescript
- catalog:
Package scripts.
Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.
bun run buildbun run build:types && bun run build:bundlebun build src/extension.ts --outdir=dist --target=node --format=cjs --external=vscode --minify --external '@swc/wasm' --external '@electric-sql/pglite' --external '@apollo/client' --external 'graphql' --external 'drizzle-orm' --external 'drizzle-orm/*'tsgo --noEmitbun build src/extension.ts --outdir=dist --target=node --format=cjs --external=vscode --sourcemap=external --watchbun run lint:fixnode ../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../scripts/biome.cjs check --write .node ../../../scripts/biome.cjs check .vsce package --no-dependenciesvsce publish --no-dependenciesbun test src/*.test.ts