Commit Graph

252 Commits

Author SHA1 Message Date
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
bb2b129343 fix: 更新 pm2 依赖至最新版本 2026-01-20 21:12:47 +08:00
xiongxiao
2eeaf991b9 update 2026-01-20 20:05:45 +08:00
ddba845ce7 fix: 更新缓存文件路径的创建逻辑 2026-01-20 17:45:59 +08:00
a4e04e7afa chore: 更新版本号至 0.0.89 2026-01-20 17:35:28 +08:00
xiongxiao
398c41a512 update 2026-01-20 17:34:53 +08:00
xiongxiao
dbd044ec66 clear pnpmstore 2026-01-20 16:00:39 +08:00
2b55c2bd03 update 2026-01-20 15:57:21 +08:00
89470346be udpate 2026-01-20 15:39:46 +08:00
9f20e149a0 feat: 更新依赖项,添加 OpenCode 支持,重构代理和路由逻辑,新增 AGENTS 文档 2026-01-20 02:46:29 +08:00
26b4ffa3a2 feat: 移除fileProxy函数,更新ProxyInfo类型,修复文件代理逻辑 2026-01-19 03:52:16 +08:00
43992d896f feat: 重构代理功能,添加文件代理支持并优化相关逻辑 2026-01-18 13:41:47 +08:00
5e5f4f6543 update 2026-01-18 00:31:57 +08:00
fee5076e16 feat: 更新authFilter以允许对/root路径的公共访问并修改相关消息 2026-01-17 23:34:08 +08:00
91d4fed474 feat: update README with installation command and add debug logs in deploy command
- Added installation command for the CLI tool in README.
- Enhanced deploy command with debug logging for upload results and query app version.
- Integrated useKey for fetching KEVISUAL_TOKEN in get-config module.
- Added debug logging in queryAppVersion for better traceability.
- Updated temp.md with new dependency and example command for deployment.
2026-01-17 23:28:38 +08:00