anomalyco / anomalyco/opencode

V2: port LSP and formatter services

Open
#38,528 0 comments 0 reactions 1 assignee View on GitHub

@jlongster is already working on this.

Since Jul 23, 2026.

2.0 core enhancement
Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Summary

Port the LSP and formatter services to the V2 Core/runtime architecture so V2 sessions regain language-server diagnostics and configured formatter behavior without depending on V1 service implementations.

Scope

  • Define V2 service/layer boundaries for LSP and formatter lifecycle.
  • Port configuration resolution and process ownership.
  • Wire file mutations/tool execution to formatting, diagnostics, and relevant client events.
  • Preserve location scoping and clean shutdown/reload behavior.
  • Add focused tests for configuration, startup, formatting, diagnostics, and cleanup.

Context

James announced this implementation work in the V2 coordination thread:
https://slack.com/archives/C0BE69AHCQP/p1784822449900729

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.