Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: YourGPT/copilot-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: YourGPT/copilot-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix/llm-sdk
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 18 commits
  • 56 files changed
  • 3 contributors

Commits on Mar 20, 2026

  1. fix

    ankushchhabradelta4infotech-ai committed Mar 20, 2026
    Configuration menu
    Copy the full SHA
    7a2240e View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2026

  1. Merge branch 'release/alpha' of https://github.com/yourgpt/copilot-sdk

    …into fix/sdk-ui
    
    # Conflicts:
    #	packages/copilot-sdk/src/chat/classes/AbstractChat.ts
    ankushchhabradelta4infotech-ai committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    0b7a47c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f470ace View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2026

  1. Configuration menu
    Copy the full SHA
    e87dabf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    25cee89 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2026

  1. Configuration menu
    Copy the full SHA
    5562f40 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2026

  1. feat(copilot-sdk): add streamMode prop for agent response bubble beha…

    …vior
    
    - 'multi-step' (default) — one bubble per server agent iteration (OpenAI/LiteLLM style), default unchanged
    - 'single-turn' — all iterations collapsed into one bubble per user turn (Vercel AI SDK / Claude.ai style)
    
    Usage: <CopilotProvider streamMode="single-turn" />
    
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    Sahil5963 and claude committed Mar 29, 2026
    Configuration menu
    Copy the full SHA
    a2f5667 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2026

  1. Configuration menu
    Copy the full SHA
    8790f9a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    002d6f7 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2026

  1. feat(experimental): rewrite generative UI with text-streaming approach

    Replace the tool-call-based generative UI with a text-streaming approach
    (similar to Claude Artifacts pattern). The AI writes HTML wrapped in
    <GENUI> tags as part of its text response, which streams naturally and
    renders progressively in a sandboxed iframe.
    
    Key changes:
    
    SDK (copilot-sdk/experimental):
    - New useGenerativeUI() hook returns wrapMessage for CopilotChat
    - New generativeUISystemPrompt() helper for backend system prompts
    - New GenUIFrame component: iframe with postMessage, auto-height via
      ResizeObserver, copilot bridge API for interactivity
    - Simplified types: removed chart/table/stat/card types, HTML-only
    - Deleted CardRenderer, TableRenderer, StatRenderer
    
    SDK (core streaming improvements):
    - Progressive action:args emission in Anthropic/OpenAI adapters
    - tool-call-start/delta events in providers and stream-text
    - Runtime: proper action:args accumulation (don't null currentToolCall)
    - AbstractChat: handle action events when streamState is null
    - processChunk: parsePartialJson for streaming arg extraction
    - connected-chat: attach unmatched streaming executions to messages
    - ChatWithTools: allow action:start/args for client tools
    - AbstractAgentLoop: reuse streaming executions
    
    Example (generative-ui-demo):
    - Rewritten with sidebar, dicebear avatars, copilot logo
    - Uses generativeUISystemPrompt() + loadSkills() on backend
    - Skills system with frontend-design skill (eager)
    - SaaS dashboard copilot context (Acme Inc.)
    
    Docs:
    - Rewritten generative-ui.mdx with two approaches documented
    - Updated BETA-FEATURES.md
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    Sahil5963 and claude committed Apr 14, 2026
    Configuration menu
    Copy the full SHA
    a59915d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc77df3 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2026

  1. fix(sdk): resolve post generative-ui-v2 merge stream bugs

    - AbstractChat: check toolResults.size in message:end so tool-only turns
      reset streamState and don't attach next turn's tools to previous message
    - AbstractChat: in single-turn mode parent insertChainParentId from message
      before the streaming message, not from streamState.messageId
    - AbstractChat: skip role:tool messages from done.messages in single-turn
      (already in streamState.toolResults, re-inserting creates duplicates)
    - connected-chat: restrict liveExecutions to last assistant message only;
      prefer metadata.toolExecutions for historical messages
    - connected-chat: filter unmatched executions to pending/executing only
      so stale completed cards don't bleed into new streaming message
    - connected-chat: null-safe message filter to prevent render crashes
    
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    ankushchhabradelta4infotech-ai and claude committed Apr 17, 2026
    Configuration menu
    Copy the full SHA
    bcaf0f4 View commit details
    Browse the repository at this point in the history
  2. fix(llm-sdk): server config systemPrompt takes priority over request

    Previously request.systemPrompt || this.config.systemPrompt meant a
    client-sent prompt could silently override the server-configured one,
    breaking generativeUISystemPrompt and any server-side prompt setup.
    
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    ankushchhabradelta4infotech-ai and claude committed Apr 17, 2026
    Configuration menu
    Copy the full SHA
    71c645d View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2026

  1. Configuration menu
    Copy the full SHA
    4128769 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2026

  1. Configuration menu
    Copy the full SHA
    3d266a5 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2026

  1. Configuration menu
    Copy the full SHA
    cb6941b View commit details
    Browse the repository at this point in the history

Commits on May 1, 2026

  1. Configuration menu
    Copy the full SHA
    1d0e08d View commit details
    Browse the repository at this point in the history

Commits on May 6, 2026

  1. Configuration menu
    Copy the full SHA
    78941c1 View commit details
    Browse the repository at this point in the history
Loading