Repository navigation
Commit e94a769
opencode: ask for every action, reviewed by an auto-mode plugin
opencode 2 runs every action without asking unless a permission rule says
otherwise, and the config had none. Everything now starts at `ask`, and
@mortz.prk/opencode-auto-mode reviews each ask before it becomes a prompt:
fixed checks first (dangerous shell commands denied, common read-only ones
allowed), then the session's model with the conversation as context.
Anything it can't decide, and any failure, stays a prompt.
opencode has no model-checked mode of its own yet (anomalyco/opencode#37564).
The plugin is pinned to its exact 1.0.0 release because it is young and is
trusted with approvals.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent d78efbd commit e94a769
1 file changed
Lines changed: 30 additions & 3 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
65 | 92 | | |
66 | 93 | | |
0 commit comments