UsageRun recipes
2. One-off task from the CLI
npm run cli -- "Summarise the ports-and-adapters pattern in two sentences"
npm run cli -- "What is 25 times 4? Reply with just the number."Everything after -- is the task prompt. It is dispatched to all available adapters.
1. Multi-adapter demo (same task -> every available adapter, compare)
Dispatches one fixed task to all available adapters in parallel and prints a comparison table (provider | status | output | costUsd | ms) plus per-adapter detail. Proves every adapter returns the...
3. Switch the OpenCode model / reasoning effort (config only)
Canonical ids only: deepseek/deepseek-v4-pro (default), deepseek/deepseek-v4-flash, moonshotai/kimi-k2.7-code, xiaomi/mimo-v2.5-pro. deepseek-chat / deepseek-reasoner were removed from DeepSeek's...