Errors¶
Every failure is one line, CODE: What happened. Next step: What to do., at most 160 characters after redaction. The plugin adds no codes of its own; they come from the contract. The generated table in the repository README is the complete list. This page says what to do about each one.
Sign-in and accounts¶
| Code | What to do |
|---|---|
NEEDS_SIGN_IN | Sign in to that alias: /connect, or opencode mcp auth wisprflow and opencode mcp auth wisprflow-<alias>. |
SCOPE_MISSING | Confirm the scope OpenCode asks for. The plugin requests no scope of its own. |
ACCOUNT_REQUIRED | Pass account, one of the aliases status lists. |
ACCOUNT_UNKNOWN | The alias is not configured. Add it under accounts and sign in to its server. |
ACCOUNT_MISMATCH | The cursor belongs to an older sign-in for the same alias. Read again with since to start a new one. |
Reads¶
| Code | What to do |
|---|---|
CURSOR_INVALID | Read again without the cursor, or pass the cursor with the account and source that issued it. |
CURSOR_EXPIRED | The provider no longer keeps the history the cursor names. Read again without it. |
RATE_LIMITED | Wait a minute, then retry with fewer, narrower calls. |
BUDGET_EXCEEDED | Raise the person's budget for the source, or read a smaller window. |
SOURCE_DISABLED | Turn the source back on for the person. |
TOO_LARGE | Read a smaller window; the source's maxBytes is 65536. |
UNAVAILABLE | Retry once, then call status; the vendor's MCP server may be unreachable or the answer unreadable as a whole. |
Input, host and permissions¶
| Code | What to do |
|---|---|
INPUT_INVALID | Fix the input against the method's schema; capabilities.md names the method. |
SOURCE_UNKNOWN | The plugin declares one events source, wisprflow. Omit source, or pass that name. |
SCHEMA_VIOLATION | An answer did not keep the contract's shape, or a bundled skill file is malformed. The error names the file. |
PERMISSION_DENIED | The person's own rule refused the call. Change the rule or the access level. |
HOST_UNTESTED | Install OpenCode 2.4.1. Leave allowUntestedHost at false outside one migration. |
OPTIONS_INVALID | The options do not match their schema. See Configuration. |
Writes¶
The plugin has no write, so PLAN_INVALID, PLAN_USED and GRANT_INVALID do not arise today. A future write follows the contract: a planning read and a separate commit, an actions entry, and either an OpenCode permission ask or a host-signed action grant.
A malformed skill file¶
Setup reads every skills/<id>/SKILL.md and parses its frontmatter as YAML. A block scalar (>, |, >-, |-) registers its text; a bare marker, invalid YAML or a missing field fails setup with SCHEMA_VIOLATION. Reinstall the plugin or fix the file named in the error.