Verified missing OpenCode Zen environment variable.
UnderstandAdded OpenCode Zen to environment variables table and CLI options.
EditCommitted and pushed documentation updates.
Cleanup@packages/coding-agent/README.md Option 2: Environment variables
doesn't contain reference to OpenCode Zen
Let me check what OpenCode Zen is in the ai package:
You're right. The opencode provider (OpenCode Zen) is missing from the environment variables table. The env var is OPENCODE_API_KEY based on packages/ai/src/stream.ts.
Let me also check if opencode is listed in the CLI Reference provider list:
Also missing from the --provider list. Let me fix that:
Added OpenCode Zen (opencode / OPENCODE_API_KEY) to:
--provider CLI option listis the env var correct?
Yes, it's correct. Line 104 in packages/ai/src/stream.ts:
opencode: "OPENCODE_API_KEY",commit and push
Done. Added OpenCode Zen (opencode / OPENCODE_API_KEY) to the environment variables table and --provider CLI option list.
opencode: "OPENCODE_API_KEY",