Skip to content

Instantly share code, notes, and snippets.

@bew
Last active October 4, 2026 04:21
Show Gist options
  • Select an option

  • Save bew/fad7939851511010ddf9d2de7f6c2a94 to your computer and use it in GitHub Desktop.

Select an option

Save bew/fad7939851511010ddf9d2de7f6c2a94 to your computer and use it in GitHub Desktop.
Feedbacks / frictions (+ some ideas/wishes) on opencode v2
BAD++: When I load opencode2 with a cli.jsonc it works (and its options are correctly respected)
UNTIL I attempt to save the cli.jsonc again while the opencode2 instance is running, at which
point the entire content is replaced with the default config.. (loosing all my personal config 😱)
OPENED: https://github.com/anomalyco/opencode/pull/53031
TODO: follow-up PR for timing issue (editor writes may not be atomic)
BAD: shell command output is 'muted'
AND there is no way to override that color in e.g. a custom colorscheme
πŸ‘‰ I want a dedicated theme color so I can color it as I want πŸ€” (make it more visible!)
BAD: long shell command run for a block is truncated..
BAD: Can't have an AGENTS.md in my opencode config dir to hint the agent how to work in this directory tree, since I already have an AGENTS.md for the system prompt πŸ‘€πŸ˜…
β†’ idea: enforce use of SYSTEM.md for the system prompt? (with auto-migration if it doesn't exist already)
BAD: FS watcher fails to watch my ~/.config/opencode because it's a symlink (to my dotfiles repo), not a directory.
TODO: I have a PR coming for that
BAD: in `question` tool, question titles are less visible
- ~no separations
- no visual (reverse) highlight about which question is the CURRENT one like on v1
- hover highlight be very subtle and only covers the text, no padding like on v1
- when terminal width too small, it only mentions e.g. `Field 4 of 6 3/6 completed`: Doesn't mention the _current_ question title.. 😬
BAD: Typing `@` gives autocompletion for ALL skills+subagents+files, not ONLY the subagents+files..
.. This is very annoying when typing `@hand` when I want the HANDOFF-* files, not the skills starting with `handoff` 😬
BAD: `read` tool call display doesn't show offset/limit params, so a model reading multiple
segments of the same file looks like it's reading the same whole file over and over again..
BAD: `messages_toggle_conceal` keybind has no replacement in v2??
BAD: opencode2 doesn't auto install local plugins' dependencies (v1 did!)
β†’ Should ask user! "Install X/Y deps for plugin Z ?"
(might be gated by having a package.json in the config dir or in each plugins dir πŸ€”)
BAD: `question` tool blocks `ctrl+z` to suspend the TUI and get back to my shell!
(note: this was already an issue with v1)
BAD: slash-commands scoring isn't great, for `/dco` it shows `/dcp` before `/dcp-compress` because it's first in the list and it has a `o` in its cmd description 😬
BAD/MEH: The `opencode server` caches bun resolution failures, so when I installed deps for my local plugin later on the plugin was still failing and an agent had to work to understand the reason.
Had to solve by restarting the server & confirming my plugin load with `opencode2 plugin list`.
BAD/GRR: it's hard to know which keybind action to use in my `cli.json` for an action (docs are not great to explain this, and the JSON schema doesn't have a lot of explanation either..)
e.g. I want to bind a custom key (replace the Enter default) for submitting a custom answer in `question` :thinking:
GRR: `question` tool doesn't clearly show which questions I answered already, v1 did that with a different fg color.
(the `2/5 completed` only shows up when terminal width is too narrow, but doesn't show which questions was answered)
ALSO: the tick mark (`βœ“`) on the answered question is quite subtle, easy to miss 😬
GRR: I can easily loose valuable content when writing a custom answer for a question and pressing Escape, which cancels the whole custom answer instead of just exiting custom answer editor (keeping content) without selecting that answer.. 😬
(v1 did the same? don't remember)
GRR: I can't see the cost / session size of a subagent's session like in v1 😬
GRR: new tab is auto-closed if I switch to another tab, even if I started to write something in the prompt.. Would prefer to _not_ close the new tabs in this case!
GRR: thinking output doesn't show code blocks/inlines like `foo` in different colors like v1
MEH: The status indicators in tab bar are quite subtle, easy to miss! 😬
Would be nice to have a kind of intermitent tab flash / breathing tab/indicator color with brighter color πŸ€”
MEH: Using `/new` from a session keeps the current agent instead of re-applying the configured `default_agent` in config. (v1 has same behavior tho..)
MEH: codemode tools include browser-related tools, even though they don't work because no browser is configured..
β†’ don't list tools that are not actually available…
(maybe codemode tools can have a kind of `is_available` function that defaults to true?)
WANT: clicking on `grep` (with matches) doesn't show me the actual matches 😬
WANT: ability to map `ctrl+d` to close session if prompt is empty (like in a shell) πŸ€”
WANT: middle-click on session tab should close it
WANT: ability to add a custom additional prompt from the `question` tool.
Questions that the model ask regularly makes me think of something else I'd like the model to know..
Currently I have to either:
- highjack the custom answer of another question (saying e.g. `3; also I'd like …`)
- submit the answers and cancel the model with a few Escape key presses, and add my additional context and submit the prompt.
WANT: warnings for config issues, like:
- binding a key to two actions at the same layer
WANT: support for multiple <leader> (like <leader>/<localleader> in neovim)
I'd like this to have `ctrl+space` as global leader (session/tabs/ui management, ..) & `alt+space` as in-session content leader (toggle thinking mode, switch model, list skills, ..)
WANT: actions (+ key action, none by default) to move current tab left/right
(currently I can only do that with mouse click & drag in tab bar)
WISH: allow to switch agent from `question` tool (e.g. at `confirm` step).
I usually annoyed when I'm in plan mode (I have it enabled by default) and a question tool asks something I know I have to switch to BUILD mode for.
Currently in this case I have to either:
- If I already answered 1+ questions: I usually confirm, abort the model right after, switch to BUILD and say `resume`
- or just Escape out of the tool, switch to BUILD and say something like `resume` or `re-ask`
(and hope the model understands that I want to resume/re-ask questions now that I'm in BUILD mode)
WISH: support assigning a key to a plugin action
WISH: arbitrary key chords, like `<leader>` then `s` then `n` to trigger an action. (like neovim)
IDEA: I'd like `/new` in a session to open a new tab on the right of current session, so I don't have to move it there manually once first prompt submitted..
Ideally there would be a config option for where new tab should open (`right`/`last`/`first`) πŸ€”
IDEA: Now that config / skills / tools / ... are live reloaded, would be nice to have a subtle notification in the TUI when it _is_ reloaded!
IDEA: Diff viewer mode to view diffs since a specific message (previous/first) πŸ€”
IDEA: would be nice to be able to right click an 'edit' diff and revert a specific change πŸ€”
IDEA: when OPENCODE_CONFIG_DIR is set, should reflect that path when OpenCode skill is loaded
## Specifc for DCP plugin
BAD: `compress` tool (from DCP plugin) doesn't give any insight about how much was compressed like in v1 😬 (what was kept as-is, what was removed/sumarized)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment