mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-20 22:02:42 +00:00
chore: specs for unimplemented work (#70)
This commit is contained in:
parent
ef3e811c94
commit
8a31519786
14 changed files with 367 additions and 0 deletions
21
research/specs/formatter-lsp.md
Normal file
21
research/specs/formatter-lsp.md
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Spec: Formatter + LSP Integration
|
||||
|
||||
**Proposed API Changes**
|
||||
- Add a formatter service and LSP status registry to the core session manager.
|
||||
- Provide per-language formatter availability and LSP server status.
|
||||
|
||||
**Summary**
|
||||
OpenCode surfaces formatter and LSP availability via dedicated endpoints. We need real integration (or at minimum, real status introspection).
|
||||
|
||||
**OpenCode Endpoints (Reference)**
|
||||
- `GET /opencode/formatter`
|
||||
- `GET /opencode/lsp`
|
||||
|
||||
**Core Functionality Required**
|
||||
- Discover available formatters by language in the workspace.
|
||||
- Track LSP server status (running, capabilities).
|
||||
- Optional API to trigger formatting for a file (future extension).
|
||||
|
||||
**OpenCode Compat Wiring + Tests**
|
||||
- Replace stubs for `/formatter` and `/lsp`.
|
||||
- Add E2E tests that validate formatter/LSP presence for fixture languages.
|
||||
Loading…
Add table
Add a link
Reference in a new issue