You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenCode Zen Free-Tier Refusal Under the Deny-All Sandbox (opencode_cli) #715
As a SkillSpector user on OpenCode's free tier, I want a clear error telling me free-tier models are incompatible with the provider's sandbox instead of an opaque exit-code failure.
The gap
Zen answers 403 FreeTierError ("free tier can only be used from within
OpenCode") to any opencode_cli call carrying the deny-all isolation,
bisected to the single variable (OPENCODE_CONFIG_CONTENT or OPENCODE_PERMISSION alone suffices; model-independent; new since
2026-09-17). Every free-tier semantic scan fails 0/N with opencode exited with code 1; stderr='', indistinguishable from a crash.
What I am asking for
Please consider mapping the refusal envelope to an actionable fail-closed
error: name the incompatibility, suggest a key-backed model, and refuse to
weaken the sandbox. Done when a Zen refusal surfaces guidance and a plain
non-zero exit keeps the generic message (both covered by unit tests).
This could be achieved by
Matching FreeTierError / can only be used from within OpenCode in
the failed stdout and raising a dedicated AgentCLIError
Merge-state update checked on 2026-10-06: PR #716 has merged, and GitHub automatically closed this issue as completed.
OpenCode Zen free-tier sandbox refusal now produces actionable guidance while retaining the deny-all policy; it does not relax the sandbox or broaden the supported version range.
Activity
rng1995 commentedon Oct 4, 2026
Merge-state update checked on 2026-10-06: PR #716 has merged, and GitHub automatically closed this issue as completed.
OpenCode Zen free-tier sandbox refusal now produces actionable guidance while retaining the deny-all policy; it does not relax the sandbox or broaden the supported version range.