AGENTS.md@model-router · git:20261103.249cf7d · 2026-11-03 · sha256 3b91584085702665
AGENTS.md@model-router git:20261103.249cf7dA
Immutable. This exact content never changes and is served at /api/v1/blob/3b91584085702665.
# Model router Independent OpenCode V2 plugin. `domain/routing.ts` owns complexity-to-model policy; `lib/decisions.ts` owns the OpenAI Decisions HTTP contract; `adapters/opencode/` owns host model selection and session routing ownership. Do not import the devloop plugin. `npm ci` prepares dependencies. `make format lint test` builds and verifies the Component; `make test-opencode` runs the installed host against local fake Decisions/inference servers. Keep `dist/` generated and committed. Version is owned by package.json and package-lock.json. Only explicit Auto selection enables routing. Never change permission decisions, credentials, agent selection or tool visibility. Logs contain decisions and identifiers, not input text or secrets. See README.md for the queue boundary and real API validation limits.