Commit Graph

143 Commits

Author SHA1 Message Date
79e07d6689 feat: 更新依赖版本,优化用户模型构造函数和域名管理路由 2026-02-24 01:03:56 +08:00
672208ab6b chore: 更新 bun.config.mjs 和 package.json,调整依赖版本和配置 2026-02-21 05:38:14 +08:00
366a21d621 feat: add CNB login functionality and user management
- Introduced `cnb-login` route to handle user login via CNB token.
- Created `CnbServices` class for managing CNB user interactions.
- Added `findByCnbId` method in the User model to retrieve users by CNB ID.
- Updated error handling to provide more structured error messages.
- Enhanced user creation logic to handle CNB users.
- Added tests for the new CNB login functionality.
2026-02-20 23:30:53 +08:00
1782a9ef19 refactor: migrate WebSocket proxy to v1-ws-proxy module
- Updated import paths to use the new v1-ws-proxy module.
- Removed the old ws-proxy module and its associated files.
- Implemented new WebSocket proxy logic in the v1-ws-proxy module.
- Adjusted UserV1Proxy to utilize the new WebSocket proxy manager and methods.
2026-02-20 21:55:48 +08:00
0d73941127 chore: 更新依赖版本,提升 @kevisual/query 和 @kevisual/context 的版本
feat: 在应用管理路由中添加元数据,增强版本检测和发布功能
2026-02-19 03:59:29 +08:00
577b6bfaa4 Refactor code structure for improved readability and maintainability 2026-02-18 12:59:51 +08:00
9cc48821b1 chore: 更新 @kevisual/query、@aws-sdk/client-s3 和 @kevisual/router 的版本 2026-02-18 05:00:47 +08:00
9d39e1cd46 chore: 更新依赖版本,移除不必要的路由定义 2026-02-18 03:28:04 +08:00
6c611dcf78 feat: refactor route definitions and enhance metadata for app domain manager
- Updated route definitions in `src/route.ts` to utilize `toJSONSchema` and `pick` for cleaner route listing.
- Enhanced the `app.domain.manager` routes in `src/routes/app-manager/domain/manager.ts`:
  - Changed path format to snake_case.
  - Added descriptions for each route.
  - Introduced Zod schema validation for request arguments in metadata.
