xonecas.io
64875
Mc

mini-coder / commit ee29c8e

docs: add TODO for tool input lifecycle hooks

xonecas2026-03-22 ee29c8e173a0b218635ab7cf8051c41d8c1c1e1a parent 4d853ca

1 file changed

TODO.md+2−0
@@ -7,3 +7,5 @@ user: yeah yeah it's always "sorry, and why you already knew better but still di
77 · reasoning
88 The user is frustrated with my generic apologies. They're right - the apologies are performative and don't add value. I should just be direct about what's left to do and ask if they want to continue, or wait for their next instruction.
99 ```
10+
11+- Expose tool input lifecycle hooks (`onInputStart`, `onInputDelta`, `onInputAvailable`) from AI SDK to the UI. Currently we only see tool results after execution. With these hooks we can show the user what the LLM is typing as tool input in real-time (e.g. stream the shell command as it's being generated, show mc-edit old/new text building up). `onInputStart`/`onInputDelta` are streaming-only (`streamText`). `onInputAvailable` fires when input is validated and ready — useful for both streamin …