Commit Graph

56 Commits

Author SHA1 Message Date
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
77273bcfeb feat: 添加JWKS管理功能,支持基于用户token创建新token 2026-02-21 05:06:25 +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
bb8ce3338d 重构 JWKS 模块,新增 JWKS 管理器,优化密钥生成与管理逻辑,更新路由处理 2026-02-12 21:11:16 +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
a0f0f65d20 update 2026-02-01 19:26:44 +08:00
82c9b834e9 更新依赖项,添加 flowme 插入触发器和监听器;重构数据库连接管理;优化用户路由和 SSE 处理 2026-02-01 03:58:40 +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
0e350b1bca clear old code 2026-01-26 03:02:55 +08:00
9ff4057166 update 2026-01-25 03:23:42 +08:00
bafd02452b update 2026-01-22 23:29:20 +08:00
dec540d055 update 2026-01-17 12:07:59 +08:00
07b4b0618a update use-config 2026-01-15 18:02:49 +08:00
59c7eb57fa update 2026-01-09 13:04:48 +08:00
8731801b52 feat(container): add CRUD operations for container management
- Implemented routes for listing, retrieving, updating, and deleting containers.
- Added ContainerModel with necessary fields and methods for data handling.
- Created utility functions for fetching container data by ID.

feat(page): enhance page management with CRUD and publish functionality

- Developed routes for managing pages, including listing, updating, and deleting.
- Integrated caching and zip file generation for page exports.
- Added publish functionality to manage app versions and file uploads.

feat(prompts): implement prompt management with CRUD operations

- Created routes for listing, updating, and deleting prompts.
- Added pagination and search capabilities for prompt listing.

test: add common query utilities and prompt tests

- Implemented common query utilities for API interactions.
- Added tests for prompt listing functionality.
2025-12-30 13:28:50 +08:00
9f51d27398 fix: 解决问题 2025-12-28 10:52:04 +08:00
18a7c15a76 优化文件流处理,添加对 Bun 环境的支持,重构管道传输函数,改进内容类型获取逻辑 2025-12-21 14:53:22 +08:00
5e43c5fc4c 使用 busboy 解析 multipart/form-data,添加 preservePath 选项以保留文件路径 2025-12-21 13:48:21 +08:00
8a633feb4f 更新依赖项,使用 Busboy 替代 formidable 处理文件上传,优化上传逻辑,改进权限检查 2025-12-21 06:41:27 +08:00
15fcfdad18 更新依赖项,优化 WebSocket 处理,添加文件流管道功能,改进用户认证逻辑 2025-12-21 02:06:38 +08:00
1f11013ae0 更新依赖项和上传接口,添加描述字段 2025-12-17 11:22:46 +08:00
fe7863fbb8 update 2025-12-06 18:48:46 +08:00
53df135696 add check wxmsg 2025-11-30 01:02:42 +08:00
f9169bcd8b udpate 2025-11-28 20:05:12 +08:00
39fab83b3d update 2025-11-28 03:36:38 +08:00
2838d6163e update 2025-11-27 19:20:46 +08:00
b0bd771e3d temp 2025-06-27 00:32:37 +08:00
633eee4bee feat: add UserSecret 2025-06-20 16:22:59 +08:00
d29f69452c fix bugs 2025-06-19 00:18:53 +08:00
cd30e8af78 fix 2025-05-23 18:59:34 +08:00
3de5754f24 update 2025-05-14 23:50:29 +08:00
c3b24ec29c remove pino 2025-05-08 23:43:56 +08:00
4aaf791801 fix: change version name 2025-04-03 21:23:17 +08:00
230bc6cd5d temp 2025-04-01 10:22:03 +08:00
466ac1bcf0 fix: fix chunk 2025-03-31 21:22:13 +08:00
80d16b5f76 upload data change 2025-03-29 20:56:03 +08:00
74a484718a code clear 2025-03-22 23:06:03 +08:00
5c3d48abab feat: change permission for mino -resources 2025-03-22 12:48:49 +08:00
8053a3db64 关于login重构 2025-03-21 20:41:01 +08:00
0179fe73a3 feat: 上传资源和下载资源更新 2025-03-20 02:29:26 +08:00
9b1045d456 feat: add s1/resources/upload 2025-03-15 11:38:57 +08:00
d947043a16 config 2025-03-14 01:41:53 +08:00
1c820c3083 feat: add download micro-app for cli 2025-03-11 11:04:10 +08:00
7b25dbdf08 添加public管理 2025-03-08 22:44:23 +08:00
1ae123e63a temp 2025-03-06 19:20:32 +08:00
3477d098b7 fix: fix错误 2025-02-26 01:59:46 +08:00
70b6881a38 feat: add version and bump pakcages 2025-02-23 12:17:02 +08:00
a97bb5f732 fix: fix error 2025-01-03 21:33:01 +08:00