feat: integrate knowledge base creation in RepoCard and update app context key

- Updated the context key for the QueryRouterServer from 'router' to 'app'.
- Added functionality to create a knowledge base in RepoCard component.
- Introduced a new BookOpen icon and tooltip for knowledge base indication.
- Implemented a toast notification for successful knowledge base creation.
- Cleaned up imports in main.tsx by commenting out unused app import.
This commit is contained in:
2026-02-16 00:46:07 +08:00
parent f876a65c6b
commit 3d66eee666
5 changed files with 271 additions and 183 deletions

View File

@@ -3,7 +3,7 @@ import { RouterProvider, createRouter } from '@tanstack/react-router'
import { routeTree } from './routeTree.gen'
import './index.css'
import { basename } from './modules/basename'
// import './agents/app'
// Set up a Router instance
const router = createRouter({
routeTree,