Commit Graph

61 Commits

Author SHA1 Message Date
xiongxiao
95bcad7587 更新 .cnb.yml 中的命令行参数,修改 agent/npc.ts 以支持用户名称,更新 package.json 版本,完善 readme.md 环境变量说明 2026-03-16 22:20:39 +08:00
xiongxiao
c7a0c6ac3c 更新 bun.config.ts 中 CLI 入口文件路径,升级依赖版本 2026-03-16 21:49:58 +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
cda1d0dc8f test 2026-03-13 03:21:26 +08:00
xiongxiao
176c82f1ac 移除未使用的 cnb 导出,更新依赖版本,添加 opencode 客户端示例 2026-03-13 01:56:22 +08:00
xiongxiao
ef38fc0596 update 2026-03-11 16:15:48 +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
7b8f6fbf9f update 2026-03-10 01:18:52 +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
a40c2352bf chore: 更新版本号至0.0.38 2026-03-09 18:56:56 +08:00
xiongxiao
382c4809ea feat: 重构CNB管理模块,添加清理记录功能,更新中间件为统一认证方式,优化工作空间相关路由 2026-03-09 18:54:33 +08:00
21ba07e55b feat: 更新保持工作空间存活技能,优化错误处理并添加保活数据 2026-03-07 02:19:49 +08:00
dd5331bbaa feat: 添加新的分享路由以获取cnb工作空间中助手的访问地址 2026-03-07 01:50:50 +08:00
a563f3e0d6 feat: 将所有中间件名称从'admin-auth'更新为'auth-admin',以统一认证方式 2026-03-06 02:45:29 +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
5043392939 feat: 更新版本号和依赖项,重构keepAliveFilePath路径以支持新的目录结构 2026-02-28 04:15:06 +08:00
8a6bb9bbe9 feat: 更新createLiveData函数,修改pm2Name格式以包含前缀"keep_" 2026-02-25 18:53:38 +08:00
8ca6b77e4d feat: 更新保持工作空间存活功能,移除wsUrl参数并在createLiveData中生成 2026-02-25 18:31:35 +08:00
d3286e2766 feat: 重构保持工作空间存活功能,更新参数和添加数据管理,新增测试用例 2026-02-25 17:34:49 +08:00
dd691f7a59 feat: 更新版本号和依赖项,添加获取工作空间 Cookie 的功能,新增测试用例 2026-02-25 16:41:41 +08:00
xiongxiao
43b61dc656 chore: 更新依赖项版本,提升兼容性和稳定性 2026-02-20 21:51:44 +08:00
xiongxiao
3ff9e4e374 update 2026-02-20 16:10:51 +08:00
xiongxiao
d16adc07fe Add test for fetching live metadata from cnb issue 2026-02-20 03:53:05 +08:00
47229c6db9 feat: 更新WebSocket Keep-Alive客户端库以支持Bun和Node.js环境,添加统一的消息处理方法,并创建keep.ts文件以初始化KeepAlive 2026-02-15 20:48:45 +08:00
d231f3748a feat: 添加getRepo方法到Repo类以获取仓库信息,并更新相关导入 2026-02-14 18:12:37 +08:00
9bb9f447ec chore: 更新版本号至0.0.24,添加keep模块的外部依赖并更新相关依赖版本 2026-02-14 16:53:30 +08:00
13401d9aa0 更新版本号至0.0.22,重构Repo类的deleteRepo方法并添加WorkspaceLinkDetail接口 2026-02-09 03:51:34 +08:00
a1339014a3 更新版本号至0.0.21,注释掉调试日志并为Workspace类的branch参数设置默认值为'main' 2026-02-09 02:06:01 +08:00
xiongxiao
02a4b86338 feat: add updateRepoInfo method to Repo class and implement build configuration
- Introduced `updateRepoInfo` method in the `Repo` class to allow updating repository information such as description, license, site, and topics.
- Updated test cases to demonstrate the usage of the new `updateRepoInfo` method.
- Modified build script to include a configuration for triggering builds with specific events and environment variables.
- Commented out previous repository list fetching code in tests for clarity.
2026-02-09 00:26:54 +08:00
183c0d5b77 fix cookie modules 2026-02-06 02:02:41 +08:00
236caed041 更新版本号至0.0.18,优化构建脚本,更新@types/node依赖至25.2.1,并重构CNBCore类以提高可读性 2026-02-05 23:53:41 +08:00
388af1cd55 更新版本号至0.0.16,并简化CNBCore子类构造函数的参数传递 2026-02-05 19:49:21 +08:00
ed6a9c5bbc 更新版本号至0.0.15,并优化CNB和Workspace类的构造函数以支持更多选项 2026-02-05 19:45:01 +08:00
ddaa4726ff Refactor code structure for improved readability and maintainability 2026-02-05 19:40:11 +08:00
ee56795461 temp 2026-02-05 19:38:11 +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
972d68b87e feat: 更新版本至 0.0.10,修复依赖项 ws 的位置 2026-01-30 21:25:21 +08:00
d7a4bcf58f feat: 重构 WebSocket Keep-Alive 客户端,添加连接和消息处理功能,更新依赖版本,增加 keep.ts 文件 2026-01-30 21:16:06 +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
e15cf4f7be add version 2026-01-29 13:06:25 +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