Commit Graph
4 Commits
Author SHA1 Message Date
Brennan BensonandAnubhav Banerjee a62fbb4229 Give OpenCode the component fixtures MCP server (#42208)
* Give OpenCode the component fixtures MCP server

The repository registered orca-component-fixtures only in .mcp.json, so
Claude Code got the fixture tools and OpenCode did not. opencode.json
already mirrors the repo's TypeScript language server for OpenCode; it
now registers the same fixtures server, in the per-server form the rest
of the file uses, which OpenCode 1.x reads and OpenCode 2 migrates.

Tracked in #41836 (STA-15139).

Co-authored-by: Anubhav Banerjee <76914348+Anubhav-2003@users.noreply.github.com>

* Find the fixtures server from any OpenCode start folder

OpenCode reads opencode.json from the nearest ancestor but starts MCP
servers in the folder it was launched from, so a relative script path
failed outside the repository root. Walk up to the script and import it.

---------

Co-authored-by: Anubhav Banerjee <76914348+Anubhav-2003@users.noreply.github.com>
2026-11-13 17:19:10 -08:00
Neil 6bb2e13c35 refactor(tooling): organize remaining scripts by domain owners (#38407)
* refactor(tooling): group remaining scripts by concrete domain owners

* fix(tooling): preserve relocated launcher resource roots
2026-11-05 00:29:16 -08:00
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
822fc5bed4 Add repository OpenCode permission defaults (#25326)
* test(config): reproduce rejected repository OpenCode config

* Add repository OpenCode permissions and allow its reviewed root config

* fix: preserve sensitive OpenCode confirmation prompts

---------

Co-authored-by: Orca campaign recovery <campaign-recovery@example.invalid>
Co-authored-by: Orca OpenCode Campaign <opencode-campaign@local.invalid>
2026-10-04 19:34:47 -07:00