Commit Graph

119 Commits

Author SHA1 Message Date
53204291ce feat: 更新@kevisual/api依赖版本至0.0.62,优化WsProxyManager和请求处理逻辑 2026-03-06 00:05:34 +08:00
42957af179 refactor: remove unused file, update timestamps on query views and views
- Deleted the unused file `src/auth/drizzle/one.ts`.
- Modified `updatedAt` field in `src/db/drizzle/schema.ts` to automatically update on record changes.
- Added `updatedAt` field to the response in `src/routes/query-views/list.ts` and `src/routes/views/list.ts` to ensure it reflects the current timestamp.
2026-03-05 13:32:56 +08:00
bbdf9f087d feat: enhance WebSocket proxy with user connection management and status reporting
- Updated StudioOpts type to include infoList for user connection status.
- Added rendering of connection info in createStudioAppListHtml.
- Modified self-restart logic to use a specific app path.
- Improved WebSocket connection handling in wsProxyManager, including user registration and ID management.
- Implemented connection status checks and responses in UserV1Proxy.
- Introduced renderServerHtml function to inject server data into HTML responses.
- Refactored page-proxy request handling for better URL management.
2026-03-05 03:58:46 +08:00
120303961c feat: integrate Convex API and add N5 proxy functionality
- Added Convex client setup in a new module for handling Convex API interactions.
- Implemented N5Proxy to handle requests for the /n5/:slug route, querying Convex for application links.
- Updated app context to include Convex client and API.
- Adjusted routing to support new Convex API endpoints.
- Enhanced error handling for missing applications in the N5 proxy.
2026-03-03 14:35:46 +08:00
a48cc48589 fix: decode URI components in object path handling
- Added decodeURIComponent to the objectName in getObjectByPathname and getObjectName functions to ensure proper handling of encoded paths.
- Updated newNamePath in renameProxy to decode the pathname before processing.
- Removed redundant comment regarding file renaming in renameProxy.
2026-03-02 01:48:15 +08:00
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
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
e51cacd7a2 更新依赖版本,提升兼容性和稳定性 2026-02-07 13:11:53 +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
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
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
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
e12908f54f add stat fix 2026-01-17 00:41:14 +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
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
b7f1095e4a update 2025-11-30 04:48:09 +08:00
2838d6163e update 2025-11-27 19:20:46 +08:00
7cba8ae8b1 清理代码 2025-11-27 17:38:42 +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
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
633eee4bee feat: add UserSecret 2025-06-20 16:22:59 +08:00
7b415f5ca8 feat: add listener 2025-06-07 12:08:54 +08:00
41783728c8 fix selef-start 2025-05-26 23:48:30 +08:00