Skip to content

Conversation

@dfseifert
Copy link

@dfseifert dfseifert commented Dec 15, 2025

First of all, thanks a lot for this project!
I have been daily driving vicinae for a while now and just love it!

So I wanted to give back with creating a little extension I find quite useful.

This PR adds a new Claude chat extension for Vicinae.

It enables AI-powered assistance through Anthropic's API, including features like persistent chat history, multiple model support, and real-time streaming.

Note: This is an early example of a chat integration built with Vicinae extensions. It demonstrates how to build conversational AI experiences using Vicinae's native architecture.
I am happy for any feedback!

image image

Added a new Claude chat extension for Vicinae. Enables AI-powered assistance through Anthropic's API, including features like persistent chat history, multiple model support, and real-time streaming.
@aurelleb
Copy link
Contributor

really cool extension project, and thank you for the kind words!
However, I wasn't able to get it working. I added my API key, but every time I send a message it just shows a "error" toast without further information.

Also, "New Chat With Claude" has a weird behavior: it goes to the discussion view and when navigating back, shows the "starting a new chat" view which is unexpected:
image

@dfseifert
Copy link
Author

Hi @aurelleb

thanks for the feedback.

I've applied a patch that fixes the following:
The default view for the new chat command is now the chat history so that when navigating back, the chat history is shown.
Also when an Error during response collection occurs, it creates a new conversation item that displays the full error message. This could then be debugged. (Or is there a better way to do this?)
Please let me know, happy for feedback!

Kind Regards
Daniel

@aurelleb
Copy link
Contributor

thanks for the update, I will be reviewing it again shortly

@aurelleb
Copy link
Contributor

The default view for the new chat command is now the chat history so that when navigating back, the chat history is shown

I think this is weird behavior because it pushes a view on the stack without the user doing anything which makes the back navigation feel misleading. The average user will be confused about this.
You probably should have a command to start a new chat and a separate one that allows you to browse the existing threads.

test.mp4

Copy link
Contributor

@aurelleb aurelleb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment above

Integrated automatic title generation using Claude based on the first exchange. Simplified title handling by removing outdated logic and improving service helpers. Updated documentation to reflect this feature.
…ry hook

Streamlined code by refactoring chat storage, simplifying services into `ChatStorage` object with unified methods. Introduced `useChatHistory` hook for chat list management, improving modularity and reducing redundancy. Enhanced message utilities with reusable helpers.
refactor(chat-list): revise keyboard shortcut syntax for new chat action
Refactored `useChat` and `useChatHistory` hooks for better reactivity and modularity by integrating `ChatStorage` subscriptions. Simplified chat storage methods and enhanced reusability. Updated action properties and shortcuts for consistency across components.
…up hooks

Aligned code formatting across files for improved consistency. Enhanced storage reactivity by refining subscription logic in `useChat` and `useChatHistory`. Cleaned up hooks, modularized utility functions, and streamlined services for better maintainability and readability.
@dfseifert
Copy link
Author

Ciao @aurelleb

I've applied some patches so now the navigation works as expected.
Also I finally figured out why the history view was not automatically updating despite the state being updated ...
But I once again would like to hand this in for review. :)

Kind Regards and happy new year!

@dfseifert dfseifert requested a review from aurelleb January 1, 2026 16:32
…hooks

Ensured consistent formatting across `useChat`, `useChatHistory`, and related services. Enhanced reactivity in storage subscriptions and improved maintainability by aligning indentation and structure. Updated README for clarity on streaming settings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants