@coda-console/plugin-check 0.5.15 → 0.5.17
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/README.md
CHANGED
|
@@ -18,7 +18,7 @@ plugins/codex-accounts/ Codex 多账号:管理登录、自动续期与账号
|
|
|
18
18
|
plugins/cursor/ Cursor:在运行机的 cursor-agent acp 与 Coda 之间转发,送入会话指令
|
|
19
19
|
plugins/host/ 宿主资源:Xcode 构建、Apple 模拟器与项目要求排队的命令共用这台机器的一组名额(组 host、持锁执行 run-held、host-sim),面板「构建与模拟器名额」
|
|
20
20
|
plugins/magpie/ Magpie:把本机的 Magpie 网关作为模型服务提供给 Pi 等插件,安装时装好 Magpie 并让网关常驻
|
|
21
|
-
plugins/network-log/
|
|
21
|
+
plugins/network-log/ 网络记录:默认关闭,按需开启建连等待与定时探测采集;关闭后仍可查看历史
|
|
22
22
|
plugins/review/ PR 生命流程:会话开的 PR 先跑项目的检查、再交叉评审,你批准后合并、部署与发布;也是写 PR 流程的样例
|
|
23
23
|
plugins/testbed/ 测试机:长插在 Mac 上的 iPhone、iPad 只经 use-testbed 使用,排到后装 App、交给会话操作、用完切黑屏;依赖宿主资源
|
|
24
24
|
plugins/ultra/ Ultra:输入框的 Ultra 模式,主 Agent 主动把能并行的活按名单派给子会话,汇总后验证;名单与模板在模式参数和设置里
|
package/check/coda/builtin.json
CHANGED
|
@@ -1365,14 +1365,14 @@
|
|
|
1365
1365
|
"id": "review",
|
|
1366
1366
|
"displayName": "PR 生命流程",
|
|
1367
1367
|
"description": "会话开的 PR 从开出来起一条流程:每个新版本先跑项目声明的检查,再请另一家 Agent 评审,要求修改时交给开 PR 的会话处理、有分歧时交给你仲裁;通过后请你批准合并,跑过项目的合并前检查再合并,合并后按你的选择删除远程分支、调用项目的部署和发布流程,PR 合并或关闭时结束。",
|
|
1368
|
-
"version": "2.8.
|
|
1368
|
+
"version": "2.8.1",
|
|
1369
1369
|
"category": "工作流程",
|
|
1370
1370
|
"source": {
|
|
1371
1371
|
"kind": "builtin",
|
|
1372
1372
|
"package": "@coda-console/review",
|
|
1373
1373
|
"tag": "latest",
|
|
1374
|
-
"version": "2.8.
|
|
1375
|
-
"integrity": "sha512-
|
|
1374
|
+
"version": "2.8.1",
|
|
1375
|
+
"integrity": "sha512-E66oq5q8uSHo/n5LFHdUuFMimLYJ15hbBae3PdBol/N6ccR0m9OQXcztvNyEVywlppvJYh+o4w+b0b5vdEQ2SQ==",
|
|
1376
1376
|
"repo": "https://github.com/coda-console/coda-plugins.git",
|
|
1377
1377
|
"path": "plugins/review"
|
|
1378
1378
|
},
|
|
@@ -14,6 +14,7 @@ export function agentDeclarations(raw = [], dir) {
|
|
|
14
14
|
id: agent.id, displayName: agent.displayName,
|
|
15
15
|
icon: { light: icon(dir, agent.icon.light), ...(agent.icon.dark !== undefined ? { dark: icon(dir, agent.icon.dark) } : {}), template: agent.icon.template === true },
|
|
16
16
|
command: agent.command,
|
|
17
|
+
...(agent.lifecycle !== undefined ? { lifecycle: agent.lifecycle } : {}),
|
|
17
18
|
modes: Object.fromEntries(MODES.filter(key => agent.modes?.[key] !== undefined).map(key => [key, agent.modes[key]])),
|
|
18
19
|
...(agent.skillsDir !== undefined ? { skillsDir: normalize(agent.skillsDir) } : {}),
|
|
19
20
|
configFiles: [...(agent.configFiles ?? [])],
|
|
@@ -60,7 +60,8 @@ function setting(value, where) {
|
|
|
60
60
|
if (value.items.modelApis) out.modelApis = [...new Set(value.items.modelApis)];
|
|
61
61
|
} else if (value.type === 'array' && value.items.type === 'object') out.rows = setting(value.items, `${where}.items`);
|
|
62
62
|
else if (value.type === 'array') out.options = value.items.anyOf.map(option => ({ value: option.const,
|
|
63
|
-
...(option.title ? { title: option.title } : {}), ...(option.description ? { description: option.description } : {})
|
|
63
|
+
...(option.title ? { title: option.title } : {}), ...(option.description ? { description: option.description } : {}),
|
|
64
|
+
...(option.workflowKind ? { workflowKind: option.workflowKind } : {}) }));
|
|
64
65
|
else if (value.type === 'object' && value.properties) {
|
|
65
66
|
out.columns = Object.fromEntries(Object.entries(value.properties).map(([name, column]) => [name, setting(column, `${where}.properties.${name}`)]));
|
|
66
67
|
if (value.required?.length) out.required = [...value.required];
|
package/check/coda/contract.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commit": "
|
|
2
|
+
"commit": "7a6850681534da5b80d166865fbc2f5ba356b3b6",
|
|
3
3
|
"packages": {
|
|
4
4
|
"@0dep/piso": "5.2.0",
|
|
5
5
|
"@agentclientprotocol/sdk": "1.4.0",
|
|
6
|
-
"@coda-console/protocol": "1.
|
|
6
|
+
"@coda-console/protocol": "1.4.0",
|
|
7
7
|
"yaml": "2.9.1"
|
|
8
8
|
},
|
|
9
9
|
"files": {
|
|
10
|
-
"check/coda/components/plugins/agent-plugins.mjs": "
|
|
10
|
+
"check/coda/components/plugins/agent-plugins.mjs": "d117702f83c988aa89c2e5ae26aafd6ae3e8ba0829adaeedf9e8640f5f8282be",
|
|
11
11
|
"check/coda/components/plugins/plugin-extensions.mjs": "91badae3de3c5a015d83d425def2593ffcd451576fb5f07309888f09d3157b52",
|
|
12
|
-
"check/coda/components/plugins/plugin-rules.mjs": "
|
|
12
|
+
"check/coda/components/plugins/plugin-rules.mjs": "eb4ba82ea871c03116a4edfe84ef6e423d15a17bcd66c56e732af6255f9624dd",
|
|
13
13
|
"check/coda/components/plugins/plugin-source-rules.mjs": "4eedfd024c0824b1fed78be106f1a2827ffc3dd35ac0c69b8b0c61a59af42efd",
|
|
14
14
|
"check/coda/components/plugins/skill-document.mjs": "c5b5e815c42cd836572f7b60e22a46af6ac607fd9df0170fa36f955825636ce6",
|
|
15
15
|
"check/coda/components/prompt-recovery/prompt-recovery.mjs": "f43f21d24c19a58113d3304f9248225b12080ab00ed15eab74bf7b94642732de",
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"check/coda/resources/plugins/resources/panels/panels.mjs": "9e25cfbc16ed9f68101fc7bfc34b8056c13a29d2368c5561e65e333233eb921e",
|
|
25
25
|
"check/coda/resources/plugins/resources/panels/rules.mjs": "8418ed83b796f18047c154d8dea8dca7d98244af8ddfe3ddf188520c59324ee8",
|
|
26
26
|
"check/coda/resources/plugins/resources/panels/sign-in.mjs": "1271a24e33b1b882a1fb9bee03b8e240db8b9bee1b5208f0e1c84499cfb1be7e",
|
|
27
|
-
"check/coda/builtin.json": "
|
|
27
|
+
"check/coda/builtin.json": "65375d1d8bd394ff5ffb6c3f803b53dffa3c9e17bfdc35b44daefd5dcf9e1790"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coda-console/plugin-check",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.17",
|
|
4
4
|
"description": "Coda 插件的契约检查:扮演 Coda 读清单、启动 Agent 讲 ACP 与 _coda/wait、读面板。",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@0dep/piso": "5.2.0",
|
|
26
26
|
"@agentclientprotocol/sdk": "1.4.0",
|
|
27
|
-
"@coda-console/protocol": "1.
|
|
27
|
+
"@coda-console/protocol": "1.4.0",
|
|
28
28
|
"ajv": "8.20.0",
|
|
29
29
|
"yaml": "2.9.1"
|
|
30
30
|
},
|