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: inference-gateway/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.99.0
Choose a base ref
...
head repository: inference-gateway/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.99.1
Choose a head ref
  • 4 commits
  • 17 files changed
  • 2 contributors

Commits on Jan 24, 2026

  1. docs: Revise README description for CLI functionality

    Updated project description to reflect new functionality.
    edenreich authored Jan 24, 2026
    Configuration menu
    Copy the full SHA
    6f3702f View commit details
    Browse the repository at this point in the history
  2. chore: Update package dependencies to latest versions (#377)

    Updates multiple package dependencies to their latest versions:
    - claude-code: 2.1.9 → 2.1.14
    - docker: 29.1.3 → 29.1.5
    - gh: 2.83.2 → 2.85.0
    - go: 1.25.4 → 1.25.5
    
    This ensures we're using the latest bug fixes and security updates.
    edenreich authored Jan 24, 2026
    Configuration menu
    Copy the full SHA
    43960ce View commit details
    Browse the repository at this point in the history
  3. refactor: Ensure only one chat session at a time (#378)

    ## Summary
    
    This PR refactors chat session management to ensure only one chat
    session runs at a time and improves tool execution event handling.
    
    ## Changes
    
    ### 1. Session Management
    - Added cleanup in `StartChatSession()` to end existing sessions before
    starting new ones
    - Prevents multiple concurrent chat sessions which could cause race
    conditions
    
    ### 2. Event Enhancement
    - Extended `ToolExecutionCompletedEvent` with `RequestID` and
    `Timestamp` fields
    - Provides better tracking and correlation of tool execution events
    
    ### 3. Bug Fixes
    - Removed duplicate session cleanup in `HandleComputerUseResumedEvent`
    - Changed auto-save from goroutines to synchronous execution to prevent
    race conditions
    - Removed excessive debug logging that was cluttering output
    
    ### 4. Code Cleanup
    - Simplified tool preview rendering logic
    - Removed unnecessary debug logging statements
    - Improved code organization and readability
    
    ### 5. Testing
    - Added comprehensive unit tests for tool execution completion events in
    `agent_test_additions.go`
    
    ## Technical Details
    
    **Key Changes:**
    - `internal/services/agent.go`: Added session cleanup before starting
    new chat sessions
    - `internal/domain/ui_events.go`: Enhanced `ToolExecutionCompletedEvent`
    struct
    - `internal/services/conversation.go`: Fixed auto-save concurrency by
    removing goroutines
    - `internal/handlers/chat_handler.go`: Removed duplicate session cleanup
    - `internal/services/agent_test_additions.go`: New test file for event
    handling
    
    **Files Modified:**
    - 11 files changed, 308 insertions(+), 96 deletions(-)
    
    ## Impact
    - **Backward Compatible**: Yes, maintains existing API and behavior
    - **Performance**: Improved by reducing unnecessary logging and
    preventing race conditions
    - **Reliability**: Better session lifecycle management prevents
    potential deadlocks
    - **Observability**: Enhanced event tracking with request IDs and
    timestamps
    
    ## Testing
    - All existing tests pass
    - New unit tests added for tool execution events
    - Manual testing confirms single session enforcement works correctly
    edenreich authored Jan 24, 2026
    Configuration menu
    Copy the full SHA
    4ebea6d View commit details
    Browse the repository at this point in the history
  4. chore(release): 0.99.1 [skip ci]

    ## [0.99.1](v0.99.0...v0.99.1) (2026-01-24)
    
    ### ♻️ Code Refactoring
    
    * Ensure only one chat session at a time ([#378](#378)) ([4ebea6d](4ebea6d))
    
    ### 📚 Documentation
    
    * Revise README description for CLI functionality ([6f3702f](6f3702f))
    
    ### 🧹 Maintenance
    
    * Update package dependencies to latest versions ([#377](#377)) ([43960ce](43960ce))
    semantic-release-bot committed Jan 24, 2026
    Configuration menu
    Copy the full SHA
    c11a329 View commit details
    Browse the repository at this point in the history
Loading