Repository navigation
Commit 91e33c5
committed
fix(tui): draw no tool input key or value in red
The tool input block drew its keys in the property color, which is red
in opencode, the catppuccin themes, one-dark, tokyonight, everforest
and orng, and in the transcript red means a failed tool call. Keys,
values and punctuation now take their colors from toolCodeTheme
(packages/tui/src/theme/tool-code.ts), the same non-red palette as the
bash command: keys use the property color, falling back to the function
color, then the type color, where it is red.
AI-Model: anthropic/claude-opus-5-5
AI-Variant: high
AI-Tool: opencode 1.19.0-vt-227-dfb56f76c7
AI-Platform: linux
AI-Harness: Vibeterm e6434eb
AI-Session-ID: ses_ed1e2b932ffe6tTqhsOiGuYXRE1 parent b236851 commit 91e33c5
1 file changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
2243 | 2244 | | |
2244 | 2245 | | |
2245 | 2246 | | |
| 2247 | + | |
| 2248 | + | |
2246 | 2249 | | |
2247 | 2250 | | |
2248 | 2251 | | |
| |||
2273 | 2276 | | |
2274 | 2277 | | |
2275 | 2278 | | |
2276 | | - | |
2277 | | - | |
2278 | | - | |
2279 | | - | |
2280 | | - | |
2281 | | - | |
2282 | | - | |
2283 | | - | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
2284 | 2287 | | |
2285 | 2288 | | |
2286 | 2289 | | |
| |||
0 commit comments