2026-02-18 03:17:45 +08:00
3cca0720c1 更新依赖版本,提升兼容性和稳定性 2026-02-10 22:54:42 +08:00
885e04e301 Refactor code structure for improved readability and maintainability 2026-02-07 02:05:54 +08:00
0bd634faf2 优化组织和用户创建逻辑,简化插入数据结构并处理可选描述字段 2026-02-07 02:04:17 +08:00
d62a75842f Refactor: Remove unused Convex HTTP routes and schema definitions
- Deleted `http.ts` which contained custom HTTP routes for authentication and JWKS.
- Removed `schema.ts` that defined database schemas for `github_starred`, `users`, and `sessions`.
- Updated `package.json` to remove the Convex dependency and updated other dependencies.
- Deleted SQL script `clear.sql` for removing constraints from tables.
- Removed `update.sh` script for updating dependencies.
- Deleted demo application routes and models in `app-demo` directory.
- Cleaned up unused modules and imports across various files.
- Removed Redis and common utility scripts that were not in use.
- Deleted test scripts related to user and bucket management.
2026-02-07 00:16:00 +08:00
a51d04341e 添加 @kevisual/api 依赖,更新 WebSocket 消息发送逻辑,支持上下文参数 2026-02-05 04:06:34 +08:00
cbc9b54284 update 2026-02-04 03:08:53 +08:00
158dd9e85c Refactor AI proxy error handling and remove deprecated upload and event routes
- Updated `getAiProxy` function to return a JSON response for missing objects when the user is the owner.
- Removed the `upload.ts`, `event.ts`, and related middleware files to streamline the codebase.
- Cleaned up `handle-request.ts` and `index.ts` by removing unused imports and routes.
- Deleted chunk upload handling and related utility functions to simplify resource management.
- Enhanced app manager list functionality to support app creation if not found.
2026-02-02 18:06:31 +08:00
82c9b834e9 更新依赖项,添加 flowme 插入触发器和监听器;重构数据库连接管理;优化用户路由和 SSE 处理 2026-02-01 03:58:40 +08:00
eab14b9fe3 更新依赖项 commander 到版本 14.0.3;调整导入路径以使用 S3 模块;添加成功移动和备份用户的日志输出 2026-01-31 14:16:54 +08:00
296286bdaf Refactor code structure for improved readability and maintainability 2026-01-31 05:15:25 +08:00
6100e9833d Refactor storage integration from MinIO to S3
- Removed MinIO client and related imports from various modules.
- Introduced S3 client and OSS integration for object storage.
- Updated all references to MinIO methods with corresponding S3 methods.
- Added new flowme table schema to the database.
- Adjusted upload and download routes to utilize S3 for file operations.
- Removed obsolete MinIO-related files and routes.
- Ensured compatibility with existing application logic while transitioning to S3.
2026-01-31 05:12:56 +08:00
27f170ae2b 更新 package.json 版本号至 0.0.12;优化 isLocalhost 函数以处理空主机名;修复 handleRequest 中对 dns.hostName 的访问;在轻代码列表中添加 code 字段;更新示例路由描述 2026-01-26 04:24:00 +08:00
a9d725eb29 add convex 2026-01-26 02:44:17 +08:00
9ff4057166 update 2026-01-25 03:23:42 +08:00
7b0b00feff test 2026-01-17 23:11:08 +08:00
d6da542989 temp 2026-01-17 21:17:50 +08:00
07b4b0618a update use-config 2026-01-15 18:02:49 +08:00
c6715c2e35 feat: enhance router views functionality and permissions
- Added new router views schema and types for better structure and type safety.
- Implemented CRUD operations for router views including listing, updating, retrieving, and deleting views.
- Introduced permission checks to ensure users can only access and modify their own views.
- Updated prompts route to include additional permission checks for updating and retrieving prompts.
- Refactored common query tests to align with new configurations.
- Organized route imports for better maintainability.
2025-12-31 17:55:13 +08:00
9f51d27398 fix: 解决问题 2025-12-28 10:52:04 +08:00
8a633feb4f 更新依赖项,使用 Busboy 替代 formidable 处理文件上传,优化上传逻辑,改进权限检查 2025-12-21 06:41:27 +08:00
15fcfdad18 更新依赖项,优化 WebSocket 处理,添加文件流管道功能,改进用户认证逻辑 2025-12-21 02:06:38 +08:00
d22be3a840 更新依赖项,优化 WebSocket 处理,添加系统版本路由 2025-12-20 05:13:17 +08:00
76924b008c update packages 2025-12-19 16:13:15 +08:00
1f11013ae0 更新依赖项和上传接口,添加描述字段 2025-12-17 11:22:46 +08:00
fa6db79cec test 2025-12-12 18:55:52 +08:00
fe7863fbb8 update 2025-12-06 18:48:46 +08:00
9e458f4a77 temp 2025-12-04 14:22:04 +08:00
2a55f2d3ef remove mark 2025-12-04 10:31:37 +08:00
46aa293cce fix 2025-12-03 18:17:04 +08:00
98f68fe300 update 2025-12-03 16:40:46 +08:00
39fab83b3d update 2025-11-28 03:36:38 +08:00
727304009d remove page-proxy and merge to code-center 2025-11-27 19:42:38 +08:00
2838d6163e update 2025-11-27 19:20:46 +08:00
7cba8ae8b1 清理代码 2025-11-27 17:38:42 +08:00
5dc4dcfb58 update 2025-11-24 16:14:54 +08:00
8db44dcb04 update 2025-11-24 15:02:24 +08:00
c2038b8421 update add ASR MODEL 2025-10-15 01:52:33 +08:00
daf0b6b31d clear old 2025-10-13 17:49:01 +08:00
450fbc7167 remove submodules 2025-10-12 18:08:02 +08:00
544b1defff update 2025-08-11 20:26:06 +08:00
c7ddaf88f6 feat: fix add code-center-module 2025-06-27 01:59:48 +08:00