@coda-console/plugin-check 0.7.2 → 0.7.4

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.
@@ -32,6 +32,39 @@
32
32
  "extensions": [],
33
33
  "instructions": "权限受阻时,先走原生权限升级或审批(如 Codex 的 require_escalated)。原生机制不可用、仍受权限阻拦或需用户明确授权时,才调用 workflow_run,workflow 为 approve-command,inputs 给 command、cwd(绝对路径)、reason(一行)。用户批准后由 Coda 执行,结果随调用或稍后送达;用户明确拒绝后不换方式重试。"
34
34
  },
35
+ {
36
+ "id": "ask-user",
37
+ "displayName": "提问",
38
+ "description": "Agent 要你补充信息或拿主意时出一张卡片,你的答复交回它",
39
+ "version": "1.0.0",
40
+ "category": "工作流程",
41
+ "icon": {
42
+ "symbol": "questionmark.bubble.fill",
43
+ "color": "pink"
44
+ },
45
+ "readme": true,
46
+ "source": {
47
+ "kind": "builtin"
48
+ },
49
+ "dir": "src/resources/plugins/ask-user",
50
+ "title": "提问",
51
+ "properties": {},
52
+ "workflows": [],
53
+ "capabilities": [
54
+ "ask-user"
55
+ ],
56
+ "services": [],
57
+ "groups": [],
58
+ "commands": [],
59
+ "gitCredentials": [],
60
+ "endpoints": [],
61
+ "views": [],
62
+ "agents": [],
63
+ "dependencies": [],
64
+ "extensionPoints": {},
65
+ "extensions": [],
66
+ "instructions": "要用户补充信息或拿主意才能做下去时,有原生提问工具(如 AskUserQuestion)就用它;没有就调用 workflow_run,workflow 为 ask-user,inputs 给 question(一行)、detail(背景与要补充什么,可省略)。不要结束这一轮在回复里问;答复随调用或稍后送达。"
67
+ },
35
68
  {
36
69
  "id": "changes",
37
70
  "displayName": "变更",
@@ -1,9 +1,9 @@
1
1
  {
2
- "commit": "237c4c0b952b9acdfb1dd6e5edbc28826e62fb7d",
2
+ "commit": "08243f7eabea39b669dca4e23abaf96d3f004b5e",
3
3
  "packages": {
4
4
  "@0dep/piso": "5.2.0",
5
5
  "@agentclientprotocol/sdk": "1.4.0",
6
- "@coda-console/protocol": "3.1.0",
6
+ "@coda-console/protocol": "3.2.0",
7
7
  "ajv": "8.20.0",
8
8
  "yaml": "2.9.1"
9
9
  },
@@ -23,7 +23,7 @@
23
23
  "check/coda/components/workflows/executor-labels.mjs": "dceca6ae60c0a4f3c3cc72a6c84f1489831790774c93caab96e4ddb493bc89e1",
24
24
  "check/coda/domain/agent-protocol.mjs": "769cc10dc21b3cef7718f94272aaef2d17d4882d42617b408cb47357abfc3bcb",
25
25
  "check/coda/domain/duration.mjs": "15dd64ef9b02342ad521c66e5968a569432a89dc7568d11afd3e6f3fe37e104b",
26
- "check/coda/domain/errors.mjs": "ddc00aef9bb6f9a56845a9926c82200628a906230d31212d88fcde48e36dfd36",
26
+ "check/coda/domain/errors.mjs": "8319c6759c5b16b692f5e0a6208d066e43882c571da1075bff8698761020daef",
27
27
  "check/coda/domain/resource-admission.mjs": "775b1d7067f9d8487a3504d737f3f4bea31adf77af3357ed42e313805e5188e7",
28
28
  "check/coda/domain/plugin-services.mjs": "940a72a14da980188a32c790c7f341d3ec0062a6e87ef1ebc9ef051798ea0a75",
29
29
  "check/coda/domain/resource-kinds.mjs": "32d020457484823ce8c2ce1c6ec10cef9d6dabafc4d0c640b4084a8339622930",
@@ -33,6 +33,6 @@
33
33
  "check/coda/resources/plugins/resources/panels/panels.mjs": "4862dccd91c29db76caf1033ffeab743c7943befaca7406a56467c470b90a1b8",
34
34
  "check/coda/resources/plugins/resources/panels/rules.mjs": "d5b12f3e0e5040224314e5d2de2bd49f5b1ed24ea205590ff99a54e8b4e96d7f",
35
35
  "check/coda/resources/plugins/resources/panels/sign-in.mjs": "1271a24e33b1b882a1fb9bee03b8e240db8b9bee1b5208f0e1c84499cfb1be7e",
36
- "check/coda/builtin.json": "340ef5739853f3f6810a624d4f3851d3c3e35795038b7a2529ec1fc4858b3cf3"
36
+ "check/coda/builtin.json": "799f4035590d189192db9c4eab1ddaa3e159d1e7cb82786967dcf460f5509a7d"
37
37
  }
38
38
  }
@@ -11,4 +11,4 @@ export function requireCondition(condition, code, message) {
11
11
  }
12
12
 
13
13
  // A remote request was conclusively refused. Other errors leave its outcome uncertain and can be retried.
14
- export const REFUSED = new Set(['forbidden', 'not_found', 'invalid_input', 'invalid_state', 'idempotency_conflict', 'call_ended']);
14
+ export const REFUSED = new Set(['forbidden', 'not_holder', 'not_found', 'invalid_input', 'invalid_state', 'idempotency_conflict', 'call_ended']);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coda-console/plugin-check",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
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": "3.1.0",
27
+ "@coda-console/protocol": "3.2.0",
28
28
  "ajv": "8.20.0",
29
29
  "yaml": "2.9.1"
30
30
  },