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: CopilotC-Nvim/CopilotChat.nvim
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.3.1
Choose a base ref
...
head repository: CopilotC-Nvim/CopilotChat.nvim
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.4.0
Choose a head ref
  • 12 commits
  • 12 files changed
  • 3 contributors

Commits on Aug 8, 2025

  1. refactor(client): use OrderedMap for provider management (#1295)

    Refactored provider handling in Client to use OrderedMap, improving
    consistency and sorting. Added generic type annotations for OrderedMap
    and introduced a get_cached helper for cache management. This change
    simplifies provider filtering and caching logic for models and info.
    deathbeam authored Aug 8, 2025
    Configuration menu
    Copy the full SHA
    aac1a26 View commit details
    Browse the repository at this point in the history
  2. refactor(chat): move completion logic to separate module (#1267)

    This change refactors the chat completion logic by moving it from
    init.lua into a new completion.lua module. It also updates mappings
    and setup to use the new module, improving code organization and
    maintainability. Autocomplete setup is now handled in the completion
    module, and prompt listing is extracted to a helper function.
    
    Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
    deathbeam authored Aug 8, 2025
    Configuration menu
    Copy the full SHA
    1b04ddc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c0580d1 View commit details
    Browse the repository at this point in the history
  4. fix(info): show resource uri instead of name in preview (#1296)

    Previously, the resource preview header displayed the resource name, which
    could be missing. This change updates the header to show the resource URI,
    providing clearer context. Also, removes unused type annotations for improved
    code clarity.
    deathbeam authored Aug 8, 2025
    Configuration menu
    Copy the full SHA
    90c3241 View commit details
    Browse the repository at this point in the history
  5. refactor(chat): unify message/block API for cursor access (#1298)

    Refactored chat window API to use `get_message(role, cursor)` and
    `get_block(role, cursor)` for both last and cursor-closest access.
    Removed legacy `get_closest_message` and `get_closest_block` methods.
    Updated mappings and documentation to reflect unified API. This
    simplifies usage and improves consistency for message/block retrieval
    and removal actions.
    deathbeam authored Aug 8, 2025
    Configuration menu
    Copy the full SHA
    27c24c4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    77971bb View commit details
    Browse the repository at this point in the history
  7. feat(ui): show assistant reasoning as virtual text (#1299)

    Adds support for displaying the assistant's reasoning above messages in
    the chat UI as virtual text. Reasoning is now streamed and stored
    separately from content, and models with reasoning capability are
    indicated in the model selector. This improves transparency of model
    responses and debugging.
    deathbeam authored Aug 8, 2025
    Configuration menu
    Copy the full SHA
    92777fb View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2025

  1. fix(chat): correct block selection logic by cursor (#1301)

    Refactored Chat:get_block to properly select the closest block to the
    cursor, considering the role filter and ensuring correct fallback to the
    last matching block. This improves accuracy when interacting with chat
    blocks in the UI.
    deathbeam authored Aug 9, 2025
    Configuration menu
    Copy the full SHA
    7e027df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45c923d View commit details
    Browse the repository at this point in the history
  3. refactor(constants): centralize role and plugin name constants (#1302)

    Move role strings and plugin name to a dedicated constants module.
    Refactor all usages to reference the new constants. This improves
    maintainability and reduces duplication across the codebase.
    deathbeam authored Aug 9, 2025
    Configuration menu
    Copy the full SHA
    6d49da8 View commit details
    Browse the repository at this point in the history
  4. refactor(ui): simplify chat and overlay initialization (#1303)

    Refactored chat and overlay constructors to remove redundant help argument
    and use key_to_info for help and close mappings directly. This improves
    clarity and maintainability by centralizing mapping logic and reducing
    parameter complexity.
    
    Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
    deathbeam authored Aug 9, 2025
    Configuration menu
    Copy the full SHA
    f1d6bb5 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2025

  1. chore(main): release 4.4.0 (#1297)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Aug 10, 2025
    Configuration menu
    Copy the full SHA
    0553496 View commit details
    Browse the repository at this point in the history
Loading