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: coder/coder
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: coder/coder
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: control-plane-agent-9ejz
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 50 files changed
  • 2 contributors

Commits on Feb 3, 2026

  1. Configuration menu
    Copy the full SHA
    b7b40f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    57cb855 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2026

  1. feat(chats): add list chats endpoint, workspace system prompt, and E2…

    …E tests
    
    - Add GET /api/v2/chats endpoint to list user's chats
    - Add ListChatsByOwner database query with proper authorization
    - Build dynamic system prompt with workspace context when chat is bound to a workspace
    - Default chat metadata to {} when empty to fix postgres JSON error
    - Add E2E test TestChats_WorkspaceBash_E2E validating full chat flow:
      - Chat creation with workspace binding
      - LLM tool invocation (coder_workspace_bash)
      - Agent command execution via tailnet
      - Tool result propagation
    - Add integration test TestChats_AnthropicIntegration for basic LLM connectivity
    - Regenerate API docs and SDK types
    ammar-agent committed Feb 4, 2026
    Configuration menu
    Copy the full SHA
    208f509 View commit details
    Browse the repository at this point in the history
  2. feat(chats): add frontend UI and e2e tests

    This commit adds frontend support for the control-plane agent chats feature:
    
    Frontend:
    - ChatsPage: List chats with create dialog (model defaults to claude-opus-4-5)
    - ChatPage: Real-time chat interface with WebSocket message streaming
    - API client methods for chats CRUD and messaging
    - React Query hooks for data fetching
    - Navbar integration with Chats link
    
    E2E Tests (site/e2e/tests/chats.spec.ts):
    - create a chat and navigate to chat detail
    - send a message and receive a response (uses claude-haiku-4-5, skips if no ANTHROPIC_API_KEY)
    - chat list shows created chats
    
    Bug Fixes:
    - Fix panic in coderd/chats/hub.go: prevent double-close of subscription
      channel by wrapping close logic with sync.Once
    
    Other:
    - scripts/develop.sh: improve server startup detection
    ammar-agent committed Feb 4, 2026
    Configuration menu
    Copy the full SHA
    36dddf1 View commit details
    Browse the repository at this point in the history
  3. WIP

    ammario committed Feb 4, 2026
    Configuration menu
    Copy the full SHA
    a68a3c2 View commit details
    Browse the repository at this point in the history
  4. feat(chats): simplified chat page with input-first design

    Redesign ChatsPage for immediate interaction:
    - Chat textarea at top, auto-focused on page load
    - Type message and press Enter to create chat and send
    - Recent chats list below the input
    - Click recent chat to navigate to detail view
    
    ChatPage updates:
    - Handle ?message= query param for initial message from ChatsPage
    - Auto-send initial message when navigating with query param
    
    E2E tests updated:
    - chats page has input textarea ready for immediate use
    - typing a message and pressing enter creates chat and sends
    - recent chats are shown below the input
    - clicking a recent chat navigates to chat detail
    
    All 5 tests pass.
    ammar-agent committed Feb 4, 2026
    Configuration menu
    Copy the full SHA
    b1b7f63 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b6640e4 View commit details
    Browse the repository at this point in the history
Loading