Commit Graph

102 Commits

Author SHA1 Message Date
8875c0ea3d fix: 更新版本号至 0.1.9,并升级 @inquirer/prompts 依赖至 8.3.0 2026-02-23 18:36:42 +08:00
xiongxiao
e377557587 fix: 更新 @kevisual/api 依赖至 0.0.59,并优化本地用户检查逻辑 2026-02-22 00:07:02 +08:00
75953498e6 fix: 更新 @kevisual/api 依赖至 0.0.58,并优化本地用户检查逻辑 2026-02-21 22:25:44 +08:00
c0edd2cbbf fix: 更新 @kevisual/api 依赖至 0.0.57,并移除过时的查询配置文件 2026-02-21 07:35:51 +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
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
34697e07b5 temp 2026-02-11 23:59:13 +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
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
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
9051df7a37 update pnpm-lock.yaml 2026-01-28 11:26:59 +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
c2f5f504d3 update 2026-01-27 22:24:29 +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
6cf3beae94 update 2026-01-25 02:56:56 +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
89470346be udpate 2026-01-20 15:39:46 +08:00
9f20e149a0 feat: 更新依赖项,添加 OpenCode 支持,重构代理和路由逻辑,新增 AGENTS 文档 2026-01-20 02:46:29 +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
2f79925e3d update 2026-01-17 16:19: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
8549a4aa53 feat: migrate from inquirer to @inquirer/prompts for interactive prompts
- Replaced inquirer with @inquirer/prompts in various command files for improved prompt handling.
- Updated confirmation and input prompts in commands such as app, config, deploy, login, and others.
- Added a new command 'cc' for switching between Claude code models with appropriate configurations.
- Enhanced user experience by ensuring prompts are more streamlined and consistent across the application.
2026-01-15 09:17:07 +08:00
a90f98ef3f 更新依赖并增强应用管理命令功能 2025-12-29 03:33:11 +08:00
9647fcf48f update 2025-12-29 01:54:45 +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
4bdebd66d4 feat: 更新依赖项版本,添加新功能并重构代码,增强 ASR 服务和灯光控制逻辑 2025-12-23 00:40:09 +08:00
f12fea7246 feat: 更新依赖项版本,增强代理请求处理逻辑,调整 WebSocket 路由和 API 代理配置 2025-12-21 06:40:16 +08:00
36628c8279 feat: update WebSocket connection and add system version sending functionality
- Changed WebSocket connection URL to localhost for testing.
- Added a function to send system version to the server upon connection and after a delay.
- Improved logging for received messages.

chore: update package dependencies

- Bump versions for several dependencies including @kevisual/query, lucide-react, vue, and others.
- Update package manager version to pnpm@10.26.1.

fix: adjust app initialization to use sessionStorage

- Modified the app initialization to use a custom sessionStorage implementation backed by an LRU cache.

feat: implement sessionStorage with LRU cache

- Added a new module for sessionStorage that utilizes LRUCache for efficient caching.
2025-12-21 04:20:25 +08:00
bafe51f140 add package kevisual/api 2025-12-19 18:54:25 +08:00
fb2b2d4d6f feat: add kv-code dependency and integrate kv-code editor in settings
- Added @kevisual/kv-code dependency to package.json
- Integrated kv-code editor in the FirstLogin and Config components
- Updated layout to include ToastContainer for notifications
- Implemented saveConfig functionality in store with success notifications
- Created detailed configuration documentation in 10-config.md
- Added typings.d.ts for type definitions
2025-12-19 13:10:46 +08:00
5b610fd600 init cli center 2025-12-18 01:51:51 +08:00
22de8cad52 fix: 移除不再使用的依赖项 '@kevisual/hot-api' 和 '@nut-tree-fork/nut-js' 2025-12-17 21:33:06 +08:00
73d98a1209 chore: update dependencies and package versions
- Bump packageManager from pnpm@10.25.0 to pnpm@10.26.0
- Update @kevisual/router from ^0.0.37 to ^0.0.39
- Update @types/node from ^24.10.2 to ^25.0.3
- Update inquirer from ^13.0.2 to ^13.1.0
- Update lodash-es from ^4.17.21 to ^4.17.22
- Update send from ^1.2.0 to ^1.2.1
- Update version of @kevisual/cli from 0.0.74 to 0.0.75 in package.json
- Update pnpm-lock.yaml to reflect changes in dependencies and versions
2025-12-17 20:22:30 +08:00
2393cbefbb fix: 修复下载配置文件失败时的错误处理逻辑 2025-12-17 12:18:55 +08:00
4aeb3637bf feat: enhance AI commands and logging system
- Update @kevisual/query to 0.0.32 and @kevisual/router to 0.0.37
- Restructure AI command interface with run and deploy subcommands
- Add comprehensive logging throughout cmd-execution flow
- Improve sync module with better configuration handling
- Add clickable link functionality in logger
- Enhance error handling and debugging capabilities

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-10 17:45:09 +08:00
5b83f7a6d1 up 2025-12-09 13:40:41 +08:00
ee33208e6c fix: fix hot-api for not build in bun app.mjs 2025-12-05 20:53:25 +08:00
94e331e376 update 2025-12-05 20:01:12 +08:00
2dee724ec8 update add remote config 2025-12-04 02:29:42 +08:00