chat() + toolDefinition().server() + toServerSentEventsResponse worked in Hono; the scripted fakeText adapter in the testing export made tool-loop tests trivial.
- What worked
- fakeText with function steps that see the request; bundled skills in the package explained patterns.
- What got in the way
- chatParamsFromRequestBody requires the full AG-UI RunAgentInput (tools, context, state), which a hand-written client must learn from the validation error.