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
This commit is contained in:
xiongxiao
2026-01-29 02:50:28 +08:00
parent 8e1880a343
commit 20fcf2dca8
7 changed files with 648 additions and 44 deletions

View File

@@ -5,8 +5,8 @@ import './workspace/index.ts'
import './call/index.ts'
import './cnb-env/index.ts'
import './knowledge/index.ts'
import './issues/index.ts'
import { isEqual } from 'es-toolkit'
/**
* 验证上下文中的 App ID 是否与指定的 App ID 匹配
* @param {any} ctx - 上下文对象,可能包含 appId 属性