Here's the new PR after our discussion in #30.
Add support for collapsing tool output blocks via `opencode-collapsed-tools'
configuration. Users can now specify which tools should have their output
collapsed by default, with special modes for inverting logic and bash
exit-code handling. Implement expand/collapse indicators (▶/▼) and add
Tab key binding to toggle blocks. Include emoji icons for tool calls
to improve visual scanning of agent actions.
Key changes:
- New custom variable `opencode-collapsed-tools' with flexible configuration
- Collapsible overlay system for hiding/showing tool output regions
- Tab key now toggles nearest collapsible block or cycles agents
- New command `opencode-toggle-all-collapsed-blocks' (C-c t)
- Visual indicators (▶/▼) on collapsible block headers
- Emoji prefixes for tool calls (✏️ edit, 📖 read, 🔍 grep, etc.)
- Fix `opencode--output' to preserve scroll position during updates
- Add webfetch, write, and skill tool formatting support
- Update documentation to remove reference to check.sh script
Here's the new PR after our discussion in #30.
Add support for collapsing tool output blocks via `opencode-collapsed-tools'
configuration. Users can now specify which tools should have their output
collapsed by default, with special modes for inverting logic and bash
exit-code handling. Implement expand/collapse indicators (▶/▼) and add
Tab key binding to toggle blocks. Include emoji icons for tool calls
to improve visual scanning of agent actions.
Key changes:
- New custom variable `opencode-collapsed-tools' with flexible configuration
- Collapsible overlay system for hiding/showing tool output regions
- Tab key now toggles nearest collapsible block or cycles agents
- New command `opencode-toggle-all-collapsed-blocks' (C-c t)
- Visual indicators (▶/▼) on collapsible block headers
- Emoji prefixes for tool calls (✏️ edit, 📖 read, 🔍 grep, etc.)
- Fix `opencode--output' to preserve scroll position during updates
- Add webfetch, write, and skill tool formatting support
- Update documentation to remove reference to check.sh script