gadget/packages
Rob Colbert 51b3013659 feat(ai): add DtpLog logging of all OpenAI API responses
- Fix broken chunkCount reference in generate() usage chunk log
- Add generate() complete log with usage, response/thinking lengths
- Add readStreamingChatCompletion() usage chunk log (full chunk dump)
- Add readStreamingChatCompletion() iteration complete log
- Add readNonStreamingChatCompletion() full response dump
- Add chat() streaming iteration usage log
- Add chat() non-streaming fallback usage log
- Add chat() final response stats log

All logs use info level and 'OpenAI {method}: {event}' naming for
easy grep/filtering. Streaming chunks use JSON.parse(JSON.stringify())
to serialize the full OpenAI SDK response objects.
2026-05-18 15:20:53 -04:00
..
ai feat(ai): add DtpLog logging of all OpenAI API responses 2026-05-18 15:20:53 -04:00
ai-toolbox feat: add chat_export tool for session export (markdown/json) 2026-05-18 11:44:53 -04:00
api feat: token economics — real API token extraction, stats propagation, and context window fuel gauge 2026-05-18 14:36:36 -04:00
config feat(gadget-tasks): course correction — headless IDE client architecture 2026-05-17 00:48:39 -04:00