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: winfunc/opcode
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: dddpeter/opcode
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 24 files changed
  • 1 contributor

Commits on Jan 26, 2026

  1. feat: add authentication middleware and configuration for Axum

    - Implemented `AuthConfig` to manage authentication settings from environment variables.
    - Created `auth_middleware` to enforce Bearer token authentication when enabled.
    - Added `verify_websocket_token` function to validate WebSocket connections based on the authentication state.
    - Included unit tests for authentication configuration and middleware functionality.
    
    feat: introduce LRU cache implementation with TTL support
    
    - Developed `LRUCache` class to manage cached entries with a maximum size and time-to-live (TTL) expiration.
    - Implemented methods for setting, getting, deleting, and clearing cache entries, along with statistics retrieval.
    - Added cleanup functionality for expired entries.
    
    feat: define message types and structures for Claude Code streaming
    
    - Created structured message type definitions for communication between backend and frontend.
    - Included various message content types such as text, tool use, tool results, and thinking content.
    - Implemented type guards for safe message type checking.
    
    feat: establish tool result types for Claude Code execution
    
    - Defined input and output types for various tools (Bash, Read, Edit, Write, LS, Grep, TodoWrite).
    - Implemented type guards for identifying specific tool result types.
    lijinde committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    22bf0ad View commit details
    Browse the repository at this point in the history
Loading