Commit Graph

45 Commits

Author SHA1 Message Date
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
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
7787337f13 update add openapi api 2026-01-16 13:03:57 +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
cedf3236b0 update 2026-01-13 17:04:43 +08:00
1ce4e584b6 update 2026-01-12 03:21:14 +08:00
5310ff28ae update 2026-01-12 03:18:09 +08:00
a62b687f81 update 2025-12-17 14:32:45 +08:00
6a579b3ae0 update 2025-12-15 17:14:43 +08:00
52ccf115fb feat: 添加 Repo 和 User 模块,增强 CNBCore 功能 2025-12-15 17:08:39 +08:00
57660d2d9c update 2025-12-04 20:05:56 +08:00