@kevisual/cnb 0.0.44 → 0.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agent/modules/cnb-manager.ts +5 -3
- package/agent/routes/cnb-board/live/live-content.ts +1 -1
- package/agent/routes/cnb-manager/test.ts +6 -0
- package/dist/cli.js +628 -12958
- package/dist/keep.js +16 -34
- package/dist/opencode.js +2988 -15318
- package/dist/routes.js +585 -12915
- package/package.json +3 -3
- package/src/issue/npc/env.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kevisual/cnb",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.46",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"basename": "/root/cnb",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@kevisual/dts": "^0.0.4",
|
|
39
39
|
"@kevisual/remote-app": "^0.0.7",
|
|
40
40
|
"@kevisual/types": "^0.0.12",
|
|
41
|
-
"@opencode-ai/plugin": "^1.2.
|
|
41
|
+
"@opencode-ai/plugin": "^1.2.25",
|
|
42
42
|
"@types/bun": "^1.3.10",
|
|
43
43
|
"@types/node": "^25.5.0",
|
|
44
44
|
"@types/ws": "^8.18.1",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@kevisual/query": "^0.0.53",
|
|
58
58
|
"@kevisual/router": "^0.1.1",
|
|
59
59
|
"@kevisual/use-config": "^1.0.30",
|
|
60
|
-
"@opencode-ai/sdk": "^1.2.
|
|
60
|
+
"@opencode-ai/sdk": "^1.2.25",
|
|
61
61
|
"es-toolkit": "^1.45.1",
|
|
62
62
|
"nanoid": "^5.1.6",
|
|
63
63
|
"unstorage": "^1.17.4",
|
package/src/issue/npc/env.ts
CHANGED
|
@@ -128,6 +128,7 @@ export const useIssueEnv = () => {
|
|
|
128
128
|
const issueState = useKey("CNB_ISSUE_STATE");
|
|
129
129
|
const issueIsResolved = useKey("CNB_ISSUE_IS_RESOLVED");
|
|
130
130
|
const issueAssignees = useKey("CNB_ISSUE_ASSIGNEES");
|
|
131
|
+
const issueLabels = useKey("CNB_ISSUE_LABELS");
|
|
131
132
|
const issuePriority = useKey("CNB_ISSUE_PRIORITY");
|
|
132
133
|
|
|
133
134
|
return {
|
|
@@ -179,6 +180,12 @@ export const useIssueEnv = () => {
|
|
|
179
180
|
*/
|
|
180
181
|
issueAssignees,
|
|
181
182
|
issueAssigneesLabel: "Issue 处理人列表",
|
|
183
|
+
/**
|
|
184
|
+
* @key CNB_ISSUE_LABELS
|
|
185
|
+
* @description:Issue 标签列表, 多个以 , 分隔。
|
|
186
|
+
*/
|
|
187
|
+
issueLabels,
|
|
188
|
+
issueLabelsLabel: "Issue 标签列表, 多个以 , 分隔。",
|
|
182
189
|
/**
|
|
183
190
|
* @key CNB_ISSUE_PRIORITY
|
|
184
191
|
* @description:Issue 优先级
|