Commit Graph

167 Commits

Author SHA1 Message Date
xiongxiao
0476b24c14 fix: 修复 AssistantConfig 中 id 的赋值逻辑并更新版本号至 0.1.29 2026-03-18 19:11:39 +08:00
xiongxiao
57326c14d6 Refactor code structure for improved readability and maintainability 2026-03-18 19:08:43 +08:00
xiongxiao
35d3cae9f1 update 2026-03-16 03:23:40 +08:00
xiongxiao
b7e2bdcb1c feat: 添加获取 OpenCode 可用模型列表的功能,并优化创建客户端的参数 2026-03-16 02:13:51 +08:00
xiongxiao
c3bc0d2465 feat: 添加 OpenCode 会话管理功能,支持列出、获取、创建、更新和删除会话 2026-03-16 01:35:36 +08:00
xiongxiao
bcb5552ebc update 2026-03-15 20:59:42 +08:00
xiongxiao
342b68abe3 Refactor code structure for improved readability and maintainability 2026-03-15 04:22:35 +08:00
xiongxiao
4e8eb06f56 chore: 添加 cnb.ts 导入并更新版本号至 0.1.24 2026-03-14 02:19:12 +08:00
xiongxiao
85a88cdf1a udpate 2026-03-13 18:10:50 +08:00
xiongxiao
fdfea838a3 update 2026-03-13 15:32:00 +08:00
xiongxiao
0a2b1a0042 chore: 更新依赖版本并调整开发脚本配置 2026-03-13 04:35:36 +08:00
xiongxiao
8d85e83418 feat(auth): add authentication routes and user token handling
- Implemented user authentication routes in `auth.ts` for fetching current user info and admin verification.
- Added caching mechanism for user tokens to improve performance.
- Created middleware for admin authentication.

feat(opencode): create OpenCode client route

- Added `opencode-cnb` route for creating OpenCode clients with session management.
- Integrated OpenCode SDK for client operations and session handling.

refactor(client): encapsulate OpenCode client creation

- Created a utility function `getClient` in `client.ts` to initialize OpenCode clients.

test(opencode): add tests for OpenCode routes

- Implemented test cases for OpenCode routes in `list.ts` to validate functionality.
- Created common utilities for testing in `common.ts`.
2026-03-13 04:04:47 +08:00
bd0ce0058e update 2026-03-12 23:21:01 +08:00
3243baa872 Refactor code structure for improved readability and maintainability 2026-03-12 13:51:13 +08:00
060595c352 feat: 更新多个依赖版本,添加客户端认证模块及缓存功能 2026-03-09 19:00:34 +08:00
6aeff117dc feat: 更新 @kevisual/router 版本至 0.0.89;添加 download 命令模块以支持文件下载 2026-03-09 01:24:45 +08:00
cb8e709c5d fix(deploy): set default version to 1.0.0 and generate key using nanoid; remove confirmation prompt 2026-03-08 14:07:18 +08:00
ad494248cc feat: 更新 RemoteApp 初始化逻辑,添加 token 参数;更新版本号至 0.1.16 2026-03-05 04:16:08 +08:00
5594123cc7 feat: 更新 RemoteApp 类,增加 isVerified 属性及验证等待逻辑;优化错误日志输出 2026-03-05 04:15:04 +08:00
3b383639d6 feat: 增强 RemoteApp 支持用户名;更新 light-code 路由处理逻辑;优化 SyncBase 文件路径检查 2026-03-05 02:45:51 +08:00
73d0fb9730 feat: 更新获取配置接口,增加动态获取访问地址功能 2026-02-28 04:33:24 +08:00
acd88fb815 feat: 更新保活说明,增强对 opencode web 访问的说明 2026-02-27 23:47:39 +08:00
31a7a99dbd feat: 优化文档内容,移除冗余信息并增强保活说明;调整构建信息数据类型 2026-02-27 01:43:18 +08:00
a9ce575be5 Refactor code structure for improved readability and maintainability 2026-02-26 02:18:48 +08:00
22ef776b27 feat: 限制远程应用最大重连次数为 50,增强错误日志信息;调整 cnb-board 路由逻辑 2026-02-24 23:53:21 +08:00
37e00a9ff3 feat: 添加非 cnb-board 环境检查,更新相关路由返回值;更新版本号至 0.1.12,新增 common.ts 文件 2026-02-24 23:44:05 +08:00
d3104bd5a5 feat: 根据 CNB 环境变量调整助手配置文件的 home 路径 2026-02-24 18:51:20 +08:00
xiongxiao
6795cef3d5 v0.1.11 2026-02-24 05:13:42 +08:00
dff858d820 feat: 添加获取 cnb-board live mdContent 内容的路由,修正时间戳处理 2026-02-24 02:12:05 +08:00
f67ca752f3 update 2026-02-24 01:39:59 +08:00
bda7fc3b92 feat: 更新依赖版本,添加 cnb-board 环境检查功能 2026-02-24 01:23:52 +08:00
58a0e9e61f feat: 添加 cnb-board 路由以支持退出程序功能 2026-02-23 18:56:20 +08:00
4b935036ad fix: 修正 OpenClaw 服务访问地址,添加 '/openclaw' 路径 2026-02-23 18:43:59 +08:00
d6e3f67ac3 feat: 添加 cnb-board 路由及相关功能,获取 live 的 repo、构建、PR、NPC 和评论信息,并更新文档
fix: 更新 SKILL.md 文件格式,调整 metadata 标签位置
2026-02-23 18:36:11 +08:00
xiongxiao
88313d5b8e fix: 更新 AssistantConfig 以启用共享功能,并优化本地用户检查逻辑 2026-02-22 00:20:59 +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
a4a5ed0b50 fix: 更新用户信息命令以使用新的获取令牌逻辑,并优化本地用户检查功能 2026-02-21 22:19:30 +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
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
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
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