Files
dingtalk-workspace-cli/internal/cli/schema_hints/metadata/dev.json
T
玉澜andCursor 9911d8f9c9 feat(schema): consume Contract declarations in agent-metadata, drop devapp hints
The agent-metadata generator now merges each registered Contract final
overlay (cmdcore.SchemaDecl) as the top-precedence contract_final
candidate, so declared tools no longer need hint-file rows for
agent_summary/use_when/avoid_when/examples/safety/interface. Selection
eval fixtures and example execution plans synthesize the same assertions
from the declaration, keeping semantic-eval and example coverage intact.

- devapp hint rows deleted from schema_hints/{metadata,selection}/dev.json
  (connect_status/connect_stop/search_open_platform_docs_rag kept);
  artifact content for all 31 declared leaves is byte-identical, only
  provenance now reads contract_final / cmdcore.SchemaDecl
- exact-coverage gates exempt declared tools (hints remain required for
  every non-declared command); reviewed-delivery gate accepts
  contract_final as the stronger reviewed source
- cmdcore derives effect_source=cmdcore.contract for SchemaDecl-only
  safety (read leaves), matching the Risk-shorthand path

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 20:37:34 +08:00

36 lines
970 B
JSON

{
"version": 1,
"source": {
"kind": "explicit",
"name": "dws-tool-metadata/dev",
"repository": "DingTalk-Real-AI/dingtalk-workspace-cli",
"channel": "open-source",
"reviewed": true
},
"tools": {
"dev.connect_status": {
"interface_mode": "local",
"availability": "available",
"interface_reason": "命令仅操作本地进程或策略文件,不调用 MCP 接口",
"reviewed": true
},
"dev.connect_stop": {
"effect": "write",
"risk": "medium",
"interface_mode": "local",
"availability": "available",
"interface_reason": "命令仅操作本地进程或策略文件,不调用 MCP 接口",
"reviewed": true
},
"dev.search_open_platform_docs_rag": {
"interface_ref": {
"product_id": "devdoc",
"rpc_name": "search_open_platform_docs"
},
"interface_mode": "mcp",
"availability": "available",
"reviewed": true
}
}
}