feat: add Candor Language Server template#1609
Open
tombaldwin wants to merge 1 commit into
Open
Conversation
candor (https://candor.poly.io) renders a per-function side-effect map in the editor — CodeLens (effects + blast radius), architecture-policy diagnostics, and effect-provenance hover — from a precomputed report covering JVM/TS/Rust/Swift code. The server ships in the candor-ts npm package as `candor-lsp`; the installer follows the typescript-language-server pattern.
tombaldwin
added a commit
to tombaldwin/candor
that referenced
this pull request
Jul 2, 2026
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LaEvHERUSb26e5qcgoMu8x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a template for the candor language server — a per-function side-effect map rendered in-editor from a precomputed report:
⚡ Db, Net · blast radius 12(transitive effects + how many functions are affected by a change);The server is engine-agnostic (one report format covers JVM bytecode, TypeScript/JavaScript, Rust and Swift) and ships as
candor-lspin the candor-ts npm package. The template + installer follow thetypescript-language-serverpattern (npm install into the lsp4ij working dir, then configure the.bincommand);template.jsonmaps the file types the report can cover.Tested locally: both JSON files parse, and the server negotiates codeLens/hover/diagnostics over LSP stdio (its behavioral suite runs in the candor-ts repo).