Commit Graph

119 Commits

Author SHA1 Message Date
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
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
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
76a7dc0082 fix: 修复应用键生成逻辑,确保键值不以斜杠开头 2026-01-29 01:56:29 +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
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
59b3961ff9 temp 2026-01-22 12:51:44 +08:00
ddfdb63598 fix: 修复配置文档中的表格格式;添加路由配置示例 2026-01-22 01:53:51 +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
xiongxiao
2eeaf991b9 update 2026-01-20 20:05:45 +08:00
ddba845ce7 fix: 更新缓存文件路径的创建逻辑 2026-01-20 17:45:59 +08:00
xiongxiao
398c41a512 update 2026-01-20 17:34:53 +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
5395449751 update 2026-01-17 20:19:07 +08:00
2cb12644ea update 2026-01-17 16:50:29 +08:00
e1b86aa809 udpate 2026-01-17 16:41:50 +08:00
2f79925e3d update 2026-01-17 16:19:49 +08:00
0b5a0557ee update 2026-01-17 14:48:49 +08:00
cc043bfd7e update 2026-01-17 01:13:55 +08:00
6a375db5a1 update 2026-01-15 18:59:06 +08:00
a5ce44ba70 更新依赖,增强ASR功能,优化代理路由处理,添加登录页面渲染 2026-01-15 12:42:39 +08:00
3de89b6985 update 2025-12-29 14:42:50 +08:00
a90f98ef3f 更新依赖并增强应用管理命令功能 2025-12-29 03:33:11 +08:00
9647fcf48f update 2025-12-29 01:54:45 +08:00
f1f2d81201 update add asr config 2025-12-29 01:53:07 +08:00
9f580a7709 update 2025-12-29 01:34:21 +08:00
91409861b9 update 2025-12-29 01:34:06 +08:00
a52ac525bf feat: 更新依赖项版本,调整 pnpm-lock.yaml 和 package.json 中的 @kevisual/ha-api 版本,优化 WebSocket 处理逻辑 2025-12-24 00:28:39 +08:00
371d66b289 feat: 优化 getToken 函数,移除无用的响应参数,调整授权过滤逻辑以支持新路径 2025-12-23 13:15:16 +08:00
4bdebd66d4 feat: 更新依赖项版本,添加新功能并重构代码,增强 ASR 服务和灯光控制逻辑 2025-12-23 00:40:09 +08:00
03be62cfe6 feat: 重命名代理响应流传输函数,增强代码可读性 2025-12-21 14:19:57 +08:00
f12fea7246 feat: 更新依赖项版本,增强代理请求处理逻辑,调整 WebSocket 路由和 API 代理配置 2025-12-21 06:40:16 +08:00
8007315c66 feat: 更新 WebSocket 路由,添加缺失的路由配置并调整测试用例 2025-12-21 04:42:36 +08:00