feat: /details slash command — toggle tool-execution detail visibility #288

Closed
opened 2026-07-12 01:29:09 +02:00 by dries · 0 comments
Owner

Part of OpenCode command parity (transparent-layer goal). OpenCode's TUI has /details to toggle visibility of tool-execution details in the conversation. Ocman does not.

Scope

  • Pure UI toggle in the composer/thread view; no backend.
  • Add details to BUILTIN_COMMANDS (frontend/src/lib/commands/builtinCommands.ts).
  • Persist the toggle (Zustand + localStorage) so it survives reload, matching OpenCode's persisted TUI prefs.
  • Hide/show the per-message tool call detail blocks in AssistantThread.

Reference

OpenCode docs: https://opencode.ai/docs/tui#details (UI-only, no keybind dependency needed on web).

Notes

Easy win. No platform branching — capability-agnostic UI toggle.

Part of OpenCode command parity (transparent-layer goal). OpenCode's TUI has `/details` to toggle visibility of tool-execution details in the conversation. Ocman does not. ## Scope - Pure UI toggle in the composer/thread view; no backend. - Add `details` to `BUILTIN_COMMANDS` (frontend/src/lib/commands/builtinCommands.ts). - Persist the toggle (Zustand + localStorage) so it survives reload, matching OpenCode's persisted TUI prefs. - Hide/show the per-message tool call detail blocks in AssistantThread. ## Reference OpenCode docs: https://opencode.ai/docs/tui#details (UI-only, no keybind dependency needed on web). ## Notes Easy win. No platform branching — capability-agnostic UI toggle.
dries closed this issue 2026-07-12 10:10:43 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dries/ocman#288
No description provided.