70 lines
2.8 KiB
JSON
70 lines
2.8 KiB
JSON
{
|
|
"product_id": "pat",
|
|
"tools": {
|
|
"pat browser-policy": {
|
|
"agent_summary": "配置 PAT 授权时是否打开浏览器",
|
|
"agent_summary_source": "dws-command-surface-review",
|
|
"use_when": [
|
|
"PAT 授权时允许或禁止打开浏览器/配置浏览器授权策略",
|
|
"允许 PAT 授权流程打开本地浏览器",
|
|
"禁止指定 Agent 的 PAT 授权流程打开本地浏览器",
|
|
"配置 PAT 授权时是否打开浏览器"
|
|
],
|
|
"avoid_when": [
|
|
"仅需查询状态或预览结果、不应产生“配置 PAT 授权时是否打开浏览器”所述变更时不要使用"
|
|
],
|
|
"effect": "write",
|
|
"effect_source": "command-verb",
|
|
"risk": "medium",
|
|
"confirmation": "not_required",
|
|
"idempotency": "unknown",
|
|
"examples": [
|
|
"dws pat browser-policy --enabled --format json",
|
|
"dws pat browser-policy --enabled=false --agentCode \u003cAGENT_CODE\u003e --format json"
|
|
],
|
|
"reviewed": true,
|
|
"source_refs": [
|
|
"skills/mono/references/products/pat.md",
|
|
"skills/mono/schema-hints/catalog-completeness.json",
|
|
"skills/mono/schema-hints/selection-review.json"
|
|
],
|
|
"interface_mode": "local",
|
|
"availability": "available",
|
|
"interface_reason": "命令仅操作本地进程或策略文件,不调用 MCP 接口"
|
|
},
|
|
"pat chmod": {
|
|
"agent_summary": "按可信上下文为当前用户执行 PAT 批量授权,支持 dryRun 和 pending flow。",
|
|
"agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32",
|
|
"use_when": [
|
|
"执行批量行为授权(高影响,必须先让用户确认)",
|
|
"授予 Agent 行为权限/授权 scope/批量授权产品/一次性授权/会话授权/永久授权",
|
|
"预览按产品展开的批量授权计划,不写入授权"
|
|
],
|
|
"avoid_when": [
|
|
"仅需查询状态或预览结果、不应产生“按可信上下文为当前用户执行 PAT 批量授权,支持 dryRun 和 pending flow。”所述变更时不要使用"
|
|
],
|
|
"effect": "write",
|
|
"effect_source": "skill-comment",
|
|
"risk": "high",
|
|
"confirmation": "user_required",
|
|
"idempotency": "unknown",
|
|
"examples": [
|
|
"dws pat chmod --products calendar,aitable --grant-type session --session-id \u003cSESSION_ID\u003e --dry-run --format json"
|
|
],
|
|
"reviewed": false,
|
|
"source_refs": [
|
|
"internal/cli/schema_mcp_metadata.json#tools.pat.batch_grant",
|
|
"skills/mono/references/products/pat.md",
|
|
"skills/mono/schema-hints/interface-refs.json",
|
|
"skills/mono/schema-hints/selection-review.json"
|
|
],
|
|
"interface_ref": {
|
|
"product_id": "pat",
|
|
"rpc_name": "pat.batch_grant"
|
|
},
|
|
"interface_mode": "mcp",
|
|
"availability": "available"
|
|
}
|
|
}
|
|
}
|