appsWorkspace onlyv1.46.1

jetbrains-contractspec-bridge

Node.js bridge server for ContractSpec JetBrains Plugin

@lssm-tech/jetbrains-contractspec-bridge
Source, release and verification context

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

Package source ↗ Manifest ↗
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 PACKAGEjetbrains-contractspec-bridgeapps

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

8 déclarations · les 6 premières affichéesSELECT TO INSPECT

@lssm-tech/jetbrains-contractspec-bridge

Website: https://contractspec.io

Node.js JSON-RPC/LSP subprocess for the JetBrains ContractSpec plugin. This private workspace package delegates workspace procedures to @lssm-tech/bundle.workspace; it does not publish a reusable library API.

Local commands

Install dependencies through the repository's one root workspace and lockfile. Do not initialize a separate bridge workspace or lockfile.

From the repository root:

bash
bun --cwd packages/apps/jetbrains-contractspec/bridge run test
bun --cwd packages/apps/jetbrains-contractspec/bridge run typecheck
bun --cwd packages/apps/jetbrains-contractspec/bridge run build
bun --cwd packages/apps/jetbrains-contractspec/bridge run start

test runs the handler tests with injected service implementations and the stdio host test (src/server.host.test.ts), which spawns src/server.ts under Bun and drives initialize/initialized, document open, spec listing and validation, workspace information, an unsupported feature, an unknown method and shutdown/exit over JSON-RPC against a throwaway workspace. typecheck uses the declared TypeScript compiler in strict, non-emitting Bundler mode, checking production source and its workspace imports. Tests execute separately. The ES2022/DOM/Bun type libraries describe imported shared implementations; they do not change the bridge's Node runtime requirement.

build first typechecks, then uses Bun's existing Node-target ESM bundler to produce dist/server.js. Bundling the workspace implementation is necessary: raw TypeScript workspace exports are not a runnable Node distribution. The package's type: module matches the emitted format. Only the private server artifact and this README are distribution files. Honor a failed build; a previous artifact does not qualify changed source.

dev performs the initial strict check and watches the server's bundled source graph. Run typecheck again for subsequent source acceptance; bundler watch is not a replacement for it.

Protocol and host binding

The existing Kotlin host launches node dist/server.js. The server binds explicitly to stdin/stdout, so the host does not need a transport argument. Real vscode-languageserver-textdocument implementations create and update the document store; the bridge does not replace LSP types with an ambient shim. Logs use the LSP connection and must not write unframed text to stdout.

  • src/server.ts: connection, document lifecycle and initialization.
  • src/handlers/BridgeServer.ts: existing RPC methods delegated to workspace services.
  • src/index.ts: source export used internally; not a separately published artifact.

Node 18.20.8, 20.18.3, 22.15.1 and 24.15.0 have been exercised against an isolated copy of the Node bundle with no node_modules: initialization, document open/change/close, read-only workspace information, shutdown and exit. The manifest's Node >=18 contract is unchanged. See the retained qualification evidence†.

These checks do not qualify every RPC method or the complete Kotlin/IDE installation. Registry, setup, generation, watcher, AI, telemetry and MCP operations were not invoked. The Gradle buildPlugin path now builds and includes this server plus its ESM manifest. The plugin packaging evidence† covers the actual archive, path selection and extracted server; full IDE compatibility remains separate.

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.

0 entries

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

This workspace does not declare package export paths.

Dependencies and related packages.

Runtime dependencies 8
vscode-jsonrpc
^8.2.0
vscode-languageserver
^9.0.1
vscode-languageserver-protocol
^3.17.5
vscode-languageserver-textdocument
1.0.11
Development dependencies 3
@types/bun
catalog:types
@types/node
^20.0.0
typescript
catalog:

Package scripts.

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

buildbun run typecheck && bun build ./src/server.ts --outfile ./dist/server.js --target node --format esm
devbun run typecheck && bun build ./src/server.ts --outfile ./dist/server.js --target node --format esm --watch
startnode dist/server.js
typechecktsc --noEmit
testbun test src
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.