shape permission-prompt input rendering per tool

Bash, Write, and Edit/MultiEdit each get a tool-appropriate body in
the permission card instead of the indented-JSON dump: Bash renders
the command as a shell code block with a background/timeout footer,
Write shows path + content syntax-highlighted from the extension, and
Edit shows path + before/after blocks. Unknown tools keep the JSON
fallback.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jeroen Schweitzer
2026-05-28 09:52:20 +02:00
co-authored by Claude
parent 25c11c1edb
commit 762d66e819
3 changed files with 51 additions and 0 deletions
Binary file not shown.