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.
This commit is contained in:
xiongxiao
2026-03-10 03:45:02 +08:00
committed by cnb
parent 7b8f6fbf9f
commit 38ee73e48f
14 changed files with 927 additions and 115 deletions

View File

@@ -9,6 +9,7 @@ import './issues/index.ts'
import './cnb-board/index.ts';
import './share/index.ts';
import './cnb-manager/index.ts';
import './build/index.ts';
/**
* 验证上下文中的 App ID 是否与指定的 App ID 匹配