Merged
Conversation
- Updated peer dependencies in `package.json` to require `ai` version 5.0.0 and added `@mindcache/gitstore` as a new optional peer dependency. - Modified TypeScript configuration to use `react-jsx` for JSX transformation. - Expanded exports in `index.ts` to include new local-first React components and hooks, enhancing the API surface for developers. - Introduced `MindCacheChat` component for a ready-to-use chat interface, including customizable themes and message handling. - Added context management with `MindCacheContext` to facilitate state sharing across components. - Implemented `useClientChat` hook for managing chat interactions and real-time message streaming. - Created `useLocalFirstSync` hook for automatic syncing with GitStore, providing a robust solution for local-first data management.
- Removed outdated `ai` dependency and updated to version 5.0.113 in `pnpm-lock.yaml` and `package.json`. - Adjusted peer dependency for `ai` to require version 5.0.0. - Updated `MindCacheContext` to include a new `streamText` function from the `ai` package, improving the API for AI model interactions. - Refactored `useClientChat` to utilize the new `streamText` function directly, enhancing chat functionality and error logging.
- Added `@ai-sdk/openai` version 2.0.0 and `ai` version 5.0.0 to `pnpm-lock.yaml` and `package.json`. - Removed outdated `ai` dependency from `local_first_chat` example. - Refactored `MindCacheProvider` to support dynamic AI provider configuration, including a new `provider` and `model` properties. - Updated `useClientChat` to utilize the new context-based model retrieval, simplifying API key management and enhancing error handling. - Revised README to reflect changes in AI configuration and reduce setup code for users.
- Introduced a new "Local-First" section in `index.html` highlighting the benefits of using GitStore for client-side applications. - Updated `styles.css` to include specific styles for the Local-First section. - Enhanced `README.md` for the GitStore package with a quick start guide demonstrating basic usage for reading and writing files.
- Added detailed explanations and benefits of the Local-First approach in `index.html`. - Updated `styles.css` to improve the visual presentation of the Local-First section. - Revised `README.md` for the GitStore package to include a quick start guide for users.
- Added reminders to `AGENTS.md` specifying that examples use npm instead of pnpm. - Included a note to check the CI pipeline and perform necessary steps before merging, such as npm login and publishing MindCache if relevant.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.