48 Commits

Author SHA1 Message Date
xiongxiao
f05bf93650 更新 check.ts 中的参数验证库为 zod,升级 package.json 版本并添加 zod 依赖 2026-03-16 22:23:54 +08:00
xiongxiao
95bcad7587 更新 .cnb.yml 中的命令行参数,修改 agent/npc.ts 以支持用户名称,更新 package.json 版本,完善 readme.md 环境变量说明 2026-03-16 22:20:39 +08:00
xiongxiao
d019ee0158 update 2026-03-16 21:55:40 +08:00
xiongxiao
ae5565cda7 更新 NPC 相关逻辑,重构命令行工具,添加新的 CLI 入口,升级依赖版本 2026-03-16 21:45:37 +08:00
a2702915d5 更新 openclaw URL 生成逻辑,修复 token 参数格式;升级依赖版本 2026-03-14 00:07:09 +08:00
xiongxiao
d9fda44e78 更新 CNB 配置获取逻辑,修复未授权问题,添加测试文件 2026-03-13 04:33:16 +08:00
xiongxiao
176c82f1ac 移除未使用的 cnb 导出,更新依赖版本,添加 opencode 客户端示例 2026-03-13 01:56:22 +08:00
xiongxiao
525f0af8ba 添加获取单个 Issue 的功能,更新相关类型和环境变量 2026-03-12 23:47:19 +08:00
2e630b2da9 udpate 2026-03-11 17:04:32 +08:00
79d82a1f8d update 2026-03-11 17:02:50 +08:00
a551cbe79d update 2026-03-11 16:53:01 +08:00
xiongxiao
ef38fc0596 update 2026-03-11 16:15:48 +08:00
14719adbe7 update 2026-03-11 15:44:20 +08:00
fc6a5bd73c test 2026-03-11 15:38:59 +08:00
8379be1630 temp 2026-03-11 15:15:29 +08:00
813005ab9c feat: 添加cnb智能对话接口,支持用户提问和消息列表处理 2026-03-11 15:15:29 +08:00
xiongxiao
38ee73e48f feat: update package version to 0.0.42 and add CNB version fetching functionality
- Updated package version in package.json from 0.0.40 to 0.0.42.
- Added getCNBVersion function to fetch CNB version information from the API.
- Enhanced Issue class with methods for managing comments (list, create, get, update).
- Introduced new NPC and comment environment hooks for better context management.
- Implemented Docker image synchronization route for CNB.
- Added tests for version fetching and issue comment functionalities.
2026-03-10 03:45:02 +08:00
d08345d81c feat: 添加云端构建功能,支持参数配置和环境变量 2026-03-10 01:18:27 +08:00
xiongxiao
7d227d3913 feat: 更新获取CNB配置的路由,优化参数处理并添加错误处理 2026-03-09 19:13:20 +08:00
xiongxiao
382c4809ea feat: 重构CNB管理模块,添加清理记录功能,更新中间件为统一认证方式,优化工作空间相关路由 2026-03-09 18:54:33 +08:00
21ba07e55b feat: 更新保持工作空间存活技能,优化错误处理并添加保活数据 2026-03-07 02:19:49 +08:00
81a3aae8ec fix 2026-03-07 02:08:40 +08:00
dd5331bbaa feat: 添加新的分享路由以获取cnb工作空间中助手的访问地址 2026-03-07 01:50:50 +08:00
2eecbe273e fix 2026-03-06 02:47:00 +08:00
a563f3e0d6 feat: 将所有中间件名称从'admin-auth'更新为'auth-admin',以统一认证方式 2026-03-06 02:45:29 +08:00
327db1e09a feat: 更新获取已关闭工作空间列表的请求,添加pageSize参数以限制返回数量 2026-03-06 02:42:38 +08:00
8465ba7182 feat: 更新端口默认值为51515,添加useKey以获取默认仓库ID,更新创建文件描述信息 2026-03-06 02:39:45 +08:00
841ed6ffa7 feat(cnb-board): add cnb-dev-env routes and related functionalities
- Implemented routes for cnb-board to fetch live environment configurations, repository info, build info, pull request info, NPC info, and comment info.
- Created a utility function to execute shell commands.
- Added a check to determine if the environment is a CNB environment.
- Introduced a method to retrieve live markdown content with detailed service access information.
- Enhanced system information retrieval with CPU, memory, and disk usage metrics.
- Established a module structure for better organization of cnb-board related functionalities.
2026-03-06 02:26:13 +08:00
8ca6b77e4d feat: 更新保持工作空间存活功能,移除wsUrl参数并在createLiveData中生成 2026-02-25 18:31:35 +08:00
d3286e2766 feat: 重构保持工作空间存活功能,更新参数和添加数据管理,新增测试用例 2026-02-25 17:34:49 +08:00
d231f3748a feat: 添加getRepo方法到Repo类以获取仓库信息,并更新相关导入 2026-02-14 18:12:37 +08:00
7a01339ef2 feat: 添加工作空间存活管理功能,重置和清理超时任务,使用 dayjs 格式化时间 2026-01-31 00:40:29 +08:00
6e5a642ab2 feat: 将所有路由的中间件从 'auth' 更新为 'admin-auth',并更新版本至 0.0.13 2026-01-31 00:30:37 +08:00
0d17d56628 feat: 添加工作空间保持存活功能,更新相关依赖和配置 2026-01-30 23:32:40 +08:00
1d4a27d1b2 add:TODO 2026-01-29 13:59:18 +08:00
5db3b4a51b feat(cnb-env): 添加用户登录状态检查路由,更新版本至 0.0.7,移除旧的用户检查路由 2026-01-29 13:34:04 +08:00
86b24cc9ef feat(issue): 添加查询 Issue 列表功能,更新完成 Issue 的状态处理,版本升级至 0.0.6 2026-01-29 13:23:17 +08:00
xiongxiao
20fcf2dca8 feat(issue): add body field to IssueItem type and implement issue creation and completion routes
- Added 'body' field to IssueItem type in index.ts
- Created new routes for issue creation and completion in issue.ts
- Implemented validation for required parameters in issue creation and completion
- Added a new list route for issues in list.ts
2026-01-29 02:50:28 +08:00
xiongxiao
b15b11fa02 feat: 重构代码结构,更新插件导出,添加构建配置和npm配置文件 2026-01-27 04:12:07 +08:00
xiongxiao
50332fe2f4 feat: update package dependencies and add new routes for CNB environment management
- Updated package.json and pnpm-lock.yaml with new dependencies and versions.
- Removed outdated readme files from requirements.
- Enhanced CNB environment configuration in cnb-env.ts with new VS Code remote SSH settings.
- Modified KnowledgeBase class to return structured results.
- Updated Workspace class to return structured results.
- Implemented new routes for managing CNB cookies and VS Code proxy URIs.
- Added AI chat functionality for querying knowledge base.
- Created skills for cleaning up closed workspaces.
2026-01-27 04:02:34 +08:00
xiongxiao
da7b06e519 添加仓库管理功能,包括创建、删除和列出代码仓库,更新依赖安装逻辑,修复环境变量配置 2026-01-19 04:10:20 +08:00
xiongxiao
7787337f13 update add openapi api 2026-01-16 13:03:57 +08:00
xiongxiao
f10f588ea5 更新代码仓库相关功能,修改 API 参数,添加删除仓库功能,更新文档和测试用例 2026-01-16 03:46:14 +08:00
xiongxiao
d85f42d38b update 2026-01-16 02:30:21 +08:00
xiongxiao
65da3f8c60 test env 2026-01-15 23:41:10 +08:00
xiongxiao
d86f4dc48f fix: update 2026-01-13 17:26:38 +08:00
xiongxiao
cedf3236b0 update 2026-01-13 17:04:43 +08:00
5310ff28ae update 2026-01-12 03:18:09 +08:00