gadget/packages
Rob Colbert 73b0b3149d fix(ai): log raw OpenAI API response objects, not cooked usage
- Add rawUsage field to OpenAiChatIterationResult to carry the
  original OpenAI SDK usage object through the call chain
- All downstream chat() logs now dump rawUsage via
  JSON.parse(JSON.stringify()) instead of our cooked
  { promptTokens, completionTokens }
- This exposes completion_tokens_details.reasoning_tokens and
  any other fields OpenAI returns that we weren't capturing
2026-05-18 15:29:59 -04:00
..
ai fix(ai): log raw OpenAI API response objects, not cooked usage 2026-05-18 15:29:59 -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