Add first-class OpenCode runner support#84
Conversation
|
Thanks for this, and also for testing it from a real Windows/OpenCode setup. This is a really useful first contribution. I found two things that I'd say need fixing before a merge:
Also, one existing test now fails because the help text changed but the assertion wasn’t updated: The rest looks promising. The targeted tests, typecheck, build, and diff check all passed locally for me. Once those points are fixed, I’d be happy to take another look. |
|
Thanks again for the detailed review. I pushed the follow-up commit
Fresh local verification on Windows:
I think this should be ready for another look. |
|
Hi @oxnw, following up on |
Summary
opencodeas a first-class managed runnercmd.exe /d /s /c opencode.cmdagent createanddoctor.env.examplereadable while real env and secret paths remain protectedLocal Verification
node --test test\runner-execution-policy.test.ts test\setup-doctor.test.ts test\agent-management.test.ts test\agent-auth-store.test.tsnpm run typechecknpm run buildgit diff --checkNotes
This was verified from a Windows local AgentRail/OpenCode pilot using
@agentrail-core/cli@0.1.9andopencode-ai@1.15.13.OpenCode is treated as partial policy coverage because this adapter does not claim AgentRail-provided OS sandboxing.