Harness setup

OpenCode

OpenCode manages each provider directly, so override the connection per provider in ~/.config/opencode/opencode.json. Deep-merge the block below under provider and compaction. This example configures Anthropic; repeat the provider block for each provider you use.

This sends the Anthropic provider through the local Sleev gateway. Setting compaction.prune to false leaves context management to Sleev.