@coda-console/plugin-check 0.5.16 → 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/ 网络记录:只记录不拦截,每秒读连接表记下建连卡住的连接(进程、对端、网卡、mihomo 有没有收到),每分钟分段探测常用服务
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 主动把能并行的活按名单派给子会话,汇总后验证;名单与模板在模式参数和设置里
@@ -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];
@@ -1,15 +1,15 @@
1
1
  {
2
- "commit": "36fc7756c4357661250046eaa58bf877095a7e61",
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.1.0",
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": "e4b05f8c5601d812eba278bed21e0fee13ce6760c812162c76f1ab253cdd4e4f",
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": "f91c2426eb655091c3ac2df5d99efe726de66ec318186f40f657c6edf683ddbe",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coda-console/plugin-check",
3
- "version": "0.5.16",
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.1.0",
27
+ "@coda-console/protocol": "1.4.0",
28
28
  "ajv": "8.20.0",
29
29
  "yaml": "2.9.1"
30
30
  },