@coda-console/claude 1.17.1 → 1.18.0
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 +2 -0
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Claude SDK Agent:Coda 基于 Claude Agent SDK 写的 ACP 入口,一个进程一个 SDK 会话;资源页的「Claude」显示会话报告的额度,可从 Coda 登录。
|
|
4
4
|
|
|
5
|
+
**审批模式**:清单最低 `engines.coda: 21`,按 API Level 21 的四级模式登记:人工审批档 `default`、自动审批档 `auto`、完全放开档 `bypassPermissions`,安全模式 `plan`、`dontAsk`;未选档时默认等效 `manual`。其余模式(如 `acceptEdits`)未登记,按 `auto` 归档。
|
|
6
|
+
|
|
5
7
|
## MCP 配置不进命令行
|
|
6
8
|
|
|
7
9
|
Coda 交来的 MCP 服务(含 `coda` 服务 `env` 里的令牌 `CODA_TOKEN`)若交给 SDK 的 `mcpServers`,会被写成 `--mcp-config '<JSON>'` 放进 Claude 进程的命令行参数,同一台机器上别的用户看得见。
|
package/package.json
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"id": "claude",
|
|
4
4
|
"displayName": "Claude",
|
|
5
5
|
"description": "用 Claude Agent SDK 跑会话",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.18.0",
|
|
7
7
|
"engines": {
|
|
8
|
-
"coda":
|
|
8
|
+
"coda": 21
|
|
9
9
|
},
|
|
10
10
|
"categories": [
|
|
11
11
|
"Agent"
|
|
@@ -27,8 +27,11 @@
|
|
|
27
27
|
"title": "审批模式",
|
|
28
28
|
"unset": "Agent 默认",
|
|
29
29
|
"note": "未选择时从人工审批开始;Claude 自己切换的模式保持不变。",
|
|
30
|
+
"manual": "default",
|
|
30
31
|
"auto": "auto",
|
|
31
|
-
"full": "bypassPermissions"
|
|
32
|
+
"full": "bypassPermissions",
|
|
33
|
+
"safe": ["plan", "dontAsk"],
|
|
34
|
+
"default": "manual"
|
|
32
35
|
},
|
|
33
36
|
"skillsDir": ".claude/skills",
|
|
34
37
|
"configFiles": [
|