Commit Graph

148 Commits

Author SHA1 Message Date
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
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
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
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
e6042e025f feat: 添加buildByConfig2方法以支持新的构建配置,并创建build-log.ts文件 2026-02-25 15:50:06 +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
24ee793db1 up: 2026-02-20 14:58 2026-02-20 14:59:01 +08:00
xiongxiao
d16adc07fe Add test for fetching live metadata from cnb issue 2026-02-20 03:53:05 +08:00
xiongxiao
0ebc94a7d0 简化 cnb 配置,移除 gitea 同步相关配置 2026-02-19 21:26:04 +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
ea137eb70b fix: 更新stopWorkspace方法的返回类型为Result 2026-02-09 19:55:02 +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
xiongxiao
9d811afeb4 test 2026-02-02 18:16:21 +08:00
xiongxiao
840d2b557e temp 2026-02-02 18:15:03 +08:00
xiongxiao
69f2f4dc6a test add git modules 2026-02-02 04:46:21 +08:00
412c057756 update 2026-02-01 21:13:36 +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
28484baab3 feat: 更新 WebSocket Keep-Alive 客户端,添加 ws 作为外部依赖,修正导入路径 2026-01-30 21:23:40 +08:00