We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a17400c commit 8a54af6Copy full SHA for 8a54af6
lua/opencode/ui/session_formatter.lua
@@ -546,6 +546,10 @@ function M._format_tool(part)
546
local metadata = (part.state and part.state.metadata) or {}
547
local output = (part.state and part.state.output) or ''
548
549
+ if state.current_permission and state.current_permission.messageID == state.current_message.id then
550
+ metadata = state.current_permission.metadata or metadata
551
+ end
552
+
553
if tool == 'bash' then
554
M._format_bash_tool(input --[[@as BashToolInput]], metadata --[[@as BashToolMetadata]])
555
elseif tool == 'read' or tool == 'edit' or tool == 'write' then
0 commit comments