github assistant-ui/assistant-ui @assistant-ui/react@0.11.20

latest releases: @assistant-ui/react-ai-sdk@1.1.3, assistant-stream@0.2.31, @assistant-ui/react-langgraph@0.7.0...
12 hours ago

Patch Changes

  • 94fcc39: feat: Add custom commands support to useAssistantTransportRuntime

    Adds the ability to send custom commands through useAssistantTransportRuntime by:

    • Introducing a global augmentation pattern via Assistant.Commands interface
    • Adding useAssistantTransportSendCommand hook for sending custom commands
    • Supporting custom command types in the transport layer

    Users can now extend the Assistant interface to define their own command types:

    declare global {
      interface Assistant {
        Commands: {
          myCommand: { type: "my-command"; data: string };
        };
      }
    }

Don't miss a new assistant-ui release

NewReleases is sending notifications on new releases.