Repository navigation
Commit 4c00002
committed
fix(tui): keep a hidden tool response one click away under the input block
With `syntax.tool_input` on, a plugin or MCP call whose input becomes a
block offered nothing to click when the generic output toggle was off:
the block's hint and click came only from the input's own overflow or
from shown output that overflowed, so a short input such as a Perplexity
search query left the stored response unreachable.
Under the input block a response the toggle hides is now held rather
than dropped (packages/tui/src/util/tool-input.ts `toolOutputReach`):
the block shows "Click to expand", and expanding draws the response
below the input; an input short enough for one line expands from its
row. Without `syntax.tool_input` the toggle stays in charge, as
upstream draws it.
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 41f09c2
AI-Session-ID: ses_ed1e2b932ffe6tTqhsOiGuYXRE1 parent 602c50d commit 4c00002
3 files changed
Lines changed: 59 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
2268 | 2269 | | |
2269 | 2270 | | |
2270 | 2271 | | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
2271 | 2282 | | |
2272 | 2283 | | |
2273 | | - | |
| 2284 | + | |
2274 | 2285 | | |
2275 | 2286 | | |
2276 | 2287 | | |
| |||
2279 | 2290 | | |
2280 | 2291 | | |
2281 | 2292 | | |
2282 | | - | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
2283 | 2297 | | |
2284 | 2298 | | |
2285 | 2299 | | |
| |||
2305 | 2319 | | |
2306 | 2320 | | |
2307 | 2321 | | |
2308 | | - | |
| 2322 | + | |
2309 | 2323 | | |
2310 | 2324 | | |
2311 | 2325 | | |
2312 | 2326 | | |
2313 | 2327 | | |
2314 | 2328 | | |
2315 | 2329 | | |
2316 | | - | |
| 2330 | + | |
2317 | 2331 | | |
2318 | 2332 | | |
2319 | 2333 | | |
2320 | 2334 | | |
2321 | 2335 | | |
2322 | 2336 | | |
| 2337 | + | |
2323 | 2338 | | |
2324 | 2339 | | |
2325 | 2340 | | |
| |||
2328 | 2343 | | |
2329 | 2344 | | |
2330 | 2345 | | |
2331 | | - | |
2332 | | - | |
| 2346 | + | |
| 2347 | + | |
2333 | 2348 | | |
2334 | 2349 | | |
2335 | 2350 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
127 | 133 | | |
128 | 134 | | |
129 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
0 commit comments