Commit Graph

193 Commits

Author SHA1 Message Date
xiongxiao
bb1141aea4 feat: 更新安装应用逻辑,添加用户 ID 处理,优化应用路径检查 2026-03-27 00:22:19 +08:00
xiongxiao
b913594a12 feat: 更新 kv_app 表的 proxy 默认值为 true,调整应用列表中的 proxy 处理逻辑 2026-03-25 14:19:17 +08:00
xiongxiao
02f17595d9 Auto commit: 2026-03-25 13:04 2026-03-25 13:04:06 +08:00
xiongxiao
b39f7d6028 feat: 更新资源迁移逻辑,优化用户 ID 处理,删除冗余代码 2026-03-25 02:36:27 +08:00
xiongxiao
55378f4c94 feat: remove old data import scripts and JSON files
- Deleted `import-data.ts` and `import-life.ts` scripts for importing short-link and life JSON data into the database.
- Removed `ncode-list.json` containing short-link data.
- Added new script `mv-resources.ts` for migrating resources from username-based paths to userId-based paths in the database and object storage.
- Introduced `UserId` module for fetching user IDs and usernames from the database with caching.
- Updated `UserApp` class to use user IDs instead of usernames for resource paths.
- Modified routes to include a new endpoint for retrieving user IDs based on usernames.
2026-03-25 00:57:18 +08:00
xiongxiao
afa5802ef2 feat: 更新依赖版本,修复路由 ID 字段,优化获取 mark 详情逻辑 2026-03-23 18:44:52 +08:00
xiongxiao
2000b474a0 feat: 更新重定向路径,将 '/root/home/' 修改为 '/root/center/' 2026-03-19 16:49:37 +08:00
xiongxiao
07efc4e468 feat: 更新 microMark schema 和 mark 路由,添加 skill 2026-03-19 01:56:47 +08:00
xiongxiao
f305a900f4 feat: 将 metadata 中的参数封装到 args 对象中,以统一结构 2026-03-19 01:17:43 +08:00
xiongxiao
6a92ee7a2d feat: 更新 mark 路由,添加 metadata 验证,移除未使用的代码 2026-03-18 22:55:08 +08:00
99141a926e feat: 添加 flowme-channel 功能,包括获取、创建、更新和删除接口;更新 flowme 列表接口以支持时间范围和类型过滤 2026-03-12 00:55:42 +08:00
61a809ecd7 feat: 更新聊天接口,添加当前时间到系统助手消息中;修改生效日期描述格式 2026-03-11 02:51:05 +08:00
66a19139b7 feat: implement AI agent for flowme-life interactions
- Add agent-run module to handle AI interactions with tools and messages.
- Create routes for proxying requests to OpenAI and Anthropic APIs.
- Implement flowme-life chat route for user queries and task management.
- Add services for retrieving and updating life records in the database.
- Implement logic for fetching today's tasks and marking tasks as done with next execution time calculation.
- Introduce tests for flowme-life functionalities.
2026-03-11 01:44:29 +08:00
027cbecab6 feat: 添加 flowme-life 功能,包括创建、更新、删除和列表接口,导入 life JSON 数据到数据库 2026-03-10 20:17:49 +08:00
48425c6120 feat: 添加短链管理功能,包括创建、更新、删除和列表接口 2026-03-10 19:46:50 +08:00
e68b77f871 feat: 删除studio-app-list模块,优化proxy.ts和flowme路由的结构与逻辑 2026-03-09 02:37:29 +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
d2913dd32d feat: 更新JWKS token创建逻辑,支持refresh token选项 2026-03-03 19:10:57 +08:00
999a75c76b feat: 修改用户令牌创建逻辑,使用'jwks'作为令牌类型 2026-02-27 04:00:07 +08:00
0084f9878b feat: 添加发布应用目录功能,增强应用版本管理和权限校验 2026-02-26 14:13:16 +08:00
79e07d6689 feat: 更新依赖版本,优化用户模型构造函数和域名管理路由 2026-02-24 01:03:56 +08:00
4b8f47cea8 feat: 添加AGENTS文档,概述项目模块和功能 2026-02-22 03:22:29 +08:00
6b5164e845 feat: 优化token刷新逻辑,支持使用访问token刷新token,增强错误处理 2026-02-21 19:35:06 +08:00
71c238f953 feat: 添加JWKS token支持,更新用户和OAuth相关逻辑 2026-02-21 06:29:11 +08:00
77273bcfeb feat: 添加JWKS管理功能,支持基于用户token创建新token 2026-02-21 05:06:25 +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
0d73941127 chore: 更新依赖版本,提升 @kevisual/query 和 @kevisual/context 的版本
feat: 在应用管理路由中添加元数据,增强版本检测和发布功能
2026-02-19 03:59:29 +08:00
7088d025c9 fix: 修改user-app测试路由的id参数为必填项 2026-02-19 03:31:22 +08:00
577b6bfaa4 Refactor code structure for improved readability and maintainability 2026-02-18 12:59:51 +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
8c6d57d228 temp 2026-02-14 19:22:15 +08:00
84e7a4158d fix 2026-02-14 18:57:27 +08:00
9961efd91a 移除创建新标记时的 ID 生成逻辑,优化数据插入流程 2026-02-14 02:33:01 +08:00
6bf8d86c10 重构配置管理,更新域名处理逻辑,简化配置结构 2026-02-07 13:06:28 +08:00
0be7627bd1 优化用户查找逻辑,新增根据微信 UnionId 查找用户的方法,简化数据库查询 2026-02-07 02:36:29 +08:00
0bd634faf2 优化组织和用户创建逻辑,简化插入数据结构并处理可选描述字段 2026-02-07 02:04:17 +08:00
7dfa96d165 Refactor app management to use Drizzle ORM
- Replaced Sequelize models with Drizzle ORM for app and app list management.
- Updated routes in app-manager to utilize new database queries.
- Removed obsolete Sequelize model files for app, app list, and app domain.
- Introduced new helper functions for app and app domain management.
- Enhanced user app management with improved file handling and user migration.
- Adjusted public API routes to align with new database structure.
- Implemented caching mechanisms for domain management.
2026-02-07 01:26:16 +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
cb742807b4 重构应用列表处理逻辑,优化变量命名并移除冗余路由 2026-02-06 02:46:58 +08:00
266b7b33de Refactor config management to use Drizzle ORM
- Replaced Sequelize with Drizzle ORM in config-related routes and models.
- Updated database queries to use Drizzle's syntax for selecting, inserting, updating, and deleting configurations.
- Removed the ConfigModel class and replaced it with direct database interactions.
- Introduced nanoid for generating unique IDs for new configurations.
- Added new routes for managing marks, including CRUD operations and versioning.
- Implemented transaction handling for critical operations in the MarkModel.
- Enhanced error handling and validation in routes.
2026-02-05 16:31:11 +08:00
a51d04341e 添加 @kevisual/api 依赖,更新 WebSocket 消息发送逻辑,支持上下文参数 2026-02-05 04:06:34 +08:00
7bbefd8a4a 添加自动检测最新版本功能,更新应用信息时支持检测参数 2026-02-05 01:07:44 +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
82e3392b36 优化 token 处理逻辑,统一 createCookie 调用格式,返回 token 过期时间 2026-02-02 17:02:20 +08:00
82c9b834e9 更新依赖项,添加 flowme 插入触发器和监听器;重构数据库连接管理;优化用户路由和 SSE 处理 2026-02-01 03:58:40 +08:00
7c61bd3ac5 添加 flowme 和 flowme-channel 路由,支持增删改查功能;更新 schema 以包含相关字段 2026-01-31 18:27:21 +08:00
eab14b9fe3 更新依赖项 commander 到版本 14.0.3;调整导入路径以使用 S3 模块;添加成功移动和备份用户的日志输出 2026-01-31 14:16:54 +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
c3624a59de 优化 auth 中间件的日志输出;注释掉未使用的路由定义;更新 page-proxy-app 路由的描述和中间件 2026-01-26 20:53:51 +08:00