feat: add repository management dialogs and store functionality

- Implement CreateRepoDialog for creating new repositories with form validation.
- Implement EditRepoDialog for editing existing repository details.
- Implement SyncRepoDialog for syncing repositories with Gitea, including repository creation if necessary.
- Implement WorkspaceDetailDialog for managing workspace links and actions.
- Enhance the repo store with new state management for repository actions, including creating, editing, and syncing repositories.
- Add build configuration utilities for repository synchronization.
- Create a new page for repository management, integrating all dialogs and functionalities.
- Add login route for authentication.
This commit is contained in:
2026-02-25 01:02:55 +08:00
parent f4643464ba
commit 7ec6428643
32 changed files with 3303 additions and 71 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "@kevisual/cnb-center",
"private": true,
"version": "0.0.4",
"version": "0.0.5",
"type": "module",
"basename": "/root/cnb-center",
"scripts": {
@@ -9,7 +9,7 @@
"build": "vite build",
"preview": "vite preview",
"ui": "pnpm dlx shadcn@latest add ",
"pub": "envision deploy ./dist -k cnb-center -v 0.0.4 -y y -u"
"pub": "envision deploy ./dist -k cnb-center -v 0.0.5 -y y -u"
},
"files": [
"dist"
@@ -21,9 +21,11 @@
"@ai-sdk/openai": "^3.0.30",
"@ai-sdk/openai-compatible": "^2.0.30",
"@base-ui/react": "^1.2.0",
"@kevisual/api": "^0.0.60",
"@kevisual/cnb": "^0.0.26",
"@kevisual/cnb-ai": "^0.0.2",
"@kevisual/context": "^0.0.8",
"@kevisual/kv-login": "^0.1.15",
"@kevisual/router": "0.0.80",
"@tanstack/react-router": "^1.161.1",
"ai": "^6.0.91",