Commit Graph

266 Commits

Author SHA1 Message Date
c0edd2cbbf fix: 更新 @kevisual/api 依赖至 0.0.57,并移除过时的查询配置文件 2026-02-21 07:35:51 +08:00
048da38c53 fix: 更新版本号至 0.1.7 2026-02-21 07:07:35 +08:00
13b0f45d3e fix: 更新依赖项版本并优化远程应用连接逻辑 2026-02-21 06:28:20 +08:00
68c1976754 feat: add user info command and package management for assistant app
- Implemented a new command 'me' to view current user information in the assistant application.
- Created a common configuration file for the assistant app with package details and scripts.
- Added functionality to check and update package.json dependencies and devDependencies in the assistant app.
- Refactored storage initialization in query module to use StorageNode.
2026-02-21 03:08:39 +08:00
e53c166c29 fix: 更新依赖项版本以修复兼容性问题并优化导入路径 2026-02-19 04:00:09 +08:00
f33d4c293d Refactor code structure for improved readability and maintainability 2026-02-18 03:37:45 +08:00
63edd0fd84 fix: 更新版本号至 0.1.4,并优化 live 命令的配置路径处理 2026-02-17 04:10:56 +08:00
171d01a784 fix: 更新 package.json 中的依赖项版本以修复兼容性问题 2026-02-16 20:09:09 +08:00
76aeb21a41 Refactor CNB command to improve configuration handling and add default keep.json
- Changed import of 'path' module to use default import syntax.
- Updated 'live' command to accept a configuration file path with higher priority than JSON input.
- Removed stdin reading for JSON input; now reads directly from the specified config file.
- Simplified error handling for JSON parsing and configuration validation.
- Enhanced keepAlive creation by removing unnecessary callbacks and enabling debug mode.
- Added default keep.json file with example configuration.
2026-02-15 23:52:32 +08:00
786ee80839 add live 2026-02-12 00:14:12 +08:00
34697e07b5 temp 2026-02-11 23:59:13 +08:00
d3a9fec698 fix: 更新依赖项版本以修复兼容性问题 2026-02-10 22:54:16 +08:00
f912003ca9 feat: 添加 packages 到 pnpm 工作区配置 2026-02-09 04:33:28 +08:00
0ba8c9a7dc update 2026-02-06 18:21:27 +08:00
8cda5f6be3 fix:fix reconnect 2026-02-05 16:51:40 +08:00
8fc9605242 feat: 添加自动重连机制和重连配置选项到 RemoteApp 类,并更新相关文档 2026-02-05 14:09:14 +08:00
a46510949b feat: 更新 RemoteApp 类以支持 ListenProcessParams 和改进消息处理逻辑
fix: 更新 package.json 版本号至 0.1.2
feat: 在部署函数中添加 detect 标志以增强功能
2026-02-05 03:00:51 +08:00
037146bf51 update 2026-02-05 00:14:29 +08:00
5d6bd4f429 Refactor client routes and add IP fetching functionality
- Moved client route definitions to separate files for better organization.
- Added new route to fetch client IP addresses, supporting both IPv4 and IPv6.
- Implemented system information retrieval in the client routes.
- Updated package dependencies to their latest versions.
- Adjusted call route to prevent overwriting existing routes.
2026-02-04 13:20:12 +08:00
6212194f95 add gent env Value check 2026-02-03 20:19:15 +08:00
a74b984d95 feat: 添加 npm patch 命令以自动更新补丁版本 2026-02-03 03:01:25 +08:00
a76c2235ea feat: Implement LiveCode module with WebSocket and SSE support
- Added config management using `useConfig` for environment variables.
- Created `LiveCode` class to manage WebSocket connections and routing.
- Implemented `SSEManager` for Server-Sent Events handling.
- Developed `WSSManager` for managing WebSocket connections with heartbeat functionality.
- Introduced `ReconnectingWebSocket` class for robust WebSocket client with automatic reconnection.
- Added test files for live application demonstrating WebSocket and TCP server integration.
2026-02-02 23:29:58 +08:00
5774391bbe feat: refactor deploy command to enhance file upload process and user handling
- Updated the deploy command to include a new username retrieval mechanism, falling back to the organization if not specified.
- Introduced uploadFilesV2 function to streamline file upload logic, including hash checking to prevent redundant uploads.
- Modified queryAppVersion to accept a create parameter for better version management.
- Added a new test file to validate the uploadFilesV2 functionality.
2026-02-02 17:57:50 +08:00
310d727321 feat: 将命令名称从 'oc' 更改为 'ccc' 2026-01-31 22:09:17 +08:00
1d0db5f093 feat: 更新版本至 0.0.99,移除未使用的 callText 函数调用 2026-01-31 20:48:36 +08:00
73d0c8c4ba feat: 更新版本至 0.0.98 2026-01-31 17:47:15 +08:00
a80a3ede46 feat: add argument parsing and module resolution for assistant app
- Implemented argument parsing in args.ts to handle root, home, and help options.
- Added parseHomeArg and parseHelpArg functions for command line argument handling.
- Created ModuleResolver class in assistant-app-resolve.ts to resolve module paths, including scoped packages and relative paths.
- Introduced caching mechanism for package.json reads to improve performance.
- Added utility functions for checking file existence and clearing the cache.
2026-01-31 17:42:53 +08:00
51822506d7 feat(client): add routes for version, time, system info, and restart functionality 2026-01-31 00:48:15 +08:00
ef891e529a if config error exit 2026-01-30 21:55:14 +08:00
2950b5a5be feat: 更新版本至 0.0.96,重构claude命令,新增opencode模型切换功能 2026-01-30 04:37:38 +08:00
76a7dc0082 fix: 修复应用键生成逻辑,确保键值不以斜杠开头 2026-01-29 01:56:29 +08:00
9051df7a37 update pnpm-lock.yaml 2026-01-28 11:26:59 +08:00
3de3cca09c chore: 更新版本号至 0.0.95 2026-01-28 00:04:30 +08:00
742a7a2992 feat: add zod dependency and implement kevisual routes for CLI commands
- Added zod as a dependency in package.json.
- Enhanced assistant configuration to include skills and plugins directories.
- Implemented runCmd function to execute CLI commands in run.ts.
- Updated light-code module to use node:child_process.
- Created new kevisual routes for checking CLI login status and deploying web pages.
- Added restart functionality for OpenCode client in opencode module.
2026-01-28 00:02:38 +08:00
98f21d8aaa update 2026-01-27 22:25:40 +08:00
c2f5f504d3 update 2026-01-27 22:24:29 +08:00
220b008b90 refactor: 移除不再使用的轻代码路由,优化 OpenCode 客户端的端口配置 2026-01-27 22:21:51 +08:00
14f2dad837 fix: 优化connect ws的模块 2026-01-26 18:51:59 +08:00
915f7aff6b 更新 @opencode-ai/sdk 版本至 1.1.36,调整类型定义以支持 AssistantConfig 2026-01-26 04:20:23 +08:00
15d81c4f68 更新依赖项版本,添加文件哈希功能,优化远程应用连接逻辑 2026-01-26 04:18:03 +08:00
48dafc6040 update pkgs fix lightcode 2026-01-26 01:13:49 +08:00
2ccda9f008 update 2026-01-26 01:13:10 +08:00
6cf3beae94 update 2026-01-25 02:56:56 +08:00
a583fdc211 update 2026-01-22 17:31:26 +08:00
59b3961ff9 temp 2026-01-22 12:51:44 +08:00
ddfdb63598 fix: 修复配置文档中的表格格式;添加路由配置示例 2026-01-22 01:53:51 +08:00
18a6fd4cfe fix doc 2026-01-21 23:25:45 +08:00
028a6ac726 feat: restructure command for Claude models and add new remote routes
- Deleted the old cc.ts command and created a new cc.ts under src/command/claude for better organization.
- Added support for a new model 'bailian' in the command.
- Implemented remote app connection status and connection routes in assistant/src/routes/remote/index.ts.
- Updated index.ts to reflect the new path for the cc command.
- Added a placeholder for future management of plugin operations in src/command/opencode/plugin.ts.
2026-01-21 23:22:58 +08:00
a911334459 fix: 调整重连逻辑以增加每次连接尝试的延迟时间;更新 mvFile 方法以支持 'app-file' 类型 2026-01-21 15:56:28 +08:00
3f899dbd5f update 2026-01-20 23:23:07 +08:00