Skip to content

Commit c41977c

Browse files
author
CodeBuddy Attribution Bot
committed
fix(attribution): MCP 云应用部署工具参数设计不清晰导致调用失败 (issue_mo8u37em_z3dtl8)
1 parent 6eaebcb commit c41977c

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

  • config
    • .claude/skills/cloudrun-development
    • source/skills/cloudrun-development

config/.claude/skills/cloudrun-development/SKILL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Use CloudBase Run when the task needs a deployed backend service rather than a s
151151
"serverName": "my-svc",
152152
"targetPath": "/abs/ws/my-svc",
153153
"serverConfig": {
154-
"OpenAccessTypes": ["WEB"],
154+
"OpenAccessTypes": ["PUBLIC"],
155155
"Cpu": 0.5,
156156
"Mem": 1,
157157
"MinNum": 1,
@@ -160,6 +160,8 @@ Use CloudBase Run when the task needs a deployed backend service rather than a s
160160
}
161161
```
162162

163+
**Valid `OpenAccessTypes` values**: `OA` (办公网访问), `PUBLIC` (公网访问), `MINIAPP` (小程序访问), `VPC` (VPC访问). Use `PUBLIC` for web applications that need public HTTPS access.
164+
163165
`MinNum: 1` is the recommended default when you want to reduce cold-start latency. If the user explicitly prefers lower cost and accepts more cold starts, explain the tradeoff and let them reduce `MinNum` to `0`.
164166

165167
## Best practices

config/source/skills/cloudrun-development/SKILL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Use CloudBase Run when the task needs a deployed backend service rather than a s
151151
"serverName": "my-svc",
152152
"targetPath": "/abs/ws/my-svc",
153153
"serverConfig": {
154-
"OpenAccessTypes": ["WEB"],
154+
"OpenAccessTypes": ["PUBLIC"],
155155
"Cpu": 0.5,
156156
"Mem": 1,
157157
"MinNum": 1,
@@ -160,6 +160,8 @@ Use CloudBase Run when the task needs a deployed backend service rather than a s
160160
}
161161
```
162162

163+
**Valid `OpenAccessTypes` values**: `OA` (办公网访问), `PUBLIC` (公网访问), `MINIAPP` (小程序访问), `VPC` (VPC访问). Use `PUBLIC` for web applications that need public HTTPS access.
164+
163165
`MinNum: 1` is the recommended default when you want to reduce cold-start latency. If the user explicitly prefers lower cost and accepts more cold starts, explain the tradeoff and let them reduce `MinNum` to `0`.
164166

165167
## Best practices

0 commit comments

Comments
 (0)