Repository navigation
Hashbrown 0.7.0
🧭 Migrating from 0.6
0.7 moves Hashbrown to AG-UI 1.0. Upgrade your own @ag-ui/* packages to 1.x together with Hashbrown, import AG-UI validators from @ag-ui/core/schemas, and replace any THINKING_* events your server or custom transport emits with REASONING_*. Read the step-by-step guide for React or Angular.
⚠️ Breaking Changes
- move to AG-UI 1.0:
@ag-ui/core,@ag-ui/clientand@ag-ui/encodergo from 0.0.59 to 1.0.2, so the AG-UI types in Hashbrown's public API (AGUIEvent,RunAgentInputand others) resolve to AG-UI 1.0 (#629) THINKING_*events are no longer accepted; emitREASONING_*instead (#629)- the OpenAI, Azure, Anthropic, Google, Bedrock and Ollama adapters reject tool results whose content is an array of content parts, which AG-UI 1.0 allows; send text tool results (#629)
🚀 Features
- core: add
createUiJsonSchemaandUiComponentDefinitionso an agent Hashbrown doesn't run (CopilotKit, LangGraph, your own server) can follow a UI kit's schema, built from the same component definitions as the browser's kit (#626)
🔥 Performance
- core: publish one module per source file so bundlers can drop unused code; a renderer that only uses
useUiKitanduseJsonParserno longer pulls in the chat runtime, AG-UI or zod, and a CopilotKit renderer bundle falls from 244 KB to 117 KB minified (#627)
🩹 Fixes
- a
TEXT_MESSAGE_STARTevent without aroleis treated as an assistant message, as the AG-UI spec says; AG-UI 1.0 no longer fills the role in (#629)
📖 Documentation
- rewrite the CopilotKit recipe, add a UI kit section on agents Hashbrown doesn't run, and document passing arrays, objects and numbers into
promptexamples with${}(#628) - align the package READMEs with the new website positioning (#593)
❤️ Thank You
- Brian Love @blove