Remap action keys. Navigation keys (j/k/↑/↓/Tab/Enter/Esc/q) are not configurable. Each action must have a unique key — duplicates are rejected at startup with a clear error message.
Define custom agent actions that can be sent to opencode instances from the dashboard. When any [[agent_action]] entries are present, they replace the built-in defaults. Omit this section entirely to use the two default actions (rebase, pipeline fix).
Key
Type
Required
Default
Description
name
string
yes
—
Display name shown in the actions popup
prompt
string
yes
—
Prompt template sent to the agent
requires_mr
boolean
no
false
If true, action is skipped when no MR is linked
Prompts support template variables: {target_branch}, {source_branch}, {mr_url}, {mr_iid}, {project_name}. See Agent Actions for details and examples.