Release @latest - #225
Merged
Merged
Release @latest#225
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@inngest/agent-kit@0.12.0
Minor Changes
b175718: # Comprehensive AgentKit Enhancements
Major improvements to AgentKit with enhanced documentation, new API routes, comprehensive UI components, and example applications.
📚 Documentation Enhancements
New Advanced Pattern Guides:
legacy-ui-streaming.mdx- Guide for UI streaming with useAgent hookuse-chat.mdx- Comprehensive guide for building chat interfacesuse-threads.mdx- Documentation for managing conversation threadsuse-agent.mdx- Updated agent integration patternsDocumentation Reorganization:
⚡ Revolutionary Automatic Event Streaming System
Comprehensive Streaming Architecture:
Event Types Supported:
run.started,run.completed,run.failed,run.interruptedtext.delta,reasoning.delta,data.deltatool_call.arguments.delta,tool_call.output.deltapart.created,part.completed,part.failedhitl.requested,hitl.resolvedusage.updated,metadata.updated,stream.endedDeveloper Experience:
This streaming system enables real-time UI updates that perfectly match the
useAgenthook expectations, creating seamless agent-to-UI communication.🚀 New API Routes & Backend Features
Chat & Communication:
POST /api/chat- Main chat endpoint with Zod validation and Inngest integrationPOST /api/chat/cancel- Chat cancellation with run interruption eventsPOST /api/approve-tool- Human-in-the-loop tool approval systemPOST /api/realtime/token- Real-time subscription token generationThread Management:
GET/POST /api/threads- Thread listing and creation with paginationGET/DELETE/PATCH /api/threads/[threadId]- Individual thread operationsIntegration:
/api/inngest/route- Inngest function serving with runAgentChat🎨 Comprehensive UI Component Library
AI-Specific Elements:
Actions&Action- Interactive action buttons with tooltipsBranchcomponents - Conversation branching and navigationCodeBlock- Syntax-highlighted code display with copy functionalityConversation- Chat conversation containers with scroll managementImage- AI-generated image display componentsInlineCitation- Citation cards and source referencingLoader- Loading animations and statesMessagecomponents - Message display with avatars and contentPromptInput- Responsive chat input with model selectionReasoning- Agent reasoning display with streaming supportSources- Source material display and linkingSuggestion- AI suggestion chips and interactionsTask- Task display and management componentsTool- Tool call display with input/output viewsWebPreview- Web page preview componentsChat Interface Components:
Chat- Main chat interface with sidebar integrationEmptyState- Welcome screen with suggestionsChatHeader- Header with actions and agent informationShareDialog- Thread sharing functionalityMessageActions- Copy, edit, regenerate, like/dislike functionalityMessageEditor- In-place message editingPlayground & Development Tools:
SqlPlayground- Interactive SQL query interfaceSqlEditor- SQL editing with syntax highlightingEphemeralChat- Client-side only chat for demosMultiChat- Multiple concurrent chat sessionsUI Primitives & Layout:
Button,Card,Dialog,Sheet,Tabsand 30+ UI primitives🔧 Developer Experience Improvements
Example Applications:
/chat/[threadId])Build & Configuration:
Development Tools:
🎯 Key Benefits
This release significantly enhances the AgentKit ecosystem with production-ready tools for building sophisticated AI chat applications.
@inngest/use-agent@0.3.0
Minor Changes
b175718: # New Package: @inngest/use-agent
Introducing a comprehensive React hooks package for building AI chat interfaces with AgentKit networks.
What's New
@inngest/use-agent is a standalone npm package that provides a complete set of React hooks for integrating with AgentKit. This package extracts and consolidates all the React functionality needed to build sophisticated AI chat applications.
Core Features
useAgent,useChat,useThreadsfor real-time streaming and thread managementuseEphemeralThreads,useConversationBranching,useEditMessage,useMessageActions,useSidebar,useIsMobileAgentProviderfor shared connections and configurationDefaultAgentTransportand custom transport supportInstallation
npm install @inngest/use-agents # Peer dependencies npm install react @inngest/realtime uuidBasic Usage
Why This Package
This package enables developers to:
Migration Guide
If you were previously using local hooks from AgentKit examples, replace local imports:
No functional changes are required - the API is identical to the previous local implementation.