Files
orca/opencode.json
T
Neil 13464ed377 feat(agents): TypeScript 7 code intelligence for coding agents, load-aware tsrs checkers (#33408)
* feat(agents): TypeScript 7 code intelligence for coding agents, load-aware tsrs checkers

The stock agent TypeScript plugin needs a compiler build TS 7 no longer ships, so agents in
this repo got no diagnostics or ran some other TypeScript.

- config/scripts/agent-typescript-lsp.mjs starts the repo's own TS 7 language server
  (tsrs on Apple Silicon and Linux, the typescript package's tsc elsewhere) and turns its
  pull-only diagnostics into pushed publishDiagnostics for push-only clients.
- .claude/settings.json registers a repo-local plugin marketplace (config/agent-plugins)
  and enables the orca-typescript LSP plugin; opencode.json runs the same server.
- Local tsrs typechecks now pass --checkers, splitting the cores the load average leaves
  idle between concurrent projects (floor 4); ORCA_TYPECHECK_CHECKERS pins it.

* docs(agents): drop LSP and checker notes from AGENTS.md
2026-10-24 23:47:10 -07:00

27 lines
534 B
JSON

{
"$schema": "https://opencode.ai/config.json",
"permission": {
"*": {
"*": "allow"
},
"read": {
"*.env": "ask",
"*.env.*": "ask",
"*.env.example": "allow"
},
"external_directory": {
"*": "ask"
},
"doom_loop": "ask"
},
"lsp": {
"typescript": {
"disabled": true
},
"orca-typescript": {
"command": ["node", "config/scripts/agent-typescript-lsp.mjs"],
"extensions": [".ts", ".tsx", ".mts", ".cts", ".js", ".jsx", ".mjs", ".cjs"]
}
}
}