diff --git a/internal/app/legacy.go b/internal/app/legacy.go index 0f1786a8..4281e34e 100644 --- a/internal/app/legacy.go +++ b/internal/app/legacy.go @@ -28,7 +28,6 @@ func newLegacyPublicCommands(runner executor.Runner, caller edition.ToolCaller) injectStaticServers() helpers.InitDeps(caller) commands := helpers.NewPublicCommands(runner) - commands = append(commands, helpers.NewCatalogFallbackCommands(runner)...) return mergeTopLevelCommands(commands) } diff --git a/internal/app/schema_contract_test.go b/internal/app/schema_contract_test.go index 106e1996..cc6bf98a 100644 --- a/internal/app/schema_contract_test.go +++ b/internal/app/schema_contract_test.go @@ -19,8 +19,8 @@ func TestEmbeddedSchemaContractMapsToExecutableTree(t *testing.T) { report := cli.AnnotateEmbeddedSchemaCommands(root) definitions := cli.EmbeddedSchemaCommandDefinitions() bindings := cli.EmbeddedSchemaParameterBindings() - if len(definitions) != 504 { - t.Fatalf("embedded definitions = %d, want 504", len(definitions)) + if len(definitions) != 537 { + t.Fatalf("embedded definitions = %d, want 537", len(definitions)) } if report.Matched != len(definitions) || len(report.Missing) != 0 { t.Fatalf("schema annotation report = matched:%d missing:%v", report.Matched, report.Missing) diff --git a/internal/cli/schema_agent_metadata/aitable.json b/internal/cli/schema_agent_metadata/aitable.json index c27e0f3b..60385f27 100644 --- a/internal/cli/schema_agent_metadata/aitable.json +++ b/internal/cli/schema_agent_metadata/aitable.json @@ -1313,6 +1313,316 @@ "interface_mode": "mcp", "availability": "available" }, + "aitable form create": { + "agent_summary": "在指定数据表下创建一个新的表单视图(FormDesigner 类型)", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "1) 创建表单 → 取返回的 data.viewId 作为 VIEW_ID" + ], + "avoid_when": [ + "不需要在指定数据表下创建一个新的表单视图(FormDesigner 类型)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws aitable form create --base-id BASE_ID --table-id TABLE_ID --name \"员工信息收集\" --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "aitable form delete": { + "agent_summary": "删除指定数据表下的表单视图(不可逆)", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "删除指定数据表下的表单视图(不可逆)" + ], + "avoid_when": [ + "不需要删除指定数据表下的表单视图(不可逆)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "destructive", + "effect_source": "agent-hint", + "risk": "high", + "confirmation": "user_required", + "idempotency": "unknown", + "examples": [ + "dws aitable form delete --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "aitable form field hide": { + "agent_summary": "切换表单视图中某个字段的隐藏/显示状态", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "5) 隐藏不需要的题目" + ], + "avoid_when": [ + "不需要切换表单视图中某个字段的隐藏/显示状态时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws aitable form field hide --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --field-id FIELD_ID --hidden true --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "aitable form field list": { + "agent_summary": "列出指定表单视图当前可见的字段及其配置", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "3) 查看表单字段配置" + ], + "avoid_when": [ + "不需要列出指定表单视图当前可见的字段及其配置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws aitable form field list --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "aitable form field update": { + "agent_summary": "更新表单视图中某个字段的必填状态或描述", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "4) 设置题目必填(FIELD_ID 来自步骤 2)" + ], + "avoid_when": [ + "不需要更新表单视图中某个字段的必填状态或描述时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws aitable form field update --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --field-id FIELD_ID --required true --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "aitable form get": { + "agent_summary": "按 viewId 获取单个表单视图的元信息(name/title/createdAt/shareFormUuid)", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "2) 查看单个表单详情" + ], + "avoid_when": [ + "不需要按 viewId 获取单个表单视图的元信息(name/title/createdAt/shareFormUuid)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws aitable form get --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "aitable form list": { + "agent_summary": "列出指定数据表下的所有表单视图", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "1) 列出数据表下的表单视图" + ], + "avoid_when": [ + "不需要列出指定数据表下的所有表单视图时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws aitable form list --base-id BASE_ID --table-id TABLE_ID --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "aitable form questions create": { + "agent_summary": "在数据表中创建字段,即向表单添加题目", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "2) 添加题目 → 取返回的 data.results[].fieldId 作为 FIELD_ID" + ], + "avoid_when": [ + "不需要在数据表中创建字段,即向表单添加题目时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws aitable form questions create --base-id BASE_ID --table-id TABLE_ID --fields '[{\"fieldName\":\"姓名\",\"type\":\"text\"},{\"fieldName\":\"邮箱\",\"type\":\"text\"}]' --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "aitable form questions delete": { + "agent_summary": "删除指定字段(即表单题目)", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "删除指定字段(即表单题目)" + ], + "avoid_when": [ + "不需要删除指定字段(即表单题目)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "destructive", + "effect_source": "agent-hint", + "risk": "high", + "confirmation": "user_required", + "idempotency": "unknown", + "examples": [ + "dws aitable form questions delete --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "aitable form share get": { + "agent_summary": "读取指定视图当前的分享表单配置", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "4) 查看分享配置" + ], + "avoid_when": [ + "不需要读取指定视图当前的分享表单配置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws aitable form share get --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "aitable form share update": { + "agent_summary": "开启或关闭指定视图的分享表单", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "6) 开启分享(注意:开启后需 UI 刷新页面才会看到分享面板)" + ], + "avoid_when": [ + "不需要开启或关闭指定视图的分享表单时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws aitable form share update --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --enabled true --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "aitable form update": { + "agent_summary": "更新表单整体配置(标题、描述)", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "3) 配置表单标题与描述" + ], + "avoid_when": [ + "不需要更新表单整体配置(标题、描述)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws aitable form update --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --title \"员工信息收集\" --description \"请填写您的基本信息\" --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, "aitable import data": { "agent_summary": "触发导入并等待结果;每个 Sheet 新建为独立表", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", @@ -1439,6 +1749,31 @@ "interface_mode": "mcp", "availability": "available" }, + "aitable record batch-update": { + "agent_summary": "将同一份 cells JSON 批量应用到多条记录上", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "将同一份 cells JSON 批量应用到多条记录上" + ], + "avoid_when": [ + "不需要将同一份 cells JSON 批量应用到多条记录上时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws aitable record batch-update --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, "aitable record create": { "agent_summary": "批量新增记录(单次最多 100 条)", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", diff --git a/internal/cli/schema_agent_metadata/attendance.json b/internal/cli/schema_agent_metadata/attendance.json index b28ab0b8..1af88830 100644 --- a/internal/cli/schema_agent_metadata/attendance.json +++ b/internal/cli/schema_agent_metadata/attendance.json @@ -1,6 +1,620 @@ { "product_id": "attendance", "tools": { + "attendance adjustment get": { + "agent_summary": "调用 MCP 工具 get_adjustment_rule_detail,根据补卡规则主键 ID 查询对应的补卡规则详情", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "查询补卡规则详情" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_adjustment_rule_detail,根据补卡规则主键 ID 查询对应的补卡规则详情时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance adjustment get --adjustment-id 12345", + "dws attendance adjustment get --adjustment-id 12345 --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance adjustment search": { + "agent_summary": "根据用户权限查询补卡规则列表,入参封装在 ATRuleQueryParam 对象中", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "查询补卡规则", + "补卡规则/补卡设置", + "补卡规则详情/某条补卡规则的具体信息" + ], + "avoid_when": [ + "不需要根据用户权限查询补卡规则列表,入参封装在 ATRuleQueryParam 对象中时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance adjustment search --page 1 --limit 20", + "dws attendance adjustment search --query \"标准\" --page 1 --limit 50" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance approve list": { + "agent_summary": "查询指定用户的考勤业务审批单记录(补卡 / 加班 / 请假 / 出差外出)", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "审批单/请假记录/加班记录/出差记录/补卡记录", + "查/提交 请假/加班/补卡 审批单;考勤业务审批单" + ], + "avoid_when": [ + "不需要查询指定用户的考勤业务审批单记录(补卡 / 加班 / 请假 / 出差外出)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws attendance approve list --users userId1 --types overtime,leave --start 2026-04-01 --end 2026-04-30", + "dws attendance approve list --users userId1 --types trip --start 2026-04-01 --end 2026-04-30 # 同时返回出差与外出" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/intent-guide.md", + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance approve templates": { + "agent_summary": "当用户需要提交补卡、请假、加班、外出、出差时,查询对应考勤审批表单模板,返回审批提交跳转链接", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "当用户需要提交补卡、请假、加班、外出、出差时,查询对应考勤审批表单模板,返回审批提交跳转链接" + ], + "avoid_when": [ + "不需要当用户需要提交补卡、请假、加班、外出、出差时,查询对应考勤审批表单模板,返回审批提交跳转链接时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws attendance approve templates --type leave", + "dws attendance approve templates --type REPAIR_CHECK" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance boss-check": { + "agent_summary": "调用 MCP 工具 boss_check 修改员工打卡记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "假设返回 id: 948964045503 (OffDuty 下班打卡)", + "同时修改打卡时间" + ], + "avoid_when": [ + "不需要调用 MCP 工具 boss_check 修改员工打卡记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance boss-check --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/attendance-example-normalization.json", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance check record": { + "agent_summary": "查询指定用户的打卡流水记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "打卡记录/出勤/考勤", + "指定用户打卡流水/打卡详情/打卡时间地点/打卡记录详情" + ], + "avoid_when": [ + "不需要查询指定用户的打卡流水记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance check record --users userId1 --start 2026-04-01 --end 2026-04-30" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance check result": { + "agent_summary": "查询指定用户的打卡结果记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "指定用户打卡结果/考勤结果/迟到早退/缺卡异常" + ], + "avoid_when": [ + "不需要查询指定用户的打卡结果记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance check result --users userId1,userId2 --start 2026-04-01 --end 2026-04-30 --limit 50" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance checkin records": { + "agent_summary": "查询指定员工在一段时间内的签到记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "查询签到记录", + "签到/签到记录" + ], + "avoid_when": [ + "不需要查询指定员工在一段时间内的签到记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance checkin records --operator-corp-id corp001 --operator-staff-id op001 --staff-ids user001,user002 --start \"2026-04-01 00:00:00\" --end \"2026-04-07 00:00:00\"", + "dws attendance checkin records --operator-corp-id corp001 --operator-staff-id op001 --staff-ids user001,user002 --start \"2026-04-01 00:00:00\" --end \"2026-04-07 00:00:00\" --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance class create": { + "agent_summary": "调用 MCP 工具 create_class_setting,创建一个新的班次", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "调用 MCP 工具 create_class_setting,创建一个新的班次" + ], + "avoid_when": [ + "不需要调用 MCP 工具 create_class_setting,创建一个新的班次时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws attendance class create --name \"早班\" --class-vo '{\"sections\":[{\"times\":[{\"checkType\":\"OnDuty\",\"checkTime\":\"08:00\",\"across\":0},{\"checkType\":\"OffDuty\",\"checkTime\":\"17:00\",\"across\":0}]}]}' --timeout 10" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance class get": { + "agent_summary": "调用 MCP 工具 get_class_detail,根据班次 ID 查询该班次的详细信息", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "查询班次详情" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_class_detail,根据班次 ID 查询该班次的详细信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance class get --class-id 1170996821", + "dws attendance class get --class-id 1170996821 --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance class search": { + "agent_summary": "查询当前用户有权管理的班次列表(班次定义),支持按名称搜索和类型过滤", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "查询可管理的班次列表", + "班次定义/班次列表/有哪些班次/我负责的班次", + "班次详情/某个班次的具体信息" + ], + "avoid_when": [ + "不需要查询当前用户有权管理的班次列表(班次定义),支持按名称搜索和类型过滤时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance class search", + "dws attendance class search --query \"早班\" --filter-type MINE_OWN" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance class update": { + "agent_summary": "调用 MCP 工具 update_class_setting,更新一个已有的班次", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "更新班次", + "更新班次/修改班次/班次改名/修改上下班时间" + ], + "avoid_when": [ + "不需要调用 MCP 工具 update_class_setting,更新一个已有的班次时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws attendance class update --class-id 1170996821 --name \"新早班\" --timeout 10", + "dws attendance class update --class-id 1170996821 --class-vo '{\"sections\":[{\"times\":[{\"checkType\":\"OnDuty\",\"checkTime\":\"08:30\",\"across\":0},{\"checkType\":\"OffDuty\",\"checkTime\":\"17:30\",\"across\":0}]}]}' --timeout 10" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance globalsetting get": { + "agent_summary": "查询全局规则设置,仅管理员可以调用", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "查询全局规则设置,仅管理员可以调用" + ], + "avoid_when": [ + "不需要查询全局规则设置,仅管理员可以调用时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance globalsetting get --scope 企业 --setting-scene checkRemind --format json", + "dws attendance globalsetting get --scope 全公司 --setting-scene bossAttendStatNotify --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance globalsetting save": { + "agent_summary": "更新保存全局规则设置,仅管理员可以调用", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "更新保存全局规则设置,仅管理员可以调用" + ], + "avoid_when": [ + "不需要更新保存全局规则设置,仅管理员可以调用时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws attendance globalsetting save --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/attendance-example-normalization.json", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance group create": { + "agent_summary": "调用 MCP 工具 create_group_setting,创建一个新的考勤组", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "创建考勤组", + "创建考勤组/新建考勤组/添加考勤组" + ], + "avoid_when": [ + "不需要调用 MCP 工具 create_group_setting,创建一个新的考勤组时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws attendance group create --name \"研发考勤组\" --type FIXED --group-vo '{\"defaultClassId\":1170996821,\"workDayClassList\":[0,1170996821,0,0,0,0,0]}' --timeout 10", + "dws attendance group create --name \"自由工时分组\" --type NONE --timeout 10" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance group filtered-get": { + "agent_summary": "调用 MCP 工具 get_group_filtered_detail,根据考勤组 ID 仅返回关心的字段子集, 强烈建议在仅需查询成员信息、打卡地址、蓝牙、W", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "1. 获取考勤组成员", + "按需查询考勤组成员/地址/蓝牙/Wifi", + "考勤组成员/打卡地址/打卡wifi/打卡蓝牙" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_group_filtered_detail,根据考勤组 ID 仅返回关心的字段子集, 强烈建议在仅需查询成员信息、打卡地址、蓝牙、W时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance group filtered-get --group-id \u003cgroupId\u003e --member --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance-schedule.md", + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance group get": { + "agent_summary": "调用 MCP 工具 get_group_detail,根据考勤组 ID 查询该考勤组的全量信息", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "查询考勤组全量信息", + "考勤组详情/全量考勤组信息", + "获取考勤组详情(含绑定的班次列表)" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_group_detail,根据考勤组 ID 查询该考勤组的全量信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance group get --group-id \u003cgroupId\u003e --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance-schedule.md", + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance group search": { + "agent_summary": "根据当前用户的权限和筛选条件获取考勤组简要信息", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "1. 确认考勤组并获取关联班次(先查后排)", + "1. 获取考勤组成员", + "查询考勤组列表", + "考勤组列表/有哪些考勤组" + ], + "avoid_when": [ + "不需要根据当前用户的权限和筛选条件获取考勤组简要信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance group search --query \"\u003c考勤组名称\u003e\" --type TURN --format json", + "dws attendance group search --query \"研发组\" --type TURN --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance-schedule.md", + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance group update": { + "agent_summary": "调用 MCP 工具 update_group_setting,更新考勤组配置信息", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "修改考勤组/更新考勤组配置/考勤组改名/改变考勤组绑定的班次/修改打卡范围/设置考勤组负责人", + "更新考勤组配置" + ], + "avoid_when": [ + "不需要调用 MCP 工具 update_group_setting,更新考勤组配置信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws attendance group update --group-id 123456 --name \"研发考勤组\" --timeout 10", + "dws attendance group update --group-id 123456 --owner userId1 --timeout 10" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance group update-members": { + "agent_summary": "调用 MCP 工具 update_group_member,对指定考勤组的成员进行增删操作", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "更新考勤组成员", + "更新考勤组成员/添加考勤人员/删除考勤人员/添加考勤部门/删除考勤部门/加入考勤组/移出考勤组/设置无需考勤/取消无需考勤" + ], + "avoid_when": [ + "不需要调用 MCP 工具 update_group_member,对指定考勤组的成员进行增删操作时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws attendance group update-members --group-id 123456 --add-users userId1,userId2", + "dws attendance group update-members --group-id 123456 --remove-users userId1" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance overtime get": { + "agent_summary": "调用 MCP 工具 get_overtime_rule_detail,根据加班规则主键 ID 查询对应的加班规则详情", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "查询加班规则详情" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_overtime_rule_detail,根据加班规则主键 ID 查询对应的加班规则详情时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance overtime get --overtime-id 12345", + "dws attendance overtime get --overtime-id 12345 --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance overtime search": { + "agent_summary": "根据用户权限查询加班规则列表,入参封装在 ATRuleQueryParam 对象中", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "加班规则/加班设置/加班计算", + "加班规则详情/某条加班规则的具体信息", + "查询加班规则" + ], + "avoid_when": [ + "不需要根据用户权限查询加班规则列表,入参封装在 ATRuleQueryParam 对象中时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance overtime search --page 1 --limit 20", + "dws attendance overtime search --query \"节假日\" --page 1 --limit 50" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, "attendance record get": { "agent_summary": "查询个人考勤详情", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", @@ -32,6 +646,89 @@ "interface_mode": "mcp", "availability": "available" }, + "attendance report columns": { + "agent_summary": "根据操作者的列权限,过滤并返回其有权查看的考勤字段列表", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "考勤字段/考勤列", + "获取考勤字段列表(管理员)" + ], + "avoid_when": [ + "不需要根据操作者的列权限,过滤并返回其有权查看的考勤字段列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance report columns" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance report query-data": { + "agent_summary": "根据字段查询考勤数据,含列权限过滤和用户查看权限校验", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "根据字段查询考勤数据(管理员)", + "考勤数据/查询考勤报表数据" + ], + "avoid_when": [ + "不需要根据字段查询考勤数据,含列权限过滤和用户查看权限校验时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance report query-data --users userId1,userId2 --columns 1001,1002 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\"", + "dws attendance report query-data --users userId1,userId2 --columns 1001,1002 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\" --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance report query-leave": { + "agent_summary": "查询用户假期数据,含用户查看权限校验", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "假期数据/年假/病假/请假记录", + "查询用户假期数据(管理员)" + ], + "avoid_when": [ + "不需要查询用户假期数据,含用户查看权限校验时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance report query-leave --users userId1,userId2 --leave-names 年假,病假 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\"", + "dws attendance report query-leave --users userId1,userId2 --leave-names 年假,病假 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\" --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, "attendance rules": { "agent_summary": "查询考勤组与考勤规则", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", @@ -69,6 +766,120 @@ "interface_mode": "mcp", "availability": "available" }, + "attendance schedule get": { + "agent_summary": "获取指定用户在一段时间内的排班记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "步骤1:获取排班记录的 planId" + ], + "avoid_when": [ + "不需要获取指定用户在一段时间内的排班记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance schedule get --userIdList 03642229451220076 --workDateBegin 2026-05-13 --workDateEnd 2026-05-13 -f json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance schedule import": { + "agent_summary": "为排班制考勤组导入排班记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "导入排班记录" + ], + "avoid_when": [ + "不需要为排班制考勤组导入排班记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws attendance schedule import --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/attendance-example-normalization.json", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance selfsetting get": { + "agent_summary": "查询个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "查看指定用户的打卡提醒设置", + "查看指定用户的极速打卡设置", + "查询个人规则设置/查看打卡提醒/查看极速打卡/查看缺卡提醒/查看打卡结果通知/查看个人考勤统计通知/查看团队考勤统计通知" + ], + "avoid_when": [ + "不需要查询个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance selfsetting get --setting-scene checkRemind --user \u003cUSER_ID\u003e --format json", + "dws attendance selfsetting get --setting-scene fastCheck --user \u003cUSER_ID\u003e --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance selfsetting save": { + "agent_summary": "更新保存个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "开启打卡结果通知(Agent 调用时,必须先完成 ask_human 二次确认,确认后再追加 --yes 执行)", + "开启指定用户的打卡结果通知", + "更新个人规则设置/保存打卡提醒/修改极速打卡/关闭缺卡提醒/开启打卡结果通知/设置个人考勤统计通知/设置团队考勤统计通知", + "更新打卡提醒设置(Agent 调用时,必须先完成 ask_human 二次确认,确认后再追加 --yes 执行)", + "更新指定用户的极速打卡设置", + "更新极速打卡设置(Agent 调用时,必须先完成 ask_human 二次确认,确认后再追加 --yes 执行)" + ], + "avoid_when": [ + "不需要更新保存个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "high", + "confirmation": "user_required", + "idempotency": "unknown", + "examples": [ + "dws attendance selfsetting save --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/attendance-example-normalization.json", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, "attendance shift list": { "agent_summary": "批量查询员工班次信息(间隔 ≤ 7 天,最多 50 人)", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", @@ -129,6 +940,154 @@ }, "interface_mode": "mcp", "availability": "available" + }, + "attendance vacation balance": { + "agent_summary": "调用 MCP 工具 get_leave_balance_quota 查询指定员工的假期余额", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "1. 查询当前余额", + "1. 查询当前余额(假设返回5天)", + "增加假期余额/发放年假/给员工加年假", + "查看指定员工假期余额", + "查看指定员工某类假期余额", + "病假余额/年假余额/事假剩余假期", + "设置假期余额/调整假期额度/更新假期余额" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_leave_balance_quota 查询指定员工的假期余额时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance vacation balance --users userId1,userId2 --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890", + "dws attendance vacation balance --users userId1,userId2 --leave-code \u003c假期类型code\u003e --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance vacation records": { + "agent_summary": "调用 MCP 工具 get_leave_balance_records 查询指定员工的假期余额变更记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "假期变更/假期记录/请假扣减", + "查看指定员工假期余额变更记录" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_leave_balance_records 查询指定员工的假期余额变更记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance vacation records --user USER_ID --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --start 2026-04-01 --end 2026-04-22", + "dws attendance vacation records --user USER_ID --leave-code \u003c假期类型code\u003e --start 2026-04-01 --end 2026-04-22 --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance vacation save-balance": { + "agent_summary": "调用 MCP 工具 update_leave_balance 设置指定员工的假期余额数量", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "3. 执行设置(SET操作,会替换当前余额)", + "3. 设置新总额度", + "设置员工年假余额为8天", + "设置带有效期的假期余额" + ], + "avoid_when": [ + "不需要调用 MCP 工具 update_leave_balance 设置指定员工的假期余额数量时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws attendance vacation save-balance --target user001 --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --num 8 --reason \"年度发放\"", + "dws attendance vacation save-balance --target user001 --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --num 8 --reason \"年度发放\" --start 2024-01-01 --end 2024-12-31" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance vacation types": { + "agent_summary": "调用 MCP 工具 get_leave_types 查询当前用户可用的假期规则列表", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "假期/我的假期/假期规则", + "查看假期规则列表" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_leave_types 查询当前用户可用的假期规则列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws attendance vacation types" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "attendance vacation update-type": { + "agent_summary": "调用 MCP 工具 save_leave_type 更新已有假期规则", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "更新假期单位", + "更新假期规则/修改假期类型/编辑假期规则", + "更新假期规则名称", + "更新适用范围" + ], + "avoid_when": [ + "不需要调用 MCP 工具 save_leave_type 更新已有假期规则时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws attendance vacation update-type --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --name \"事假(修改版)\"", + "dws attendance vacation update-type --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --unit hour --per-hours 8" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" } } } diff --git a/internal/cli/schema_agent_metadata/calendar.json b/internal/cli/schema_agent_metadata/calendar.json index d2f355db..705a18fb 100644 --- a/internal/cli/schema_agent_metadata/calendar.json +++ b/internal/cli/schema_agent_metadata/calendar.json @@ -99,17 +99,16 @@ "要“查看参与者”请改用 dws calendar attendee list", "要“添加参与者”请改用 dws calendar attendee add" ], - "effect": "destructive", - "effect_source": "skill-explicit", - "risk": "high", - "confirmation": "user_required", + "effect": "write", + "effect_source": "command-verb", + "risk": "medium", + "confirmation": "not_required", "idempotency": "unknown", "examples": [ "dws calendar attendee delete --attendees \u003cattendees\u003e --event \u003cevent\u003e" ], "source_refs": [ "dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.calendar.prod.json#calendar.remove_calendar_participant", - "skills/mono/SKILL.md", "skills/mono/references/products/calendar.md", "skills/mono/schema-hints/imported/wukong.json", "skills/mono/schema-hints/selection-review.json", diff --git a/internal/cli/schema_agent_metadata/chat.json b/internal/cli/schema_agent_metadata/chat.json index 4027a396..587eb0b2 100644 --- a/internal/cli/schema_agent_metadata/chat.json +++ b/internal/cli/schema_agent_metadata/chat.json @@ -430,38 +430,6 @@ "interface_mode": "mcp", "availability": "available" }, - "chat group members list": { - "agent_summary": "查看群成员列表", - "agent_summary_source": "dws-wukong-envelope@4574f7022c32", - "use_when": [ - "查看群成员列表" - ], - "avoid_when": [ - "要“从群中移除成员”请改用 dws chat group members remove", - "要“向群中添加成员”请改用 dws chat group members add", - "要“将机器人添加到群中”请改用 dws chat group members add-bot" - ], - "effect": "read", - "effect_source": "command-verb", - "risk": "low", - "confirmation": "not_required", - "idempotency": "idempotent", - "examples": [ - "dws chat group members list --id \u003cid\u003e" - ], - "source_refs": [ - "dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.chat.prod.json#chat.get_group_members", - "skills/mono/schema-hints/imported/wukong.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_ref": { - "product_id": "chat", - "rpc_name": "get_group_members" - }, - "interface_mode": "mcp", - "availability": "available" - }, "chat group members remove": { "agent_summary": "从群中移除成员", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", diff --git a/internal/cli/schema_agent_metadata/conference.json b/internal/cli/schema_agent_metadata/conference.json deleted file mode 100644 index 68a848a5..00000000 --- a/internal/cli/schema_agent_metadata/conference.json +++ /dev/null @@ -1,905 +0,0 @@ -{ - "product_id": "conference", - "tools": { - "conference appearance background-setting": { - "agent_summary": "打开虚拟背景设置面板", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "打开虚拟背景设置面板" - ], - "avoid_when": [ - "要“打开美颜设置面板”请改用 dws conference appearance beauty-setting" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference appearance background-setting" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference appearance beauty-setting": { - "agent_summary": "打开美颜设置面板", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "打开美颜设置面板" - ], - "avoid_when": [ - "要“打开虚拟背景设置面板”请改用 dws conference appearance background-setting" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference appearance beauty-setting" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference camera close": { - "agent_summary": "关闭摄像头", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "关闭摄像头" - ], - "avoid_when": [ - "要“打开摄像头”请改用 dws conference camera open" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference camera close" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference camera open": { - "agent_summary": "打开摄像头", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "打开摄像头" - ], - "avoid_when": [ - "要“关闭摄像头”请改用 dws conference camera close" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference camera open" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference end": { - "agent_summary": "结束整场会议并让所有参会者退出(不可逆)", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "结束整场会议并让所有参会者退出(不可逆)" - ], - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "high", - "confirmation": "user_required", - "idempotency": "unknown", - "examples": [ - "dws conference end" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference get-id": { - "agent_summary": "获取当前所在会议的会议 ID(需在会议中)", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "获取当前所在会议的会议 ID(需在会议中)" - ], - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "effect": "read", - "effect_source": "agent-hint", - "risk": "low", - "confirmation": "not_required", - "idempotency": "idempotent", - "examples": [ - "dws conference get-id" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference interaction panel": { - "agent_summary": "打开表情互动面板", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "打开表情互动面板" - ], - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference interaction panel" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference interpretation close": { - "agent_summary": "关闭同声传译", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "关闭同声传译" - ], - "avoid_when": [ - "要“开启同声传译”请改用 dws conference interpretation open" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference interpretation close" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference interpretation open": { - "agent_summary": "开启同声传译", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "开启同声传译" - ], - "avoid_when": [ - "要“关闭同声传译”请改用 dws conference interpretation close" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference interpretation open" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference invite all": { - "agent_summary": "一键呼叫所有人", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "一键呼叫所有人" - ], - "avoid_when": [ - "要“打开邀请选人面板”请改用 dws conference invite panel" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference invite all" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference invite panel": { - "agent_summary": "打开邀请选人面板", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "打开邀请选人面板" - ], - "avoid_when": [ - "要“一键呼叫所有人”请改用 dws conference invite all" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference invite panel" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference leave": { - "agent_summary": "本人离开当前会议(其他人继续)", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "本人离开当前会议(其他人继续)" - ], - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference leave" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference mic mute": { - "agent_summary": "静音自己", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "静音自己" - ], - "avoid_when": [ - "要“主持人将会议内全体参会者静音”请改用 dws conference mic mute-all", - "要“取消静音”请改用 dws conference mic unmute" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference mic mute" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference mic mute-all": { - "agent_summary": "主持人将会议内全体参会者静音", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "主持人将会议内全体参会者静音" - ], - "avoid_when": [ - "要“取消静音”请改用 dws conference mic unmute", - "要“静音自己”请改用 dws conference mic mute" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference mic mute-all" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference mic unmute": { - "agent_summary": "取消静音", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "取消静音" - ], - "avoid_when": [ - "要“主持人将会议内全体参会者静音”请改用 dws conference mic mute-all", - "要“静音自己”请改用 dws conference mic mute" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference mic unmute" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference photo take": { - "agent_summary": "发起全员合影", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "发起全员合影" - ], - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference photo take" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference record request": { - "agent_summary": "申请录制权限", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "申请录制权限" - ], - "avoid_when": [ - "要“停止当前会议的云端录制”请改用 dws conference record stop", - "要“开始云端录制当前会议”请改用 dws conference record start" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference record request" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference record start": { - "agent_summary": "开始云端录制当前会议", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "开始云端录制当前会议" - ], - "avoid_when": [ - "要“停止当前会议的云端录制”请改用 dws conference record stop", - "要“申请录制权限”请改用 dws conference record request" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference record start" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference record stop": { - "agent_summary": "停止当前会议的云端录制", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "停止当前会议的云端录制" - ], - "avoid_when": [ - "要“开始云端录制当前会议”请改用 dws conference record start", - "要“申请录制权限”请改用 dws conference record request" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference record stop" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference security menu": { - "agent_summary": "打开安全设置菜单", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "打开安全设置菜单" - ], - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference security menu" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference share annotate": { - "agent_summary": "打开共享批注", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "打开共享批注" - ], - "avoid_when": [ - "要“停止屏幕共享”请改用 dws conference share stop", - "要“开始共享桌面”请改用 dws conference share start", - "要“打开共享选择面板”请改用 dws conference share panel" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference share annotate" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference share panel": { - "agent_summary": "打开共享选择面板", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "打开共享选择面板" - ], - "avoid_when": [ - "要“停止屏幕共享”请改用 dws conference share stop", - "要“开始共享桌面”请改用 dws conference share start", - "要“打开共享批注”请改用 dws conference share annotate" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference share panel" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference share start": { - "agent_summary": "开始共享桌面", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "开始共享桌面" - ], - "avoid_when": [ - "要“停止屏幕共享”请改用 dws conference share stop", - "要“打开共享批注”请改用 dws conference share annotate", - "要“打开共享选择面板”请改用 dws conference share panel" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference share start" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference share stop": { - "agent_summary": "停止屏幕共享", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "停止屏幕共享" - ], - "avoid_when": [ - "要“开始共享桌面”请改用 dws conference share start", - "要“打开共享批注”请改用 dws conference share annotate", - "要“打开共享选择面板”请改用 dws conference share panel" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference share stop" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference start": { - "agent_summary": "发起一场即时会议", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "发起一场即时会议" - ], - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference start" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference status": { - "agent_summary": "查询当前会议状态(是否在会议中)", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "查询当前会议状态(是否在会议中)" - ], - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "effect": "read", - "effect_source": "agent-hint", - "risk": "low", - "confirmation": "not_required", - "idempotency": "idempotent", - "examples": [ - "dws conference status" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference subtitle close": { - "agent_summary": "关闭实时字幕", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "关闭实时字幕" - ], - "avoid_when": [ - "要“开启实时字幕”请改用 dws conference subtitle open" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference subtitle close" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference subtitle open": { - "agent_summary": "开启实时字幕", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "开启实时字幕" - ], - "avoid_when": [ - "要“关闭实时字幕”请改用 dws conference subtitle close" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference subtitle open" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference transcript close": { - "agent_summary": "关闭智能听记", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "关闭智能听记" - ], - "avoid_when": [ - "要“开启智能听记”请改用 dws conference transcript open" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference transcript close" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference transcript open": { - "agent_summary": "开启智能听记", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "开启智能听记" - ], - "avoid_when": [ - "要“关闭智能听记”请改用 dws conference transcript close" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference transcript open" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference view grid": { - "agent_summary": "切换宫格视图", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "切换宫格视图" - ], - "avoid_when": [ - "要“切换标准视图”请改用 dws conference view standard", - "要“切换演讲者视图”请改用 dws conference view speaker" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference view grid" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference view speaker": { - "agent_summary": "切换演讲者视图", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "切换演讲者视图" - ], - "avoid_when": [ - "要“切换宫格视图”请改用 dws conference view grid", - "要“切换标准视图”请改用 dws conference view standard" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference view speaker" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - }, - "conference view standard": { - "agent_summary": "切换标准视图", - "agent_summary_source": "conference-schema-review", - "use_when": [ - "切换标准视图" - ], - "avoid_when": [ - "要“切换宫格视图”请改用 dws conference view grid", - "要“切换演讲者视图”请改用 dws conference view speaker" - ], - "effect": "write", - "effect_source": "agent-hint", - "risk": "medium", - "confirmation": "not_required", - "idempotency": "unknown", - "examples": [ - "dws conference view standard" - ], - "reviewed": true, - "source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "unavailable", - "availability": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端" - } - } -} diff --git a/internal/cli/schema_agent_metadata/dev.json b/internal/cli/schema_agent_metadata/dev.json index 47e0dd64..a83590df 100644 --- a/internal/cli/schema_agent_metadata/dev.json +++ b/internal/cli/schema_agent_metadata/dev.json @@ -925,11 +925,11 @@ "要“查询指定版本详情”请改用 dws dev app version get", "要“查询版本发布/审批状态”请改用 dws dev app version status" ], - "effect": "read", + "effect": "write", "effect_source": "command-verb", - "risk": "low", + "risk": "medium", "confirmation": "not_required", - "idempotency": "idempotent", + "idempotency": "unknown", "examples": [ "dws dev app version publish --unified-app-id \u003cunifiedAppId\u003e --version-id \u003cversionId\u003e --dry-run --format json" ], diff --git a/internal/cli/schema_agent_metadata/devdoc.json b/internal/cli/schema_agent_metadata/devdoc.json index 011500bd..08b58ce9 100644 --- a/internal/cli/schema_agent_metadata/devdoc.json +++ b/internal/cli/schema_agent_metadata/devdoc.json @@ -1,90 +1,6 @@ { "product_id": "devdoc", "tools": { - "devdoc article legacy-search": { - "agent_summary": "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。", - "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", - "use_when": [ - "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。" - ], - "avoid_when": [ - "要“按关键词搜索 open.dingtalk.com 开放平台文档”请改用 dws devdoc article search", - "要“按关键词检索钉钉开放平台文档,只返回参考资料、参考资料链接和RA”请改用 dws devdoc article rag-pretest", - "要“根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包”请改用 dws devdoc article legacy-search-open-platform" - ], - "effect": "read", - "effect_source": "command-verb", - "risk": "low", - "confirmation": "not_required", - "idempotency": "idempotent", - "examples": [ - "dws devdoc article legacy-search \u003ckeyword\u003e --keyword \u003ckeyword\u003e" - ], - "reviewed": false, - "source_refs": [ - "internal/cli/schema_mcp_metadata.json#tools.devdoc.search_dingtalk_open_docs", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "mcp", - "availability": "available" - }, - "devdoc article legacy-search-open-platform": { - "agent_summary": "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。", - "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", - "use_when": [ - "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。" - ], - "avoid_when": [ - "要“按关键词搜索 open.dingtalk.com 开放平台文档”请改用 dws devdoc article search", - "要“按关键词检索钉钉开放平台文档,只返回参考资料、参考资料链接和RA”请改用 dws devdoc article rag-pretest", - "要“根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包”请改用 dws devdoc article legacy-search" - ], - "effect": "read", - "effect_source": "command-verb", - "risk": "low", - "confirmation": "not_required", - "idempotency": "idempotent", - "examples": [ - "dws devdoc article legacy-search-open-platform \u003ckeyword\u003e --keyword \u003ckeyword\u003e" - ], - "reviewed": false, - "source_refs": [ - "internal/cli/schema_mcp_metadata.json#tools.devdoc.search_open_platform_docs", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "mcp", - "availability": "available" - }, - "devdoc article rag-pretest": { - "agent_summary": "按关键词检索钉钉开放平台文档,只返回参考资料、参考资料链接和RAG上下文,不生成AI分析答案。", - "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", - "use_when": [ - "按关键词检索钉钉开放平台文档,只返回参考资料、参考资料链接和RAG上下文,不生成AI分析答案。" - ], - "avoid_when": [ - "要“按关键词搜索 open.dingtalk.com 开放平台文档”请改用 dws devdoc article search", - "要“根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包”请改用 dws devdoc article legacy-search", - "要“根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包”请改用 dws devdoc article legacy-search-open-platform" - ], - "effect": "read", - "effect_source": "command-verb", - "risk": "low", - "confirmation": "not_required", - "idempotency": "idempotent", - "examples": [ - "dws devdoc article rag-pretest \u003ckeyword\u003e --keyword \u003ckeyword\u003e" - ], - "reviewed": false, - "source_refs": [ - "internal/cli/schema_mcp_metadata.json#tools.devdoc.devdoc_rag_pretest", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "interface_mode": "mcp", - "availability": "available" - }, "devdoc article search": { "agent_summary": "按关键词搜索 open.dingtalk.com 开放平台文档", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", @@ -122,31 +38,6 @@ }, "interface_mode": "mcp", "availability": "available" - }, - "devdoc error diagnose": { - "agent_summary": "按原始问题、requestId/traceId、错误码或错误描述排查钉钉开放平台调用错误;", - "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", - "use_when": [ - "按原始问题、requestId/traceId、错误码或错误描述排查钉钉开放平台调用错误;" - ], - "avoid_when": [ - "需要创建、修改或删除数据时不要使用;本命令只用于“按原始问题、requestId/traceId、错误码或错误描述排查钉钉开放平台调用错误;”" - ], - "effect": "read", - "effect_source": "command-verb", - "risk": "low", - "confirmation": "not_required", - "idempotency": "idempotent", - "examples": [ - "dws devdoc error diagnose --query \u003cquery\u003e" - ], - "reviewed": false, - "source_refs": [ - "internal/cli/schema_mcp_metadata.json#tools.devdoc.search_open_error_code_rag", - "skills/mono/schema-hints/selection-review.json" - ], - "interface_mode": "mcp", - "availability": "available" } } } diff --git a/internal/cli/schema_agent_metadata/doc.json b/internal/cli/schema_agent_metadata/doc.json index 96275051..b4fb6cfb 100644 --- a/internal/cli/schema_agent_metadata/doc.json +++ b/internal/cli/schema_agent_metadata/doc.json @@ -579,6 +579,34 @@ "interface_mode": "mcp", "availability": "available" }, + "doc import get": { + "agent_summary": "根据 taskId 查询文档导入任务的执行结果", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "根据 taskId 查询文档导入任务的执行结果" + ], + "avoid_when": [ + "不需要根据 taskId 查询文档导入任务的执行结果时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws doc import get --task-id \u003cTASK_ID\u003e", + "dws doc import get --task-id \u003cTASK_ID\u003e --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/doc.md", + "skills/mono/references/products/doc/doc-import.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, "doc info": { "agent_summary": "获取文档元信息(标题/类型/创建者/权限等)", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", @@ -996,6 +1024,81 @@ "interface_mode": "mcp", "availability": "available" }, + "doc template apply": { + "agent_summary": "使用指定模板创建新文档", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "使用指定模板创建新文档" + ], + "avoid_when": [ + "不需要使用指定模板创建新文档时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws doc template apply --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "doc template list": { + "agent_summary": "获取当前用户可用的文档模板列表,支持按来源筛选", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "获取当前用户可用的文档模板列表,支持按来源筛选" + ], + "avoid_when": [ + "不需要获取当前用户可用的文档模板列表,支持按来源筛选时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws doc template list --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "doc template search": { + "agent_summary": "根据关键词搜索文档模板", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "根据关键词搜索文档模板" + ], + "avoid_when": [ + "不需要根据关键词搜索文档模板时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws doc template search --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, "doc update": { "agent_summary": "更新文档内容(追加 / 覆盖)", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", @@ -1082,6 +1185,81 @@ "interface_mode": "composite", "availability": "available", "interface_reason": "命令包含多个 RPC、条件分派或本地 HTTP/文件步骤,不能绑定为单一 interface_ref" + }, + "doc version list": { + "agent_summary": "查看文档历史版本列表", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "查看文档历史版本列表" + ], + "avoid_when": [ + "不需要查看文档历史版本列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws doc version list --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "doc version revert": { + "agent_summary": "回滚文档到指定版本", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "回滚文档到指定版本" + ], + "avoid_when": [ + "不需要回滚文档到指定版本时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws doc version revert --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "doc version save": { + "agent_summary": "手动保存文档版本快照", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "手动保存文档版本快照" + ], + "avoid_when": [ + "不需要手动保存文档版本快照时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws doc version save --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" } } } diff --git a/internal/cli/schema_agent_metadata/drive.json b/internal/cli/schema_agent_metadata/drive.json index 4ff09e23..e811cd7b 100644 --- a/internal/cli/schema_agent_metadata/drive.json +++ b/internal/cli/schema_agent_metadata/drive.json @@ -436,6 +436,170 @@ "interface_mode": "mcp", "availability": "available" }, + "drive publish get": { + "agent_summary": "查询文件当前是否处于互联网公开发布状态,以及公开发布的权限设置", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "查看公开状态/是否公开/发布状态" + ], + "avoid_when": [ + "不需要查询文件当前是否处于互联网公开发布状态,以及公开发布的权限设置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws drive publish get --node \u003cfileId\u003e", + "dws drive publish get --node \u003cdentryUuid\u003e" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/drive.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "drive publish set": { + "agent_summary": "[危险] 将文件设置为互联网公开发布", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "公开文件/互联网公开/设置公开/让互联网所有人可访问" + ], + "avoid_when": [ + "不需要[危险] 将文件设置为互联网公开发布时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws drive publish set --node \u003cfileId\u003e [--permission READER|DOWNLOADER|EDITOR]", + "dws drive publish set --node \u003cdentryUuid\u003e" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/drive.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "drive publish unset": { + "agent_summary": "[危险] 关闭文件的互联网公开发布", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "关闭公开/取消公开/取消互联网访问" + ], + "avoid_when": [ + "不需要[危险] 关闭文件的互联网公开发布时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws drive publish unset --node \u003cfileId\u003e", + "dws drive publish unset --node \u003cdentryUuid\u003e" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/drive.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "drive recent": { + "agent_summary": "获取当前用户最近访问或编辑过的文档列表", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "最近访问/最近打开/最近编辑/最近文档" + ], + "avoid_when": [ + "不需要获取当前用户最近访问或编辑过的文档列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws drive recent", + "dws drive recent --operate-type 1" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/drive.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "drive recycle list": { + "agent_summary": "查看回收站文件列表", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "8. 查看回收站并还原文件", + "回收站/查看回收站/回收站列表/回收站里有什么" + ], + "avoid_when": [ + "不需要查看回收站文件列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws drive recycle list", + "dws drive recycle list --space-id 12345 --limit 10" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/drive.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "drive recycle restore": { + "agent_summary": "还原回收站中的文件", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "8. 查看回收站并还原文件", + "恢复文件/还原删除的文件/从回收站恢复/还原回收站文件" + ], + "avoid_when": [ + "不需要还原回收站中的文件时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws drive recycle restore --id \u003crecycleItemId\u003e", + "dws drive recycle restore --id \u003crecycleItemId\u003e --format json" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/drive.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, "drive rename": { "agent_summary": "对指定节点进行重命名。", "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", diff --git a/internal/cli/schema_agent_metadata/index.json b/internal/cli/schema_agent_metadata/index.json index d7e19f0f..cc73a117 100644 --- a/internal/cli/schema_agent_metadata/index.json +++ b/internal/cli/schema_agent_metadata/index.json @@ -1,18 +1,19 @@ { "version": 1, - "source_hash": "sha256:baf516536a280732546575173592b5ff1576fe4c81a843e26ee6e182c448100c", - "surface_hash": "sha256:c0a9b75b4e38934db73f4ce1d337b4c64aa5e541257dd9e84c4947da9c9ab664", + "source_hash": "sha256:2b64df8c64d71e74b91a0e43b7b48d490a33e8831d620fc400ae8b0ed8253bf7", + "surface_hash": "sha256:7fb8d999c27622a1a0ea39074d7b375f7686964d77eebeb4be30e616311ab86d", "coverage": { - "surface_products": 21, - "products_with_metadata": 21, - "surface_tools": 504, - "tools_with_metadata": 504, - "tools_with_agent_summary": 504, - "tools_with_use_when": 504, - "tools_with_avoid_when": 504, - "tools_with_examples": 504, - "tools_with_interface_mode": 504, - "unmatched_skill_tools": 182 + "surface_products": 20, + "products_with_metadata": 20, + "surface_tools": 537, + "tools_with_metadata": 537, + "tools_with_agent_summary": 537, + "tools_with_use_when": 537, + "tools_with_avoid_when": 537, + "tools_with_examples": 537, + "tools_with_interface_mode": 537, + "unmatched_skill_tools": 163, + "unreviewed_skill_tools": 40 }, "products": { "aisearch": { @@ -91,14 +92,6 @@ "skills/mono/schema-hints/imported/wukong.json" ] }, - "conference": { - "agent_summary": "视频会议 / 预约", - "agent_summary_source": "dws-wukong-envelope@4574f7022c32", - "source_refs": [ - "dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.conference.prod.json", - "skills/mono/schema-hints/imported/wukong.json" - ] - }, "contact": { "agent_summary": "通讯录 / 用户 / 部门", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", @@ -326,7 +319,6 @@ "attendance", "calendar", "chat", - "conference", "contact", "dev", "devdoc", diff --git a/internal/cli/schema_agent_metadata/sheet.json b/internal/cli/schema_agent_metadata/sheet.json index c765f701..c4a12600 100644 --- a/internal/cli/schema_agent_metadata/sheet.json +++ b/internal/cli/schema_agent_metadata/sheet.json @@ -61,6 +61,145 @@ "interface_mode": "mcp", "availability": "available" }, + "sheet batch-update": { + "agent_summary": "将多个写操作打包为一次原子请求执行", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "批量操作/一次执行多个写操作/原子批量/先清除再写入;多个写操作打包" + ], + "avoid_when": [ + "不需要将多个写操作打包为一次原子请求执行时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws sheet batch-update --node \u003cNODE_ID\u003e --operations '[", + "dws sheet batch-update --node \u003cNODE_ID\u003e --continue-on-error --operations '[...]'" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/sheet/sheet-batch-operations.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "sheet chart create": { + "agent_summary": "在钉钉电子表格的指定工作表中创建一个浮动图表", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "3. 创建柱形图", + "创建折线图", + "创建柱形图" + ], + "avoid_when": [ + "不需要在钉钉电子表格的指定工作表中创建一个浮动图表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws sheet chart create --node NODE_ID --sheet-id SHEET_ID --properties '{", + "dws sheet chart create --node \u003cNODE_ID\u003e --sheet-id \u003cSHEET_ID\u003e --properties '{" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/sheet/sheet-chart.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "sheet chart delete": { + "agent_summary": "删除钉钉电子表格中指定的浮动图表", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "删除钉钉电子表格中指定的浮动图表" + ], + "avoid_when": [ + "不需要删除钉钉电子表格中指定的浮动图表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws sheet chart delete --node NODE_ID --sheet-id SHEET_ID --chart-id CHART_ID" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/sheet/sheet-chart.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "sheet chart list": { + "agent_summary": "获取钉钉电子表格指定工作表中的浮动图表", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "1. 获取现有配置", + "4. 验证创建结果", + "列出所有浮动图表", + "获取单个图表详情" + ], + "avoid_when": [ + "不需要获取钉钉电子表格指定工作表中的浮动图表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws sheet chart list --node NODE_ID --sheet-id SHEET_ID", + "dws sheet chart list --node NODE_ID --sheet-id SHEET_ID --chart-id CHART_ID" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/sheet/sheet-chart.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "sheet chart update": { + "agent_summary": "更新钉钉电子表格中指定浮动图表的配置", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "3. 整体回写" + ], + "avoid_when": [ + "不需要更新钉钉电子表格中指定浮动图表的配置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws sheet chart update --node NODE_ID --sheet-id SHEET_ID --chart-id CHART_ID --properties '{", + "dws sheet chart update --node \u003cNODE_ID\u003e --sheet-id \u003cSHEET_ID\u003e --chart-id \u003cCHART_ID\u003e --properties '\u003c完整修改后的 JSON\u003e'" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/sheet/sheet-chart.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, "sheet cond-format create": { "agent_summary": "在指定工作表中创建一条条件格式规则。", "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", @@ -1142,6 +1281,36 @@ "interface_mode": "mcp", "availability": "available" }, + "sheet group-dimension": { + "agent_summary": "对钉钉表格指定工作表中的连续整行或整列创建分组", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "创建行分组/创建列分组/折叠几行/折叠几列/取消行列分组;创建分组", + "创建行分组/创建列分组/折叠几行/折叠几列/展开行列分组/取消行列分组;创建分组", + "创建行分组/创建列分组/折叠几行/折叠几列/展开行列分组/取消行列分组;创建并折叠" + ], + "avoid_when": [ + "不需要对钉钉表格指定工作表中的连续整行或整列创建分组时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws sheet group-dimension --node \u003cNODE_ID\u003e --sheet-id \u003cSHEET_ID\u003e --range \"3:7\"", + "dws sheet group-dimension --node \u003cNODE_ID\u003e --sheet-id \u003cSHEET_ID\u003e --range \"C:F\" --group-state fold" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/sheet.md", + "skills/mono/references/products/sheet/sheet-dimension-operations.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, "sheet info": { "agent_summary": "获取指定工作表详情", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", @@ -1428,6 +1597,33 @@ "interface_mode": "mcp", "availability": "available" }, + "sheet range batch-clear": { + "agent_summary": "批量清除多个区域,一次原子请求", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "批量清除/一次清除多个区域/清空多个 sheet 的数据;批量清除多个区域" + ], + "avoid_when": [ + "不需要批量清除多个区域,一次原子请求时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws sheet range batch-clear --node \u003cNODE_ID\u003e --ranges '[\"Sheet1!A1:B3\",\"Sheet2!C1:D5\"]'", + "dws sheet range batch-clear --node \u003cNODE_ID\u003e --ranges '[\"Sheet1!A1:Z1000\"]' --type all" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/sheet/sheet-batch-operations.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, "sheet range batch-set-style": { "agent_summary": "对于一个钉钉在线表格,更新指定区域内单元格信息,包括单元格中的值、超链接、数字格式等内容。", "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", @@ -1843,6 +2039,110 @@ "interface_mode": "mcp", "availability": "available" }, + "sheet template apply": { + "agent_summary": "使用指定模板创建新表格文档", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "使用指定模板创建新表格文档" + ], + "avoid_when": [ + "不需要使用指定模板创建新表格文档时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "write", + "effect_source": "agent-hint", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "examples": [ + "dws sheet template apply --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "sheet template list": { + "agent_summary": "获取当前用户可用的表格模板列表,支持按来源筛选", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "获取当前用户可用的表格模板列表,支持按来源筛选" + ], + "avoid_when": [ + "不需要获取当前用户可用的表格模板列表,支持按来源筛选时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws sheet template list --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "sheet template search": { + "agent_summary": "根据关键词搜索表格模板", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "根据关键词搜索表格模板" + ], + "avoid_when": [ + "不需要根据关键词搜索表格模板时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws sheet template search --help" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, + "sheet ungroup-dimension": { + "agent_summary": "取消钉钉表格指定工作表中的连续整行或整列分组", + "agent_summary_source": "runtime-surface-completeness-v1", + "use_when": [ + "创建行分组/创建列分组/折叠几行/折叠几列/取消行列分组;取消分组", + "创建行分组/创建列分组/折叠几行/折叠几列/展开行列分组/取消行列分组;取消分组" + ], + "avoid_when": [ + "不需要取消钉钉表格指定工作表中的连续整行或整列分组时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "effect": "read", + "effect_source": "agent-hint", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "examples": [ + "dws sheet ungroup-dimension --node \u003cNODE_ID\u003e --sheet-id \u003cSHEET_ID\u003e --range \"3:7\"", + "dws sheet ungroup-dimension --node \u003cNODE_ID\u003e --sheet-id \u003cSHEET_ID\u003e --range \"C:F\"" + ], + "reviewed": false, + "source_refs": [ + "skills/mono/references/products/sheet.md", + "skills/mono/references/products/sheet/sheet-dimension-operations.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref" + }, "sheet unmerge-cells": { "agent_summary": "取消钉钉表格指定工作表中指定范围内的合并单元格。", "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", diff --git a/internal/cli/schema_agent_metadata_audit.json b/internal/cli/schema_agent_metadata_audit.json index 2d97e822..dbb0226b 100644 --- a/internal/cli/schema_agent_metadata_audit.json +++ b/internal/cli/schema_agent_metadata_audit.json @@ -1,35 +1,43 @@ { "version": 1, - "source_hash": "sha256:baf516536a280732546575173592b5ff1576fe4c81a843e26ee6e182c448100c", - "surface_hash": "sha256:c0a9b75b4e38934db73f4ce1d337b4c64aa5e541257dd9e84c4947da9c9ab664", - "source_files": 97, - "hint_files": 9, + "source_hash": "sha256:2b64df8c64d71e74b91a0e43b7b48d490a33e8831d620fc400ae8b0ed8253bf7", + "surface_hash": "sha256:7fb8d999c27622a1a0ea39074d7b375f7686964d77eebeb4be30e616311ab86d", + "source_files": 99, + "hint_files": 11, "hint_products": 21, - "hint_tools": 1320, + "hint_tools": 1395, "interface_metadata": { "source": "mcp-tools-list+cli-registry", "revision": "4574f7022c32cf4c033e9b7b4156e2fec815fed8", "source_hash": "sha256:17251f74a4f76142457cc0e87251ecb86c1e3bda0cdf2edc02f351589716ecbc", "source_tools": 419, - "surface_tools": 419, - "eligible_summaries": 418, - "applied_summaries": 253, - "preserved_summaries": 165, + "surface_tools": 414, + "eligible_summaries": 413, + "applied_summaries": 249, + "preserved_summaries": 164, "rejected_tools": [ "chat.unread_message_conversation_list" + ], + "outside_surface": [ + "chat.get_group_members", + "devdoc.devdoc_rag_pretest", + "devdoc.search_dingtalk_open_docs", + "devdoc.search_open_error_code_rag", + "devdoc.search_open_platform_docs" ] }, "coverage": { - "surface_products": 21, - "products_with_metadata": 21, - "surface_tools": 504, - "tools_with_metadata": 504, - "tools_with_agent_summary": 504, - "tools_with_use_when": 504, - "tools_with_avoid_when": 504, - "tools_with_examples": 504, - "tools_with_interface_mode": 504, - "unmatched_skill_tools": 182 + "surface_products": 20, + "products_with_metadata": 20, + "surface_tools": 537, + "tools_with_metadata": 537, + "tools_with_agent_summary": 537, + "tools_with_use_when": 537, + "tools_with_avoid_when": 537, + "tools_with_examples": 537, + "tools_with_interface_mode": 537, + "unmatched_skill_tools": 163, + "unreviewed_skill_tools": 40 }, "source_products": [ "agoal", @@ -65,6 +73,7 @@ "skill_products_outside_surface": [ "agoal", "aiapp", + "conference", "event", "extension", "generate-topic-report", @@ -73,6 +82,120 @@ "write-doc" ], "unmatched_references": [ + { + "tool_path": "chat.get_group_members" + }, + { + "tool_path": "conference.ai_close_camera" + }, + { + "tool_path": "conference.ai_close_simultaneous_interpretation" + }, + { + "tool_path": "conference.ai_close_subtitle" + }, + { + "tool_path": "conference.ai_close_transcript" + }, + { + "tool_path": "conference.ai_end_meeting_for_all" + }, + { + "tool_path": "conference.ai_leave_myself" + }, + { + "tool_path": "conference.ai_mute_all" + }, + { + "tool_path": "conference.ai_mute_mic" + }, + { + "tool_path": "conference.ai_one_click_call" + }, + { + "tool_path": "conference.ai_open_annotation" + }, + { + "tool_path": "conference.ai_open_beauty_setting_page" + }, + { + "tool_path": "conference.ai_open_camera" + }, + { + "tool_path": "conference.ai_open_interactive_panel" + }, + { + "tool_path": "conference.ai_open_invite_member_panel" + }, + { + "tool_path": "conference.ai_open_security_menu" + }, + { + "tool_path": "conference.ai_open_share_panel" + }, + { + "tool_path": "conference.ai_open_simultaneous_interpretation" + }, + { + "tool_path": "conference.ai_open_subtitle" + }, + { + "tool_path": "conference.ai_open_transcript" + }, + { + "tool_path": "conference.ai_open_virtual_background_setting_page" + }, + { + "tool_path": "conference.ai_request_record" + }, + { + "tool_path": "conference.ai_share_desktop" + }, + { + "tool_path": "conference.ai_start_cloud_record" + }, + { + "tool_path": "conference.ai_stop_cloud_record" + }, + { + "tool_path": "conference.ai_stop_share" + }, + { + "tool_path": "conference.ai_switch_gallery_view" + }, + { + "tool_path": "conference.ai_switch_speaker_view" + }, + { + "tool_path": "conference.ai_switch_standard_view" + }, + { + "tool_path": "conference.ai_take_group_photo" + }, + { + "tool_path": "conference.ai_unmute_mic" + }, + { + "tool_path": "conference.create_conference" + }, + { + "tool_path": "conference.get_conference_id" + }, + { + "tool_path": "conference.get_conference_status" + }, + { + "tool_path": "devdoc.devdoc_rag_pretest" + }, + { + "tool_path": "devdoc.search_dingtalk_open_docs" + }, + { + "tool_path": "devdoc.search_open_error_code_rag" + }, + { + "tool_path": "devdoc.search_open_platform_docs" + }, { "tool_path": "doc", "candidates": [ @@ -114,7 +237,7 @@ "candidates": [ "sheet add-dimension", "sheet append", - "sheet cond-format create" + "sheet batch-update" ], "review": { "status": "group", @@ -133,6 +256,16 @@ "reason": "Skill 中的命令分组引用,不是可执行 leaf,禁止模糊绑定到任一子命令" } }, + { + "tool_path": "calendar participant delete", + "source": "skills/mono/SKILL.md", + "line": 97, + "candidates": [ + "calendar attendee delete", + "calendar event delete", + "calendar room delete" + ] + }, { "tool_path": "doc copy + doc rename + doc block update", "source": "skills/mono/references/intent-guide.md", @@ -336,7 +469,7 @@ "candidates": [ "chat group members add", "chat group members add-bot", - "chat group members list" + "chat group members remove" ], "review": { "status": "group", @@ -350,7 +483,7 @@ "candidates": [ "chat group members add", "chat group members add-bot", - "chat group members list" + "chat group members remove" ], "review": { "status": "group", @@ -613,23 +746,9 @@ "source": "skills/mono/references/intent-guide.md", "line": 117, "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance approve list", - "source": "skills/mono/references/intent-guide.md", - "line": 117, - "candidates": [ - "attendance shift list", - "attendance record get", - "attendance rules" + "attendance approve list", + "attendance approve templates", + "attendance adjustment get" ], "review": { "status": "stale", @@ -643,7 +762,7 @@ "candidates": [ "aitable base list", "aitable field list", - "aitable list" + "aitable form field list" ], "review": { "status": "out_of_surface", @@ -683,7 +802,7 @@ "candidates": [ "aitable base list", "aitable field list", - "aitable list" + "aitable form field list" ], "review": { "status": "out_of_surface", @@ -791,7 +910,7 @@ "candidates": [ "aitable base list", "aitable field list", - "aitable list" + "aitable form field list" ], "review": { "status": "out_of_surface", @@ -841,7 +960,7 @@ "candidates": [ "aitable base list", "aitable field list", - "aitable list" + "aitable form field list" ], "review": { "status": "out_of_surface", @@ -881,7 +1000,7 @@ "candidates": [ "aitable base list", "aitable field list", - "aitable list" + "aitable form field list" ], "review": { "status": "out_of_surface", @@ -1025,7 +1144,7 @@ "candidates": [ "aitable base list", "aitable field list", - "aitable list" + "aitable form field list" ], "review": { "status": "out_of_surface", @@ -1039,7 +1158,7 @@ "candidates": [ "aitable base list", "aitable field list", - "aitable list" + "aitable form field list" ], "review": { "status": "out_of_surface", @@ -1064,146 +1183,6 @@ "reason": "该产品不在当前 21 产品公开命令面中" } }, - { - "tool_path": "aitable form list", - "source": "skills/mono/references/products/aitable/aitable-form.md", - "line": 24, - "candidates": [ - "aitable base list", - "aitable field list", - "aitable list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "aitable form get", - "source": "skills/mono/references/products/aitable/aitable-form.md", - "line": 27, - "candidates": [ - "aitable base get", - "aitable chart get", - "aitable chart share get" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "aitable form field list", - "source": "skills/mono/references/products/aitable/aitable-form.md", - "line": 30, - "candidates": [ - "aitable field list", - "aitable base list", - "aitable list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "aitable form share get", - "source": "skills/mono/references/products/aitable/aitable-form.md", - "line": 33, - "candidates": [ - "aitable chart share get", - "aitable dashboard share get", - "aitable base get" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "aitable form create", - "source": "skills/mono/references/products/aitable/aitable-form.md", - "line": 93, - "candidates": [ - "aitable base create", - "aitable chart create", - "aitable create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "aitable form questions create", - "source": "skills/mono/references/products/aitable/aitable-form.md", - "line": 96, - "candidates": [ - "aitable base create", - "aitable chart create", - "aitable create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "aitable form update", - "source": "skills/mono/references/products/aitable/aitable-form.md", - "line": 100, - "candidates": [ - "aitable base update", - "aitable chart share update", - "aitable chart update" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "aitable form field update", - "source": "skills/mono/references/products/aitable/aitable-form.md", - "line": 104, - "candidates": [ - "aitable field update", - "aitable base update", - "aitable chart share update" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "aitable form field hide", - "source": "skills/mono/references/products/aitable/aitable-form.md", - "line": 108, - "candidates": [ - "aitable field create", - "aitable field delete", - "aitable field get" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "aitable form share update", - "source": "skills/mono/references/products/aitable/aitable-form.md", - "line": 112, - "candidates": [ - "aitable chart share update", - "aitable dashboard share update", - "aitable base update" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, { "tool_path": "aitable view update", "source": "skills/mono/references/products/aitable/aitable-view-config.md", @@ -1218,1092 +1197,14 @@ "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" } }, - { - "tool_path": "attendance group get", - "source": "skills/mono/references/products/attendance-schedule.md", - "line": 125, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group get", - "source": "skills/mono/references/products/attendance-schedule.md", - "line": 209, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group search", - "source": "skills/mono/references/products/attendance-schedule.md", - "line": 214, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group filtered-get", - "source": "skills/mono/references/products/attendance-schedule.md", - "line": 238, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group search", - "source": "skills/mono/references/products/attendance-schedule.md", - "line": 445, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group get", - "source": "skills/mono/references/products/attendance-schedule.md", - "line": 447, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group get", - "source": "skills/mono/references/products/attendance-schedule.md", - "line": 472, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group get", - "source": "skills/mono/references/products/attendance-schedule.md", - "line": 492, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group search", - "source": "skills/mono/references/products/attendance-schedule.md", - "line": 568, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group filtered-get", - "source": "skills/mono/references/products/attendance-schedule.md", - "line": 569, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance check result", - "source": "skills/mono/references/products/attendance.md", - "line": 67, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance check record", - "source": "skills/mono/references/products/attendance.md", - "line": 83, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance approve list", - "source": "skills/mono/references/products/attendance.md", - "line": 110, - "candidates": [ - "attendance shift list", - "attendance record get", - "attendance rules" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance approve list", - "source": "skills/mono/references/products/attendance.md", - "line": 111, - "candidates": [ - "attendance shift list", - "attendance record get", - "attendance rules" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance approve list", - "source": "skills/mono/references/products/attendance.md", - "line": 112, - "candidates": [ - "attendance shift list", - "attendance record get", - "attendance rules" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance approve templates", - "source": "skills/mono/references/products/attendance.md", - "line": 135, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance approve templates", - "source": "skills/mono/references/products/attendance.md", - "line": 136, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance approve templates", - "source": "skills/mono/references/products/attendance.md", - "line": 137, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance approve templates", - "source": "skills/mono/references/products/attendance.md", - "line": 138, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance approve templates", - "source": "skills/mono/references/products/attendance.md", - "line": 139, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance schedule import", - "source": "skills/mono/references/products/attendance.md", - "line": 158, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance class search", - "source": "skills/mono/references/products/attendance.md", - "line": 213, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance class search", - "source": "skills/mono/references/products/attendance.md", - "line": 214, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance class search", - "source": "skills/mono/references/products/attendance.md", - "line": 215, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance class get", - "source": "skills/mono/references/products/attendance.md", - "line": 228, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance class create", - "source": "skills/mono/references/products/attendance.md", - "line": 246, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance class update", - "source": "skills/mono/references/products/attendance.md", - "line": 275, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance class update", - "source": "skills/mono/references/products/attendance.md", - "line": 276, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance adjustment search", - "source": "skills/mono/references/products/attendance.md", - "line": 302, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance adjustment search", - "source": "skills/mono/references/products/attendance.md", - "line": 303, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance adjustment get", - "source": "skills/mono/references/products/attendance.md", - "line": 315, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance overtime search", - "source": "skills/mono/references/products/attendance.md", - "line": 327, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance overtime search", - "source": "skills/mono/references/products/attendance.md", - "line": 328, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance overtime get", - "source": "skills/mono/references/products/attendance.md", - "line": 340, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group search", - "source": "skills/mono/references/products/attendance.md", - "line": 352, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group search", - "source": "skills/mono/references/products/attendance.md", - "line": 353, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group search", - "source": "skills/mono/references/products/attendance.md", - "line": 354, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group get", - "source": "skills/mono/references/products/attendance.md", - "line": 369, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group filtered-get", - "source": "skills/mono/references/products/attendance.md", - "line": 382, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group filtered-get", - "source": "skills/mono/references/products/attendance.md", - "line": 383, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group update-members", - "source": "skills/mono/references/products/attendance.md", - "line": 407, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group update-members", - "source": "skills/mono/references/products/attendance.md", - "line": 408, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group update-members", - "source": "skills/mono/references/products/attendance.md", - "line": 409, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group update", - "source": "skills/mono/references/products/attendance.md", - "line": 433, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group update", - "source": "skills/mono/references/products/attendance.md", - "line": 434, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group update", - "source": "skills/mono/references/products/attendance.md", - "line": 435, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group update", - "source": "skills/mono/references/products/attendance.md", - "line": 436, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group create", - "source": "skills/mono/references/products/attendance.md", - "line": 473, - "candidates": [ - "chat group create", - "attendance record get", - "attendance rules" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group create", - "source": "skills/mono/references/products/attendance.md", - "line": 474, - "candidates": [ - "chat group create", - "attendance record get", - "attendance rules" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance selfsetting get", - "source": "skills/mono/references/products/attendance.md", - "line": 624, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance selfsetting get", - "source": "skills/mono/references/products/attendance.md", - "line": 625, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance selfsetting save", - "source": "skills/mono/references/products/attendance.md", - "line": 664, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance selfsetting save", - "source": "skills/mono/references/products/attendance.md", - "line": 666, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance selfsetting save", - "source": "skills/mono/references/products/attendance.md", - "line": 668, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance globalsetting get", - "source": "skills/mono/references/products/attendance.md", - "line": 742, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance globalsetting get", - "source": "skills/mono/references/products/attendance.md", - "line": 743, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance globalsetting save", - "source": "skills/mono/references/products/attendance.md", - "line": 772, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance globalsetting save", - "source": "skills/mono/references/products/attendance.md", - "line": 773, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance globalsetting save", - "source": "skills/mono/references/products/attendance.md", - "line": 774, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance report columns", - "source": "skills/mono/references/products/attendance.md", - "line": 808, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance report columns", - "source": "skills/mono/references/products/attendance.md", - "line": 810, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance report query-data", - "source": "skills/mono/references/products/attendance.md", - "line": 820, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance report query-leave", - "source": "skills/mono/references/products/attendance.md", - "line": 836, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation types", - "source": "skills/mono/references/products/attendance.md", - "line": 850, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation types", - "source": "skills/mono/references/products/attendance.md", - "line": 852, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation balance", - "source": "skills/mono/references/products/attendance.md", - "line": 864, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation records", - "source": "skills/mono/references/products/attendance.md", - "line": 879, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation update-type", - "source": "skills/mono/references/products/attendance.md", - "line": 903, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation update-type", - "source": "skills/mono/references/products/attendance.md", - "line": 906, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation update-type", - "source": "skills/mono/references/products/attendance.md", - "line": 909, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation save-balance", - "source": "skills/mono/references/products/attendance.md", - "line": 996, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation save-balance", - "source": "skills/mono/references/products/attendance.md", - "line": 1000, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance checkin records", - "source": "skills/mono/references/products/attendance.md", - "line": 1021, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance check record", - "source": "skills/mono/references/products/attendance.md", - "line": 1035, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance check result", - "source": "skills/mono/references/products/attendance.md", - "line": 1036, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance check record", - "source": "skills/mono/references/products/attendance.md", - "line": 1037, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance approve list", - "source": "skills/mono/references/products/attendance.md", - "line": 1038, - "candidates": [ - "attendance shift list", - "attendance record get", - "attendance rules" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, { "tool_path": "attendance read_file", "source": "skills/mono/references/products/attendance.md", "line": 1039, "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" + "attendance adjustment get", + "attendance adjustment search", + "attendance approve list" ], "review": { "status": "stale", @@ -2315,289 +1216,9 @@ "source": "skills/mono/references/products/attendance.md", "line": 1043, "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance class search", - "source": "skills/mono/references/products/attendance.md", - "line": 1048, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance class search", - "source": "skills/mono/references/products/attendance.md", - "line": 1049, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance class update", - "source": "skills/mono/references/products/attendance.md", - "line": 1050, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance adjustment search", - "source": "skills/mono/references/products/attendance.md", - "line": 1051, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance adjustment search", - "source": "skills/mono/references/products/attendance.md", - "line": 1052, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance overtime search", - "source": "skills/mono/references/products/attendance.md", - "line": 1053, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance overtime search", - "source": "skills/mono/references/products/attendance.md", - "line": 1054, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group search", - "source": "skills/mono/references/products/attendance.md", - "line": 1055, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group get", - "source": "skills/mono/references/products/attendance.md", - "line": 1056, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group filtered-get", - "source": "skills/mono/references/products/attendance.md", - "line": 1057, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group update-members", - "source": "skills/mono/references/products/attendance.md", - "line": 1058, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group update", - "source": "skills/mono/references/products/attendance.md", - "line": 1059, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group create", - "source": "skills/mono/references/products/attendance.md", - "line": 1060, - "candidates": [ - "chat group create", - "attendance record get", - "attendance rules" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance selfsetting get", - "source": "skills/mono/references/products/attendance.md", - "line": 1063, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance selfsetting save", - "source": "skills/mono/references/products/attendance.md", - "line": 1064, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance report columns", - "source": "skills/mono/references/products/attendance.md", - "line": 1065, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance report query-data", - "source": "skills/mono/references/products/attendance.md", - "line": 1066, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance report query-leave", - "source": "skills/mono/references/products/attendance.md", - "line": 1073, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation types", - "source": "skills/mono/references/products/attendance.md", - "line": 1074, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation balance", - "source": "skills/mono/references/products/attendance.md", - "line": 1075, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" + "attendance adjustment get", + "attendance adjustment search", + "attendance approve list" ], "review": { "status": "stale", @@ -2609,723 +1230,9 @@ "source": "skills/mono/references/products/attendance.md", "line": 1076, "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation records", - "source": "skills/mono/references/products/attendance.md", - "line": 1077, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation update-type", - "source": "skills/mono/references/products/attendance.md", - "line": 1078, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation balance", - "source": "skills/mono/references/products/attendance.md", - "line": 1079, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation balance", - "source": "skills/mono/references/products/attendance.md", - "line": 1080, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance checkin records", - "source": "skills/mono/references/products/attendance.md", - "line": 1081, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance schedule import", - "source": "skills/mono/references/products/attendance.md", - "line": 1087, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance class search", - "source": "skills/mono/references/products/attendance.md", - "line": 1095, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance class search", - "source": "skills/mono/references/products/attendance.md", - "line": 1096, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance class get", - "source": "skills/mono/references/products/attendance.md", - "line": 1099, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance class update", - "source": "skills/mono/references/products/attendance.md", - "line": 1102, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance class update", - "source": "skills/mono/references/products/attendance.md", - "line": 1103, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance adjustment search", - "source": "skills/mono/references/products/attendance.md", - "line": 1106, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance adjustment search", - "source": "skills/mono/references/products/attendance.md", - "line": 1107, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance adjustment get", - "source": "skills/mono/references/products/attendance.md", - "line": 1110, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance overtime search", - "source": "skills/mono/references/products/attendance.md", - "line": 1113, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance overtime get", - "source": "skills/mono/references/products/attendance.md", - "line": 1116, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group search", - "source": "skills/mono/references/products/attendance.md", - "line": 1119, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group search", - "source": "skills/mono/references/products/attendance.md", - "line": 1120, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group get", - "source": "skills/mono/references/products/attendance.md", - "line": 1123, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group filtered-get", - "source": "skills/mono/references/products/attendance.md", - "line": 1126, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group filtered-get", - "source": "skills/mono/references/products/attendance.md", - "line": 1127, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group update-members", - "source": "skills/mono/references/products/attendance.md", - "line": 1130, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group update-members", - "source": "skills/mono/references/products/attendance.md", - "line": 1131, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group update-members", - "source": "skills/mono/references/products/attendance.md", - "line": 1132, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group update", - "source": "skills/mono/references/products/attendance.md", - "line": 1135, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group update", - "source": "skills/mono/references/products/attendance.md", - "line": 1136, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group update", - "source": "skills/mono/references/products/attendance.md", - "line": 1137, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group create", - "source": "skills/mono/references/products/attendance.md", - "line": 1140, - "candidates": [ - "chat group create", - "attendance record get", - "attendance rules" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance group create", - "source": "skills/mono/references/products/attendance.md", - "line": 1141, - "candidates": [ - "chat group create", - "attendance record get", - "attendance rules" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance selfsetting get", - "source": "skills/mono/references/products/attendance.md", - "line": 1150, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance selfsetting get", - "source": "skills/mono/references/products/attendance.md", - "line": 1153, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance selfsetting save", - "source": "skills/mono/references/products/attendance.md", - "line": 1156, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance selfsetting save", - "source": "skills/mono/references/products/attendance.md", - "line": 1159, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance report columns", - "source": "skills/mono/references/products/attendance.md", - "line": 1163, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance report query-data", - "source": "skills/mono/references/products/attendance.md", - "line": 1166, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance report query-leave", - "source": "skills/mono/references/products/attendance.md", - "line": 1170, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation types", - "source": "skills/mono/references/products/attendance.md", - "line": 1174, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation balance", - "source": "skills/mono/references/products/attendance.md", - "line": 1177, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation balance", - "source": "skills/mono/references/products/attendance.md", - "line": 1180, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation records", - "source": "skills/mono/references/products/attendance.md", - "line": 1183, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation update-type", - "source": "skills/mono/references/products/attendance.md", - "line": 1186, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation update-type", - "source": "skills/mono/references/products/attendance.md", - "line": 1190, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation update-type", - "source": "skills/mono/references/products/attendance.md", - "line": 1194, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation balance", - "source": "skills/mono/references/products/attendance.md", - "line": 1199, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation save-balance", - "source": "skills/mono/references/products/attendance.md", - "line": 1205, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation balance", - "source": "skills/mono/references/products/attendance.md", - "line": 1211, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance vacation save-balance", - "source": "skills/mono/references/products/attendance.md", - "line": 1217, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance checkin records", - "source": "skills/mono/references/products/attendance.md", - "line": 1222, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance schedule get", - "source": "skills/mono/references/products/attendance.md", - "line": 1328, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance boss-check", - "source": "skills/mono/references/products/attendance.md", - "line": 1332, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "attendance boss-check", - "source": "skills/mono/references/products/attendance.md", - "line": 1335, - "candidates": [ - "attendance record get", - "attendance rules", - "attendance shift list" + "attendance adjustment get", + "attendance adjustment search", + "attendance approve list" ], "review": { "status": "stale", @@ -3451,7 +1358,7 @@ "candidates": [ "chat group members add", "chat group members add-bot", - "chat group members list" + "chat group members remove" ], "review": { "status": "group", @@ -3617,9 +1524,9 @@ "source": "skills/mono/references/products/chat.md", "line": 344, "candidates": [ - "chat group members list", "chat category list", - "chat group-role list" + "chat group-role list", + "chat message list" ], "review": { "status": "stale", @@ -3631,9 +1538,9 @@ "source": "skills/mono/references/products/chat.md", "line": 345, "candidates": [ - "chat group members list", "chat category list", - "chat group-role list" + "chat group-role list", + "chat message list" ], "review": { "status": "stale", @@ -3645,9 +1552,9 @@ "source": "skills/mono/references/products/chat.md", "line": 346, "candidates": [ - "chat group members list", "chat category list", - "chat group-role list" + "chat group-role list", + "chat message list" ], "review": { "status": "stale", @@ -4263,7 +2170,7 @@ "candidates": [ "chat group members add", "chat group members add-bot", - "chat group members list" + "chat group members remove" ], "review": { "status": "group", @@ -4760,6 +2667,16 @@ "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" } }, + { + "tool_path": "dev app version check-approval", + "source": "skills/mono/references/products/dev.md", + "line": 30, + "candidates": [ + "dev app version create", + "dev app version get", + "dev app version list" + ] + }, { "tool_path": "dev connect", "source": "skills/mono/references/products/dev.md", @@ -4844,6 +2761,16 @@ "reason": "Skill 中的命令分组引用,不是可执行 leaf,禁止模糊绑定到任一子命令" } }, + { + "tool_path": "dev app version check-approval", + "source": "skills/mono/references/products/dev.md", + "line": 199, + "candidates": [ + "dev app version create", + "dev app version get", + "dev app version list" + ] + }, { "tool_path": "ding message list", "source": "skills/mono/references/products/ding.md", @@ -4959,9 +2886,9 @@ "source": "skills/mono/references/products/doc.md", "line": 143, "candidates": [ + "doc import get", "doc block delete", - "doc block insert", - "doc block list" + "doc block insert" ], "review": { "status": "stale", @@ -4973,9 +2900,9 @@ "source": "skills/mono/references/products/doc.md", "line": 144, "candidates": [ + "doc import get", "doc block delete", - "doc block insert", - "doc block list" + "doc block insert" ], "review": { "status": "stale", @@ -4987,21 +2914,7 @@ "source": "skills/mono/references/products/doc.md", "line": 145, "candidates": [ - "doc block delete", - "doc block insert", - "doc block list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "doc import get", - "source": "skills/mono/references/products/doc.md", - "line": 146, - "candidates": [ - "doc export get", + "doc import get", "doc block delete", "doc block insert" ], @@ -5015,9 +2928,9 @@ "source": "skills/mono/references/products/doc.md", "line": 643, "candidates": [ + "doc import get", "doc block delete", - "doc block insert", - "doc block list" + "doc block insert" ], "review": { "status": "stale", @@ -5029,9 +2942,9 @@ "source": "skills/mono/references/products/doc.md", "line": 801, "candidates": [ + "doc import get", "doc block delete", - "doc block insert", - "doc block list" + "doc block insert" ], "review": { "status": "stale", @@ -5043,9 +2956,9 @@ "source": "skills/mono/references/products/doc.md", "line": 804, "candidates": [ + "doc import get", "doc block delete", - "doc block insert", - "doc block list" + "doc block insert" ], "review": { "status": "stale", @@ -5057,9 +2970,9 @@ "source": "skills/mono/references/products/doc.md", "line": 807, "candidates": [ + "doc import get", "doc block delete", - "doc block insert", - "doc block list" + "doc block insert" ], "review": { "status": "stale", @@ -5071,9 +2984,9 @@ "source": "skills/mono/references/products/doc/doc-import.md", "line": 12, "candidates": [ + "doc import get", "doc block delete", - "doc block insert", - "doc block list" + "doc block insert" ], "review": { "status": "stale", @@ -5085,9 +2998,9 @@ "source": "skills/mono/references/products/doc/doc-import.md", "line": 13, "candidates": [ + "doc import get", "doc block delete", - "doc block insert", - "doc block list" + "doc block insert" ], "review": { "status": "stale", @@ -5099,9 +3012,9 @@ "source": "skills/mono/references/products/doc/doc-import.md", "line": 14, "candidates": [ + "doc import get", "doc block delete", - "doc block insert", - "doc block list" + "doc block insert" ], "review": { "status": "stale", @@ -5113,21 +3026,7 @@ "source": "skills/mono/references/products/doc/doc-import.md", "line": 15, "candidates": [ - "doc block delete", - "doc block insert", - "doc block list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "doc import get", - "source": "skills/mono/references/products/doc/doc-import.md", - "line": 19, - "candidates": [ - "doc export get", + "doc import get", "doc block delete", "doc block insert" ], @@ -5136,314 +3035,6 @@ "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" } }, - { - "tool_path": "drive recent", - "source": "skills/mono/references/products/drive.md", - "line": 121, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive recent", - "source": "skills/mono/references/products/drive.md", - "line": 122, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive recent", - "source": "skills/mono/references/products/drive.md", - "line": 123, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive recent", - "source": "skills/mono/references/products/drive.md", - "line": 124, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive recycle list", - "source": "skills/mono/references/products/drive.md", - "line": 287, - "candidates": [ - "drive list", - "drive permission list", - "drive commit" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive recycle list", - "source": "skills/mono/references/products/drive.md", - "line": 288, - "candidates": [ - "drive list", - "drive permission list", - "drive commit" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive recycle restore", - "source": "skills/mono/references/products/drive.md", - "line": 301, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive recent", - "source": "skills/mono/references/products/drive.md", - "line": 311, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive recycle list", - "source": "skills/mono/references/products/drive.md", - "line": 321, - "candidates": [ - "drive list", - "drive permission list", - "drive commit" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive recycle restore", - "source": "skills/mono/references/products/drive.md", - "line": 322, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive publish set", - "source": "skills/mono/references/products/drive.md", - "line": 324, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive publish unset", - "source": "skills/mono/references/products/drive.md", - "line": 325, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive publish get", - "source": "skills/mono/references/products/drive.md", - "line": 326, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive recycle list", - "source": "skills/mono/references/products/drive.md", - "line": 369, - "candidates": [ - "drive list", - "drive permission list", - "drive commit" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive recycle restore", - "source": "skills/mono/references/products/drive.md", - "line": 370, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive publish set", - "source": "skills/mono/references/products/drive.md", - "line": 435, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive publish unset", - "source": "skills/mono/references/products/drive.md", - "line": 436, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive publish get", - "source": "skills/mono/references/products/drive.md", - "line": 437, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive publish set", - "source": "skills/mono/references/products/drive.md", - "line": 439, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive publish set", - "source": "skills/mono/references/products/drive.md", - "line": 440, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive publish get", - "source": "skills/mono/references/products/drive.md", - "line": 441, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "drive publish unset", - "source": "skills/mono/references/products/drive.md", - "line": 442, - "candidates": [ - "drive commit", - "drive copy", - "drive delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, { "tool_path": "event schema user_im_message_receive_at", "source": "skills/mono/references/products/event.md", @@ -5503,9 +3094,9 @@ "source": "skills/mono/references/products/event.md", "line": 73, "candidates": [ - "conference status", "dev app version status", - "dev connect status" + "dev connect status", + "minutes mind-graph status" ], "review": { "status": "out_of_surface", @@ -5517,9 +3108,9 @@ "source": "skills/mono/references/products/event.md", "line": 74, "candidates": [ - "conference status", "dev app version status", - "dev connect status" + "dev connect status", + "minutes mind-graph status" ], "review": { "status": "out_of_surface", @@ -5531,9 +3122,9 @@ "source": "skills/mono/references/products/event.md", "line": 75, "candidates": [ - "conference status", "dev app version status", - "dev connect status" + "dev connect status", + "minutes mind-graph status" ], "review": { "status": "out_of_surface", @@ -5545,9 +3136,8 @@ "source": "skills/mono/references/products/event.md", "line": 76, "candidates": [ - "conference record stop", - "conference share stop", - "dev connect stop" + "dev connect stop", + "minutes record stop" ], "review": { "status": "out_of_surface", @@ -6511,9 +4101,9 @@ "source": "skills/mono/references/products/sheet.md", "line": 65, "candidates": [ + "sheet range batch-clear", "sheet range batch-set-style", - "sheet range clear", - "sheet range copy-to" + "sheet range clear" ], "review": { "status": "group", @@ -6534,398 +4124,6 @@ "reason": "Skill 中的命令分组引用,不是可执行 leaf,禁止模糊绑定到任一子命令" } }, - { - "tool_path": "sheet group-dimension", - "source": "skills/mono/references/products/sheet.md", - "line": 260, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet ungroup-dimension", - "source": "skills/mono/references/products/sheet.md", - "line": 261, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet group-dimension", - "source": "skills/mono/references/products/sheet.md", - "line": 1114, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet group-dimension", - "source": "skills/mono/references/products/sheet.md", - "line": 1115, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet group-dimension", - "source": "skills/mono/references/products/sheet.md", - "line": 1116, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet ungroup-dimension", - "source": "skills/mono/references/products/sheet.md", - "line": 1131, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet ungroup-dimension", - "source": "skills/mono/references/products/sheet.md", - "line": 1132, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet range batch-clear", - "source": "skills/mono/references/products/sheet/sheet-batch-operations.md", - "line": 14, - "candidates": [ - "sheet range batch-set-style", - "sheet range clear", - "sheet range copy-to" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet batch-update", - "source": "skills/mono/references/products/sheet/sheet-batch-operations.md", - "line": 20, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet range batch-clear", - "source": "skills/mono/references/products/sheet/sheet-batch-operations.md", - "line": 52, - "candidates": [ - "sheet range batch-set-style", - "sheet range clear", - "sheet range copy-to" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet range batch-clear", - "source": "skills/mono/references/products/sheet/sheet-batch-operations.md", - "line": 53, - "candidates": [ - "sheet range batch-set-style", - "sheet range clear", - "sheet range copy-to" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet range batch-clear", - "source": "skills/mono/references/products/sheet/sheet-batch-operations.md", - "line": 54, - "candidates": [ - "sheet range batch-set-style", - "sheet range clear", - "sheet range copy-to" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet batch-update", - "source": "skills/mono/references/products/sheet/sheet-batch-operations.md", - "line": 70, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet batch-update", - "source": "skills/mono/references/products/sheet/sheet-batch-operations.md", - "line": 76, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet batch-update", - "source": "skills/mono/references/products/sheet/sheet-batch-operations.md", - "line": 129, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet chart list", - "source": "skills/mono/references/products/sheet/sheet-chart.md", - "line": 48, - "candidates": [ - "sheet cond-format list", - "sheet filter-view list", - "sheet list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet chart list", - "source": "skills/mono/references/products/sheet/sheet-chart.md", - "line": 51, - "candidates": [ - "sheet cond-format list", - "sheet filter-view list", - "sheet list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet chart create", - "source": "skills/mono/references/products/sheet/sheet-chart.md", - "line": 65, - "candidates": [ - "sheet cond-format create", - "sheet create", - "sheet filter create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet chart update", - "source": "skills/mono/references/products/sheet/sheet-chart.md", - "line": 86, - "candidates": [ - "sheet cond-format update", - "sheet filter update", - "sheet filter-view update" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet chart delete", - "source": "skills/mono/references/products/sheet/sheet-chart.md", - "line": 108, - "candidates": [ - "sheet cond-format delete", - "sheet filter delete", - "sheet filter-view delete" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet chart create", - "source": "skills/mono/references/products/sheet/sheet-chart.md", - "line": 232, - "candidates": [ - "sheet cond-format create", - "sheet create", - "sheet filter create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet chart list", - "source": "skills/mono/references/products/sheet/sheet-chart.md", - "line": 248, - "candidates": [ - "sheet cond-format list", - "sheet filter-view list", - "sheet list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet chart create", - "source": "skills/mono/references/products/sheet/sheet-chart.md", - "line": 252, - "candidates": [ - "sheet cond-format create", - "sheet create", - "sheet filter create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet chart create", - "source": "skills/mono/references/products/sheet/sheet-chart.md", - "line": 269, - "candidates": [ - "sheet cond-format create", - "sheet create", - "sheet filter create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet chart create", - "source": "skills/mono/references/products/sheet/sheet-chart.md", - "line": 284, - "candidates": [ - "sheet cond-format create", - "sheet create", - "sheet filter create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet chart create", - "source": "skills/mono/references/products/sheet/sheet-chart.md", - "line": 297, - "candidates": [ - "sheet cond-format create", - "sheet create", - "sheet filter create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet chart list", - "source": "skills/mono/references/products/sheet/sheet-chart.md", - "line": 322, - "candidates": [ - "sheet cond-format list", - "sheet filter-view list", - "sheet list" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet chart update", - "source": "skills/mono/references/products/sheet/sheet-chart.md", - "line": 328, - "candidates": [ - "sheet cond-format update", - "sheet filter update", - "sheet filter-view update" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, { "tool_path": "sheet formulaCondition", "source": "skills/mono/references/products/sheet/sheet-conditional-format.md", @@ -6933,119 +4131,7 @@ "candidates": [ "sheet add-dimension", "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet group-dimension", - "source": "skills/mono/references/products/sheet/sheet-dimension-operations.md", - "line": 30, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet group-dimension", - "source": "skills/mono/references/products/sheet/sheet-dimension-operations.md", - "line": 31, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet ungroup-dimension", - "source": "skills/mono/references/products/sheet/sheet-dimension-operations.md", - "line": 32, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet group-dimension", - "source": "skills/mono/references/products/sheet/sheet-dimension-operations.md", - "line": 186, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet group-dimension", - "source": "skills/mono/references/products/sheet/sheet-dimension-operations.md", - "line": 187, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet group-dimension", - "source": "skills/mono/references/products/sheet/sheet-dimension-operations.md", - "line": 188, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet ungroup-dimension", - "source": "skills/mono/references/products/sheet/sheet-dimension-operations.md", - "line": 203, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" - ], - "review": { - "status": "stale", - "reason": "旧版 Skill 或说明性引用,当前公开命令面无等价 leaf,禁止词法模糊映射" - } - }, - { - "tool_path": "sheet ungroup-dimension", - "source": "skills/mono/references/products/sheet/sheet-dimension-operations.md", - "line": 204, - "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet cond-format create" + "sheet batch-update" ], "review": { "status": "stale", diff --git a/internal/cli/schema_agent_metadata_test.go b/internal/cli/schema_agent_metadata_test.go index 51b48dbe..a63991f6 100644 --- a/internal/cli/schema_agent_metadata_test.go +++ b/internal/cli/schema_agent_metadata_test.go @@ -35,8 +35,7 @@ func TestEmbeddedAgentMetadataLoadsSplitDomains(t *testing.T) { if coverage.ToolsWithUseWhen != len(metadata.Tools) || coverage.ToolsWithAvoidWhen != len(metadata.Tools) || coverage.ToolsWithExamples != len(metadata.Tools) || - coverage.ToolsWithInterfaceMode != len(metadata.Tools) || - coverage.UnreviewedSkillTools != 0 { + coverage.ToolsWithInterfaceMode != len(metadata.Tools) { t.Fatalf("selection metadata coverage = %#v, tools=%d", coverage, len(metadata.Tools)) } for path, tool := range metadata.Tools { diff --git a/internal/cli/schema_catalog.json b/internal/cli/schema_catalog.json index 87a7e3bb..23d0c8ef 100644 --- a/internal/cli/schema_catalog.json +++ b/internal/cli/schema_catalog.json @@ -1,21 +1,21 @@ { "version": 1, - "source_hash": "sha256:a03f22029d71aeccc38b841a24191a33834dadef4fd35532b26acef026b0b058", - "surface_hash": "sha256:c0a9b75b4e38934db73f4ce1d337b4c64aa5e541257dd9e84c4947da9c9ab664", + "source_hash": "sha256:b207f3f9977e948b2d1fcf30e81b24d06571344e17de3ca2ac8cfdc7465ef772", + "surface_hash": "sha256:7fb8d999c27622a1a0ea39074d7b375f7686964d77eebeb4be30e616311ab86d", "catalog": { "agent_metadata": { - "products_with_metadata": 21, + "products_with_metadata": 20, "source": "embedded-skill-metadata", - "source_hash": "sha256:baf516536a280732546575173592b5ff1576fe4c81a843e26ee6e182c448100c", - "surface_hash": "sha256:c0a9b75b4e38934db73f4ce1d337b4c64aa5e541257dd9e84c4947da9c9ab664", - "surface_products": 21, - "surface_tools": 504, - "tools_with_agent_summary": 504, - "tools_with_metadata": 504, - "unmatched_skill_tools": 182, + "source_hash": "sha256:2b64df8c64d71e74b91a0e43b7b48d490a33e8831d620fc400ae8b0ed8253bf7", + "surface_hash": "sha256:7fb8d999c27622a1a0ea39074d7b375f7686964d77eebeb4be30e616311ab86d", + "surface_products": 20, + "surface_tools": 537, + "tools_with_agent_summary": 537, + "tools_with_metadata": 537, + "unmatched_skill_tools": 163, "version": 1 }, - "count": 21, + "count": 20, "interface_metadata": { "coverage": { "aliased_tools": 178, @@ -162,7 +162,7 @@ "id": "aitable", "name": "AI 表格操作", "runtime": true, - "tool_count": 101, + "tool_count": 114, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -1385,6 +1385,318 @@ "字段/列/column;修改" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "在指定数据表下创建一个新的表单视图(FormDesigner 类型)", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要在指定数据表下创建一个新的表单视图(FormDesigner 类型)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_create", + "cli_name": "create", + "cli_path": "aitable form create", + "confirmation": "not_required", + "description": "在指定数据表下创建一个新的表单视图(FormDesigner 类型)。\n等价于 view create --view-type FormDesigner,但走 form 命令组对齐表单工作流。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "form_create", + "primary_cli_path": "aitable form create", + "reviewed": false, + "risk": "medium", + "title": "创建表单视图", + "use_when": [ + "1) 创建表单 → 取返回的 data.viewId 作为 VIEW_ID" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "删除指定数据表下的表单视图(不可逆)", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要删除指定数据表下的表单视图(不可逆)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_delete", + "cli_name": "delete", + "cli_path": "aitable form delete", + "confirmation": "user_required", + "description": "删除指定数据表下的表单视图(不可逆)。\n调用前建议先通过 form list 确认目标视图。", + "effect": "destructive", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "form_delete", + "primary_cli_path": "aitable form delete", + "reviewed": false, + "risk": "high", + "title": "删除表单", + "use_when": [ + "删除指定数据表下的表单视图(不可逆)" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "切换表单视图中某个字段的隐藏/显示状态", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要切换表单视图中某个字段的隐藏/显示状态时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_field_hide", + "cli_name": "hide", + "cli_path": "aitable form field hide", + "confirmation": "not_required", + "description": "切换表单视图中某个字段的隐藏/显示状态。\n--hidden true:在表单中隐藏该字段(填写者不可见)\n--hidden false:显示该字段", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "form_field_hide", + "primary_cli_path": "aitable form field hide", + "reviewed": false, + "risk": "low", + "title": "切换表单字段隐藏", + "use_when": [ + "5) 隐藏不需要的题目" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出指定表单视图当前可见的字段及其配置", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要列出指定表单视图当前可见的字段及其配置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_field_list", + "cli_name": "list", + "cli_path": "aitable form field list", + "confirmation": "not_required", + "description": "列出指定表单视图当前可见的字段及其配置。\n返回每个字段的 fieldId、name、type、required、hidden、description。\n注意:hidden=true 的字段不会出现在此返回(它们在表单中已隐藏);如需查看全部字段请用 field get。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "form_field_list", + "primary_cli_path": "aitable form field list", + "reviewed": false, + "risk": "low", + "title": "列出表单字段", + "use_when": [ + "3) 查看表单字段配置" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "更新表单视图中某个字段的必填状态或描述", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要更新表单视图中某个字段的必填状态或描述时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_field_update", + "cli_name": "update", + "cli_path": "aitable form field update", + "confirmation": "not_required", + "description": "更新表单视图中某个字段的必填状态或描述。\n--required 或 --field-description 至少传入一项。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "form_field_update", + "primary_cli_path": "aitable form field update", + "reviewed": false, + "risk": "medium", + "title": "更新表单字段", + "use_when": [ + "4) 设置题目必填(FIELD_ID 来自步骤 2)" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按 viewId 获取单个表单视图的元信息(name/title/createdAt/shareFormUuid)", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要按 viewId 获取单个表单视图的元信息(name/title/createdAt/shareFormUuid)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_get", + "cli_name": "get", + "cli_path": "aitable form get", + "confirmation": "not_required", + "description": "按 viewId 获取单个表单视图的元信息(name/title/createdAt/shareFormUuid)。\n内部拉取 list_form_views 后在客户端按 viewId 精确筛出单条(服务端的 viewIds\n过滤参数当前不生效,会返回全表所有表单,故在此侧过滤)。data 即命中的表单对象。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "form_get", + "primary_cli_path": "aitable form get", + "reviewed": false, + "risk": "low", + "title": "获取单个表单视图详情", + "use_when": [ + "2) 查看单个表单详情" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出指定数据表下的所有表单视图", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要列出指定数据表下的所有表单视图时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_list", + "cli_name": "list", + "cli_path": "aitable form list", + "confirmation": "not_required", + "description": "列出指定数据表下的所有表单视图。每个表单视图返回 viewId、name、title、createdAt(shareFormUuid 不在此返回,需 form share get 单独获取)。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "form_list", + "primary_cli_path": "aitable form list", + "reviewed": false, + "risk": "low", + "title": "列出表单视图", + "use_when": [ + "1) 列出数据表下的表单视图" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "在数据表中创建字段,即向表单添加题目", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要在数据表中创建字段,即向表单添加题目时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_questions_create", + "cli_name": "create", + "cli_path": "aitable form questions create", + "confirmation": "not_required", + "description": "在数据表中创建字段,即向表单添加题目。\n入参与 `field create` 完全一致:可用 --fields 批量创建,或 --name + --type 单题模式。\n若需将题目设为必填,创建后请用 form field update --required true 单独设置。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "form_questions_create", + "primary_cli_path": "aitable form questions create", + "reviewed": false, + "risk": "medium", + "title": "向表单添加题目(等价于 field create)", + "use_when": [ + "2) 添加题目 → 取返回的 data.results[].fieldId 作为 FIELD_ID" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "删除指定字段(即表单题目)", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要删除指定字段(即表单题目)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_questions_delete", + "cli_name": "delete", + "cli_path": "aitable form questions delete", + "confirmation": "user_required", + "description": "删除指定字段(即表单题目)。**不可逆**。\n入参与 `field delete` 完全一致:必须传 --field-id;目前 MCP 不支持批量删除,需多次调用。", + "effect": "destructive", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "form_questions_delete", + "primary_cli_path": "aitable form questions delete", + "reviewed": false, + "risk": "high", + "title": "从表单删除题目(等价于 field delete,不可逆)", + "use_when": [ + "删除指定字段(即表单题目)" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "读取指定视图当前的分享表单配置", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要读取指定视图当前的分享表单配置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_share_get", + "cli_name": "get", + "cli_path": "aitable form share get", + "confirmation": "not_required", + "description": "读取指定视图当前的分享表单配置。\n返回 enabled(是否开启)、status、shareFormUuid、formName 等信息。\n若该视图尚未开启分享表单,enabled=false、status=0。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "form_share_get", + "primary_cli_path": "aitable form share get", + "reviewed": false, + "risk": "low", + "title": "获取表单分享配置", + "use_when": [ + "4) 查看分享配置" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "开启或关闭指定视图的分享表单", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要开启或关闭指定视图的分享表单时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_share_update", + "cli_name": "update", + "cli_path": "aitable form share update", + "confirmation": "not_required", + "description": "开启或关闭指定视图的分享表单。\n--enabled true 表示开启分享,--enabled false 表示关闭分享。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "form_share_update", + "primary_cli_path": "aitable form share update", + "reviewed": false, + "risk": "medium", + "title": "开启/关闭分享表单", + "use_when": [ + "6) 开启分享(注意:开启后需 UI 刷新页面才会看到分享面板)" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "更新表单整体配置(标题、描述)", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要更新表单整体配置(标题、描述)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_update", + "cli_name": "update", + "cli_path": "aitable form update", + "confirmation": "not_required", + "description": "更新表单整体配置(标题、描述)。\n--title(或其等价别名 --name)和 --description 至少传入一项。\n--title 与 --name 完全等价;同时传入时以 --title 优先。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "form_update", + "primary_cli_path": "aitable form update", + "reviewed": false, + "risk": "medium", + "title": "更新表单配置", + "use_when": [ + "3) 配置表单标题与描述" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "触发导入并等待结果;每个 Sheet 新建为独立表", @@ -1547,6 +1859,32 @@ "默认(最多 50 页 = 5000 条)" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "将同一份 cells JSON 批量应用到多条记录上", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要将同一份 cells JSON 批量应用到多条记录上时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.record_batch_update", + "cli_name": "batch-update", + "cli_path": "aitable record batch-update", + "confirmation": "not_required", + "description": "将同一份 cells JSON 批量应用到多条记录上。适合\"统一标记完成 / 统一改负责人 / 统一清空某字段\"等场景。\n\n与 record update 的区别:\n - record update 每条记录可有不同 cells,参数是 records JSON 数组\n - record batch-update 所有记录共享同一份 cells(CLI 客户端展开后调用相同 MCP 工具)\n\n单次最多 100 条;超出请拆分多次调用。\ncells 写入格式与 record update / record create 相同(详见 record create --help)。\n只读字段(formula / filterUp / lookup / 系统字段)不能写入。\n\nCLI 行为:客户端把 --record-ids 拆开后构造 [{recordId, cells}, ...] 调用 update_records;\n当前服务端尚未提供 broadcast patch 工具,所以本命令是纯语义包装,不省网络体积,仅省 LLM 构造 prompt 的 token。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "record_batch_update", + "primary_cli_path": "aitable record batch-update", + "reviewed": false, + "risk": "medium", + "title": "批量更新记录(同一 cells 应用到多条 recordId)", + "use_when": [ + "将同一份 cells JSON 批量应用到多条记录上" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "批量新增记录(单次最多 100 条)", @@ -3406,8 +3744,115 @@ "id": "attendance", "name": "考勤打卡 / 排班 / 统计", "runtime": true, - "tool_count": 4, + "tool_count": 38, "tools": [ + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 get_adjustment_rule_detail,根据补卡规则主键 ID 查询对应的补卡规则详情", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_adjustment_rule_detail,根据补卡规则主键 ID 查询对应的补卡规则详情时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.adjustment_get", + "cli_name": "get", + "cli_path": "attendance adjustment get", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_adjustment_rule_detail,根据补卡规则主键 ID 查询对应的补卡规则详情。\n--adjustment-id 必填。注意:已被删除或被更新覆盖的补卡规则无法查询到。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "adjustment_get", + "primary_cli_path": "attendance adjustment get", + "reviewed": false, + "risk": "low", + "title": "根据补卡规则主键 ID 查询补卡规则详情", + "use_when": [ + "查询补卡规则详情" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "根据用户权限查询补卡规则列表,入参封装在 ATRuleQueryParam 对象中", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据用户权限查询补卡规则列表,入参封装在 ATRuleQueryParam 对象中时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.adjustment_search", + "cli_name": "search", + "cli_path": "attendance adjustment search", + "confirmation": "not_required", + "description": "根据用户权限查询补卡规则列表,入参封装在 ATRuleQueryParam 对象中。\n --query 补卡规则名称关键字,模糊搜索(可选)\n --page 页码(从 1 开始,默认 1)(必填)\n --limit 每页条数(200 以内,默认 20)(必填)", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "adjustment_search", + "primary_cli_path": "attendance adjustment search", + "reviewed": false, + "risk": "low", + "title": "查询当前用户可管理的补卡规则列表", + "use_when": [ + "查询补卡规则", + "补卡规则/补卡设置", + "补卡规则详情/某条补卡规则的具体信息" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询指定用户的考勤业务审批单记录(补卡 / 加班 / 请假 / 出差外出)", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询指定用户的考勤业务审批单记录(补卡 / 加班 / 请假 / 出差外出)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.approve_list", + "cli_name": "list", + "cli_path": "attendance approve list", + "confirmation": "not_required", + "description": "查询指定用户的考勤业务审批单记录(补卡 / 加班 / 请假 / 出差外出)。\n审批类型 --types 支持以下关键词(多个用英文逗号分隔):\n - overtime / 加班 → bizType=1\n - trip / travel / business_trip / business-trip / 出差 / 外出 → bizType=2(出差与外出在查询接口合并为同一类,不再细分)\n - leave / 请假 → bizType=3\n - patch / repair-check / repair_check / 补卡 → bizType=4\n说明:\n - 服务端查询接口 bizType=2 同时覆盖出差与外出,传入 trip / travel / 出差 / 外出 任一别名都会返回这两类合并的记录;\n - 如需在提交入口区分外出(TRAVEL)与出差(OUT),请改用 dws attendance approve templates --type travel|out;\n - 返回每条记录含:用户 ID、审批标签、审批子类型、审批类型、生效时间、时长、时长单位、流程实例 ID。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "approve_list", + "primary_cli_path": "attendance approve list", + "reviewed": false, + "risk": "medium", + "title": "查询用户审批单(补卡/加班/请假/出差外出)", + "use_when": [ + "审批单/请假记录/加班记录/出差记录/补卡记录", + "查/提交 请假/加班/补卡 审批单;考勤业务审批单" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "当用户需要提交补卡、请假、加班、外出、出差时,查询对应考勤审批表单模板,返回审批提交跳转链接", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要当用户需要提交补卡、请假、加班、外出、出差时,查询对应考勤审批表单模板,返回审批提交跳转链接时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.approve_templates", + "cli_name": "templates", + "cli_path": "attendance approve templates", + "confirmation": "not_required", + "description": "当用户需要提交补卡、请假、加班、外出、出差时,查询对应考勤审批表单模板,返回审批提交跳转链接。\n审批类型支持:repair-check/patch/补卡、leave/请假、overtime/加班、travel/外出、out/trip/出差,也支持直接传 REPAIR_CHECK、LEAVE、OVERTIME、TRAVEL、OUT。\n向用户展示提交入口时,不要直接裸露 submitUrl,应使用 Markdown 可点击链接格式:[表单名称](submitUrl)。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "approve_templates", + "primary_cli_path": "attendance approve templates", + "reviewed": false, + "risk": "medium", + "title": "查询补卡/请假/加班/外出/出差审批提交链接", + "use_when": [ + "当用户需要提交补卡、请假、加班、外出、出差时,查询对应考勤审批表单模板,返回审批提交跳转链接" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "批量查询员工班次信息(间隔 ≤ 7 天,最多 50 人)", @@ -3437,6 +3882,220 @@ "批量查询员工班次信息(间隔 ≤ 7 天,最多 50 人)" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 boss_check 修改员工打卡记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 boss_check 修改员工打卡记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.boss_check", + "cli_name": "boss-check", + "cli_path": "attendance boss-check", + "confirmation": "not_required", + "description": "调用 MCP 工具 boss_check 修改员工打卡记录。管理员可修改打卡时间、打卡结果等信息。\n\n参数说明:\n --plan-id 排班ID(与 --result-id 二选一)\n 来源:通过 dws attendance schedule get 获取,返回结果的 id 字段\n 示例:id: 948964045503 表示某天下班打卡的排班记录ID\n\n --result-id 打卡结果ID(与 --plan-id 二选一,优先使用)\n 来源:暂不支持(record get 未返回此字段),建议使用 --plan-id\n\n --time 新打卡时间,格式 yyyy-MM-dd HH:mm(可选)\n --result 打卡结果:Normal/TimesResultA/TimesResultB/TimesResultC/TimesResultD/TimesResultE/TimesResultF(可选)\n --absent-min 缺勤时长(分钟),当 result 为异常状态时需传值(可选)\n --remark 备注,最长500字符(可选)\n --user-say-yes 用户已确认,跳过交互式确认提示\n\n打卡结果枚举值:\n Normal 正常\n TimesResultA 迟到\n TimesResultB 早退\n TimesResultC 缺卡\n TimesResultD 迟到+早退\n TimesResultE 缺卡+早退\n TimesResultF 迟到+缺卡\n\n获取 planId 步骤:\n 1. 查询排班记录:dws attendance schedule get --userIdList USER_ID --workDateBegin DATE --workDateEnd DATE\n 2. 从返回结果中找到对应打卡类型(OnDuty=上班,OffDuty=下班)的 id 字段\n 3. 使用该 id 作为 --plan-id 参数", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "boss_check", + "primary_cli_path": "attendance boss-check", + "reviewed": false, + "risk": "low", + "title": "BOSS 改签打卡记录", + "use_when": [ + "假设返回 id: 948964045503 (OffDuty 下班打卡)", + "同时修改打卡时间" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询指定用户的打卡流水记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询指定用户的打卡流水记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.check_record", + "cli_name": "record", + "cli_path": "attendance check record", + "confirmation": "not_required", + "description": "查询指定用户的打卡流水记录。\n返回每条记录含:用户 ID、实际打卡时间、打卡地址、打卡经纬度、\n打卡类型(OnDuty/OffDuty)、定位方式(Map/Wifi/etc)。\n时间跨度不超过 1 个月。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "check_record", + "primary_cli_path": "attendance check record", + "reviewed": false, + "risk": "low", + "title": "查询打卡流水", + "use_when": [ + "打卡记录/出勤/考勤", + "指定用户打卡流水/打卡详情/打卡时间地点/打卡记录详情" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询指定用户的打卡结果记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询指定用户的打卡结果记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.check_result", + "cli_name": "result", + "cli_path": "attendance check result", + "confirmation": "not_required", + "description": "查询指定用户的打卡结果记录。\n返回每条记录含:用户 ID、工作日期、时间结果(Normal/Late/Early/Absenteeism/NotSigned)、\n位置结果、计划打卡时间、实际打卡时间、打卡流水 ID。\n时间跨度不超过 1 个月,最多 100 人。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "check_result", + "primary_cli_path": "attendance check result", + "reviewed": false, + "risk": "low", + "title": "查询打卡结果", + "use_when": [ + "指定用户打卡结果/考勤结果/迟到早退/缺卡异常" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询指定员工在一段时间内的签到记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询指定员工在一段时间内的签到记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.checkin_records", + "cli_name": "records", + "cli_path": "attendance checkin records", + "confirmation": "not_required", + "description": "查询指定员工在一段时间内的签到记录。\n权限说明:\n - Boss / 超级管理员 / 超级子管理员:可查看全公司员工\n - 子管理员:可查看管理范围内的员工及自己\n - 部门主管:可查看所管理部门的员工及自己\n - 普通员工:只能查询自己\n\n日期格式:yyyy-MM-dd HH:mm:ss(如 2026-04-01 09:00:00)", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "checkin_records", + "primary_cli_path": "attendance checkin records", + "reviewed": false, + "risk": "low", + "title": "查询指定员工的签到记录", + "use_when": [ + "查询签到记录", + "签到/签到记录" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 create_class_setting,创建一个新的班次", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 create_class_setting,创建一个新的班次时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.class_create", + "cli_name": "create", + "cli_path": "attendance class create", + "confirmation": "not_required", + "description": "调用 MCP 工具 create_class_setting,创建一个新的班次。\n--name 和 --sections 必填,其余参数可选。由于保存班次耗时较久,指令需要带上 --timeout 10\n--yes 需要用户二次确认之后才允许带入,参考attendance.md中对于创建班次的说明\n\n常用 flag:\n --name 班次名称(必填)\n --owner 班次负责人 userId(可选)\n --class-vo 完整 TopAtClassVO JSON 字符串(可选,用于传入复杂结构)\n\n当使用 --class-vo 传入完整 JSON 时,--name 和 --owner 仍可覆写 JSON 中的同名字段。\ncheckTime 字段统一使用 \"HH:mm\" 格式(如 \"09:00\"),CLI 自动转换为服务端所需的时间戳。\n\n--class-vo JSON 可用字段说明:\n\n name string 班次名称(必填)\n owner string 班次负责人 userId\n sections []object 班次上下班时间段(必填),支持多段上下班,每段包含 times 数组:\n - times []object 每段有且只能有两个对象(上班+下班),每个对象字段:\n checkType string 打卡类型:OnDuty(上班)/ OffDuty(下班)(必填)\n checkTime string 打卡时间,格式 \"HH:mm\"(必填,如 \"09:00\"、\"17:30\")\n across number 是否跨天:0(不跨天)/ 1(跨天)(必填)\n freeCheck bool 是否免打卡\n beginMin number 允许最早提前打卡时间(分钟,-1 表示不限制)\n endMin number 允许最晚打卡时间(分钟,-1 表示不限制)\n setting object 班次其他配置:\n - seriousLateMinutes number 晚到多少分钟记为严重迟到\n - absenteeismLateMinutes number 晚到多少分钟记为旷工迟到\n - attendDays number 本班次记为多少天出勤(支持两位小数)\n - topRestTimeList []object 班次休息时间(仅 sections 只有一段上下班时可用,最多 3 段休息时间):\n checkType string 休息类型:OnDuty(开始休息)/ OffDuty(结束休息)\n checkTime string 休息时间,格式 \"HH:mm\"(如 \"12:00\"、\"13:00\")\n across number 是否跨天:0/1", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "class_create", + "primary_cli_path": "attendance class create", + "reviewed": false, + "risk": "medium", + "title": "创建班次", + "use_when": [ + "调用 MCP 工具 create_class_setting,创建一个新的班次" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 get_class_detail,根据班次 ID 查询该班次的详细信息", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_class_detail,根据班次 ID 查询该班次的详细信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.class_get", + "cli_name": "get", + "cli_path": "attendance class get", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_class_detail,根据班次 ID 查询该班次的详细信息。--class-id 必填。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "class_get", + "primary_cli_path": "attendance class get", + "reviewed": false, + "risk": "low", + "title": "根据班次 ID 查询班次详情", + "use_when": [ + "查询班次详情" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询当前用户有权管理的班次列表(班次定义),支持按名称搜索和类型过滤", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询当前用户有权管理的班次列表(班次定义),支持按名称搜索和类型过滤时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.class_search", + "cli_name": "search", + "cli_path": "attendance class search", + "confirmation": "not_required", + "description": "查询当前用户有权管理的班次列表(班次定义),支持按名称搜索和类型过滤。\n所有参数均为可选项:\n --page 页码(从 1 开始,默认 1)\n --limit 每页条数(最大 200,默认 20)\n --query 班次名称关键字,模糊搜索\n --filter-type 班次类型:ALL(全部班次)/ MINE_OWN(我负责的),默认 ALL", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "class_search", + "primary_cli_path": "attendance class search", + "reviewed": false, + "risk": "low", + "title": "查询当前用户可管理的所有班次详情", + "use_when": [ + "查询可管理的班次列表", + "班次定义/班次列表/有哪些班次/我负责的班次", + "班次详情/某个班次的具体信息" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 update_class_setting,更新一个已有的班次", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 update_class_setting,更新一个已有的班次时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.class_update", + "cli_name": "update", + "cli_path": "attendance class update", + "confirmation": "not_required", + "description": "调用 MCP 工具 update_class_setting,更新一个已有的班次。\n--class-id 必填;其余参数均可选,仅需对要修改的字段进行赋値,未传的字段会自动从已有配置补充。由于保存班次耗时较久,指令需要带上 --timeout 10\n--yes 需要用户二次确认之后才允许带入,参考attendance.md中对于更新班次的说明\n\n常用 flag:\n --class-id 班次 ID(必填)\n --name 班次名称(可选,不传则保持原值)\n --owner 班次负责人 userId(可选,不传则保持原值)\n --class-vo 完整 TopAtClassVO JSON 字符串(可选,用于传入复杂结构)\n\n当使用 --class-vo 传入完整 JSON 时,--name 和 --owner 仍可覆写 JSON 中的同名字段。\ncheckTime 字段统一使用 \"HH:mm\" 格式(如 \"09:00\"),CLI 自动转换为服务端所需的时间戳。\n\n--class-vo JSON 可用字段说明:\n\n name string 班次名称(可选,不传则保持原值)\n owner string 班次负责人 userId(可选,不传则保持原值)\n sections []object 班次上下班时间段(可选,不传则保持原值),支持多段上下班,每段包含 times 数组:\n - times []object 每段有且只能有两个对象(上班+下班),每个对象字段:\n checkType string 打卡类型:OnDuty(上班)/ OffDuty(下班)(必填)\n checkTime string 打卡时间,格式 \"HH:mm\"(必填,如 \"09:00\"、\"17:30\")\n across number 是否跨天:0(不跨天)/ 1(跨天)(必填)\n freeCheck bool 是否免打卡\n beginMin number 允许最早提前打卡时间(分钟,-1 表示不限制)\n endMin number 允许最晚打卡时间(分钟,-1 表示不限制)\n setting object 班次其他配置:\n - seriousLateMinutes number 晚到多少分钟记为严重迟到\n - absenteeismLateMinutes number 晚到多少分钟记为旷工迟到\n - attendDays number 本班次记为多少天出勤(支持两位小数)\n - topRestTimeList []object 班次休息时间(仅 sections 只有一段上下班时可用,最多 3 段休息时间):\n checkType string 休息类型:OnDuty(开始休息)/ OffDuty(结束休息)\n checkTime string 休息时间,格式 \"HH:mm\"(如 \"12:00\"、\"13:00\")\n across number 是否跨天:0/1", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "class_update", + "primary_cli_path": "attendance class update", + "reviewed": false, + "risk": "medium", + "title": "更新班次", + "use_when": [ + "更新班次", + "更新班次/修改班次/班次改名/修改上下班时间" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "查询某个人的考勤统计摘要", @@ -3496,6 +4155,278 @@ "查询个人考勤详情" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询全局规则设置,仅管理员可以调用", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询全局规则设置,仅管理员可以调用时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.globalsetting_get", + "cli_name": "get", + "cli_path": "attendance globalsetting get", + "confirmation": "not_required", + "description": "查询全局规则设置,仅管理员可以调用。\n\n入参字段:\n --setting-scene 查询设置项,枚举值包括 checkRemind、fastCheck、checkResultNotify、lackRemind、personalAttendStatNotify、bossAttendStatNotify\n --scope 必填,必须明确输入 企业、全公司 或 所有人,用于确认本次查询面向全局范围\n\n说明:corpId 和 opUserId 由当前登录上下文自动补齐,不需要通过 CLI 入参传入。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "globalsetting_get", + "primary_cli_path": "attendance globalsetting get", + "reviewed": false, + "risk": "low", + "title": "查询全局规则设置(仅管理员)", + "use_when": [ + "查询全局规则设置,仅管理员可以调用" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "更新保存全局规则设置,仅管理员可以调用", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要更新保存全局规则设置,仅管理员可以调用时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.globalsetting_save", + "cli_name": "save", + "cli_path": "attendance globalsetting save", + "confirmation": "not_required", + "description": "更新保存全局规则设置,仅管理员可以调用。\n\n入参字段:\n --setting-scene 必填,枚举值包括 checkRemind、fastCheck、checkResultNotify、lackRemind、personalAttendStatNotify、bossAttendStatNotify\n --scope 必填,必须明确输入 企业、全公司 或 所有人,用于确认本次更新面向全局范围\n\n按 settingScene 传入对应设置字段,且至少传一个字段:\n checkRemind:\n --check-remind-corp\n --check-remind-pc-corp\n fastCheck:\n --fast-check-corp\n checkResultNotify:\n --enable-check-cert-push\n lackRemind:\n --lack-remind-corp\n personalAttendStatNotify:\n --enable-personal-daily-report\n --enable-personal-weekly-report\n --enable-personal-weekly-report-card\n --enable-personal-monthly-report\n bossAttendStatNotify:\n --boss-daily-report-type\n --boss-weekly-report-type\n --boss-monthly-report-type\n\n说明:corpId 和 opUserId 由当前登录上下文自动补齐,不需要通过 CLI 入参传入。\n返回 ServiceResult,result 为 boolean,表示保存是否成功。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "globalsetting_save", + "primary_cli_path": "attendance globalsetting save", + "reviewed": false, + "risk": "medium", + "title": "更新保存全局规则设置(仅管理员)", + "use_when": [ + "更新保存全局规则设置,仅管理员可以调用" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 create_group_setting,创建一个新的考勤组", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 create_group_setting,创建一个新的考勤组时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.group_create", + "cli_name": "create", + "cli_path": "attendance group create", + "confirmation": "not_required", + "description": "调用 MCP 工具 create_group_setting,创建一个新的考勤组。\n--name 和 --type 必填,其余参数可选(未传字段使用默认值)。由于创建考勤组耗时较久,指令需要带上 --timeout 10\n--yes 需要用户二次确认之后才允许带入,参考attendance.md中对于创建考勤组的说明\n\n常用 flag:\n --name 考勤组名称(必填)\n --type 考勤组类型:FIXED(固定班制)/ TURN(排班制)/ NONE(自由工时)(必填,显式校验)\n --owner 考勤组主负责人 userId(可选)\n --group-vo 完整 groupVO JSON 字符串(可选,用于传入复杂子对象,会与 --name/--type/--owner 合并)\n\n当使用 --group-vo 传入完整 JSON 时,--name、--type、--owner 仍可覆写 JSON 中的同名字段。\n\n【无条件必填字段】\n name string 考勤组名称\n type string 考勤组类型:FIXED / TURN / NONE\n\n【条件必填字段(type=FIXED 固定班制时)】\n workDayClassList []number 工作日班次列表,不能为空。\n 一共7个值,分别代表周日到周六每天的班次id,为0表示当天休息。\n 例如 [0,1279240003,0,0,0,0,0] 表示周一的班次id为1279240003,其余日子都是休息\n defaultClassId number 默认班次 ID,不能为 null\n\n条件必填字段通过 --group-vo JSON 传入,CLI 在 --type=FIXED 时会显式校验这些字段。\n\n--group-vo 可用字段说明(与更新考勤组一致,均可选,只需包含要设置的字段):\n\n【基础信息】\n id number 考勤组id(创建时禁止传入,由服务端分配)\n name string 考勤组名称(必填)\n type string 考勤组类型:FIXED(固定班制)/ TURN(排班制)/ NONE(自由工时)(必填)\n owner string 考勤组主负责人 userId\n managerList []string 考勤组子负责人 userId 列表\n skipHolidays bool 节假日自动排休(只有固定班制和自由工时考勤组生效)\n defaultGroup bool 是否默认考勤组\n classIds []number 所选班次 id 列表(只有固定班制和排班制才有班次,自由工时没有)\n\n【打卡范围与定位】\n trimDistance number 定位允许微调距离(米)\n enablePositionOfGps bool 打卡是否允许开启 GPS 定位\n enablePositionOfWifi bool 是否开启 wifi 定位\n enablePositionOfBle bool 是否启用蓝牙定位\n\n positions []object 考勤打卡地址列表(地址定位打卡用),每项字段:\n - title string 地址标题\n - address string 地址详情(完整地址文本)\n - latitude number 纬度\n - longitude number 经度\n - offset number 该地址允许的打卡范围,单位米\n\n wifis []object 打卡方式中的 wifi 详情列表,每项字段:\n - ssid string wifi 的 ssid(wifi名称)\n - macAddr string wifi 的 macAddr(MAC 地址)\n - groupId number 考勤组id\n\n bleDeviceVOList []object 已选择的蓝牙设备列表,每项字段:\n - name string 设备名称\n - deviceUid number 设备 uid\n - sn string 设备 sn 序列号\n - productType string 对外的设备类型\n - devServId number 内部设备类型\n\n【外勤打卡设置】\n enableOutsideCheck bool 是否可以外勤打卡\n enableOutsideCameraCheck bool 是否开启外勤打卡必须拍照\n enableOutsideRemark bool 是否开启外勤打卡必须填写备注\n enableOutsideApply bool 是否开启外勤打卡必须审批\n forbidHideOutSideAddress bool 禁止隐藏外勤打卡地址的功能,false表示允许用户隐藏外勤打卡地址\n enableOutSideUpdateNormalCheck bool 下班时间:允许外勤卡更新内勤卡\n enableOnDutyNormalUpdateOutsideCheck bool 上班时间:允许内勤卡更新外勤卡\n outsideCheckApproveMode string 外勤打卡需审批执行模式:\n NO_NEED_APPROVE(无需审批)\n APPROVE_FIRST(先审批后打卡)\n CHECK_FIRST(先打卡后审批)\n APPROVE_EVERYTIME(每次打卡都需要审批)\n outSideCheckApplyType number 外勤审批范围:1(全天外勤打卡)/ 2(上班外勤打卡)/ 3(下班外勤打卡)\n\n【打卡方式】\n enableCameraCheck bool 是否开启拍照打卡\n openCameraCheck bool 是否开启拍照打卡(与 enableCameraCheck 含义相同)\n openFaceCheck bool 是否开启人脸打卡\n enableFaceStrictMode bool 是否开启人脸严格模式(强制活体检测)\n enableFaceBeauty bool 是否开启美颜\n onlyMachineCheck bool 只允许考勤机打卡\n permitMaxBeaconCount number 允许绑定的智点设备数量\n disableCheckWhenRest bool 休息日打卡需审批(只在固定班制和排班制生效,true表示打卡需要提交审批单)\n\n\n【固定班制设置(FIXED)】\n defaultClassId number 固定班制的默认班次 id(type=FIXED 时必填)\n workDayClassList []number 固定班制的工作日班次 id 列表,一共7个值,分别代表周日到周六每天的班次id,为0表示当天休息,例如[0,1279240003,0,0,0,0,0]表示周一的班次id为1279240003,其余日子都是休息\n\n【排班制设置(TURN)】\n disableCheckWithoutSchedule bool 未排班时员工可打卡(true=未排班时禁止打卡)\n enableEmpSelectClass bool 未排班时,员工可选班次打卡\n enableScheduleAutoMatch bool 未排班时,系统自动匹配班次\n ----以下是排班制设置排班周期的,非必要,不是所有排班制考勤组都需要设置,不设置就是按照classIds中的班次由管理员自行排班-----\n cycleDays number 排班循环天数,支持大小周(14天)\n startCycleDate number 用户设置的大小周开始时间(时间戳,毫秒)\n cycleScheduleList []object 循环排班设置列表,每项字段:\n - cycleName string 周期名字(如\"第一周\")\n - groupId number 考勤组 id\n - isValid string 是否有效:Y(有效)/ N(无效)\n - itemList []object 排班设置列表,每项字段:\n - classId number 班次 id\n - className string 班次名称\n - isValid string 是否有效(Y/N)\n\n【自由工时设置(NONE)】\n workDays []number 自由工时的工作日,如 [1,2,3,4,5] 表示周一到周五(1=周一,7=周日)\n freeCheckDayStartMinOffset number 自由打卡每日开始时间,距离 0 点的分钟数(如 480 表示 08:00 开始)\n freeCheckCoreTime number 自由工时考勤组的打卡最短工作时长(分钟)\n freeCheckDemandWorkMinutes number 自由工时考勤组要求的打卡时长(分钟)\n\n freeCheckSettingVO object 自由工时打卡设置,包含字段:\n - freeCheckType string 自由工时打卡类型:\n CYCLE(上下班交替打卡)\n MAX_TIME_UPDATE(最大时间打卡,第一次为上班,后续均为下班卡)\n - freeWorkDayLackSwitch bool 自由工时打卡规则:工作日没打卡记为缺卡(true=记缺卡)\n - freeOnDutyLackMinOffset number 自由工时打卡规则:上班缺卡生成时间偏移分钟数\n - freeOffDutyLackMinOffset number 自由工时打卡规则:下班缺卡生成时间偏移分钟数\n - delimitOffsetMinutesBetweenDays number 自由工时前后两天的分割线(距 0 点分钟数,超过此时间则归属第二天)\n - freeCheckGapVO object 自由工时/休息日打卡间隔设置:\n - onOffCheckGapMinutes number 上班打卡后,多久才可以打下班卡(分钟)\n - offOnCheckGapMinutes number 下班打卡后,多久才可以打上班卡(分钟)\n\n freeGroupSpecialDayVO object 自由工时考勤组特殊日期设置,包含字段:\n - specialOnDutyDays []number 特殊需要打卡日期的时间戳列表(毫秒,原本休息日需额外打卡的日期)\n - specialOffDutyDays []number 特殊无需打卡日期的时间戳列表(毫秒,原本工作日可免打卡的日期)", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "group_create", + "primary_cli_path": "attendance group create", + "reviewed": false, + "risk": "medium", + "title": "创建考勤组", + "use_when": [ + "创建考勤组", + "创建考勤组/新建考勤组/添加考勤组" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 get_group_filtered_detail,根据考勤组 ID 仅返回关心的字段子集, 强烈建议在仅需查询成员信息、打卡地址、蓝牙、W", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_group_filtered_detail,根据考勤组 ID 仅返回关心的字段子集, 强烈建议在仅需查询成员信息、打卡地址、蓝牙、W时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.group_filtered_get", + "cli_name": "filtered-get", + "cli_path": "attendance group filtered-get", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_group_filtered_detail,根据考勤组 ID 仅返回关心的字段子集,\n强烈建议在仅需查询成员信息、打卡地址、蓝牙、Wifi 时使用,节省查询成本。\n--group-id 必填;四个过滤字段均可选(不传则默认 false,即不查询该字段)。\n --member 是否查询考勤组成员信息\n --position 是否查询打卡地址\n --wifi 是否查询打卡 Wifi\n --bles 是否查询打卡蓝牙", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "group_filtered_get", + "primary_cli_path": "attendance group filtered-get", + "reviewed": false, + "risk": "low", + "title": "根据考勤组 ID 按需查询成员/打卡地址/蓝牙/Wifi 信息", + "use_when": [ + "1. 获取考勤组成员", + "按需查询考勤组成员/地址/蓝牙/Wifi", + "考勤组成员/打卡地址/打卡wifi/打卡蓝牙" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 get_group_detail,根据考勤组 ID 查询该考勤组的全量信息", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_group_detail,根据考勤组 ID 查询该考勤组的全量信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.group_get", + "cli_name": "get", + "cli_path": "attendance group get", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_group_detail,根据考勤组 ID 查询该考勤组的全量信息。\n--group-id 必填。如果只需查询成员、打卡地址、蓝牙、Wifi 子集,请使用 group filtered-get 以节省查询成本。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "group_get", + "primary_cli_path": "attendance group get", + "reviewed": false, + "risk": "low", + "title": "根据考勤组 ID 查询考勤组全量信息", + "use_when": [ + "查询考勤组全量信息", + "考勤组详情/全量考勤组信息", + "获取考勤组详情(含绑定的班次列表)" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "根据当前用户的权限和筛选条件获取考勤组简要信息", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据当前用户的权限和筛选条件获取考勤组简要信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.group_search", + "cli_name": "search", + "cli_path": "attendance group search", + "confirmation": "not_required", + "description": "根据当前用户的权限和筛选条件获取考勤组简要信息。\n入参 ATGroupSearchParam 对象(至少填写一个子字段)和 PageQuery 对象(两个子字段必填)均不能为空。\n --query 考勤组名称关键字,模糊搜索\n --type 考勤组类型:FIXED(固定班制)/ TURN(排班制)/ NONE(自由工时)\n --query-position 是否查询地理定位和 Wifi 名称(默认 false)\n --query-ble 是否查询蓝牙设备列表(默认 false)\n --page 页码(从 1 开始,默认 1)\n --limit 每页条数(200 以内,默认 20)", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "group_search", + "primary_cli_path": "attendance group search", + "reviewed": false, + "risk": "low", + "title": "查询当前用户可管理的考勤组列表", + "use_when": [ + "1. 确认考勤组并获取关联班次(先查后排)", + "1. 获取考勤组成员", + "查询考勤组列表", + "考勤组列表/有哪些考勤组" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 update_group_setting,更新考勤组配置信息", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 update_group_setting,更新考勤组配置信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.group_update", + "cli_name": "update", + "cli_path": "attendance group update", + "confirmation": "not_required", + "description": "调用 MCP 工具 update_group_setting,更新考勤组配置信息。\n--group-id 必填;其余参数均可选,仅需对要修改的字段进行赋値,未传的字段会自动从已有配置补充。由于保存考勤组耗时较久,指令需要带上--timeout 10\n--yes 需要用户二次确认之后才允许带入,参考attendance.md中对于更新考勤组配置的说明\n\n常用简单字段可直接用 flag 传入;复杂子对象(如打卡地址、wifi、蓝牙设备、循环排班等)请用 --group-vo JSON 字符串传入完整 groupVO 对象覆写。\n\n常用 flag:\n --name 考勤组名称\n --type 考勤组类型:FIXED(固定班制)/ TURN(排班制)/ NONE(自由工时)\n --owner 考勤组主负责人 userId\n --classIds []number 所选班次 id 列表\n --enable-outside-check 是否允许外勤打卡 (true/false)\n --group-vo 完整 groupVO JSON 字符串(用于修改复杂子对象,会与其他 flag 合并,重复字段以 flag 为准)\n\n--group-vo 可用字段说明(均可选,只需包含要修改的字段):\n\n【基础信息】\n id number 考勤组id,不随更新变化\n name string 考勤组名称\n type string 考勤组类型:FIXED(固定班制)/ TURN(排班制)/ NONE(自由工时)\n owner string 考勤组主负责人 userId\n managerList []string 考勤组子负责人 userId 列表\n skipHolidays bool 节假日自动排休(只有固定班制和自由工时考勤组生效)\n defaultGroup bool 是否默认考勤组\n classIds []number 所选班次 id 列表(只有固定班制和排班制才有班次,自由工时没有)\n\n【打卡范围与定位】\n trimDistance number 定位允许微调距离(米)\n enablePositionOfGps bool 打卡是否允许开启 GPS 定位\n enablePositionOfWifi bool 是否开启 wifi 定位\n enablePositionOfBle bool 是否启用蓝牙定位\n\n positions []object 考勤打卡地址列表(地址定位打卡用),每项字段:\n - title string 地址标题\n - address string 地址详情(完整地址文本)\n - latitude number 纬度\n - longitude number 经度\n - offset number 该地址允许的打卡范围,单位米\n\n wifis []object 打卡方式中的 wifi 详情列表,每项字段:\n - ssid string wifi 的 ssid(wifi名称)\n - macAddr string wifi 的 macAddr(MAC 地址)\n - groupId number 考勤组id\n\n bleDeviceVOList []object 已选择的蓝牙设备列表,每项字段:\n - name string 设备名称\n - deviceUid number 设备 uid\n - sn string 设备 sn 序列号\n - productType string 对外的设备类型\n - devServId number 内部设备类型\n\n【外勤打卡设置】\n enableOutsideCheck bool 是否可以外勤打卡\n enableOutsideCameraCheck bool 是否开启外勤打卡必须拍照\n enableOutsideRemark bool 是否开启外勤打卡必须填写备注\n enableOutsideApply bool 是否开启外勤打卡必须审批\n forbidHideOutSideAddress bool 禁止隐藏外勤打卡地址的功能,false表示允许用户隐藏外勤打卡地址\n enableOutSideUpdateNormalCheck bool 下班时间:允许外勤卡更新内勤卡\n enableOnDutyNormalUpdateOutsideCheck bool 上班时间:允许内勤卡更新外勤卡\n outsideCheckApproveMode string 外勤打卡需审批执行模式:\n NO_NEED_APPROVE(无需审批)\n APPROVE_FIRST(先审批后打卡)\n CHECK_FIRST(先打卡后审批)\n APPROVE_EVERYTIME(每次打卡都需要审批)\n outSideCheckApplyType number 外勤审批范围:1(全天外勤打卡)/ 2(上班外勤打卡)/ 3(下班外勤打卡)\n\n【打卡方式】\n enableCameraCheck bool 是否开启拍照打卡\n openCameraCheck bool 是否开启拍照打卡(与 enableCameraCheck 含义相同)\n openFaceCheck bool 是否开启人脸打卡\n enableFaceStrictMode bool 是否开启人脸严格模式(强制活体检测)\n enableFaceBeauty bool 是否开启美颜\n onlyMachineCheck bool 只允许考勤机打卡\n permitMaxBeaconCount number 允许绑定的智点设备数量\n disableCheckWhenRest bool 休息日打卡需审批(只在固定班制和排班制生效,true表示打卡需要提交审批单)\n\n\n【固定班制设置(FIXED)】\n defaultClassId number 固定班制的默认班次 id\n workDayClassList []number 固定班制的工作日班次 id 列表,一共7个值,分别代表周日到周六每天的班次id,为0表示当天休息,例如[0,1279240003,0,0,0,0,0]表示周一的班次id为1279240003,其余日子都是休息\n\n【排班制设置(TURN)】\n disableCheckWithoutSchedule bool 未排班时员工可打卡(true=未排班时禁止打卡)\n enableEmpSelectClass bool 未排班时,员工可选班次打卡\n enableScheduleAutoMatch bool 未排班时,系统自动匹配班次\n ----以下是排班制设置排班周期的,非必要,不是所有排班制考勤组都需要设置,不设置就是按照classIds中的班次由管理员自行排班-----\n cycleDays number 排班循环天数,支持大小周(14天)\n startCycleDate number 用户设置的大小周开始时间(时间戳,毫秒)\n cycleScheduleList []object 循环排班设置列表,每项字段:\n - cycleName string 周期名字(如\"第一周\")\n - groupId number 考勤组 id\n - isValid string 是否有效:Y(有效)/ N(无效)\n - itemList []object 排班设置列表,每项字段:\n - classId number 班次 id\n - className string 班次名称\n - isValid string 是否有效(Y/N)\n\n【自由工时设置(NONE)】\n workDays []number 自由工时的工作日,如 [1,2,3,4,5] 表示周一到周五(1=周一,7=周日)\n freeCheckDayStartMinOffset number 自由打卡每日开始时间,距离 0 点的分钟数(如 480 表示 08:00 开始)\n freeCheckCoreTime number 自由工时考勤组的打卡最短工作时长(分钟)\n freeCheckDemandWorkMinutes number 自由工时考勤组要求的打卡时长(分钟)\n\n freeCheckSettingVO object 自由工时打卡设置,包含字段:\n - freeCheckType string 自由工时打卡类型:\n CYCLE(上下班交替打卡)\n MAX_TIME_UPDATE(最大时间打卡,第一次为上班,后续均为下班卡)\n - freeWorkDayLackSwitch bool 自由工时打卡规则:工作日没打卡记为缺卡(true=记缺卡)\n - freeOnDutyLackMinOffset number 自由工时打卡规则:上班缺卡生成时间偏移分钟数\n - freeOffDutyLackMinOffset number 自由工时打卡规则:下班缺卡生成时间偏移分钟数\n - delimitOffsetMinutesBetweenDays number 自由工时前后两天的分割线(距 0 点分钟数,超过此时间则归属第二天)\n - freeCheckGapVO object 自由工时/休息日打卡间隔设置:\n - onOffCheckGapMinutes number 上班打卡后,多久才可以打下班卡(分钟)\n - offOnCheckGapMinutes number 下班打卡后,多久才可以打上班卡(分钟)\n\n freeGroupSpecialDayVO object 自由工时考勤组特殊日期设置,包含字段:\n - specialOnDutyDays []number 特殊需要打卡日期的时间戳列表(毫秒,原本休息日需额外打卡的日期)\n - specialOffDutyDays []number 特殊无需打卡日期的时间戳列表(毫秒,原本工作日可免打卡的日期)", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "group_update", + "primary_cli_path": "attendance group update", + "reviewed": false, + "risk": "medium", + "title": "更新考勤组配置(仅修改需要变更的字段)", + "use_when": [ + "修改考勤组/更新考勤组配置/考勤组改名/改变考勤组绑定的班次/修改打卡范围/设置考勤组负责人", + "更新考勤组配置" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 update_group_member,对指定考勤组的成员进行增删操作", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 update_group_member,对指定考勤组的成员进行增删操作时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.group_update_members", + "cli_name": "update-members", + "cli_path": "attendance group update-members", + "confirmation": "not_required", + "description": "调用 MCP 工具 update_group_member,对指定考勤组的成员进行增删操作。\n--group-id 必填;所有成员/部门参数均可选,但至少需要传一个变更项。由于保存考勤组耗时较久,指令需要带上--timeout 10\n每次调用各参数最多传 20 个 ID。\n--yes 需要用户二次确认之后才允许带入,参考attendance.md中对于更新考勤组成员的说明\n --add-users 添加考勤人员 userId 列表,逗号分隔\n --remove-users 删除考勤人员 userId 列表,逗号分隔\n --add-extra-users 添加无需考勤的人员 userId 列表,逗号分隔\n --remove-extra-users 删除无需考勤的成员 userId 列表,逗号分隔\n --add-depts 添加考勤部门 ID 列表,逗号分隔,若要添加全公司,根部门id为-1\n --remove-depts 删除考勤部门 ID 列表,逗号分隔,全公司根部门id为-1", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "group_update_members", + "primary_cli_path": "attendance group update-members", + "reviewed": false, + "risk": "medium", + "title": "更新考勤组成员(添加/删除考勤人员、部门、无需考勤人员)", + "use_when": [ + "更新考勤组成员", + "更新考勤组成员/添加考勤人员/删除考勤人员/添加考勤部门/删除考勤部门/加入考勤组/移出考勤组/设置无需考勤/取消无需考勤" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 get_overtime_rule_detail,根据加班规则主键 ID 查询对应的加班规则详情", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_overtime_rule_detail,根据加班规则主键 ID 查询对应的加班规则详情时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.overtime_get", + "cli_name": "get", + "cli_path": "attendance overtime get", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_overtime_rule_detail,根据加班规则主键 ID 查询对应的加班规则详情。\n--overtime-id 必填。已被删除或更新覆盖的加班规则也可以查到。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "overtime_get", + "primary_cli_path": "attendance overtime get", + "reviewed": false, + "risk": "low", + "title": "根据加班规则主键 ID 查询加班规则详情", + "use_when": [ + "查询加班规则详情" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "根据用户权限查询加班规则列表,入参封装在 ATRuleQueryParam 对象中", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据用户权限查询加班规则列表,入参封装在 ATRuleQueryParam 对象中时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.overtime_search", + "cli_name": "search", + "cli_path": "attendance overtime search", + "confirmation": "not_required", + "description": "根据用户权限查询加班规则列表,入参封装在 ATRuleQueryParam 对象中。\n --query 加班规则名称关键字,模糊搜索(可选)\n --page 页码(从 1 开始,默认 1)(必填)\n --limit 每页条数(200 以内,默认 20)(必填)", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "overtime_search", + "primary_cli_path": "attendance overtime search", + "reviewed": false, + "risk": "low", + "title": "查询当前用户可管理的加班规则列表", + "use_when": [ + "加班规则/加班设置/加班计算", + "加班规则详情/某条加班规则的具体信息", + "查询加班规则" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "查询考勤组与考勤规则", @@ -3529,6 +4460,342 @@ "考勤组/考勤规则/打卡规则", "自动获取当前用户的考勤组(用户只属于一个考勤组,无需选择)" ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "根据操作者的列权限,过滤并返回其有权查看的考勤字段列表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据操作者的列权限,过滤并返回其有权查看的考勤字段列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.report_columns", + "cli_name": "columns", + "cli_path": "attendance report columns", + "confirmation": "not_required", + "description": "根据操作者的列权限,过滤并返回其有权查看的考勤字段列表。\n操作者必须是管理员,否则返回权限错误。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "report_columns", + "primary_cli_path": "attendance report columns", + "reviewed": false, + "risk": "low", + "title": "获取企业考勤字段列表", + "use_when": [ + "考勤字段/考勤列", + "获取考勤字段列表(管理员)" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "根据字段查询考勤数据,含列权限过滤和用户查看权限校验", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据字段查询考勤数据,含列权限过滤和用户查看权限校验时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.report_query_data", + "cli_name": "query-data", + "cli_path": "attendance report query-data", + "confirmation": "not_required", + "description": "根据字段查询考勤数据,含列权限过滤和用户查看权限校验。\n--columns 为字段 ID 列表(逗号分隔),可通过 dws attendance report columns 获取。\n--users 最多 20 人,传入userId,--start 到 --end 不超过 32 天。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "report_query_data", + "primary_cli_path": "attendance report query-data", + "reviewed": false, + "risk": "low", + "title": "根据字段查询考勤数据", + "use_when": [ + "根据字段查询考勤数据(管理员)", + "考勤数据/查询考勤报表数据" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询用户假期数据,含用户查看权限校验", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询用户假期数据,含用户查看权限校验时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.report_query_leave", + "cli_name": "query-leave", + "cli_path": "attendance report query-leave", + "confirmation": "not_required", + "description": "查询用户假期数据,含用户查看权限校验。\n--leave-names 为假期类型名称列表(逗号分隔),不传则查询所有假期类型。\n--users 最多 20 人,传入userId,--start 到 --end 不超过 32 天。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "report_query_leave", + "primary_cli_path": "attendance report query-leave", + "reviewed": false, + "risk": "low", + "title": "查询用户假期数据", + "use_when": [ + "假期数据/年假/病假/请假记录", + "查询用户假期数据(管理员)" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取指定用户在一段时间内的排班记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要获取指定用户在一段时间内的排班记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.schedule_get", + "cli_name": "get", + "cli_path": "attendance schedule get", + "confirmation": "not_required", + "description": "获取指定用户在一段时间内的排班记录。\n返回每条记录包含 userId、classId、workDate、className、checkBeginTime、checkEndTime 等字段。\n\n日期格式支持:\n - YYYY-MM-DD(如 2026-04-01)\n - YYYY-MM-DD HH:mm:ss(如 2026-04-01 09:00:00)\n\n示例:\n dws attendance schedule get --users user001,user002 --start 2026-04-01 --end 2026-04-30", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "schedule_get", + "primary_cli_path": "attendance schedule get", + "reviewed": false, + "risk": "low", + "title": "获取指定用户的排班记录", + "use_when": [ + "步骤1:获取排班记录的 planId" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "为排班制考勤组导入排班记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要为排班制考勤组导入排班记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.schedule_import", + "cli_name": "import", + "cli_path": "attendance schedule import", + "confirmation": "not_required", + "description": "为排班制考勤组导入排班记录。传入 JSON 数组格式排班数据,\n每条记录必填字段:\n - userId: 用户ID(必填)\n - workDate: 排班日期,格式 yyyy-MM-dd HH:mm:ss(必填)\n - classId: 班次ID(必填)\n - isRest: 是否为排休,取值 Y/N(必填)\n\n示例:\n dws attendance schedule import --groupId 123456 \\\n --scheduleVOS '[{\"userId\":\"user001\",\"workDate\":\"2026-04-22 09:00:00\",\"classId\":123,\"isRest\":\"N\"}]' \\\n --user-say-yes", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "schedule_import", + "primary_cli_path": "attendance schedule import", + "reviewed": false, + "risk": "medium", + "title": "导入排班记录到排班制考勤组", + "use_when": [ + "导入排班记录" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.selfsetting_get", + "cli_name": "get", + "cli_path": "attendance selfsetting get", + "confirmation": "not_required", + "description": "查询个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项。\n\n入参字段:\n --setting-scene 查询设置项,枚举值包括:\n checkRemind(打卡提醒)\n fastCheck(极速打卡)\n checkResultNotify(打卡结果通知)\n lackRemind(缺卡提醒)\n personalAttendStatNotify(个人考勤统计通知)\n bossAttendStatNotify(团队考勤统计通知)\n --user 必填,查询用户 ID,对应 MCP 参数 userId\n\n说明:corpId 和 opUserId 由当前登录上下文自动补齐,不需要通过 CLI 入参传入。\n\n出参字段说明:\n 顶层返回 ServiceResult:\n success 请求是否成功\n code 请求结果码\n message 请求结果说明\n result 个人规则设置结果;服务端可能根据 --setting-scene 仅返回对应设置项相关字段\n\n result 通用字段:\n corpId 企业 ID\n userId 用户 ID\n\n settingScene=checkRemind(打卡提醒)相关字段:\n checkRemindSetting DING 提醒渠道设置\n checkRemindSetting.onDutyRemind 上班打卡提醒设置,包含 openRemind、remindMinutes(负数标识几分钟前提醒,正数几分钟后提醒)\n checkRemindSetting.offDutyRemind 下班打卡提醒设置,包含 openRemind、remindMinutes(负数标识几分钟前提醒,正数几分钟后提醒)\n checkRemindUserOnDuty 工作通知渠道:用户个人上班打卡提醒开关\n checkRemindUserOffDuty 工作通知渠道:用户个人下班打卡提醒开关\n enableOndutyCheckRemindOfPc PC 端弹窗渠道:上班打卡提醒开关\n enableOffdutyCheckRemindOfPc PC 端弹窗渠道:下班打卡提醒开关\n\n settingScene=fastCheck(极速打卡)相关字段:\n ondutyCheckType 上班打卡方式:1 提醒打卡,2 不提醒且不自动打卡,3 自动打卡\n ondutyRemindStartMin 上班打卡提醒开始时间,单位:分钟\n ondutyRemindEndMin 上班打卡提醒结束时间,单位:分钟\n fastCheckLateNeedConfirm 迟到时是否需要二次确认\n offdutyCheckType 下班打卡方式:1 提醒打卡,2 不提醒且不自动打卡,3 自动打卡\n offdutyRemindStartMin 下班打卡提醒开始时间,单位:分钟\n offdutyRemindEndMin 下班打卡提醒结束时间,单位:分钟\n canUpdateOffDuty 是否允许用户更新下班打卡设置\n voiceRemindSwitch 极速打卡提示音开关\n vibrationRemindSwitch 极速打卡震动提醒开关\n\n settingScene=checkResultNotify(打卡结果通知)相关字段:\n checkResultMsg 打卡结果通知开关:0 关闭,1 开启\n\n settingScene=lackRemind(缺卡提醒)相关字段:\n lackSendTodoMsg 待办提醒开关:0 关闭,null 或 1 开启\n lackRemindUser 工作通知渠道:用户个人缺卡提醒开关:0 关闭,null 或 1 开启\n\n settingScene=personalAttendStatNotify(个人考勤统计通知)相关字段:\n personDailyReportSwitch 日报推送开关:0 关闭,1 开启\n personWeekReportType 周报通知渠道:0 全关闭,1 工作通知,2 钉邮,3 工作通知和钉邮\n personMonthReportType 月报通知渠道:0 全关闭,1 工作通知,2 钉邮,3 工作通知和钉邮\n\n settingScene=bossAttendStatNotify(团队考勤统计通知)相关字段:\n bossPushStartMin 日报推送开始时间,单位:分钟;-1 表示关闭日报推送\n bossWeekReportType 周报通知渠道:0 全关闭,1 工作通知,2 钉邮,3 工作通知和钉邮\n bossMonthReportType 月报通知渠道:0 全关闭,1 工作通知,2 钉邮,3 工作通知和钉邮", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "selfsetting_get", + "primary_cli_path": "attendance selfsetting get", + "reviewed": false, + "risk": "low", + "title": "查询个人规则设置", + "use_when": [ + "查看指定用户的打卡提醒设置", + "查看指定用户的极速打卡设置", + "查询个人规则设置/查看打卡提醒/查看极速打卡/查看缺卡提醒/查看打卡结果通知/查看个人考勤统计通知/查看团队考勤统计通知" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "更新保存个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要更新保存个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.selfsetting_save", + "cli_name": "save", + "cli_path": "attendance selfsetting save", + "confirmation": "user_required", + "description": "更新保存个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项。\n\n入参字段:\n --setting-scene 必填,枚举值包括 checkRemind、fastCheck、checkResultNotify、lackRemind、personalAttendStatNotify、bossAttendStatNotify\n --user 必填,更新用户 ID,对应 MCP 参数 userId\n\n按 settingScene 传入对应设置字段,且至少传一个字段:\n checkRemind:\n --check-remind-setting\n --check-remind-user-on-duty\n --check-remind-user-off-duty\n --enable-onduty-check-remind-of-pc\n --enable-offduty-check-remind-of-pc\n fastCheck:\n --onduty-check-type\n --offduty-check-type\n --onduty-remind-start-min\n --onduty-remind-end-min\n --offduty-remind-start-min\n --offduty-remind-end-min\n --fast-check-late-need-confirm\n --can-update-off-duty\n --voice-remind-switch\n --vibration-remind-switch\n checkResultNotify:\n --check-result-msg\n lackRemind:\n --lack-send-todo-msg\n --lack-remind-user\n personalAttendStatNotify:\n --person-daily-report-switch\n --person-week-report-type\n --person-month-report-type\n bossAttendStatNotify:\n --boss-push-start-min\n --boss-week-report-type\n --boss-month-report-type\n\n说明:corpId 和 opUserId 由当前登录上下文自动补齐,不需要通过 CLI 入参传入。\n返回 ServiceResult,包含 success、code、message、result;result 为 boolean,表示保存是否成功。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "selfsetting_save", + "primary_cli_path": "attendance selfsetting save", + "reviewed": false, + "risk": "high", + "title": "更新保存个人规则设置", + "use_when": [ + "开启打卡结果通知(Agent 调用时,必须先完成 ask_human 二次确认,确认后再追加 --yes 执行)", + "开启指定用户的打卡结果通知", + "更新个人规则设置/保存打卡提醒/修改极速打卡/关闭缺卡提醒/开启打卡结果通知/设置个人考勤统计通知/设置团队考勤统计通知", + "更新打卡提醒设置(Agent 调用时,必须先完成 ask_human 二次确认,确认后再追加 --yes 执行)", + "更新指定用户的极速打卡设置", + "更新极速打卡设置(Agent 调用时,必须先完成 ask_human 二次确认,确认后再追加 --yes 执行)" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 get_leave_balance_quota 查询指定员工的假期余额", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_leave_balance_quota 查询指定员工的假期余额时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.vacation_balance", + "cli_name": "balance", + "cli_path": "attendance vacation balance", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_leave_balance_quota 查询指定员工的假期余额。\n例如:查询某员工年假还剩多少、病假额度等。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "vacation_balance", + "primary_cli_path": "attendance vacation balance", + "reviewed": false, + "risk": "low", + "title": "查询指定员工假期余额", + "use_when": [ + "1. 查询当前余额", + "1. 查询当前余额(假设返回5天)", + "增加假期余额/发放年假/给员工加年假", + "查看指定员工假期余额", + "查看指定员工某类假期余额", + "病假余额/年假余额/事假剩余假期", + "设置假期余额/调整假期额度/更新假期余额" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 get_leave_balance_records 查询指定员工的假期余额变更记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_leave_balance_records 查询指定员工的假期余额变更记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.vacation_records", + "cli_name": "records", + "cli_path": "attendance vacation records", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_leave_balance_records 查询指定员工的假期余额变更记录。\n例如:查询某员工年假变更历史、请假扣减记录等。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "vacation_records", + "primary_cli_path": "attendance vacation records", + "reviewed": false, + "risk": "low", + "title": "查询指定员工假期余额变更记录", + "use_when": [ + "假期变更/假期记录/请假扣减", + "查看指定员工假期余额变更记录" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 update_leave_balance 设置指定员工的假期余额数量", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 update_leave_balance 设置指定员工的假期余额数量时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.vacation_save_balance", + "cli_name": "save-balance", + "cli_path": "attendance vacation save-balance", + "confirmation": "not_required", + "description": "调用 MCP 工具 update_leave_balance 设置指定员工的假期余额数量。\n\n重要说明:这是设置(SET)接口,传入的值会替换当前余额,而不是增加(ADD)。\n\n参数说明:\n --target 目标员工工号(必填)\n --leave-code 假期编码(必填)\n --num 余额数量(必填,如8天传8,7.5天传7.5)\n --reason 变更原因(必填,最长100字符)\n --start 有效期开始日期 YYYY-MM-DD\n --end 有效期结束日期 YYYY-MM-DD\n --user-say-yes 用户已确认,跳过交互式确认提示(Agent 调用时传 true 前必须完成用户二次确认)\n\n注意:\n - 余额数量在传递给 MCP 时会自动乘以100(如8天传800,7.5天传750)\n - 此接口为 SET 操作:传入值会直接设置为新的余额,而非累加到现有余额", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "vacation_save_balance", + "primary_cli_path": "attendance vacation save-balance", + "reviewed": false, + "risk": "medium", + "title": "设置员工假期余额", + "use_when": [ + "3. 执行设置(SET操作,会替换当前余额)", + "3. 设置新总额度", + "设置员工年假余额为8天", + "设置带有效期的假期余额" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 get_leave_types 查询当前用户可用的假期规则列表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_leave_types 查询当前用户可用的假期规则列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.vacation_types", + "cli_name": "types", + "cli_path": "attendance vacation types", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_leave_types 查询当前用户可用的假期规则列表。\n例如:年假、事假、病假等假期类型及对应规则。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "vacation_types", + "primary_cli_path": "attendance vacation types", + "reviewed": false, + "risk": "low", + "title": "查询当前用户假期规则列表", + "use_when": [ + "假期/我的假期/假期规则", + "查看假期规则列表" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "调用 MCP 工具 save_leave_type 更新已有假期规则", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 save_leave_type 更新已有假期规则时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.vacation_update_type", + "cli_name": "update-type", + "cli_path": "attendance vacation update-type", + "confirmation": "not_required", + "description": "调用 MCP 工具 save_leave_type 更新已有假期规则。\n--leave-code 必填,指定要更新的假期规则编码。\n其他字段均为可选,仅需传入要修改的字段。\n\n参数说明:\n --leave-code 假期编码(必填)\n --name 假期名称(可选)\n --unit 假期单位:day/halfDay/hour(可选)\n --paid 是否带薪假期(可选)\n --per-hours 一天折算小时数(可选)\n --when-can-leave 新员工请假规则:entry/formal(可选)\n --visibility-rules 适用范围规则 JSON 数组(可选)\n --user-say-yes 用户已确认,跳过交互式确认提示(Agent 调用时传 true 前必须完成用户二次确认)\n\n--visibility-rules 适用范围语义(HSF 反序列化约定,必读):\n - 不传:不修改原有可见范围。\n - 改为指定范围:传 [{\"type\":\"staff|dept|label|employee_type\",\"visible\":[\"id1\",\"id2\"]}, ...],\n 每条规则 type 和 visible 都必须非空。\n - 改为全公司可见(哨兵约定):必须显式传 [{\"type\":\"dept\",\"visible\":[\"-1\"]}],\n 服务端识别后会落库为空可见范围(即全公司)。\n - 反例(CLI 会拦截报错,避免被服务端静默忽略):\n * 空数组 []、[{}]、[{\"type\":\"dept\",\"visible\":[]}] 等被视为未传,不会生效为全公司可见;\n * 若要清空可见范围,必须显式传哨兵值 [\"-1\"]。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "vacation_update_type", + "primary_cli_path": "attendance vacation update-type", + "reviewed": false, + "risk": "medium", + "title": "更新假期规则", + "use_when": [ + "更新假期单位", + "更新假期规则/修改假期类型/编辑假期规则", + "更新假期规则名称", + "更新适用范围" + ] } ], "use_when": [ @@ -3585,9 +4852,6 @@ "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "添加参与者", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", - "aliases": [ - "calendar participant add" - ], "availability": "available", "avoid_when": [ "要“查看参与者”请改用 dws calendar attendee list", @@ -3803,9 +5067,6 @@ "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "查看参与者", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", - "aliases": [ - "calendar participant list" - ], "availability": "available", "avoid_when": [ "要“添加参与者”请改用 dws calendar attendee add", @@ -4045,9 +5306,6 @@ "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "移除参与者", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", - "aliases": [ - "calendar participant delete" - ], "availability": "available", "avoid_when": [ "要“查看参与者”请改用 dws calendar attendee list", @@ -4056,9 +5314,9 @@ "canonical_path": "calendar.remove_calendar_participant", "cli_name": "delete", "cli_path": "calendar attendee delete", - "confirmation": "user_required", + "confirmation": "not_required", "description": "从已存在的指定日程中移除参与者,支持批量移除多人", - "effect": "destructive", + "effect": "write", "idempotency": "unknown", "interface_mode": "mcp", "interface_ref": { @@ -4068,7 +5326,7 @@ "metadata_source": "embedded-mcp-metadata", "name": "remove_calendar_participant", "primary_cli_path": "calendar attendee delete", - "risk": "high", + "risk": "medium", "title": "删除日程参与人", "use_when": [ "参会人/与会者;移除" @@ -4180,7 +5438,7 @@ "id": "chat", "name": "群聊 / 消息 / 机器人", "runtime": true, - "tool_count": 70, + "tool_count": 69, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -4680,37 +5938,6 @@ "群邀请链接/入群链接/加群链接" ] }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "查看群成员列表", - "agent_summary_source": "dws-wukong-envelope@4574f7022c32", - "availability": "available", - "avoid_when": [ - "要“从群中移除成员”请改用 dws chat group members remove", - "要“向群中添加成员”请改用 dws chat group members add", - "要“将机器人添加到群中”请改用 dws chat group members add-bot" - ], - "canonical_path": "chat.get_group_members", - "cli_name": "list", - "cli_path": "chat group members list", - "confirmation": "not_required", - "description": "查群成员列表", - "effect": "read", - "idempotency": "idempotent", - "interface_mode": "mcp", - "interface_ref": { - "product_id": "chat", - "rpc_name": "get_group_members" - }, - "metadata_source": "embedded-command-catalog", - "name": "get_group_members", - "primary_cli_path": "chat group members list", - "risk": "low", - "title": "get_group_members", - "use_when": [ - "查看群成员列表" - ] - }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "拉取指定群聊的会话消息内容", @@ -6428,897 +7655,6 @@ "群聊/建群/群成员/群管理/发消息/发图片消息/发文件消息/发 Markdown 消息/截图发钉钉/转发消息/引用回复/@我/特别关注消息/机器人发消息/Webhook/机器人群发/机器人单聊/通知" ] }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.conference.prod.json", - "skills/mono/schema-hints/imported/wukong.json" - ], - "agent_summary": "视频会议 / 预约", - "agent_summary_source": "dws-wukong-envelope@4574f7022c32", - "description": "视频会议", - "id": "conference", - "name": "视频会议", - "runtime": true, - "tool_count": 33, - "tools": [ - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "关闭摄像头", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“打开摄像头”请改用 dws conference camera open" - ], - "canonical_path": "conference.ai_close_camera", - "cli_name": "close", - "cli_path": "conference camera close", - "confirmation": "not_required", - "description": "关闭摄像头", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_close_camera", - "primary_cli_path": "conference camera close", - "reviewed": true, - "risk": "medium", - "use_when": [ - "关闭摄像头" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "关闭同声传译", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“开启同声传译”请改用 dws conference interpretation open" - ], - "canonical_path": "conference.ai_close_simultaneous_interpretation", - "cli_name": "close", - "cli_path": "conference interpretation close", - "confirmation": "not_required", - "description": "关闭同声传译", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_close_simultaneous_interpretation", - "primary_cli_path": "conference interpretation close", - "reviewed": true, - "risk": "medium", - "use_when": [ - "关闭同声传译" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "关闭实时字幕", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“开启实时字幕”请改用 dws conference subtitle open" - ], - "canonical_path": "conference.ai_close_subtitle", - "cli_name": "close", - "cli_path": "conference subtitle close", - "confirmation": "not_required", - "description": "关闭实时字幕", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_close_subtitle", - "primary_cli_path": "conference subtitle close", - "reviewed": true, - "risk": "medium", - "use_when": [ - "关闭实时字幕" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "关闭智能听记", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“开启智能听记”请改用 dws conference transcript open" - ], - "canonical_path": "conference.ai_close_transcript", - "cli_name": "close", - "cli_path": "conference transcript close", - "confirmation": "not_required", - "description": "关闭智能听记", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_close_transcript", - "primary_cli_path": "conference transcript close", - "reviewed": true, - "risk": "medium", - "use_when": [ - "关闭智能听记" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "结束整场会议并让所有参会者退出(不可逆)", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.ai_end_meeting_for_all", - "cli_name": "end", - "cli_path": "conference end", - "confirmation": "user_required", - "description": "结束会议(所有人)", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_end_meeting_for_all", - "primary_cli_path": "conference end", - "reviewed": true, - "risk": "high", - "use_when": [ - "结束整场会议并让所有参会者退出(不可逆)" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "本人离开当前会议(其他人继续)", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.ai_leave_myself", - "cli_name": "leave", - "cli_path": "conference leave", - "confirmation": "not_required", - "description": "离开当前会议", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_leave_myself", - "primary_cli_path": "conference leave", - "reviewed": true, - "risk": "medium", - "use_when": [ - "本人离开当前会议(其他人继续)" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "主持人将会议内全体参会者静音", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“取消静音”请改用 dws conference mic unmute", - "要“静音自己”请改用 dws conference mic mute" - ], - "canonical_path": "conference.ai_mute_all", - "cli_name": "mute-all", - "cli_path": "conference mic mute-all", - "confirmation": "not_required", - "description": "全体静音", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_mute_all", - "primary_cli_path": "conference mic mute-all", - "reviewed": true, - "risk": "medium", - "use_when": [ - "主持人将会议内全体参会者静音" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "静音自己", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“主持人将会议内全体参会者静音”请改用 dws conference mic mute-all", - "要“取消静音”请改用 dws conference mic unmute" - ], - "canonical_path": "conference.ai_mute_mic", - "cli_name": "mute", - "cli_path": "conference mic mute", - "confirmation": "not_required", - "description": "静音自己", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_mute_mic", - "primary_cli_path": "conference mic mute", - "reviewed": true, - "risk": "medium", - "use_when": [ - "静音自己" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "一键呼叫所有人", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“打开邀请选人面板”请改用 dws conference invite panel" - ], - "canonical_path": "conference.ai_one_click_call", - "cli_name": "all", - "cli_path": "conference invite all", - "confirmation": "not_required", - "description": "一键呼叫所有人", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_one_click_call", - "primary_cli_path": "conference invite all", - "reviewed": true, - "risk": "medium", - "use_when": [ - "一键呼叫所有人" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "打开共享批注", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“停止屏幕共享”请改用 dws conference share stop", - "要“开始共享桌面”请改用 dws conference share start", - "要“打开共享选择面板”请改用 dws conference share panel" - ], - "canonical_path": "conference.ai_open_annotation", - "cli_name": "annotate", - "cli_path": "conference share annotate", - "confirmation": "not_required", - "description": "打开共享批注", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_open_annotation", - "primary_cli_path": "conference share annotate", - "reviewed": true, - "risk": "medium", - "use_when": [ - "打开共享批注" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "打开美颜设置面板", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“打开虚拟背景设置面板”请改用 dws conference appearance background-setting" - ], - "canonical_path": "conference.ai_open_beauty_setting_page", - "cli_name": "beauty-setting", - "cli_path": "conference appearance beauty-setting", - "confirmation": "not_required", - "description": "打开美颜设置面板", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_open_beauty_setting_page", - "primary_cli_path": "conference appearance beauty-setting", - "reviewed": true, - "risk": "medium", - "use_when": [ - "打开美颜设置面板" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "打开摄像头", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“关闭摄像头”请改用 dws conference camera close" - ], - "canonical_path": "conference.ai_open_camera", - "cli_name": "open", - "cli_path": "conference camera open", - "confirmation": "not_required", - "description": "打开摄像头", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_open_camera", - "primary_cli_path": "conference camera open", - "reviewed": true, - "risk": "medium", - "use_when": [ - "打开摄像头" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "打开表情互动面板", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.ai_open_interactive_panel", - "cli_name": "panel", - "cli_path": "conference interaction panel", - "confirmation": "not_required", - "description": "打开表情互动面板", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_open_interactive_panel", - "primary_cli_path": "conference interaction panel", - "reviewed": true, - "risk": "medium", - "use_when": [ - "打开表情互动面板" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "打开邀请选人面板", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“一键呼叫所有人”请改用 dws conference invite all" - ], - "canonical_path": "conference.ai_open_invite_member_panel", - "cli_name": "panel", - "cli_path": "conference invite panel", - "confirmation": "not_required", - "description": "打开邀请选人面板", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_open_invite_member_panel", - "primary_cli_path": "conference invite panel", - "reviewed": true, - "risk": "medium", - "use_when": [ - "打开邀请选人面板" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "打开安全设置菜单", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.ai_open_security_menu", - "cli_name": "menu", - "cli_path": "conference security menu", - "confirmation": "not_required", - "description": "打开安全设置菜单", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_open_security_menu", - "primary_cli_path": "conference security menu", - "reviewed": true, - "risk": "medium", - "use_when": [ - "打开安全设置菜单" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "打开共享选择面板", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“停止屏幕共享”请改用 dws conference share stop", - "要“开始共享桌面”请改用 dws conference share start", - "要“打开共享批注”请改用 dws conference share annotate" - ], - "canonical_path": "conference.ai_open_share_panel", - "cli_name": "panel", - "cli_path": "conference share panel", - "confirmation": "not_required", - "description": "打开共享选择面板", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_open_share_panel", - "primary_cli_path": "conference share panel", - "reviewed": true, - "risk": "medium", - "use_when": [ - "打开共享选择面板" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "开启同声传译", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“关闭同声传译”请改用 dws conference interpretation close" - ], - "canonical_path": "conference.ai_open_simultaneous_interpretation", - "cli_name": "open", - "cli_path": "conference interpretation open", - "confirmation": "not_required", - "description": "开启同声传译", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_open_simultaneous_interpretation", - "primary_cli_path": "conference interpretation open", - "reviewed": true, - "risk": "medium", - "use_when": [ - "开启同声传译" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "开启实时字幕", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“关闭实时字幕”请改用 dws conference subtitle close" - ], - "canonical_path": "conference.ai_open_subtitle", - "cli_name": "open", - "cli_path": "conference subtitle open", - "confirmation": "not_required", - "description": "开启实时字幕", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_open_subtitle", - "primary_cli_path": "conference subtitle open", - "reviewed": true, - "risk": "medium", - "use_when": [ - "开启实时字幕" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "开启智能听记", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“关闭智能听记”请改用 dws conference transcript close" - ], - "canonical_path": "conference.ai_open_transcript", - "cli_name": "open", - "cli_path": "conference transcript open", - "confirmation": "not_required", - "description": "开启智能听记", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_open_transcript", - "primary_cli_path": "conference transcript open", - "reviewed": true, - "risk": "medium", - "use_when": [ - "开启智能听记" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "打开虚拟背景设置面板", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“打开美颜设置面板”请改用 dws conference appearance beauty-setting" - ], - "canonical_path": "conference.ai_open_virtual_background_setting_page", - "cli_name": "background-setting", - "cli_path": "conference appearance background-setting", - "confirmation": "not_required", - "description": "打开虚拟背景设置面板", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_open_virtual_background_setting_page", - "primary_cli_path": "conference appearance background-setting", - "reviewed": true, - "risk": "medium", - "use_when": [ - "打开虚拟背景设置面板" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "申请录制权限", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“停止当前会议的云端录制”请改用 dws conference record stop", - "要“开始云端录制当前会议”请改用 dws conference record start" - ], - "canonical_path": "conference.ai_request_record", - "cli_name": "request", - "cli_path": "conference record request", - "confirmation": "not_required", - "description": "申请录制权限", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_request_record", - "primary_cli_path": "conference record request", - "reviewed": true, - "risk": "medium", - "use_when": [ - "申请录制权限" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "开始共享桌面", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“停止屏幕共享”请改用 dws conference share stop", - "要“打开共享批注”请改用 dws conference share annotate", - "要“打开共享选择面板”请改用 dws conference share panel" - ], - "canonical_path": "conference.ai_share_desktop", - "cli_name": "start", - "cli_path": "conference share start", - "confirmation": "not_required", - "description": "开始共享桌面", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_share_desktop", - "primary_cli_path": "conference share start", - "reviewed": true, - "risk": "medium", - "use_when": [ - "开始共享桌面" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "开始云端录制当前会议", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“停止当前会议的云端录制”请改用 dws conference record stop", - "要“申请录制权限”请改用 dws conference record request" - ], - "canonical_path": "conference.ai_start_cloud_record", - "cli_name": "start", - "cli_path": "conference record start", - "confirmation": "not_required", - "description": "开始云端录制", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_start_cloud_record", - "primary_cli_path": "conference record start", - "reviewed": true, - "risk": "medium", - "use_when": [ - "开始云端录制当前会议" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "停止当前会议的云端录制", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“开始云端录制当前会议”请改用 dws conference record start", - "要“申请录制权限”请改用 dws conference record request" - ], - "canonical_path": "conference.ai_stop_cloud_record", - "cli_name": "stop", - "cli_path": "conference record stop", - "confirmation": "not_required", - "description": "停止云端录制", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_stop_cloud_record", - "primary_cli_path": "conference record stop", - "reviewed": true, - "risk": "medium", - "use_when": [ - "停止当前会议的云端录制" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "停止屏幕共享", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“开始共享桌面”请改用 dws conference share start", - "要“打开共享批注”请改用 dws conference share annotate", - "要“打开共享选择面板”请改用 dws conference share panel" - ], - "canonical_path": "conference.ai_stop_share", - "cli_name": "stop", - "cli_path": "conference share stop", - "confirmation": "not_required", - "description": "停止屏幕共享", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_stop_share", - "primary_cli_path": "conference share stop", - "reviewed": true, - "risk": "medium", - "use_when": [ - "停止屏幕共享" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "切换宫格视图", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“切换标准视图”请改用 dws conference view standard", - "要“切换演讲者视图”请改用 dws conference view speaker" - ], - "canonical_path": "conference.ai_switch_gallery_view", - "cli_name": "grid", - "cli_path": "conference view grid", - "confirmation": "not_required", - "description": "切换宫格视图", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_switch_gallery_view", - "primary_cli_path": "conference view grid", - "reviewed": true, - "risk": "medium", - "use_when": [ - "切换宫格视图" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "切换演讲者视图", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“切换宫格视图”请改用 dws conference view grid", - "要“切换标准视图”请改用 dws conference view standard" - ], - "canonical_path": "conference.ai_switch_speaker_view", - "cli_name": "speaker", - "cli_path": "conference view speaker", - "confirmation": "not_required", - "description": "切换演讲者视图", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_switch_speaker_view", - "primary_cli_path": "conference view speaker", - "reviewed": true, - "risk": "medium", - "use_when": [ - "切换演讲者视图" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "切换标准视图", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“切换宫格视图”请改用 dws conference view grid", - "要“切换演讲者视图”请改用 dws conference view speaker" - ], - "canonical_path": "conference.ai_switch_standard_view", - "cli_name": "standard", - "cli_path": "conference view standard", - "confirmation": "not_required", - "description": "切换标准视图", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_switch_standard_view", - "primary_cli_path": "conference view standard", - "reviewed": true, - "risk": "medium", - "use_when": [ - "切换标准视图" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "发起全员合影", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.ai_take_group_photo", - "cli_name": "take", - "cli_path": "conference photo take", - "confirmation": "not_required", - "description": "发起全员合影", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_take_group_photo", - "primary_cli_path": "conference photo take", - "reviewed": true, - "risk": "medium", - "use_when": [ - "发起全员合影" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "取消静音", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“主持人将会议内全体参会者静音”请改用 dws conference mic mute-all", - "要“静音自己”请改用 dws conference mic mute" - ], - "canonical_path": "conference.ai_unmute_mic", - "cli_name": "unmute", - "cli_path": "conference mic unmute", - "confirmation": "not_required", - "description": "取消静音", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "ai_unmute_mic", - "primary_cli_path": "conference mic unmute", - "reviewed": true, - "risk": "medium", - "use_when": [ - "取消静音" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "发起一场即时会议", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.create_conference", - "cli_name": "start", - "cli_path": "conference start", - "confirmation": "not_required", - "description": "发起即时会议", - "effect": "write", - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "create_conference", - "primary_cli_path": "conference start", - "reviewed": true, - "risk": "medium", - "use_when": [ - "发起一场即时会议" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "获取当前所在会议的会议 ID(需在会议中)", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.get_conference_id", - "cli_name": "get-id", - "cli_path": "conference get-id", - "confirmation": "not_required", - "description": "获取当前会议的会议ID(需要在会议中)", - "effect": "read", - "idempotency": "idempotent", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "get_conference_id", - "primary_cli_path": "conference get-id", - "reviewed": true, - "risk": "low", - "use_when": [ - "获取当前所在会议的会议 ID(需在会议中)" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "查询当前会议状态(是否在会议中)", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.get_conference_status", - "cli_name": "status", - "cli_path": "conference status", - "confirmation": "not_required", - "description": "查询当前会议状态", - "effect": "read", - "idempotency": "idempotent", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "metadata_source": "embedded-command-catalog", - "name": "get_conference_status", - "primary_cli_path": "conference status", - "reviewed": true, - "risk": "low", - "use_when": [ - "查询当前会议状态(是否在会议中)" - ] - } - ] - }, { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -7800,7 +8136,7 @@ "cli_name": "status", "cli_path": "dev connect status", "confirmation": "not_required", - "description": "查看后台连接器守护进程状态(pid、运行时长、日志路径)", + "description": "查看连接器健康状态(healthy/degraded/down,pid、收发活动、日志路径;--json 供外部托管消费)", "effect": "read", "idempotency": "idempotent", "interface_mode": "local", @@ -7809,7 +8145,6 @@ "primary_cli_path": "dev connect status", "reviewed": true, "risk": "low", - "title": "查看连接器健康状态(healthy/degraded/down,pid、收发活动、日志路径;--json 供外部托管消费)", "use_when": [ "查看/停止后台连接器(status/list 忽略全局 --format,出 JSON 用专属 --json)", "查看后台连接器守护进程状态(pid、运行时长、日志路径)" @@ -8400,8 +8735,8 @@ "cli_path": "dev app version publish", "confirmation": "not_required", "description": "发布指定版本(含高敏权限需 --confirmed-sensitive)", - "effect": "read", - "idempotency": "idempotent", + "effect": "write", + "idempotency": "unknown", "interface_mode": "mcp", "interface_ref": { "product_id": "devapp", @@ -8410,7 +8745,7 @@ "name": "publish_dev_app_version", "primary_cli_path": "dev app version publish", "reviewed": true, - "risk": "low", + "risk": "medium", "use_when": [ "发布指定版本(含高敏权限需 --confirmed-sensitive)", "版本发布/审批,线上搜索、加群、路由消息以 RELEASE 为准" @@ -8763,118 +9098,8 @@ "id": "devdoc", "name": "开放平台文档搜索", "runtime": true, - "tool_count": 5, + "tool_count": 1, "tools": [ - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "按关键词检索钉钉开放平台文档,只返回参考资料、参考资料链接和RAG上下文,不生成AI分析答案。", - "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", - "availability": "available", - "avoid_when": [ - "要“按关键词搜索 open.dingtalk.com 开放平台文档”请改用 dws devdoc article search", - "要“根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包”请改用 dws devdoc article legacy-search", - "要“根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包”请改用 dws devdoc article legacy-search-open-platform" - ], - "canonical_path": "devdoc.devdoc_rag_pretest", - "cli_name": "rag-pretest", - "cli_path": "devdoc article rag-pretest", - "confirmation": "not_required", - "description": "按关键词检索钉钉开放平台文档,只返回参考资料、参考资料链接和RAG上下文,不生成AI分析答案。", - "effect": "read", - "idempotency": "idempotent", - "interface_mode": "mcp", - "metadata_source": "embedded-command-catalog", - "name": "devdoc_rag_pretest", - "primary_cli_path": "devdoc article rag-pretest", - "reviewed": false, - "risk": "low", - "title": "devdoc_rag_pretest", - "use_when": [ - "按关键词检索钉钉开放平台文档,只返回参考资料、参考资料链接和RAG上下文,不生成AI分析答案。" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。", - "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", - "availability": "available", - "avoid_when": [ - "要“按关键词搜索 open.dingtalk.com 开放平台文档”请改用 dws devdoc article search", - "要“按关键词检索钉钉开放平台文档,只返回参考资料、参考资料链接和RA”请改用 dws devdoc article rag-pretest", - "要“根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包”请改用 dws devdoc article legacy-search-open-platform" - ], - "canonical_path": "devdoc.search_dingtalk_open_docs", - "cli_name": "legacy-search", - "cli_path": "devdoc article legacy-search", - "confirmation": "not_required", - "description": "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。搜索结果按相关性排序。适用于开发者在集成或调试过程中快速查找 API 说明、接入指南、错误码解释等技术资料。", - "effect": "read", - "idempotency": "idempotent", - "interface_mode": "mcp", - "metadata_source": "embedded-command-catalog", - "name": "search_dingtalk_open_docs", - "primary_cli_path": "devdoc article legacy-search", - "reviewed": false, - "risk": "low", - "title": "search_dingtalk_open_docs", - "use_when": [ - "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "按原始问题、requestId/traceId、错误码或错误描述排查钉钉开放平台调用错误;", - "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", - "availability": "available", - "avoid_when": [ - "需要创建、修改或删除数据时不要使用;本命令只用于“按原始问题、requestId/traceId、错误码或错误描述排查钉钉开放平台调用错误;”" - ], - "canonical_path": "devdoc.search_open_error_code_rag", - "cli_name": "diagnose", - "cli_path": "devdoc error diagnose", - "confirmation": "not_required", - "description": "按原始问题、requestId/traceId、错误码或错误描述排查钉钉开放平台调用错误;只返回诊断事实、参考资料、参考资料链接和 RAG 上下文,不生成 AI 分析答案。", - "effect": "read", - "idempotency": "idempotent", - "interface_mode": "mcp", - "metadata_source": "embedded-command-catalog", - "name": "search_open_error_code_rag", - "primary_cli_path": "devdoc error diagnose", - "reviewed": false, - "risk": "low", - "title": "search_open_error_code_rag", - "use_when": [ - "按原始问题、requestId/traceId、错误码或错误描述排查钉钉开放平台调用错误;" - ] - }, - { - "agent_metadata_source": "embedded-skill-metadata", - "agent_summary": "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。", - "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", - "availability": "available", - "avoid_when": [ - "要“按关键词搜索 open.dingtalk.com 开放平台文档”请改用 dws devdoc article search", - "要“按关键词检索钉钉开放平台文档,只返回参考资料、参考资料链接和RA”请改用 dws devdoc article rag-pretest", - "要“根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包”请改用 dws devdoc article legacy-search" - ], - "canonical_path": "devdoc.search_open_platform_docs", - "cli_name": "legacy-search-open-platform", - "cli_path": "devdoc article legacy-search-open-platform", - "confirmation": "not_required", - "description": "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。搜索结果按相关性排序。适用于开发者在集成或调试过程中快速查找 API 说明、接入指南、错误码解释等技术资料。", - "effect": "read", - "idempotency": "idempotent", - "interface_mode": "mcp", - "metadata_source": "embedded-command-catalog", - "name": "search_open_platform_docs", - "primary_cli_path": "devdoc article legacy-search-open-platform", - "reviewed": false, - "risk": "low", - "title": "search_open_platform_docs", - "use_when": [ - "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。" - ] - }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "按关键词搜索 open.dingtalk.com 开放平台文档", @@ -9017,7 +9242,7 @@ "id": "doc", "name": "钉钉文档管理", "runtime": true, - "tool_count": 29, + "tool_count": 36, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -9450,6 +9675,32 @@ "这个 alidocs 表格链接帮我看下\"(粘贴原始 URL);先 probe 节点类型" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "根据 taskId 查询文档导入任务的执行结果", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据 taskId 查询文档导入任务的执行结果时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "doc.import_get", + "cli_name": "get", + "cli_path": "doc import get", + "confirmation": "not_required", + "description": "根据 taskId 查询文档导入任务的执行结果。\n通常不需要手动调用,dws doc import 会自动完成轮询。\n仅在导入命令超时或中断后,用于手动查询任务状态。\n\n任务状态:\n processing 转换中\n completed 导入成功,返回 documentUrl\n failed 导入失败", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "import_get", + "primary_cli_path": "doc import get", + "reviewed": false, + "risk": "medium", + "title": "查询导入任务结果(手动兜底)", + "use_when": [ + "根据 taskId 查询文档导入任务的执行结果" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "将一个新的块元素插入指定文档,需要提供文档ID(dentryUuid)与块元素内容(必须包含 blockType 及对应类型的属性对象)。", @@ -9858,6 +10109,84 @@ "搜索文档(不传关键词返回最近访问)" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "使用指定模板创建新文档", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要使用指定模板创建新文档时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "doc.template_apply", + "cli_name": "apply", + "cli_path": "doc template apply", + "confirmation": "not_required", + "description": "使用指定模板创建新文档。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "template_apply", + "primary_cli_path": "doc template apply", + "reviewed": false, + "risk": "medium", + "title": "应用文档模板", + "use_when": [ + "使用指定模板创建新文档" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取当前用户可用的文档模板列表,支持按来源筛选", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要获取当前用户可用的文档模板列表,支持按来源筛选时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "doc.template_list", + "cli_name": "list", + "cli_path": "doc template list", + "confirmation": "not_required", + "description": "获取当前用户可用的文档模板列表,支持按来源筛选。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "template_list", + "primary_cli_path": "doc template list", + "reviewed": false, + "risk": "low", + "title": "获取文档模板列表", + "use_when": [ + "获取当前用户可用的文档模板列表,支持按来源筛选" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "根据关键词搜索文档模板", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据关键词搜索文档模板时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "doc.template_search", + "cli_name": "search", + "cli_path": "doc template search", + "confirmation": "not_required", + "description": "根据关键词搜索文档模板。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "template_search", + "primary_cli_path": "doc template search", + "reviewed": false, + "risk": "low", + "title": "搜索文档模板", + "use_when": [ + "根据关键词搜索文档模板" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "更新文档内容(追加 / 覆盖)", @@ -10004,6 +10333,81 @@ "上传文件/传文件/上传到文档/上传到知识库;上传并转换", "上传文件到钉钉文档或知识库" ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查看文档历史版本列表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查看文档历史版本列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "doc.version_list", + "cli_name": "list", + "cli_path": "doc version list", + "confirmation": "not_required", + "description": "查看文档历史版本列表", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "version_list", + "primary_cli_path": "doc version list", + "reviewed": false, + "risk": "low", + "use_when": [ + "查看文档历史版本列表" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "回滚文档到指定版本", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要回滚文档到指定版本时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "doc.version_revert", + "cli_name": "revert", + "cli_path": "doc version revert", + "confirmation": "not_required", + "description": "回滚文档到指定版本", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "version_revert", + "primary_cli_path": "doc version revert", + "reviewed": false, + "risk": "low", + "use_when": [ + "回滚文档到指定版本" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "手动保存文档版本快照", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要手动保存文档版本快照时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "doc.version_save", + "cli_name": "save", + "cli_path": "doc version save", + "confirmation": "not_required", + "description": "手动保存文档版本快照", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "version_save", + "primary_cli_path": "doc version save", + "reviewed": false, + "risk": "medium", + "use_when": [ + "手动保存文档版本快照" + ] } ], "use_when": [ @@ -10024,7 +10428,7 @@ "id": "drive", "name": "钉盘文件管理", "runtime": true, - "tool_count": 17, + "tool_count": 23, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -10458,6 +10862,162 @@ "修改企业用户在知识库节点上的角色(仅支持 USER 类型)。" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询文件当前是否处于互联网公开发布状态,以及公开发布的权限设置", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询文件当前是否处于互联网公开发布状态,以及公开发布的权限设置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "drive.publish_get", + "cli_name": "get", + "cli_path": "drive publish get", + "confirmation": "not_required", + "description": "查询文件当前是否处于互联网公开发布状态,以及公开发布的权限设置。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "publish_get", + "primary_cli_path": "drive publish get", + "reviewed": false, + "risk": "medium", + "title": "查询文件公开发布状态", + "use_when": [ + "查看公开状态/是否公开/发布状态" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "[危险] 将文件设置为互联网公开发布", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要[危险] 将文件设置为互联网公开发布时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "drive.publish_set", + "cli_name": "set", + "cli_path": "drive publish set", + "confirmation": "not_required", + "description": "[危险] 将文件设置为互联网公开发布。公开后任何人通过链接即可访问,无需登录钉钉。\n操作者需要是该文件的管理员或拥有者。执行前需要确认,或传入 --yes 跳过确认。\n\n公开权限 (--permission): READER(仅可查看) / DOWNLOADER(可查看和下载,默认) / EDITOR(可编辑)", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "publish_set", + "primary_cli_path": "drive publish set", + "reviewed": false, + "risk": "medium", + "title": "[危险] 设置文件为互联网公开", + "use_when": [ + "公开文件/互联网公开/设置公开/让互联网所有人可访问" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "[危险] 关闭文件的互联网公开发布", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要[危险] 关闭文件的互联网公开发布时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "drive.publish_unset", + "cli_name": "unset", + "cli_path": "drive publish unset", + "confirmation": "not_required", + "description": "[危险] 关闭文件的互联网公开发布。关闭后外部用户将无法再通过链接访问。执行前需要确认,或传入 --yes 跳过确认。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "publish_unset", + "primary_cli_path": "drive publish unset", + "reviewed": false, + "risk": "medium", + "title": "[危险] 关闭文件互联网公开", + "use_when": [ + "关闭公开/取消公开/取消互联网访问" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取当前用户最近访问或编辑过的文档列表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要获取当前用户最近访问或编辑过的文档列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "drive.recent", + "cli_name": "recent", + "cli_path": "drive recent", + "confirmation": "not_required", + "description": "获取当前用户最近访问或编辑过的文档列表。\n\n支持按文档类型、操作类型、创建人、所属组织过滤。所有过滤条件均为可选,不传则不过滤。\n\n操作类型 (--operate-type):\n 0 最近访问(含打开+编辑)(默认)\n 1 最近编辑\n 不传默认仅返回最近访问(0)\n\n创建人类型 (--creator-type):\n 0 全部 (默认)\n 1 我创建的\n 2 他人创建的", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "recent", + "primary_cli_path": "drive recent", + "reviewed": false, + "risk": "low", + "title": "获取最近访问/编辑的文档列表", + "use_when": [ + "最近访问/最近打开/最近编辑/最近文档" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查看回收站文件列表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查看回收站文件列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "drive.recycle_list", + "cli_name": "list", + "cli_path": "drive recycle list", + "confirmation": "not_required", + "description": "查看回收站文件列表", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "recycle_list", + "primary_cli_path": "drive recycle list", + "reviewed": false, + "risk": "low", + "use_when": [ + "8. 查看回收站并还原文件", + "回收站/查看回收站/回收站列表/回收站里有什么" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "还原回收站中的文件", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要还原回收站中的文件时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "drive.recycle_restore", + "cli_name": "restore", + "cli_path": "drive recycle restore", + "confirmation": "not_required", + "description": "还原回收站中的文件", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "recycle_restore", + "primary_cli_path": "drive recycle restore", + "reviewed": false, + "risk": "low", + "use_when": [ + "8. 查看回收站并还原文件", + "恢复文件/还原删除的文件/从回收站恢复/还原回收站文件" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "对指定节点进行重命名。", @@ -12212,7 +12772,7 @@ "cli_name": "start", "cli_path": "minutes record start", "confirmation": "not_required", - "description": "发起听记 (开始录音)", + "description": "发起听记(开始录音)", "effect": "write", "idempotency": "unknown", "interface_mode": "mcp", @@ -12224,7 +12784,6 @@ "primary_cli_path": "minutes record start", "reviewed": true, "risk": "medium", - "title": "发起听记(开始录音)", "use_when": [ "0. 发起听记(开始录音)", "发起听记 (开始录音)", @@ -13268,7 +13827,7 @@ "id": "sheet", "name": "钉钉表格管理", "runtime": true, - "tool_count": 58, + "tool_count": 69, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -13325,6 +13884,141 @@ "追加数据/添加行/在末尾加数据/新增记录;追加数据" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "将多个写操作打包为一次原子请求执行", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要将多个写操作打包为一次原子请求执行时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.batch_update", + "cli_name": "batch-update", + "cli_path": "sheet batch-update", + "confirmation": "not_required", + "description": "将多个写操作打包为一次原子请求执行。\n\n默认严格事务模式:任一子操作失败则整批回滚。\n传 --continue-on-error 切换为宽松模式(遇失败继续执行)。\n\ntoolName 使用 CLI 命令名(与原子命令一致),input 的键用 CLI flag 名去掉 --。\nCLI 层自动翻译为 MCP toolName + 参数名,无需记忆 MCP 参数名。\n\n支持的 CLI 命令名:\n range clear / range update / merge-cells / unmerge-cells / update-dimension\n range fill / range copy-to / add-dimension / delete-dimension / move-dimension\n group-dimension / ungroup-dimension\n set-dropdown / delete-dropdown / csv-put / delete-float-image\n\n注意:batch-update 中 group-dimension 适合默认展开分组;需要 --group-state fold 时请使用独立\ndws sheet group-dimension 命令。\n\n--operations 是 JSON 数组,每项包含:\n toolName CLI 命令名(如 \"range clear\", \"range update\")\n input 该命令的入参(不含 --node),键用 flag 名去掉 --\n\n完整映射表见:\n dingtalk-workspace/references/products/sheet/sheet-batch-operations.md", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "batch_update", + "primary_cli_path": "sheet batch-update", + "reviewed": false, + "risk": "medium", + "title": "批量执行多个写操作(原子事务)", + "use_when": [ + "批量操作/一次执行多个写操作/原子批量/先清除再写入;多个写操作打包" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "在钉钉电子表格的指定工作表中创建一个浮动图表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要在钉钉电子表格的指定工作表中创建一个浮动图表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.chart_create", + "cli_name": "create", + "cli_path": "sheet chart create", + "confirmation": "not_required", + "description": "在钉钉电子表格的指定工作表中创建一个浮动图表。\n\n--properties 为 JSON 格式,包含 position(锚点位置)、dimensions(尺寸)、chart(图表配置)三个必填字段,\n以及可选的 offset(偏移量)。支持 stdin heredoc 和 @file 两种传入方式。\n\nchart.type 支持: column(柱形图)、bar(条形图)、columnStacked(堆积柱形图)、barStacked(堆积条形图)、\nline(折线图)、lineStacked(堆积折线图)、area(面积图)、areaStacked(堆积面积图)、\nareaPercentStacked(百分比堆积面积图)、pie(饼图)、doughnut(环形图)、scatter(散点图)、\nradar(雷达图)。\nchart.series[].value / chart.series[].name / chart.category 使用 A1 区域表示法(如 \"A2:B10\"),\n不指定 sheet 前缀时默认使用 --sheet-id 的值。\nposition.col 使用列字母表示法(如 \"A\"、\"AA\"),不支持数字形式。\n\n创建成功后返回新图表的完整信息,包含系统分配的 chart-id。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "chart_create", + "primary_cli_path": "sheet chart create", + "reviewed": false, + "risk": "medium", + "title": "创建浮动图表", + "use_when": [ + "3. 创建柱形图", + "创建折线图", + "创建柱形图" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "删除钉钉电子表格中指定的浮动图表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要删除钉钉电子表格中指定的浮动图表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.chart_delete", + "cli_name": "delete", + "cli_path": "sheet chart delete", + "confirmation": "not_required", + "description": "删除钉钉电子表格中指定的浮动图表。\n\n注意: 这是一个危险操作,删除后图表不可恢复。执行前需要确认,或传入 --yes 跳过确认。\nchart-id 可通过 chart list 获取。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "chart_delete", + "primary_cli_path": "sheet chart delete", + "reviewed": false, + "risk": "medium", + "title": "删除浮动图表", + "use_when": [ + "删除钉钉电子表格中指定的浮动图表" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取钉钉电子表格指定工作表中的浮动图表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要获取钉钉电子表格指定工作表中的浮动图表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.chart_list", + "cli_name": "list", + "cli_path": "sheet chart list", + "confirmation": "not_required", + "description": "获取钉钉电子表格指定工作表中的浮动图表。\n\n支持两种模式:\n1. 列出全部图表:不传 --chart-id,返回该工作表中所有浮动图表的列表。\n2. 获取单个图表:传入 --chart-id,返回该图表的详细信息。\n\n返回内容包含每个图表的 ID、锚点位置、尺寸坐标以及完整图表配置(类型、数据系列、分类轴、标题、图例、坐标轴等)。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "chart_list", + "primary_cli_path": "sheet chart list", + "reviewed": false, + "risk": "low", + "title": "获取浮动图表", + "use_when": [ + "1. 获取现有配置", + "4. 验证创建结果", + "列出所有浮动图表", + "获取单个图表详情" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "更新钉钉电子表格中指定浮动图表的配置", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要更新钉钉电子表格中指定浮动图表的配置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.chart_update", + "cli_name": "update", + "cli_path": "sheet chart update", + "confirmation": "not_required", + "description": "更新钉钉电子表格中指定浮动图表的配置。\n\n注意:本接口采用 PUT 语义(完整覆盖),非增量更新。\n建议先通过 chart list(传入 --chart-id)获取当前配置,修改后整体传入。\n如果只需修改部分字段(如仅修改标题),仍需传入完整的 chart 配置以避免其他字段被清空。\n\n--properties 结构与 chart create 完全相同。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "chart_update", + "primary_cli_path": "sheet chart update", + "reviewed": false, + "risk": "medium", + "title": "更新浮动图表", + "use_when": [ + "3. 整体回写" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "清除钉钉电子表格中指定工作表指定范围的单元格内容、格式或全部。", @@ -14256,6 +14950,34 @@ "读数据/看表格内容;快速查看纯值数据、批量处理、大表分批读" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "对钉钉表格指定工作表中的连续整行或整列创建分组", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要对钉钉表格指定工作表中的连续整行或整列创建分组时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.group_dimension", + "cli_name": "group-dimension", + "cli_path": "sheet group-dimension", + "confirmation": "not_required", + "description": "对钉钉表格指定工作表中的连续整行或整列创建分组。\n\n--range 使用整行/整列范围:\n 行分组:3:7 或 3\n 列分组:C:F 或 C\n\n支持在 --range 中携带工作表前缀(如 \"Sheet1!3:7\" / \"Sheet1!C:F\"),此时将忽略 --sheet-id。\n创建后可通过 sheet info --include groups 回读 rowGroups / columnGroups。\n\n--group-state 支持 expand / fold,默认 expand。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "group_dimension", + "primary_cli_path": "sheet group-dimension", + "reviewed": false, + "risk": "low", + "title": "对指定连续行/列创建分组", + "use_when": [ + "创建行分组/创建列分组/折叠几行/折叠几列/取消行列分组;创建分组", + "创建行分组/创建列分组/折叠几行/折叠几列/展开行列分组/取消行列分组;创建分组", + "创建行分组/创建列分组/折叠几行/折叠几列/展开行列分组/取消行列分组;创建并折叠" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "获取指定工作表详情", @@ -14450,6 +15172,32 @@ "移动行/移动列/调整行顺序/调整列顺序/行列拖拽/把第N行移到第M行;移动行或列" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "批量清除多个区域,一次原子请求", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要批量清除多个区域,一次原子请求时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.range_batch_clear", + "cli_name": "batch-clear", + "cli_path": "sheet range batch-clear", + "confirmation": "not_required", + "description": "批量清除多个区域,一次原子请求。任一区域清除失败则整批回滚。\n\n每个 --ranges 项必须包含工作表前缀(格式: \"SheetName!A1:B3\")。\n不同区域可以属于不同工作表。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "range_batch_clear", + "primary_cli_path": "sheet range batch-clear", + "reviewed": false, + "risk": "medium", + "title": "批量清除多个区域(原子事务)", + "use_when": [ + "批量清除/一次清除多个区域/清空多个 sheet 的数据;批量清除多个区域" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "对于一个钉钉在线表格,更新指定区域内单元格信息,包括单元格中的值、超链接、数字格式等内容。", @@ -14856,6 +15604,111 @@ "把这个在线表格导出为 xlsx 文件;在线表格格式转换" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "使用指定模板创建新表格文档", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要使用指定模板创建新表格文档时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.template_apply", + "cli_name": "apply", + "cli_path": "sheet template apply", + "confirmation": "not_required", + "description": "使用指定模板创建新表格文档。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "template_apply", + "primary_cli_path": "sheet template apply", + "reviewed": false, + "risk": "medium", + "title": "应用表格模板", + "use_when": [ + "使用指定模板创建新表格文档" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取当前用户可用的表格模板列表,支持按来源筛选", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要获取当前用户可用的表格模板列表,支持按来源筛选时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.template_list", + "cli_name": "list", + "cli_path": "sheet template list", + "confirmation": "not_required", + "description": "获取当前用户可用的表格模板列表,支持按来源筛选。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "template_list", + "primary_cli_path": "sheet template list", + "reviewed": false, + "risk": "low", + "title": "获取表格模板列表", + "use_when": [ + "获取当前用户可用的表格模板列表,支持按来源筛选" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "根据关键词搜索表格模板", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据关键词搜索表格模板时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.template_search", + "cli_name": "search", + "cli_path": "sheet template search", + "confirmation": "not_required", + "description": "根据关键词搜索表格模板。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "template_search", + "primary_cli_path": "sheet template search", + "reviewed": false, + "risk": "low", + "title": "搜索表格模板", + "use_when": [ + "根据关键词搜索表格模板" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "取消钉钉表格指定工作表中的连续整行或整列分组", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要取消钉钉表格指定工作表中的连续整行或整列分组时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.ungroup_dimension", + "cli_name": "ungroup-dimension", + "cli_path": "sheet ungroup-dimension", + "confirmation": "not_required", + "description": "取消钉钉表格指定工作表中的连续整行或整列分组。\n\n--range 使用整行/整列范围:\n 行分组:3:7 或 3\n 列分组:C:F 或 C\n\n支持在 --range 中携带工作表前缀(如 \"Sheet1!3:7\" / \"Sheet1!C:F\"),此时将忽略 --sheet-id。\n取消后可通过 sheet info --include groups 回读 rowGroups / columnGroups。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "name": "ungroup_dimension", + "primary_cli_path": "sheet ungroup-dimension", + "reviewed": false, + "risk": "low", + "title": "取消指定连续行/列分组", + "use_when": [ + "创建行分组/创建列分组/折叠几行/折叠几列/取消行列分组;取消分组", + "创建行分组/创建列分组/折叠几行/折叠几列/展开行列分组/取消行列分组;取消分组" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "取消钉钉表格指定工作表中指定范围内的合并单元格。", @@ -16147,7 +17000,7 @@ } ], "source": "embedded-command-catalog", - "tool_count": 504 + "tool_count": 537 }, "tools": { "aisearch.enterprise_person_search": { @@ -19320,6 +20173,826 @@ "字段/列/column;修改" ] }, + "aitable.form_create": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "在指定数据表下创建一个新的表单视图(FormDesigner 类型)", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要在指定数据表下创建一个新的表单视图(FormDesigner 类型)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_create", + "cli_name": "create", + "cli_path": "aitable form create", + "confirmation": "not_required", + "description": "在指定数据表下创建一个新的表单视图(FormDesigner 类型)。\n等价于 view create --view-type FormDesigner,但走 form 命令组对齐表单工作流。", + "display": "AI 表格操作", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws aitable form create --base-id BASE_ID --table-id TABLE_ID --name \"员工信息收集\" --format json" + ], + "group": "form", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "form_create", + "parameter_count": 4, + "parameters": { + "base-id": { + "description": "所属 Base ID (必填)", + "property": "baseId", + "required": true, + "type": "string" + }, + "description": { + "description": "表单描述(创建后可用 form update 调整)", + "property": "description", + "required": false, + "type": "string" + }, + "name": { + "description": "新表单名称 (必填)", + "property": "name", + "required": true, + "type": "string" + }, + "table-id": { + "description": "所属 Table ID (必填)", + "property": "tableId", + "required": true, + "type": "string" + } + }, + "path": "aitable.form_create", + "primary_cli_path": "aitable form create", + "product_id": "aitable", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:aitable", + "title": "创建表单视图", + "use_when": [ + "1) 创建表单 → 取返回的 data.viewId 作为 VIEW_ID" + ] + }, + "aitable.form_delete": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "删除指定数据表下的表单视图(不可逆)", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要删除指定数据表下的表单视图(不可逆)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_delete", + "cli_name": "delete", + "cli_path": "aitable form delete", + "confirmation": "user_required", + "description": "删除指定数据表下的表单视图(不可逆)。\n调用前建议先通过 form list 确认目标视图。", + "display": "AI 表格操作", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws aitable form delete --help" + ], + "group": "form", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "form_delete", + "parameter_count": 3, + "parameters": { + "base-id": { + "description": "所属 Base ID (必填)", + "property": "baseId", + "required": true, + "type": "string" + }, + "table-id": { + "description": "所属 Table ID (必填)", + "property": "tableId", + "required": true, + "type": "string" + }, + "view-id": { + "description": "目标表单视图 ID(通过 form list 获取)(必填)", + "property": "viewId", + "required": true, + "type": "string" + } + }, + "path": "aitable.form_delete", + "primary_cli_path": "aitable form delete", + "product_id": "aitable", + "reviewed": false, + "risk": "high", + "source": "hardcoded:aitable", + "title": "删除表单", + "use_when": [ + "删除指定数据表下的表单视图(不可逆)" + ] + }, + "aitable.form_field_hide": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "切换表单视图中某个字段的隐藏/显示状态", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要切换表单视图中某个字段的隐藏/显示状态时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_field_hide", + "cli_name": "hide", + "cli_path": "aitable form field hide", + "confirmation": "not_required", + "description": "切换表单视图中某个字段的隐藏/显示状态。\n--hidden true:在表单中隐藏该字段(填写者不可见)\n--hidden false:显示该字段", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable form field hide --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --field-id FIELD_ID --hidden true --format json" + ], + "group": "form.field", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "form_field_hide", + "parameter_count": 5, + "parameters": { + "base-id": { + "description": "所属 Base ID (必填)", + "property": "baseId", + "required": true, + "type": "string" + }, + "field-id": { + "description": "目标字段 ID (必填)", + "property": "fieldId", + "required": true, + "type": "string" + }, + "hidden": { + "description": "true 隐藏字段,false 显示字段", + "property": "hidden", + "required": false, + "type": "string" + }, + "table-id": { + "description": "所属 Table ID (必填)", + "property": "tableId", + "required": true, + "type": "string" + }, + "view-id": { + "description": "目标表单视图 ID (必填)", + "property": "viewId", + "required": true, + "type": "string" + } + }, + "path": "aitable.form_field_hide", + "primary_cli_path": "aitable form field hide", + "product_id": "aitable", + "reviewed": false, + "risk": "low", + "source": "hardcoded:aitable", + "title": "切换表单字段隐藏", + "use_when": [ + "5) 隐藏不需要的题目" + ] + }, + "aitable.form_field_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "列出指定表单视图当前可见的字段及其配置", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要列出指定表单视图当前可见的字段及其配置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_field_list", + "cli_name": "list", + "cli_path": "aitable form field list", + "confirmation": "not_required", + "description": "列出指定表单视图当前可见的字段及其配置。\n返回每个字段的 fieldId、name、type、required、hidden、description。\n注意:hidden=true 的字段不会出现在此返回(它们在表单中已隐藏);如需查看全部字段请用 field get。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable form field list --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --format json" + ], + "group": "form.field", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "form_field_list", + "parameter_count": 3, + "parameters": { + "base-id": { + "description": "所属 Base ID (必填)", + "property": "baseId", + "required": true, + "type": "string" + }, + "table-id": { + "description": "所属 Table ID (必填)", + "property": "tableId", + "required": true, + "type": "string" + }, + "view-id": { + "description": "目标表单视图 ID (必填)", + "property": "viewId", + "required": true, + "type": "string" + } + }, + "path": "aitable.form_field_list", + "primary_cli_path": "aitable form field list", + "product_id": "aitable", + "reviewed": false, + "risk": "low", + "source": "hardcoded:aitable", + "title": "列出表单字段", + "use_when": [ + "3) 查看表单字段配置" + ] + }, + "aitable.form_field_update": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "更新表单视图中某个字段的必填状态或描述", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要更新表单视图中某个字段的必填状态或描述时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_field_update", + "cli_name": "update", + "cli_path": "aitable form field update", + "confirmation": "not_required", + "description": "更新表单视图中某个字段的必填状态或描述。\n--required 或 --field-description 至少传入一项。", + "display": "AI 表格操作", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws aitable form field update --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --field-id FIELD_ID --required true --format json" + ], + "group": "form.field", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "form_field_update", + "parameter_count": 6, + "parameters": { + "base-id": { + "description": "所属 Base ID (必填)", + "property": "baseId", + "required": true, + "type": "string" + }, + "field-description": { + "description": "设置字段在表单中的描述文案", + "property": "fieldDescription", + "required": false, + "type": "string" + }, + "field-id": { + "description": "目标字段 ID(通过 form field list 获取)(必填)", + "property": "fieldId", + "required": true, + "type": "string" + }, + "required": { + "description": "设置字段在表单中的必填状态 (true/false)", + "property": "required", + "required": true, + "type": "string" + }, + "table-id": { + "description": "所属 Table ID (必填)", + "property": "tableId", + "required": true, + "type": "string" + }, + "view-id": { + "description": "目标表单视图 ID (必填)", + "property": "viewId", + "required": true, + "type": "string" + } + }, + "path": "aitable.form_field_update", + "primary_cli_path": "aitable form field update", + "product_id": "aitable", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:aitable", + "title": "更新表单字段", + "use_when": [ + "4) 设置题目必填(FIELD_ID 来自步骤 2)" + ] + }, + "aitable.form_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "按 viewId 获取单个表单视图的元信息(name/title/createdAt/shareFormUuid)", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要按 viewId 获取单个表单视图的元信息(name/title/createdAt/shareFormUuid)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_get", + "cli_name": "get", + "cli_path": "aitable form get", + "confirmation": "not_required", + "description": "按 viewId 获取单个表单视图的元信息(name/title/createdAt/shareFormUuid)。\n内部拉取 list_form_views 后在客户端按 viewId 精确筛出单条(服务端的 viewIds\n过滤参数当前不生效,会返回全表所有表单,故在此侧过滤)。data 即命中的表单对象。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable form get --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --format json" + ], + "group": "form", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "form_get", + "parameter_count": 3, + "parameters": { + "base-id": { + "description": "所属 Base ID (必填)", + "property": "baseId", + "required": true, + "type": "string" + }, + "table-id": { + "description": "所属 Table ID (必填)", + "property": "tableId", + "required": true, + "type": "string" + }, + "view-id": { + "description": "目标表单视图 ID (必填)", + "property": "viewId", + "required": true, + "type": "string" + } + }, + "path": "aitable.form_get", + "primary_cli_path": "aitable form get", + "product_id": "aitable", + "reviewed": false, + "risk": "low", + "source": "hardcoded:aitable", + "title": "获取单个表单视图详情", + "use_when": [ + "2) 查看单个表单详情" + ] + }, + "aitable.form_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "列出指定数据表下的所有表单视图", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要列出指定数据表下的所有表单视图时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_list", + "cli_name": "list", + "cli_path": "aitable form list", + "confirmation": "not_required", + "description": "列出指定数据表下的所有表单视图。每个表单视图返回 viewId、name、title、createdAt(shareFormUuid 不在此返回,需 form share get 单独获取)。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable form list --base-id BASE_ID --table-id TABLE_ID --format json" + ], + "group": "form", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "form_list", + "parameter_count": 2, + "parameters": { + "base-id": { + "description": "所属 Base ID (必填)", + "property": "baseId", + "required": true, + "type": "string" + }, + "table-id": { + "description": "所属 Table ID (必填)", + "property": "tableId", + "required": true, + "type": "string" + } + }, + "path": "aitable.form_list", + "primary_cli_path": "aitable form list", + "product_id": "aitable", + "reviewed": false, + "risk": "low", + "source": "hardcoded:aitable", + "title": "列出表单视图", + "use_when": [ + "1) 列出数据表下的表单视图" + ] + }, + "aitable.form_questions_create": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "在数据表中创建字段,即向表单添加题目", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要在数据表中创建字段,即向表单添加题目时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_questions_create", + "cli_name": "create", + "cli_path": "aitable form questions create", + "confirmation": "not_required", + "description": "在数据表中创建字段,即向表单添加题目。\n入参与 `field create` 完全一致:可用 --fields 批量创建,或 --name + --type 单题模式。\n若需将题目设为必填,创建后请用 form field update --required true 单独设置。", + "display": "AI 表格操作", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws aitable form questions create --base-id BASE_ID --table-id TABLE_ID --fields '[{\"fieldName\":\"姓名\",\"type\":\"text\"},{\"fieldName\":\"邮箱\",\"type\":\"text\"}]' --format json" + ], + "group": "form.questions", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "form_questions_create", + "parameter_count": 7, + "parameters": { + "ai-config": { + "description": "单字段 AI 配置 JSON(如 outputType/prompt,配合 --name/--type 使用)", + "property": "aiConfig", + "required": false, + "type": "string" + }, + "base-id": { + "description": "Base ID(通过 base list 获取)(必填)", + "property": "baseId", + "required": true, + "type": "string" + }, + "config": { + "description": "单字段的额外配置 JSON(如 options,配合 --name/--type 使用)", + "property": "config", + "required": false, + "type": "string" + }, + "fields": { + "description": "待新增字段列表 JSON 数组,至少包含 1 个字段,单次最多 15 个。系统会按数组顺序依次创建,返回结果顺序与入参保持一致,并逐项标明成功/失败状态。若是单个字段可直接使用 --name/--type/--config", + "property": "fields", + "required": false, + "type": "string" + }, + "name": { + "description": "要创建的单字段名称(与 --type 配合使用,替代 --fields)", + "property": "name", + "required": false, + "type": "string" + }, + "table-id": { + "description": "Table ID(通过 base get 获取)(必填)", + "property": "tableId", + "required": true, + "type": "string" + }, + "type": { + "description": "要创建的单字段类型(需要配合 --name,参考 table create 的内置类型)", + "property": "type", + "required": false, + "type": "string" + } + }, + "path": "aitable.form_questions_create", + "primary_cli_path": "aitable form questions create", + "product_id": "aitable", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:aitable", + "title": "向表单添加题目(等价于 field create)", + "use_when": [ + "2) 添加题目 → 取返回的 data.results[].fieldId 作为 FIELD_ID" + ] + }, + "aitable.form_questions_delete": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "删除指定字段(即表单题目)", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要删除指定字段(即表单题目)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_questions_delete", + "cli_name": "delete", + "cli_path": "aitable form questions delete", + "confirmation": "user_required", + "description": "删除指定字段(即表单题目)。**不可逆**。\n入参与 `field delete` 完全一致:必须传 --field-id;目前 MCP 不支持批量删除,需多次调用。", + "display": "AI 表格操作", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws aitable form questions delete --help" + ], + "group": "form.questions", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "form_questions_delete", + "parameter_count": 3, + "parameters": { + "base-id": { + "description": "Base ID(通过 base list 获取)(必填)", + "property": "baseId", + "required": true, + "type": "string" + }, + "field-id": { + "description": "待删除字段 ID(通过 table get 获取)(必填)", + "property": "fieldId", + "required": true, + "type": "string" + }, + "table-id": { + "description": "Table ID(通过 base get 获取)(必填)", + "property": "tableId", + "required": true, + "type": "string" + } + }, + "path": "aitable.form_questions_delete", + "primary_cli_path": "aitable form questions delete", + "product_id": "aitable", + "reviewed": false, + "risk": "high", + "source": "hardcoded:aitable", + "title": "从表单删除题目(等价于 field delete,不可逆)", + "use_when": [ + "删除指定字段(即表单题目)" + ] + }, + "aitable.form_share_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "读取指定视图当前的分享表单配置", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要读取指定视图当前的分享表单配置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_share_get", + "cli_name": "get", + "cli_path": "aitable form share get", + "confirmation": "not_required", + "description": "读取指定视图当前的分享表单配置。\n返回 enabled(是否开启)、status、shareFormUuid、formName 等信息。\n若该视图尚未开启分享表单,enabled=false、status=0。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable form share get --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --format json" + ], + "group": "form.share", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "form_share_get", + "parameter_count": 3, + "parameters": { + "base-id": { + "description": "所属 Base ID (必填)", + "property": "baseId", + "required": true, + "type": "string" + }, + "table-id": { + "description": "所属 Table ID (必填)", + "property": "tableId", + "required": true, + "type": "string" + }, + "view-id": { + "description": "目标表单视图 ID (必填)", + "property": "viewId", + "required": true, + "type": "string" + } + }, + "path": "aitable.form_share_get", + "primary_cli_path": "aitable form share get", + "product_id": "aitable", + "reviewed": false, + "risk": "low", + "source": "hardcoded:aitable", + "title": "获取表单分享配置", + "use_when": [ + "4) 查看分享配置" + ] + }, + "aitable.form_share_update": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "开启或关闭指定视图的分享表单", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要开启或关闭指定视图的分享表单时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_share_update", + "cli_name": "update", + "cli_path": "aitable form share update", + "confirmation": "not_required", + "description": "开启或关闭指定视图的分享表单。\n--enabled true 表示开启分享,--enabled false 表示关闭分享。", + "display": "AI 表格操作", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws aitable form share update --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --enabled true --format json" + ], + "group": "form.share", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "form_share_update", + "parameter_count": 4, + "parameters": { + "base-id": { + "description": "所属 Base ID (必填)", + "property": "baseId", + "required": true, + "type": "string" + }, + "enabled": { + "description": "分享开关:true 开启,false 关闭 (必填)", + "property": "enabled", + "required": true, + "type": "string" + }, + "table-id": { + "description": "所属 Table ID (必填)", + "property": "tableId", + "required": true, + "type": "string" + }, + "view-id": { + "description": "目标表单视图 ID (必填)", + "property": "viewId", + "required": true, + "type": "string" + } + }, + "path": "aitable.form_share_update", + "primary_cli_path": "aitable form share update", + "product_id": "aitable", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:aitable", + "title": "开启/关闭分享表单", + "use_when": [ + "6) 开启分享(注意:开启后需 UI 刷新页面才会看到分享面板)" + ] + }, + "aitable.form_update": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/aitable/aitable-form.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "更新表单整体配置(标题、描述)", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要更新表单整体配置(标题、描述)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.form_update", + "cli_name": "update", + "cli_path": "aitable form update", + "confirmation": "not_required", + "description": "更新表单整体配置(标题、描述)。\n--title(或其等价别名 --name)和 --description 至少传入一项。\n--title 与 --name 完全等价;同时传入时以 --title 优先。", + "display": "AI 表格操作", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws aitable form update --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --title \"员工信息收集\" --description \"请填写您的基本信息\" --format json" + ], + "group": "form", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "form_update", + "parameter_count": 6, + "parameters": { + "base-id": { + "description": "所属 Base ID (必填)", + "property": "baseId", + "required": true, + "type": "string" + }, + "description": { + "description": "表单描述", + "property": "description", + "required": false, + "type": "string" + }, + "name": { + "description": "表单标题(与 --title 等价)", + "property": "name", + "required": false, + "type": "string" + }, + "table-id": { + "description": "所属 Table ID (必填)", + "property": "tableId", + "required": true, + "type": "string" + }, + "title": { + "description": "表单标题(与 --name 等价,二选一)", + "property": "title", + "required": false, + "type": "string" + }, + "view-id": { + "description": "目标表单视图 ID (必填)", + "property": "viewId", + "required": true, + "type": "string" + } + }, + "path": "aitable.form_update", + "primary_cli_path": "aitable form update", + "product_id": "aitable", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:aitable", + "title": "更新表单配置", + "use_when": [ + "3) 配置表单标题与描述" + ] + }, "aitable.import_data": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -19753,6 +21426,73 @@ "默认(最多 50 页 = 5000 条)" ] }, + "aitable.record_batch_update": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "将同一份 cells JSON 批量应用到多条记录上", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要将同一份 cells JSON 批量应用到多条记录上时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "aitable.record_batch_update", + "cli_name": "batch-update", + "cli_path": "aitable record batch-update", + "confirmation": "not_required", + "description": "将同一份 cells JSON 批量应用到多条记录上。适合\"统一标记完成 / 统一改负责人 / 统一清空某字段\"等场景。\n\n与 record update 的区别:\n - record update 每条记录可有不同 cells,参数是 records JSON 数组\n - record batch-update 所有记录共享同一份 cells(CLI 客户端展开后调用相同 MCP 工具)\n\n单次最多 100 条;超出请拆分多次调用。\ncells 写入格式与 record update / record create 相同(详见 record create --help)。\n只读字段(formula / filterUp / lookup / 系统字段)不能写入。\n\nCLI 行为:客户端把 --record-ids 拆开后构造 [{recordId, cells}, ...] 调用 update_records;\n当前服务端尚未提供 broadcast patch 工具,所以本命令是纯语义包装,不省网络体积,仅省 LLM 构造 prompt 的 token。", + "display": "AI 表格操作", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws aitable record batch-update --help" + ], + "group": "record", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "record_batch_update", + "parameter_count": 4, + "parameters": { + "base-id": { + "description": "Base ID,可通过 base list 或 base search 获取 (必填)", + "property": "baseId", + "required": true, + "type": "string" + }, + "cells": { + "description": "要应用到所有记录的 cells JSON 对象(共享 patch),如 '{\"fldStatusId\":\"已完成\"}' (必填)", + "property": "cells", + "required": true, + "type": "string" + }, + "record-ids": { + "description": "待更新的记录 ID 列表,逗号分隔,单次最多 100 条 (必填)", + "property": "recordIds", + "required": true, + "type": "string" + }, + "table-id": { + "description": "Table ID,可通过 base get 获取 (必填)", + "property": "tableId", + "required": true, + "type": "string" + } + }, + "path": "aitable.record_batch_update", + "primary_cli_path": "aitable record batch-update", + "product_id": "aitable", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:aitable", + "title": "批量更新记录(同一 cells 应用到多条 recordId)", + "use_when": [ + "将同一份 cells JSON 批量应用到多条记录上" + ] + }, "aitable.record_create": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -24275,6 +26015,246 @@ "4. 确认 status=RUNNING" ] }, + "attendance.adjustment_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 get_adjustment_rule_detail,根据补卡规则主键 ID 查询对应的补卡规则详情", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_adjustment_rule_detail,根据补卡规则主键 ID 查询对应的补卡规则详情时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.adjustment_get", + "cli_name": "get", + "cli_path": "attendance adjustment get", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_adjustment_rule_detail,根据补卡规则主键 ID 查询对应的补卡规则详情。\n--adjustment-id 必填。注意:已被删除或被更新覆盖的补卡规则无法查询到。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance adjustment get --adjustment-id 12345", + "dws attendance adjustment get --adjustment-id 12345 --format json" + ], + "group": "adjustment", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "adjustment_get", + "parameter_count": 1, + "parameters": { + "adjustment-id": { + "description": "补卡规则主键 ID(必填)", + "property": "adjustmentId", + "required": true, + "type": "integer" + } + }, + "path": "attendance.adjustment_get", + "primary_cli_path": "attendance adjustment get", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "根据补卡规则主键 ID 查询补卡规则详情", + "use_when": [ + "查询补卡规则详情" + ] + }, + "attendance.adjustment_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "根据用户权限查询补卡规则列表,入参封装在 ATRuleQueryParam 对象中", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据用户权限查询补卡规则列表,入参封装在 ATRuleQueryParam 对象中时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.adjustment_search", + "cli_name": "search", + "cli_path": "attendance adjustment search", + "confirmation": "not_required", + "description": "根据用户权限查询补卡规则列表,入参封装在 ATRuleQueryParam 对象中。\n --query 补卡规则名称关键字,模糊搜索(可选)\n --page 页码(从 1 开始,默认 1)(必填)\n --limit 每页条数(200 以内,默认 20)(必填)", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance adjustment search --page 1 --limit 20", + "dws attendance adjustment search --query \"标准\" --page 1 --limit 50" + ], + "group": "adjustment", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "adjustment_search", + "parameter_count": 3, + "parameters": { + "limit": { + "default": "20", + "description": "每页条数,200 以内(必填)", + "property": "limit", + "required": true, + "type": "integer" + }, + "page": { + "default": "1", + "description": "页码,从 1 开始(必填)", + "property": "page", + "required": true, + "type": "integer" + }, + "query": { + "description": "补卡规则名称关键字,模糊搜索(可选)", + "property": "query", + "required": false, + "type": "string" + } + }, + "path": "attendance.adjustment_search", + "primary_cli_path": "attendance adjustment search", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "查询当前用户可管理的补卡规则列表", + "use_when": [ + "查询补卡规则", + "补卡规则/补卡设置", + "补卡规则详情/某条补卡规则的具体信息" + ] + }, + "attendance.approve_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/intent-guide.md", + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "查询指定用户的考勤业务审批单记录(补卡 / 加班 / 请假 / 出差外出)", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询指定用户的考勤业务审批单记录(补卡 / 加班 / 请假 / 出差外出)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.approve_list", + "cli_name": "list", + "cli_path": "attendance approve list", + "confirmation": "not_required", + "description": "查询指定用户的考勤业务审批单记录(补卡 / 加班 / 请假 / 出差外出)。\n审批类型 --types 支持以下关键词(多个用英文逗号分隔):\n - overtime / 加班 → bizType=1\n - trip / travel / business_trip / business-trip / 出差 / 外出 → bizType=2(出差与外出在查询接口合并为同一类,不再细分)\n - leave / 请假 → bizType=3\n - patch / repair-check / repair_check / 补卡 → bizType=4\n说明:\n - 服务端查询接口 bizType=2 同时覆盖出差与外出,传入 trip / travel / 出差 / 外出 任一别名都会返回这两类合并的记录;\n - 如需在提交入口区分外出(TRAVEL)与出差(OUT),请改用 dws attendance approve templates --type travel|out;\n - 返回每条记录含:用户 ID、审批标签、审批子类型、审批类型、生效时间、时长、时长单位、流程实例 ID。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws attendance approve list --users userId1 --types overtime,leave --start 2026-04-01 --end 2026-04-30", + "dws attendance approve list --users userId1 --types trip --start 2026-04-01 --end 2026-04-30 # 同时返回出差与外出" + ], + "group": "approve", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "approve_list", + "parameter_count": 4, + "parameters": { + "end": { + "description": "结束日期,格式 YYYY-MM-DD (必填)", + "property": "end", + "required": true, + "type": "string" + }, + "start": { + "description": "起始日期,格式 YYYY-MM-DD (必填)", + "property": "start", + "required": true, + "type": "string" + }, + "types": { + "description": "审批类型,逗号分隔:overtime/trip/leave/patch (必填)", + "property": "types", + "required": true, + "type": "string" + }, + "users": { + "description": "用户 ID 列表,逗号分隔 (必填)", + "property": "users", + "required": true, + "type": "string" + } + }, + "path": "attendance.approve_list", + "primary_cli_path": "attendance approve list", + "product_id": "attendance", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:attendance", + "title": "查询用户审批单(补卡/加班/请假/出差外出)", + "use_when": [ + "审批单/请假记录/加班记录/出差记录/补卡记录", + "查/提交 请假/加班/补卡 审批单;考勤业务审批单" + ] + }, + "attendance.approve_templates": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "当用户需要提交补卡、请假、加班、外出、出差时,查询对应考勤审批表单模板,返回审批提交跳转链接", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要当用户需要提交补卡、请假、加班、外出、出差时,查询对应考勤审批表单模板,返回审批提交跳转链接时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.approve_templates", + "cli_name": "templates", + "cli_path": "attendance approve templates", + "confirmation": "not_required", + "description": "当用户需要提交补卡、请假、加班、外出、出差时,查询对应考勤审批表单模板,返回审批提交跳转链接。\n审批类型支持:repair-check/patch/补卡、leave/请假、overtime/加班、travel/外出、out/trip/出差,也支持直接传 REPAIR_CHECK、LEAVE、OVERTIME、TRAVEL、OUT。\n向用户展示提交入口时,不要直接裸露 submitUrl,应使用 Markdown 可点击链接格式:[表单名称](submitUrl)。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws attendance approve templates --type leave", + "dws attendance approve templates --type REPAIR_CHECK" + ], + "group": "approve", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "approve_templates", + "parameter_count": 1, + "parameters": { + "type": { + "description": "审批类型:repair-check/patch/补卡、leave/请假、overtime/加班,或 REPAIR_CHECK/LEAVE/OVERTIME(必填)", + "property": "type", + "required": true, + "type": "string" + } + }, + "path": "attendance.approve_templates", + "primary_cli_path": "attendance approve templates", + "product_id": "attendance", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:attendance", + "title": "查询补卡/请假/加班/外出/出差审批提交链接", + "use_when": [ + "当用户需要提交补卡、请假、加班、外出、出差时,查询对应考勤审批表单模板,返回审批提交跳转链接" + ] + }, "attendance.batch_get_employee_shifts": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -24344,6 +26324,575 @@ "批量查询员工班次信息(间隔 ≤ 7 天,最多 50 人)" ] }, + "attendance.boss_check": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/attendance-example-normalization.json", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 boss_check 修改员工打卡记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 boss_check 修改员工打卡记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.boss_check", + "cli_name": "boss-check", + "cli_path": "attendance boss-check", + "confirmation": "not_required", + "description": "调用 MCP 工具 boss_check 修改员工打卡记录。管理员可修改打卡时间、打卡结果等信息。\n\n参数说明:\n --plan-id 排班ID(与 --result-id 二选一)\n 来源:通过 dws attendance schedule get 获取,返回结果的 id 字段\n 示例:id: 948964045503 表示某天下班打卡的排班记录ID\n\n --result-id 打卡结果ID(与 --plan-id 二选一,优先使用)\n 来源:暂不支持(record get 未返回此字段),建议使用 --plan-id\n\n --time 新打卡时间,格式 yyyy-MM-dd HH:mm(可选)\n --result 打卡结果:Normal/TimesResultA/TimesResultB/TimesResultC/TimesResultD/TimesResultE/TimesResultF(可选)\n --absent-min 缺勤时长(分钟),当 result 为异常状态时需传值(可选)\n --remark 备注,最长500字符(可选)\n --user-say-yes 用户已确认,跳过交互式确认提示\n\n打卡结果枚举值:\n Normal 正常\n TimesResultA 迟到\n TimesResultB 早退\n TimesResultC 缺卡\n TimesResultD 迟到+早退\n TimesResultE 缺卡+早退\n TimesResultF 迟到+缺卡\n\n获取 planId 步骤:\n 1. 查询排班记录:dws attendance schedule get --userIdList USER_ID --workDateBegin DATE --workDateEnd DATE\n 2. 从返回结果中找到对应打卡类型(OnDuty=上班,OffDuty=下班)的 id 字段\n 3. 使用该 id 作为 --plan-id 参数", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance boss-check --help" + ], + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "boss_check", + "parameter_count": 7, + "parameters": { + "absent-min": { + "description": "缺勤时长(分钟)(可选)", + "property": "absentMin", + "required": false, + "type": "integer" + }, + "plan-id": { + "description": "排班ID(与 --result-id 二选一)", + "property": "planId", + "required": true, + "type": "string" + }, + "remark": { + "description": "备注,最长500字符(可选)", + "property": "remark", + "required": false, + "type": "string" + }, + "result": { + "description": "打卡结果:Normal/TimesResultA/TimesResultB/TimesResultC/TimesResultD/TimesResultE/TimesResultF(可选)", + "property": "result", + "required": false, + "type": "string" + }, + "result-id": { + "description": "打卡结果ID(与 --plan-id 二选一,优先使用)", + "property": "resultId", + "required": false, + "type": "string" + }, + "time": { + "description": "新打卡时间,格式 yyyy-MM-dd HH:mm(可选)", + "property": "time", + "required": false, + "type": "string" + }, + "user-say-yes": { + "description": "用户已确认,跳过交互式确认提示", + "property": "userSayYes", + "required": false, + "type": "boolean" + } + }, + "path": "attendance.boss_check", + "primary_cli_path": "attendance boss-check", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "BOSS 改签打卡记录", + "use_when": [ + "假设返回 id: 948964045503 (OffDuty 下班打卡)", + "同时修改打卡时间" + ] + }, + "attendance.check_record": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "查询指定用户的打卡流水记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询指定用户的打卡流水记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.check_record", + "cli_name": "record", + "cli_path": "attendance check record", + "confirmation": "not_required", + "description": "查询指定用户的打卡流水记录。\n返回每条记录含:用户 ID、实际打卡时间、打卡地址、打卡经纬度、\n打卡类型(OnDuty/OffDuty)、定位方式(Map/Wifi/etc)。\n时间跨度不超过 1 个月。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance check record --users userId1 --start 2026-04-01 --end 2026-04-30" + ], + "group": "check", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "check_record", + "parameter_count": 3, + "parameters": { + "end": { + "description": "结束日期,格式 YYYY-MM-DD,不超过 1 个月 (必填)", + "property": "end", + "required": true, + "type": "string" + }, + "start": { + "description": "起始日期,格式 YYYY-MM-DD (必填)", + "property": "start", + "required": true, + "type": "string" + }, + "users": { + "description": "用户 ID 列表,逗号分隔 (必填)", + "property": "users", + "required": true, + "type": "string" + } + }, + "path": "attendance.check_record", + "primary_cli_path": "attendance check record", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "查询打卡流水", + "use_when": [ + "打卡记录/出勤/考勤", + "指定用户打卡流水/打卡详情/打卡时间地点/打卡记录详情" + ] + }, + "attendance.check_result": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "查询指定用户的打卡结果记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询指定用户的打卡结果记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.check_result", + "cli_name": "result", + "cli_path": "attendance check result", + "confirmation": "not_required", + "description": "查询指定用户的打卡结果记录。\n返回每条记录含:用户 ID、工作日期、时间结果(Normal/Late/Early/Absenteeism/NotSigned)、\n位置结果、计划打卡时间、实际打卡时间、打卡流水 ID。\n时间跨度不超过 1 个月,最多 100 人。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance check result --users userId1,userId2 --start 2026-04-01 --end 2026-04-30 --limit 50" + ], + "group": "check", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "check_result", + "parameter_count": 5, + "parameters": { + "end": { + "description": "结束日期,格式 YYYY-MM-DD,不超过 1 个月 (必填)", + "property": "end", + "required": true, + "type": "string" + }, + "limit": { + "default": "100", + "description": "分页大小,默认 100,范围 1-1000(可选)", + "property": "limit", + "required": false, + "type": "integer" + }, + "offset": { + "description": "分页偏移量,默认 0(可选)", + "property": "offset", + "required": false, + "type": "integer" + }, + "start": { + "description": "起始日期,格式 YYYY-MM-DD (必填)", + "property": "start", + "required": true, + "type": "string" + }, + "users": { + "description": "用户 ID 列表,逗号分隔,最多 100 个 (必填)", + "property": "users", + "required": true, + "type": "string" + } + }, + "path": "attendance.check_result", + "primary_cli_path": "attendance check result", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "查询打卡结果", + "use_when": [ + "指定用户打卡结果/考勤结果/迟到早退/缺卡异常" + ] + }, + "attendance.checkin_records": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "查询指定员工在一段时间内的签到记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询指定员工在一段时间内的签到记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.checkin_records", + "cli_name": "records", + "cli_path": "attendance checkin records", + "confirmation": "not_required", + "description": "查询指定员工在一段时间内的签到记录。\n权限说明:\n - Boss / 超级管理员 / 超级子管理员:可查看全公司员工\n - 子管理员:可查看管理范围内的员工及自己\n - 部门主管:可查看所管理部门的员工及自己\n - 普通员工:只能查询自己\n\n日期格式:yyyy-MM-dd HH:mm:ss(如 2026-04-01 09:00:00)", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance checkin records --operator-corp-id corp001 --operator-staff-id op001 --staff-ids user001,user002 --start \"2026-04-01 00:00:00\" --end \"2026-04-07 00:00:00\"", + "dws attendance checkin records --operator-corp-id corp001 --operator-staff-id op001 --staff-ids user001,user002 --start \"2026-04-01 00:00:00\" --end \"2026-04-07 00:00:00\" --format json" + ], + "group": "checkin", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "checkin_records", + "parameter_count": 5, + "parameters": { + "end": { + "description": "结束时间, 格式 yyyy-MM-dd HH:mm:ss(必填),开始到结束最多7天", + "property": "end", + "required": true, + "type": "string" + }, + "operator-corp-id": { + "description": "操作者企业 ID(必填)", + "property": "operatorCorpId", + "required": true, + "type": "string" + }, + "operator-staff-id": { + "description": "操作者员工 ID(必填)", + "property": "operatorStaffId", + "required": true, + "type": "string" + }, + "staff-ids": { + "description": "目标员工 ID 列表, 逗号分隔(必填),最多100人", + "property": "staffIds", + "required": true, + "type": "string" + }, + "start": { + "description": "开始时间, 格式 yyyy-MM-dd HH:mm:ss(必填),开始到结束最多7天", + "property": "start", + "required": true, + "type": "string" + } + }, + "path": "attendance.checkin_records", + "primary_cli_path": "attendance checkin records", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "查询指定员工的签到记录", + "use_when": [ + "查询签到记录", + "签到/签到记录" + ] + }, + "attendance.class_create": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 create_class_setting,创建一个新的班次", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 create_class_setting,创建一个新的班次时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.class_create", + "cli_name": "create", + "cli_path": "attendance class create", + "confirmation": "not_required", + "description": "调用 MCP 工具 create_class_setting,创建一个新的班次。\n--name 和 --sections 必填,其余参数可选。由于保存班次耗时较久,指令需要带上 --timeout 10\n--yes 需要用户二次确认之后才允许带入,参考attendance.md中对于创建班次的说明\n\n常用 flag:\n --name 班次名称(必填)\n --owner 班次负责人 userId(可选)\n --class-vo 完整 TopAtClassVO JSON 字符串(可选,用于传入复杂结构)\n\n当使用 --class-vo 传入完整 JSON 时,--name 和 --owner 仍可覆写 JSON 中的同名字段。\ncheckTime 字段统一使用 \"HH:mm\" 格式(如 \"09:00\"),CLI 自动转换为服务端所需的时间戳。\n\n--class-vo JSON 可用字段说明:\n\n name string 班次名称(必填)\n owner string 班次负责人 userId\n sections []object 班次上下班时间段(必填),支持多段上下班,每段包含 times 数组:\n - times []object 每段有且只能有两个对象(上班+下班),每个对象字段:\n checkType string 打卡类型:OnDuty(上班)/ OffDuty(下班)(必填)\n checkTime string 打卡时间,格式 \"HH:mm\"(必填,如 \"09:00\"、\"17:30\")\n across number 是否跨天:0(不跨天)/ 1(跨天)(必填)\n freeCheck bool 是否免打卡\n beginMin number 允许最早提前打卡时间(分钟,-1 表示不限制)\n endMin number 允许最晚打卡时间(分钟,-1 表示不限制)\n setting object 班次其他配置:\n - seriousLateMinutes number 晚到多少分钟记为严重迟到\n - absenteeismLateMinutes number 晚到多少分钟记为旷工迟到\n - attendDays number 本班次记为多少天出勤(支持两位小数)\n - topRestTimeList []object 班次休息时间(仅 sections 只有一段上下班时可用,最多 3 段休息时间):\n checkType string 休息类型:OnDuty(开始休息)/ OffDuty(结束休息)\n checkTime string 休息时间,格式 \"HH:mm\"(如 \"12:00\"、\"13:00\")\n across number 是否跨天:0/1", + "display": "考勤打卡 / 排班 / 统计", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws attendance class create --name \"早班\" --class-vo '{\"sections\":[{\"times\":[{\"checkType\":\"OnDuty\",\"checkTime\":\"08:00\",\"across\":0},{\"checkType\":\"OffDuty\",\"checkTime\":\"17:00\",\"across\":0}]}]}' --timeout 10" + ], + "group": "class", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "class_create", + "parameter_count": 4, + "parameters": { + "class-vo": { + "description": "完整 TopAtClassVO JSON 字符串,包含 sections 等复杂子对象(必填)", + "property": "classVo", + "required": true, + "type": "string" + }, + "name": { + "description": "班次名称(必填)", + "property": "name", + "required": true, + "type": "string" + }, + "owner": { + "description": "班次负责人 userId(可选)", + "property": "owner", + "required": false, + "type": "string" + }, + "yes": { + "description": "跳过确认提示", + "property": "yes", + "required": false, + "type": "boolean" + } + }, + "path": "attendance.class_create", + "primary_cli_path": "attendance class create", + "product_id": "attendance", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:attendance", + "title": "创建班次", + "use_when": [ + "调用 MCP 工具 create_class_setting,创建一个新的班次" + ] + }, + "attendance.class_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 get_class_detail,根据班次 ID 查询该班次的详细信息", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_class_detail,根据班次 ID 查询该班次的详细信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.class_get", + "cli_name": "get", + "cli_path": "attendance class get", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_class_detail,根据班次 ID 查询该班次的详细信息。--class-id 必填。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance class get --class-id 1170996821", + "dws attendance class get --class-id 1170996821 --format json" + ], + "group": "class", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "class_get", + "parameter_count": 1, + "parameters": { + "class-id": { + "description": "班次 ID(必填)", + "property": "classId", + "required": true, + "type": "integer" + } + }, + "path": "attendance.class_get", + "primary_cli_path": "attendance class get", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "根据班次 ID 查询班次详情", + "use_when": [ + "查询班次详情" + ] + }, + "attendance.class_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "查询当前用户有权管理的班次列表(班次定义),支持按名称搜索和类型过滤", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询当前用户有权管理的班次列表(班次定义),支持按名称搜索和类型过滤时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.class_search", + "cli_name": "search", + "cli_path": "attendance class search", + "confirmation": "not_required", + "description": "查询当前用户有权管理的班次列表(班次定义),支持按名称搜索和类型过滤。\n所有参数均为可选项:\n --page 页码(从 1 开始,默认 1)\n --limit 每页条数(最大 200,默认 20)\n --query 班次名称关键字,模糊搜索\n --filter-type 班次类型:ALL(全部班次)/ MINE_OWN(我负责的),默认 ALL", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance class search", + "dws attendance class search --query \"早班\" --filter-type MINE_OWN" + ], + "group": "class", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "class_search", + "parameter_count": 4, + "parameters": { + "filter-type": { + "description": "班次类型:ALL 全部班次 / MINE_OWN 我负责的(可选)", + "property": "filterType", + "required": false, + "type": "string" + }, + "limit": { + "default": "20", + "description": "每页条数,最大 200(可选)", + "property": "limit", + "required": false, + "type": "integer" + }, + "page": { + "default": "1", + "description": "页码,从 1 开始(可选)", + "property": "page", + "required": false, + "type": "integer" + }, + "query": { + "description": "班次名称关键字,模糊搜索(可选)", + "property": "query", + "required": false, + "type": "string" + } + }, + "path": "attendance.class_search", + "primary_cli_path": "attendance class search", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "查询当前用户可管理的所有班次详情", + "use_when": [ + "查询可管理的班次列表", + "班次定义/班次列表/有哪些班次/我负责的班次", + "班次详情/某个班次的具体信息" + ] + }, + "attendance.class_update": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 update_class_setting,更新一个已有的班次", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 update_class_setting,更新一个已有的班次时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.class_update", + "cli_name": "update", + "cli_path": "attendance class update", + "confirmation": "not_required", + "description": "调用 MCP 工具 update_class_setting,更新一个已有的班次。\n--class-id 必填;其余参数均可选,仅需对要修改的字段进行赋値,未传的字段会自动从已有配置补充。由于保存班次耗时较久,指令需要带上 --timeout 10\n--yes 需要用户二次确认之后才允许带入,参考attendance.md中对于更新班次的说明\n\n常用 flag:\n --class-id 班次 ID(必填)\n --name 班次名称(可选,不传则保持原值)\n --owner 班次负责人 userId(可选,不传则保持原值)\n --class-vo 完整 TopAtClassVO JSON 字符串(可选,用于传入复杂结构)\n\n当使用 --class-vo 传入完整 JSON 时,--name 和 --owner 仍可覆写 JSON 中的同名字段。\ncheckTime 字段统一使用 \"HH:mm\" 格式(如 \"09:00\"),CLI 自动转换为服务端所需的时间戳。\n\n--class-vo JSON 可用字段说明:\n\n name string 班次名称(可选,不传则保持原值)\n owner string 班次负责人 userId(可选,不传则保持原值)\n sections []object 班次上下班时间段(可选,不传则保持原值),支持多段上下班,每段包含 times 数组:\n - times []object 每段有且只能有两个对象(上班+下班),每个对象字段:\n checkType string 打卡类型:OnDuty(上班)/ OffDuty(下班)(必填)\n checkTime string 打卡时间,格式 \"HH:mm\"(必填,如 \"09:00\"、\"17:30\")\n across number 是否跨天:0(不跨天)/ 1(跨天)(必填)\n freeCheck bool 是否免打卡\n beginMin number 允许最早提前打卡时间(分钟,-1 表示不限制)\n endMin number 允许最晚打卡时间(分钟,-1 表示不限制)\n setting object 班次其他配置:\n - seriousLateMinutes number 晚到多少分钟记为严重迟到\n - absenteeismLateMinutes number 晚到多少分钟记为旷工迟到\n - attendDays number 本班次记为多少天出勤(支持两位小数)\n - topRestTimeList []object 班次休息时间(仅 sections 只有一段上下班时可用,最多 3 段休息时间):\n checkType string 休息类型:OnDuty(开始休息)/ OffDuty(结束休息)\n checkTime string 休息时间,格式 \"HH:mm\"(如 \"12:00\"、\"13:00\")\n across number 是否跨天:0/1", + "display": "考勤打卡 / 排班 / 统计", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws attendance class update --class-id 1170996821 --name \"新早班\" --timeout 10", + "dws attendance class update --class-id 1170996821 --class-vo '{\"sections\":[{\"times\":[{\"checkType\":\"OnDuty\",\"checkTime\":\"08:30\",\"across\":0},{\"checkType\":\"OffDuty\",\"checkTime\":\"17:30\",\"across\":0}]}]}' --timeout 10" + ], + "group": "class", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "class_update", + "parameter_count": 5, + "parameters": { + "class-id": { + "description": "班次 ID(必填)", + "property": "classId", + "required": true, + "type": "integer" + }, + "class-vo": { + "description": "完整 TopAtClassVO JSON 字符串,包含 sections 等复杂子对象(可选)", + "property": "classVo", + "required": false, + "type": "string" + }, + "name": { + "description": "班次名称(可选,不传则保持原值)", + "property": "name", + "required": false, + "type": "string" + }, + "owner": { + "description": "班次负责人 userId(可选,不传则保持原值)", + "property": "owner", + "required": false, + "type": "string" + }, + "yes": { + "description": "跳过确认提示", + "property": "yes", + "required": false, + "type": "boolean" + } + }, + "path": "attendance.class_update", + "primary_cli_path": "attendance class update", + "product_id": "attendance", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:attendance", + "title": "更新班次", + "use_when": [ + "更新班次", + "更新班次/修改班次/班次改名/修改上下班时间" + ] + }, "attendance.get_attendance_summary": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -24480,6 +27029,803 @@ "查询个人考勤详情" ] }, + "attendance.globalsetting_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "查询全局规则设置,仅管理员可以调用", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询全局规则设置,仅管理员可以调用时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.globalsetting_get", + "cli_name": "get", + "cli_path": "attendance globalsetting get", + "confirmation": "not_required", + "description": "查询全局规则设置,仅管理员可以调用。\n\n入参字段:\n --setting-scene 查询设置项,枚举值包括 checkRemind、fastCheck、checkResultNotify、lackRemind、personalAttendStatNotify、bossAttendStatNotify\n --scope 必填,必须明确输入 企业、全公司 或 所有人,用于确认本次查询面向全局范围\n\n说明:corpId 和 opUserId 由当前登录上下文自动补齐,不需要通过 CLI 入参传入。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance globalsetting get --scope 企业 --setting-scene checkRemind --format json", + "dws attendance globalsetting get --scope 全公司 --setting-scene bossAttendStatNotify --format json" + ], + "group": "globalsetting", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "globalsetting_get", + "parameter_count": 2, + "parameters": { + "scope": { + "description": "全局范围确认,必须明确输入:企业/全公司/所有人(必填)", + "property": "scope", + "required": true, + "type": "string" + }, + "setting-scene": { + "description": "查询设置项:checkRemind/fastCheck/checkResultNotify/lackRemind/personalAttendStatNotify/bossAttendStatNotify(必填)", + "property": "settingScene", + "required": true, + "type": "string" + } + }, + "path": "attendance.globalsetting_get", + "primary_cli_path": "attendance globalsetting get", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "查询全局规则设置(仅管理员)", + "use_when": [ + "查询全局规则设置,仅管理员可以调用" + ] + }, + "attendance.globalsetting_save": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/attendance-example-normalization.json", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "更新保存全局规则设置,仅管理员可以调用", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要更新保存全局规则设置,仅管理员可以调用时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.globalsetting_save", + "cli_name": "save", + "cli_path": "attendance globalsetting save", + "confirmation": "not_required", + "description": "更新保存全局规则设置,仅管理员可以调用。\n\n入参字段:\n --setting-scene 必填,枚举值包括 checkRemind、fastCheck、checkResultNotify、lackRemind、personalAttendStatNotify、bossAttendStatNotify\n --scope 必填,必须明确输入 企业、全公司 或 所有人,用于确认本次更新面向全局范围\n\n按 settingScene 传入对应设置字段,且至少传一个字段:\n checkRemind:\n --check-remind-corp\n --check-remind-pc-corp\n fastCheck:\n --fast-check-corp\n checkResultNotify:\n --enable-check-cert-push\n lackRemind:\n --lack-remind-corp\n personalAttendStatNotify:\n --enable-personal-daily-report\n --enable-personal-weekly-report\n --enable-personal-weekly-report-card\n --enable-personal-monthly-report\n bossAttendStatNotify:\n --boss-daily-report-type\n --boss-weekly-report-type\n --boss-monthly-report-type\n\n说明:corpId 和 opUserId 由当前登录上下文自动补齐,不需要通过 CLI 入参传入。\n返回 ServiceResult,result 为 boolean,表示保存是否成功。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws attendance globalsetting save --help" + ], + "group": "globalsetting", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "globalsetting_save", + "parameter_count": 15, + "parameters": { + "boss-daily-report-type": { + "description": "团队考勤统计通知日报发送渠道类型:0 全关闭,1 开启", + "property": "bossDailyReportType", + "required": false, + "type": "integer" + }, + "boss-monthly-report-type": { + "description": "团队考勤统计通知月报发送渠道类型:0 全关闭,1 工作通知,2 钉邮,3 工作通知和钉邮", + "property": "bossMonthlyReportType", + "required": false, + "type": "integer" + }, + "boss-weekly-report-type": { + "description": "团队考勤统计通知周报发送渠道类型:0 全关闭,1 工作通知,2 钉邮,3 工作通知和钉邮", + "property": "bossWeeklyReportType", + "required": false, + "type": "integer" + }, + "check-remind-corp": { + "description": "打卡提醒企业总开关", + "property": "checkRemindCorp", + "required": false, + "type": "boolean" + }, + "check-remind-pc-corp": { + "description": "打卡提醒 PC 端弹窗企业总开关", + "property": "checkRemindPcCorp", + "required": false, + "type": "boolean" + }, + "enable-check-cert-push": { + "description": "打卡结果通知企业总开关", + "property": "enableCheckCertPush", + "required": false, + "type": "boolean" + }, + "enable-personal-daily-report": { + "description": "个人考勤统计通知日报企业总开关", + "property": "enablePersonalDailyReport", + "required": false, + "type": "boolean" + }, + "enable-personal-monthly-report": { + "description": "个人考勤统计通知月报企业总开关", + "property": "enablePersonalMonthlyReport", + "required": false, + "type": "boolean" + }, + "enable-personal-weekly-report": { + "description": "个人考勤统计通知周报企业开关,钉邮渠道", + "property": "enablePersonalWeeklyReport", + "required": false, + "type": "boolean" + }, + "enable-personal-weekly-report-card": { + "description": "个人考勤统计通知周报企业开关,工作通知渠道", + "property": "enablePersonalWeeklyReportCard", + "required": false, + "type": "boolean" + }, + "fast-check-corp": { + "description": "极速打卡企业总开关", + "property": "fastCheckCorp", + "required": false, + "type": "boolean" + }, + "lack-remind-corp": { + "description": "缺卡提醒企业总开关", + "property": "lackRemindCorp", + "required": false, + "type": "boolean" + }, + "scope": { + "description": "全局范围确认,必须明确输入:企业/全公司/所有人(必填)", + "property": "scope", + "required": true, + "type": "string" + }, + "setting-scene": { + "description": "更新设置项:checkRemind/fastCheck/checkResultNotify/lackRemind/personalAttendStatNotify/bossAttendStatNotify(必填)", + "property": "settingScene", + "required": true, + "type": "string" + }, + "yes": { + "description": "跳过确认提示", + "property": "yes", + "required": false, + "type": "boolean" + } + }, + "path": "attendance.globalsetting_save", + "primary_cli_path": "attendance globalsetting save", + "product_id": "attendance", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:attendance", + "title": "更新保存全局规则设置(仅管理员)", + "use_when": [ + "更新保存全局规则设置,仅管理员可以调用" + ] + }, + "attendance.group_create": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 create_group_setting,创建一个新的考勤组", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 create_group_setting,创建一个新的考勤组时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.group_create", + "cli_name": "create", + "cli_path": "attendance group create", + "confirmation": "not_required", + "description": "调用 MCP 工具 create_group_setting,创建一个新的考勤组。\n--name 和 --type 必填,其余参数可选(未传字段使用默认值)。由于创建考勤组耗时较久,指令需要带上 --timeout 10\n--yes 需要用户二次确认之后才允许带入,参考attendance.md中对于创建考勤组的说明\n\n常用 flag:\n --name 考勤组名称(必填)\n --type 考勤组类型:FIXED(固定班制)/ TURN(排班制)/ NONE(自由工时)(必填,显式校验)\n --owner 考勤组主负责人 userId(可选)\n --group-vo 完整 groupVO JSON 字符串(可选,用于传入复杂子对象,会与 --name/--type/--owner 合并)\n\n当使用 --group-vo 传入完整 JSON 时,--name、--type、--owner 仍可覆写 JSON 中的同名字段。\n\n【无条件必填字段】\n name string 考勤组名称\n type string 考勤组类型:FIXED / TURN / NONE\n\n【条件必填字段(type=FIXED 固定班制时)】\n workDayClassList []number 工作日班次列表,不能为空。\n 一共7个值,分别代表周日到周六每天的班次id,为0表示当天休息。\n 例如 [0,1279240003,0,0,0,0,0] 表示周一的班次id为1279240003,其余日子都是休息\n defaultClassId number 默认班次 ID,不能为 null\n\n条件必填字段通过 --group-vo JSON 传入,CLI 在 --type=FIXED 时会显式校验这些字段。\n\n--group-vo 可用字段说明(与更新考勤组一致,均可选,只需包含要设置的字段):\n\n【基础信息】\n id number 考勤组id(创建时禁止传入,由服务端分配)\n name string 考勤组名称(必填)\n type string 考勤组类型:FIXED(固定班制)/ TURN(排班制)/ NONE(自由工时)(必填)\n owner string 考勤组主负责人 userId\n managerList []string 考勤组子负责人 userId 列表\n skipHolidays bool 节假日自动排休(只有固定班制和自由工时考勤组生效)\n defaultGroup bool 是否默认考勤组\n classIds []number 所选班次 id 列表(只有固定班制和排班制才有班次,自由工时没有)\n\n【打卡范围与定位】\n trimDistance number 定位允许微调距离(米)\n enablePositionOfGps bool 打卡是否允许开启 GPS 定位\n enablePositionOfWifi bool 是否开启 wifi 定位\n enablePositionOfBle bool 是否启用蓝牙定位\n\n positions []object 考勤打卡地址列表(地址定位打卡用),每项字段:\n - title string 地址标题\n - address string 地址详情(完整地址文本)\n - latitude number 纬度\n - longitude number 经度\n - offset number 该地址允许的打卡范围,单位米\n\n wifis []object 打卡方式中的 wifi 详情列表,每项字段:\n - ssid string wifi 的 ssid(wifi名称)\n - macAddr string wifi 的 macAddr(MAC 地址)\n - groupId number 考勤组id\n\n bleDeviceVOList []object 已选择的蓝牙设备列表,每项字段:\n - name string 设备名称\n - deviceUid number 设备 uid\n - sn string 设备 sn 序列号\n - productType string 对外的设备类型\n - devServId number 内部设备类型\n\n【外勤打卡设置】\n enableOutsideCheck bool 是否可以外勤打卡\n enableOutsideCameraCheck bool 是否开启外勤打卡必须拍照\n enableOutsideRemark bool 是否开启外勤打卡必须填写备注\n enableOutsideApply bool 是否开启外勤打卡必须审批\n forbidHideOutSideAddress bool 禁止隐藏外勤打卡地址的功能,false表示允许用户隐藏外勤打卡地址\n enableOutSideUpdateNormalCheck bool 下班时间:允许外勤卡更新内勤卡\n enableOnDutyNormalUpdateOutsideCheck bool 上班时间:允许内勤卡更新外勤卡\n outsideCheckApproveMode string 外勤打卡需审批执行模式:\n NO_NEED_APPROVE(无需审批)\n APPROVE_FIRST(先审批后打卡)\n CHECK_FIRST(先打卡后审批)\n APPROVE_EVERYTIME(每次打卡都需要审批)\n outSideCheckApplyType number 外勤审批范围:1(全天外勤打卡)/ 2(上班外勤打卡)/ 3(下班外勤打卡)\n\n【打卡方式】\n enableCameraCheck bool 是否开启拍照打卡\n openCameraCheck bool 是否开启拍照打卡(与 enableCameraCheck 含义相同)\n openFaceCheck bool 是否开启人脸打卡\n enableFaceStrictMode bool 是否开启人脸严格模式(强制活体检测)\n enableFaceBeauty bool 是否开启美颜\n onlyMachineCheck bool 只允许考勤机打卡\n permitMaxBeaconCount number 允许绑定的智点设备数量\n disableCheckWhenRest bool 休息日打卡需审批(只在固定班制和排班制生效,true表示打卡需要提交审批单)\n\n\n【固定班制设置(FIXED)】\n defaultClassId number 固定班制的默认班次 id(type=FIXED 时必填)\n workDayClassList []number 固定班制的工作日班次 id 列表,一共7个值,分别代表周日到周六每天的班次id,为0表示当天休息,例如[0,1279240003,0,0,0,0,0]表示周一的班次id为1279240003,其余日子都是休息\n\n【排班制设置(TURN)】\n disableCheckWithoutSchedule bool 未排班时员工可打卡(true=未排班时禁止打卡)\n enableEmpSelectClass bool 未排班时,员工可选班次打卡\n enableScheduleAutoMatch bool 未排班时,系统自动匹配班次\n ----以下是排班制设置排班周期的,非必要,不是所有排班制考勤组都需要设置,不设置就是按照classIds中的班次由管理员自行排班-----\n cycleDays number 排班循环天数,支持大小周(14天)\n startCycleDate number 用户设置的大小周开始时间(时间戳,毫秒)\n cycleScheduleList []object 循环排班设置列表,每项字段:\n - cycleName string 周期名字(如\"第一周\")\n - groupId number 考勤组 id\n - isValid string 是否有效:Y(有效)/ N(无效)\n - itemList []object 排班设置列表,每项字段:\n - classId number 班次 id\n - className string 班次名称\n - isValid string 是否有效(Y/N)\n\n【自由工时设置(NONE)】\n workDays []number 自由工时的工作日,如 [1,2,3,4,5] 表示周一到周五(1=周一,7=周日)\n freeCheckDayStartMinOffset number 自由打卡每日开始时间,距离 0 点的分钟数(如 480 表示 08:00 开始)\n freeCheckCoreTime number 自由工时考勤组的打卡最短工作时长(分钟)\n freeCheckDemandWorkMinutes number 自由工时考勤组要求的打卡时长(分钟)\n\n freeCheckSettingVO object 自由工时打卡设置,包含字段:\n - freeCheckType string 自由工时打卡类型:\n CYCLE(上下班交替打卡)\n MAX_TIME_UPDATE(最大时间打卡,第一次为上班,后续均为下班卡)\n - freeWorkDayLackSwitch bool 自由工时打卡规则:工作日没打卡记为缺卡(true=记缺卡)\n - freeOnDutyLackMinOffset number 自由工时打卡规则:上班缺卡生成时间偏移分钟数\n - freeOffDutyLackMinOffset number 自由工时打卡规则:下班缺卡生成时间偏移分钟数\n - delimitOffsetMinutesBetweenDays number 自由工时前后两天的分割线(距 0 点分钟数,超过此时间则归属第二天)\n - freeCheckGapVO object 自由工时/休息日打卡间隔设置:\n - onOffCheckGapMinutes number 上班打卡后,多久才可以打下班卡(分钟)\n - offOnCheckGapMinutes number 下班打卡后,多久才可以打上班卡(分钟)\n\n freeGroupSpecialDayVO object 自由工时考勤组特殊日期设置,包含字段:\n - specialOnDutyDays []number 特殊需要打卡日期的时间戳列表(毫秒,原本休息日需额外打卡的日期)\n - specialOffDutyDays []number 特殊无需打卡日期的时间戳列表(毫秒,原本工作日可免打卡的日期)", + "display": "考勤打卡 / 排班 / 统计", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws attendance group create --name \"研发考勤组\" --type FIXED --group-vo '{\"defaultClassId\":1170996821,\"workDayClassList\":[0,1170996821,0,0,0,0,0]}' --timeout 10", + "dws attendance group create --name \"自由工时分组\" --type NONE --timeout 10" + ], + "group": "group", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "group_create", + "parameter_count": 6, + "parameters": { + "corp-id": { + "description": "企业 corpId(可选,不传时由登录上下文自动补齐)", + "property": "corpId", + "required": false, + "type": "string" + }, + "group-vo": { + "description": "完整 groupVO JSON 字符串(可选,用于传入复杂子对象,会与 --name/--type/--owner 合并)", + "property": "groupVo", + "required": false, + "type": "string" + }, + "name": { + "description": "考勤组名称(必填)", + "property": "name", + "required": true, + "type": "string" + }, + "owner": { + "description": "考勤组主负责人 userId(可选)", + "property": "owner", + "required": false, + "type": "string" + }, + "type": { + "description": "考勤组类型:FIXED(固定班制)/ TURN(排班制)/ NONE(自由工时)(必填)", + "property": "type", + "required": true, + "type": "string" + }, + "yes": { + "description": "跳过确认提示", + "property": "yes", + "required": false, + "type": "boolean" + } + }, + "path": "attendance.group_create", + "primary_cli_path": "attendance group create", + "product_id": "attendance", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:attendance", + "title": "创建考勤组", + "use_when": [ + "创建考勤组", + "创建考勤组/新建考勤组/添加考勤组" + ] + }, + "attendance.group_filtered_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance-schedule.md", + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 get_group_filtered_detail,根据考勤组 ID 仅返回关心的字段子集, 强烈建议在仅需查询成员信息、打卡地址、蓝牙、W", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_group_filtered_detail,根据考勤组 ID 仅返回关心的字段子集, 强烈建议在仅需查询成员信息、打卡地址、蓝牙、W时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.group_filtered_get", + "cli_name": "filtered-get", + "cli_path": "attendance group filtered-get", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_group_filtered_detail,根据考勤组 ID 仅返回关心的字段子集,\n强烈建议在仅需查询成员信息、打卡地址、蓝牙、Wifi 时使用,节省查询成本。\n--group-id 必填;四个过滤字段均可选(不传则默认 false,即不查询该字段)。\n --member 是否查询考勤组成员信息\n --position 是否查询打卡地址\n --wifi 是否查询打卡 Wifi\n --bles 是否查询打卡蓝牙", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance group filtered-get --group-id \u003cgroupId\u003e --member --format json" + ], + "group": "group", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "group_filtered_get", + "parameter_count": 5, + "parameters": { + "bles": { + "description": "是否查询打卡蓝牙(可选)", + "property": "bles", + "required": false, + "type": "boolean" + }, + "group-id": { + "description": "考勤组 ID(必填)", + "property": "groupId", + "required": true, + "type": "integer" + }, + "member": { + "description": "是否查询考勤组成员信息(可选)", + "property": "member", + "required": false, + "type": "boolean" + }, + "position": { + "description": "是否查询打卡地址(可选)", + "property": "position", + "required": false, + "type": "boolean" + }, + "wifi": { + "description": "是否查询打卡 Wifi(可选)", + "property": "wifi", + "required": false, + "type": "boolean" + } + }, + "path": "attendance.group_filtered_get", + "primary_cli_path": "attendance group filtered-get", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "根据考勤组 ID 按需查询成员/打卡地址/蓝牙/Wifi 信息", + "use_when": [ + "1. 获取考勤组成员", + "按需查询考勤组成员/地址/蓝牙/Wifi", + "考勤组成员/打卡地址/打卡wifi/打卡蓝牙" + ] + }, + "attendance.group_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance-schedule.md", + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 get_group_detail,根据考勤组 ID 查询该考勤组的全量信息", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_group_detail,根据考勤组 ID 查询该考勤组的全量信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.group_get", + "cli_name": "get", + "cli_path": "attendance group get", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_group_detail,根据考勤组 ID 查询该考勤组的全量信息。\n--group-id 必填。如果只需查询成员、打卡地址、蓝牙、Wifi 子集,请使用 group filtered-get 以节省查询成本。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance group get --group-id \u003cgroupId\u003e --format json" + ], + "group": "group", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "group_get", + "parameter_count": 1, + "parameters": { + "group-id": { + "description": "考勤组 ID(必填)", + "property": "groupId", + "required": true, + "type": "integer" + } + }, + "path": "attendance.group_get", + "primary_cli_path": "attendance group get", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "根据考勤组 ID 查询考勤组全量信息", + "use_when": [ + "查询考勤组全量信息", + "考勤组详情/全量考勤组信息", + "获取考勤组详情(含绑定的班次列表)" + ] + }, + "attendance.group_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance-schedule.md", + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "根据当前用户的权限和筛选条件获取考勤组简要信息", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据当前用户的权限和筛选条件获取考勤组简要信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.group_search", + "cli_name": "search", + "cli_path": "attendance group search", + "confirmation": "not_required", + "description": "根据当前用户的权限和筛选条件获取考勤组简要信息。\n入参 ATGroupSearchParam 对象(至少填写一个子字段)和 PageQuery 对象(两个子字段必填)均不能为空。\n --query 考勤组名称关键字,模糊搜索\n --type 考勤组类型:FIXED(固定班制)/ TURN(排班制)/ NONE(自由工时)\n --query-position 是否查询地理定位和 Wifi 名称(默认 false)\n --query-ble 是否查询蓝牙设备列表(默认 false)\n --page 页码(从 1 开始,默认 1)\n --limit 每页条数(200 以内,默认 20)", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance group search --query \"\u003c考勤组名称\u003e\" --type TURN --format json", + "dws attendance group search --query \"研发组\" --type TURN --format json" + ], + "group": "group", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "group_search", + "parameter_count": 6, + "parameters": { + "limit": { + "default": "20", + "description": "每页条数,200 以内(必填)", + "property": "limit", + "required": true, + "type": "integer" + }, + "page": { + "default": "1", + "description": "页码,从 1 开始(必填)", + "property": "page", + "required": true, + "type": "integer" + }, + "query": { + "description": "考勤组名称关键字,模糊搜索(可选)", + "property": "query", + "required": false, + "type": "string" + }, + "query-ble": { + "description": "是否查询蓝牙设备列表(可选)", + "property": "queryBle", + "required": false, + "type": "boolean" + }, + "query-position": { + "description": "是否查询地理定位和 Wifi 名称(可选)", + "property": "queryPosition", + "required": false, + "type": "boolean" + }, + "type": { + "description": "考勤组类型:FIXED 固定班制 / TURN 排班制 / NONE 自由工时(可选)", + "property": "type", + "required": false, + "type": "string" + } + }, + "path": "attendance.group_search", + "primary_cli_path": "attendance group search", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "查询当前用户可管理的考勤组列表", + "use_when": [ + "1. 确认考勤组并获取关联班次(先查后排)", + "1. 获取考勤组成员", + "查询考勤组列表", + "考勤组列表/有哪些考勤组" + ] + }, + "attendance.group_update": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 update_group_setting,更新考勤组配置信息", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 update_group_setting,更新考勤组配置信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.group_update", + "cli_name": "update", + "cli_path": "attendance group update", + "confirmation": "not_required", + "description": "调用 MCP 工具 update_group_setting,更新考勤组配置信息。\n--group-id 必填;其余参数均可选,仅需对要修改的字段进行赋値,未传的字段会自动从已有配置补充。由于保存考勤组耗时较久,指令需要带上--timeout 10\n--yes 需要用户二次确认之后才允许带入,参考attendance.md中对于更新考勤组配置的说明\n\n常用简单字段可直接用 flag 传入;复杂子对象(如打卡地址、wifi、蓝牙设备、循环排班等)请用 --group-vo JSON 字符串传入完整 groupVO 对象覆写。\n\n常用 flag:\n --name 考勤组名称\n --type 考勤组类型:FIXED(固定班制)/ TURN(排班制)/ NONE(自由工时)\n --owner 考勤组主负责人 userId\n --classIds []number 所选班次 id 列表\n --enable-outside-check 是否允许外勤打卡 (true/false)\n --group-vo 完整 groupVO JSON 字符串(用于修改复杂子对象,会与其他 flag 合并,重复字段以 flag 为准)\n\n--group-vo 可用字段说明(均可选,只需包含要修改的字段):\n\n【基础信息】\n id number 考勤组id,不随更新变化\n name string 考勤组名称\n type string 考勤组类型:FIXED(固定班制)/ TURN(排班制)/ NONE(自由工时)\n owner string 考勤组主负责人 userId\n managerList []string 考勤组子负责人 userId 列表\n skipHolidays bool 节假日自动排休(只有固定班制和自由工时考勤组生效)\n defaultGroup bool 是否默认考勤组\n classIds []number 所选班次 id 列表(只有固定班制和排班制才有班次,自由工时没有)\n\n【打卡范围与定位】\n trimDistance number 定位允许微调距离(米)\n enablePositionOfGps bool 打卡是否允许开启 GPS 定位\n enablePositionOfWifi bool 是否开启 wifi 定位\n enablePositionOfBle bool 是否启用蓝牙定位\n\n positions []object 考勤打卡地址列表(地址定位打卡用),每项字段:\n - title string 地址标题\n - address string 地址详情(完整地址文本)\n - latitude number 纬度\n - longitude number 经度\n - offset number 该地址允许的打卡范围,单位米\n\n wifis []object 打卡方式中的 wifi 详情列表,每项字段:\n - ssid string wifi 的 ssid(wifi名称)\n - macAddr string wifi 的 macAddr(MAC 地址)\n - groupId number 考勤组id\n\n bleDeviceVOList []object 已选择的蓝牙设备列表,每项字段:\n - name string 设备名称\n - deviceUid number 设备 uid\n - sn string 设备 sn 序列号\n - productType string 对外的设备类型\n - devServId number 内部设备类型\n\n【外勤打卡设置】\n enableOutsideCheck bool 是否可以外勤打卡\n enableOutsideCameraCheck bool 是否开启外勤打卡必须拍照\n enableOutsideRemark bool 是否开启外勤打卡必须填写备注\n enableOutsideApply bool 是否开启外勤打卡必须审批\n forbidHideOutSideAddress bool 禁止隐藏外勤打卡地址的功能,false表示允许用户隐藏外勤打卡地址\n enableOutSideUpdateNormalCheck bool 下班时间:允许外勤卡更新内勤卡\n enableOnDutyNormalUpdateOutsideCheck bool 上班时间:允许内勤卡更新外勤卡\n outsideCheckApproveMode string 外勤打卡需审批执行模式:\n NO_NEED_APPROVE(无需审批)\n APPROVE_FIRST(先审批后打卡)\n CHECK_FIRST(先打卡后审批)\n APPROVE_EVERYTIME(每次打卡都需要审批)\n outSideCheckApplyType number 外勤审批范围:1(全天外勤打卡)/ 2(上班外勤打卡)/ 3(下班外勤打卡)\n\n【打卡方式】\n enableCameraCheck bool 是否开启拍照打卡\n openCameraCheck bool 是否开启拍照打卡(与 enableCameraCheck 含义相同)\n openFaceCheck bool 是否开启人脸打卡\n enableFaceStrictMode bool 是否开启人脸严格模式(强制活体检测)\n enableFaceBeauty bool 是否开启美颜\n onlyMachineCheck bool 只允许考勤机打卡\n permitMaxBeaconCount number 允许绑定的智点设备数量\n disableCheckWhenRest bool 休息日打卡需审批(只在固定班制和排班制生效,true表示打卡需要提交审批单)\n\n\n【固定班制设置(FIXED)】\n defaultClassId number 固定班制的默认班次 id\n workDayClassList []number 固定班制的工作日班次 id 列表,一共7个值,分别代表周日到周六每天的班次id,为0表示当天休息,例如[0,1279240003,0,0,0,0,0]表示周一的班次id为1279240003,其余日子都是休息\n\n【排班制设置(TURN)】\n disableCheckWithoutSchedule bool 未排班时员工可打卡(true=未排班时禁止打卡)\n enableEmpSelectClass bool 未排班时,员工可选班次打卡\n enableScheduleAutoMatch bool 未排班时,系统自动匹配班次\n ----以下是排班制设置排班周期的,非必要,不是所有排班制考勤组都需要设置,不设置就是按照classIds中的班次由管理员自行排班-----\n cycleDays number 排班循环天数,支持大小周(14天)\n startCycleDate number 用户设置的大小周开始时间(时间戳,毫秒)\n cycleScheduleList []object 循环排班设置列表,每项字段:\n - cycleName string 周期名字(如\"第一周\")\n - groupId number 考勤组 id\n - isValid string 是否有效:Y(有效)/ N(无效)\n - itemList []object 排班设置列表,每项字段:\n - classId number 班次 id\n - className string 班次名称\n - isValid string 是否有效(Y/N)\n\n【自由工时设置(NONE)】\n workDays []number 自由工时的工作日,如 [1,2,3,4,5] 表示周一到周五(1=周一,7=周日)\n freeCheckDayStartMinOffset number 自由打卡每日开始时间,距离 0 点的分钟数(如 480 表示 08:00 开始)\n freeCheckCoreTime number 自由工时考勤组的打卡最短工作时长(分钟)\n freeCheckDemandWorkMinutes number 自由工时考勤组要求的打卡时长(分钟)\n\n freeCheckSettingVO object 自由工时打卡设置,包含字段:\n - freeCheckType string 自由工时打卡类型:\n CYCLE(上下班交替打卡)\n MAX_TIME_UPDATE(最大时间打卡,第一次为上班,后续均为下班卡)\n - freeWorkDayLackSwitch bool 自由工时打卡规则:工作日没打卡记为缺卡(true=记缺卡)\n - freeOnDutyLackMinOffset number 自由工时打卡规则:上班缺卡生成时间偏移分钟数\n - freeOffDutyLackMinOffset number 自由工时打卡规则:下班缺卡生成时间偏移分钟数\n - delimitOffsetMinutesBetweenDays number 自由工时前后两天的分割线(距 0 点分钟数,超过此时间则归属第二天)\n - freeCheckGapVO object 自由工时/休息日打卡间隔设置:\n - onOffCheckGapMinutes number 上班打卡后,多久才可以打下班卡(分钟)\n - offOnCheckGapMinutes number 下班打卡后,多久才可以打上班卡(分钟)\n\n freeGroupSpecialDayVO object 自由工时考勤组特殊日期设置,包含字段:\n - specialOnDutyDays []number 特殊需要打卡日期的时间戳列表(毫秒,原本休息日需额外打卡的日期)\n - specialOffDutyDays []number 特殊无需打卡日期的时间戳列表(毫秒,原本工作日可免打卡的日期)", + "display": "考勤打卡 / 排班 / 统计", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws attendance group update --group-id 123456 --name \"研发考勤组\" --timeout 10", + "dws attendance group update --group-id 123456 --owner userId1 --timeout 10" + ], + "group": "group", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "group_update", + "parameter_count": 8, + "parameters": { + "classIds": { + "description": "所选班次 id 列表,JSON 数组格式,如 '[123,456]'(可选)", + "property": "classIds", + "required": false, + "type": "string" + }, + "enable-outside-check": { + "description": "是否允许外勤打卡,传 true 或 false(可选)", + "property": "enableOutsideCheck", + "required": false, + "type": "string" + }, + "group-id": { + "description": "考勤组 ID(必填)", + "property": "groupId", + "required": true, + "type": "integer" + }, + "group-vo": { + "description": "完整 groupVO JSON 字符串,用于修改复杂子对象(可选)", + "property": "groupVo", + "required": false, + "type": "string" + }, + "name": { + "description": "考勤组名称(可选)", + "property": "name", + "required": false, + "type": "string" + }, + "owner": { + "description": "考勤组主负责人 userId(可选)", + "property": "owner", + "required": false, + "type": "string" + }, + "type": { + "description": "考勤组类型:FIXED 固定班制 / TURN 排班制 / NONE 自由工时(可选)", + "property": "type", + "required": false, + "type": "string" + }, + "yes": { + "description": "跳过确认提示", + "property": "yes", + "required": false, + "type": "boolean" + } + }, + "path": "attendance.group_update", + "primary_cli_path": "attendance group update", + "product_id": "attendance", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:attendance", + "title": "更新考勤组配置(仅修改需要变更的字段)", + "use_when": [ + "修改考勤组/更新考勤组配置/考勤组改名/改变考勤组绑定的班次/修改打卡范围/设置考勤组负责人", + "更新考勤组配置" + ] + }, + "attendance.group_update_members": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 update_group_member,对指定考勤组的成员进行增删操作", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 update_group_member,对指定考勤组的成员进行增删操作时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.group_update_members", + "cli_name": "update-members", + "cli_path": "attendance group update-members", + "confirmation": "not_required", + "description": "调用 MCP 工具 update_group_member,对指定考勤组的成员进行增删操作。\n--group-id 必填;所有成员/部门参数均可选,但至少需要传一个变更项。由于保存考勤组耗时较久,指令需要带上--timeout 10\n每次调用各参数最多传 20 个 ID。\n--yes 需要用户二次确认之后才允许带入,参考attendance.md中对于更新考勤组成员的说明\n --add-users 添加考勤人员 userId 列表,逗号分隔\n --remove-users 删除考勤人员 userId 列表,逗号分隔\n --add-extra-users 添加无需考勤的人员 userId 列表,逗号分隔\n --remove-extra-users 删除无需考勤的成员 userId 列表,逗号分隔\n --add-depts 添加考勤部门 ID 列表,逗号分隔,若要添加全公司,根部门id为-1\n --remove-depts 删除考勤部门 ID 列表,逗号分隔,全公司根部门id为-1", + "display": "考勤打卡 / 排班 / 统计", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws attendance group update-members --group-id 123456 --add-users userId1,userId2", + "dws attendance group update-members --group-id 123456 --remove-users userId1" + ], + "group": "group", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "group_update_members", + "parameter_count": 8, + "parameters": { + "add-depts": { + "description": "添加考勤部门 ID 列表,逗号分隔,最多 20 个(可选)", + "property": "addDepts", + "required": false, + "type": "string" + }, + "add-extra-users": { + "description": "添加无需考勤的人员 userId 列表,逗号分隔,最多 20 个(可选)", + "property": "addExtraUsers", + "required": false, + "type": "string" + }, + "add-users": { + "description": "添加考勤人员 userId 列表,逗号分隔,最多 20 个(可选)", + "property": "addUsers", + "required": false, + "type": "string" + }, + "group-id": { + "description": "考勤组 ID(必填)", + "property": "groupId", + "required": true, + "type": "integer" + }, + "remove-depts": { + "description": "删除考勤部门 ID 列表,逗号分隔,最多 20 个(可选)", + "property": "removeDepts", + "required": false, + "type": "string" + }, + "remove-extra-users": { + "description": "删除无需考勤的成员 userId 列表,逗号分隔,最多 20 个(可选)", + "property": "removeExtraUsers", + "required": false, + "type": "string" + }, + "remove-users": { + "description": "删除考勤人员 userId 列表,逗号分隔,最多 20 个(可选)", + "property": "removeUsers", + "required": false, + "type": "string" + }, + "yes": { + "description": "跳过确认提示", + "property": "yes", + "required": false, + "type": "boolean" + } + }, + "path": "attendance.group_update_members", + "primary_cli_path": "attendance group update-members", + "product_id": "attendance", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:attendance", + "title": "更新考勤组成员(添加/删除考勤人员、部门、无需考勤人员)", + "use_when": [ + "更新考勤组成员", + "更新考勤组成员/添加考勤人员/删除考勤人员/添加考勤部门/删除考勤部门/加入考勤组/移出考勤组/设置无需考勤/取消无需考勤" + ] + }, + "attendance.overtime_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 get_overtime_rule_detail,根据加班规则主键 ID 查询对应的加班规则详情", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_overtime_rule_detail,根据加班规则主键 ID 查询对应的加班规则详情时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.overtime_get", + "cli_name": "get", + "cli_path": "attendance overtime get", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_overtime_rule_detail,根据加班规则主键 ID 查询对应的加班规则详情。\n--overtime-id 必填。已被删除或更新覆盖的加班规则也可以查到。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance overtime get --overtime-id 12345", + "dws attendance overtime get --overtime-id 12345 --format json" + ], + "group": "overtime", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "overtime_get", + "parameter_count": 1, + "parameters": { + "overtime-id": { + "description": "加班规则主键 ID(必填)", + "property": "overtimeId", + "required": true, + "type": "integer" + } + }, + "path": "attendance.overtime_get", + "primary_cli_path": "attendance overtime get", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "根据加班规则主键 ID 查询加班规则详情", + "use_when": [ + "查询加班规则详情" + ] + }, + "attendance.overtime_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "根据用户权限查询加班规则列表,入参封装在 ATRuleQueryParam 对象中", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据用户权限查询加班规则列表,入参封装在 ATRuleQueryParam 对象中时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.overtime_search", + "cli_name": "search", + "cli_path": "attendance overtime search", + "confirmation": "not_required", + "description": "根据用户权限查询加班规则列表,入参封装在 ATRuleQueryParam 对象中。\n --query 加班规则名称关键字,模糊搜索(可选)\n --page 页码(从 1 开始,默认 1)(必填)\n --limit 每页条数(200 以内,默认 20)(必填)", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance overtime search --page 1 --limit 20", + "dws attendance overtime search --query \"节假日\" --page 1 --limit 50" + ], + "group": "overtime", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "overtime_search", + "parameter_count": 3, + "parameters": { + "limit": { + "default": "20", + "description": "每页条数,200 以内(必填)", + "property": "limit", + "required": true, + "type": "integer" + }, + "page": { + "default": "1", + "description": "页码,从 1 开始(必填)", + "property": "page", + "required": true, + "type": "integer" + }, + "query": { + "description": "加班规则名称关键字,模糊搜索(可选)", + "property": "query", + "required": false, + "type": "string" + } + }, + "path": "attendance.overtime_search", + "primary_cli_path": "attendance overtime search", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "查询当前用户可管理的加班规则列表", + "use_when": [ + "加班规则/加班设置/加班计算", + "加班规则详情/某条加班规则的具体信息", + "查询加班规则" + ] + }, "attendance.query_attendance_group_or_rules": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -24542,6 +27888,949 @@ "自动获取当前用户的考勤组(用户只属于一个考勤组,无需选择)" ] }, + "attendance.report_columns": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "根据操作者的列权限,过滤并返回其有权查看的考勤字段列表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据操作者的列权限,过滤并返回其有权查看的考勤字段列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.report_columns", + "cli_name": "columns", + "cli_path": "attendance report columns", + "confirmation": "not_required", + "description": "根据操作者的列权限,过滤并返回其有权查看的考勤字段列表。\n操作者必须是管理员,否则返回权限错误。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance report columns" + ], + "group": "report", + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "report_columns", + "parameter_count": 0, + "parameters": {}, + "path": "attendance.report_columns", + "primary_cli_path": "attendance report columns", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "获取企业考勤字段列表", + "use_when": [ + "考勤字段/考勤列", + "获取考勤字段列表(管理员)" + ] + }, + "attendance.report_query_data": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "根据字段查询考勤数据,含列权限过滤和用户查看权限校验", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据字段查询考勤数据,含列权限过滤和用户查看权限校验时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.report_query_data", + "cli_name": "query-data", + "cli_path": "attendance report query-data", + "confirmation": "not_required", + "description": "根据字段查询考勤数据,含列权限过滤和用户查看权限校验。\n--columns 为字段 ID 列表(逗号分隔),可通过 dws attendance report columns 获取。\n--users 最多 20 人,传入userId,--start 到 --end 不超过 32 天。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance report query-data --users userId1,userId2 --columns 1001,1002 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\"", + "dws attendance report query-data --users userId1,userId2 --columns 1001,1002 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\" --format json" + ], + "group": "report", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "report_query_data", + "parameter_count": 4, + "parameters": { + "columns": { + "description": "字段 ID 列表,逗号分隔,可通过 report columns 获取(必填)", + "property": "columns", + "required": true, + "type": "string" + }, + "end": { + "description": "结束日期,格式 yyyy-MM-dd HH:mm:ss(必填)", + "property": "end", + "required": true, + "type": "string" + }, + "start": { + "description": "开始日期,格式 yyyy-MM-dd HH:mm:ss(必填)", + "property": "start", + "required": true, + "type": "string" + }, + "users": { + "description": "目标用户 userID 列表,逗号分隔,最多 20 人(必填)", + "property": "users", + "required": true, + "type": "string" + } + }, + "path": "attendance.report_query_data", + "primary_cli_path": "attendance report query-data", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "根据字段查询考勤数据", + "use_when": [ + "根据字段查询考勤数据(管理员)", + "考勤数据/查询考勤报表数据" + ] + }, + "attendance.report_query_leave": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "查询用户假期数据,含用户查看权限校验", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询用户假期数据,含用户查看权限校验时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.report_query_leave", + "cli_name": "query-leave", + "cli_path": "attendance report query-leave", + "confirmation": "not_required", + "description": "查询用户假期数据,含用户查看权限校验。\n--leave-names 为假期类型名称列表(逗号分隔),不传则查询所有假期类型。\n--users 最多 20 人,传入userId,--start 到 --end 不超过 32 天。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance report query-leave --users userId1,userId2 --leave-names 年假,病假 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\"", + "dws attendance report query-leave --users userId1,userId2 --leave-names 年假,病假 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\" --format json" + ], + "group": "report", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "report_query_leave", + "parameter_count": 4, + "parameters": { + "end": { + "description": "结束日期,格式 yyyy-MM-dd HH:mm:ss(必填)", + "property": "end", + "required": true, + "type": "string" + }, + "leave-names": { + "description": "假期类型名称列表,逗号分隔,不填则查询所有假期类型(选填)", + "property": "leaveNames", + "required": false, + "type": "string" + }, + "start": { + "description": "开始日期,格式 yyyy-MM-dd HH:mm:ss(必填)", + "property": "start", + "required": true, + "type": "string" + }, + "users": { + "description": "目标用户 userID 列表,逗号分隔,最多 20 人(必填)", + "property": "users", + "required": true, + "type": "string" + } + }, + "path": "attendance.report_query_leave", + "primary_cli_path": "attendance report query-leave", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "查询用户假期数据", + "use_when": [ + "假期数据/年假/病假/请假记录", + "查询用户假期数据(管理员)" + ] + }, + "attendance.schedule_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "获取指定用户在一段时间内的排班记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要获取指定用户在一段时间内的排班记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.schedule_get", + "cli_name": "get", + "cli_path": "attendance schedule get", + "confirmation": "not_required", + "description": "获取指定用户在一段时间内的排班记录。\n返回每条记录包含 userId、classId、workDate、className、checkBeginTime、checkEndTime 等字段。\n\n日期格式支持:\n - YYYY-MM-DD(如 2026-04-01)\n - YYYY-MM-DD HH:mm:ss(如 2026-04-01 09:00:00)\n\n示例:\n dws attendance schedule get --users user001,user002 --start 2026-04-01 --end 2026-04-30", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance schedule get --userIdList 03642229451220076 --workDateBegin 2026-05-13 --workDateEnd 2026-05-13 -f json" + ], + "group": "schedule", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "schedule_get", + "parameter_count": 3, + "parameters": { + "end": { + "description": "结束日期,格式 YYYY-MM-DD 或 YYYY-MM-DD HH:mm:ss(必填)", + "property": "end", + "required": true, + "type": "string" + }, + "start": { + "description": "开始日期,格式 YYYY-MM-DD 或 YYYY-MM-DD HH:mm:ss(必填)", + "property": "start", + "required": true, + "type": "string" + }, + "users": { + "description": "用户ID列表,逗号分隔(必填)", + "property": "users", + "required": true, + "type": "string" + } + }, + "path": "attendance.schedule_get", + "primary_cli_path": "attendance schedule get", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "获取指定用户的排班记录", + "use_when": [ + "步骤1:获取排班记录的 planId" + ] + }, + "attendance.schedule_import": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/attendance-example-normalization.json", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "为排班制考勤组导入排班记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要为排班制考勤组导入排班记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.schedule_import", + "cli_name": "import", + "cli_path": "attendance schedule import", + "confirmation": "not_required", + "description": "为排班制考勤组导入排班记录。传入 JSON 数组格式排班数据,\n每条记录必填字段:\n - userId: 用户ID(必填)\n - workDate: 排班日期,格式 yyyy-MM-dd HH:mm:ss(必填)\n - classId: 班次ID(必填)\n - isRest: 是否为排休,取值 Y/N(必填)\n\n示例:\n dws attendance schedule import --groupId 123456 \\\n --scheduleVOS '[{\"userId\":\"user001\",\"workDate\":\"2026-04-22 09:00:00\",\"classId\":123,\"isRest\":\"N\"}]' \\\n --user-say-yes", + "display": "考勤打卡 / 排班 / 统计", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws attendance schedule import --help" + ], + "group": "schedule", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "schedule_import", + "parameter_count": 3, + "parameters": { + "groupId": { + "description": "考勤组ID(必填)", + "property": "groupId", + "required": true, + "type": "string" + }, + "scheduleVOS": { + "description": "排班记录 JSON 数组(必填)", + "property": "scheduleVOS", + "required": true, + "type": "string" + }, + "user-say-yes": { + "description": "用户已确认,跳过交互式确认提示(Agent 调用时传 true 前必须完成用户二次确认)", + "property": "userSayYes", + "required": false, + "type": "boolean" + } + }, + "path": "attendance.schedule_import", + "primary_cli_path": "attendance schedule import", + "product_id": "attendance", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:attendance", + "title": "导入排班记录到排班制考勤组", + "use_when": [ + "导入排班记录" + ] + }, + "attendance.selfsetting_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "查询个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.selfsetting_get", + "cli_name": "get", + "cli_path": "attendance selfsetting get", + "confirmation": "not_required", + "description": "查询个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项。\n\n入参字段:\n --setting-scene 查询设置项,枚举值包括:\n checkRemind(打卡提醒)\n fastCheck(极速打卡)\n checkResultNotify(打卡结果通知)\n lackRemind(缺卡提醒)\n personalAttendStatNotify(个人考勤统计通知)\n bossAttendStatNotify(团队考勤统计通知)\n --user 必填,查询用户 ID,对应 MCP 参数 userId\n\n说明:corpId 和 opUserId 由当前登录上下文自动补齐,不需要通过 CLI 入参传入。\n\n出参字段说明:\n 顶层返回 ServiceResult:\n success 请求是否成功\n code 请求结果码\n message 请求结果说明\n result 个人规则设置结果;服务端可能根据 --setting-scene 仅返回对应设置项相关字段\n\n result 通用字段:\n corpId 企业 ID\n userId 用户 ID\n\n settingScene=checkRemind(打卡提醒)相关字段:\n checkRemindSetting DING 提醒渠道设置\n checkRemindSetting.onDutyRemind 上班打卡提醒设置,包含 openRemind、remindMinutes(负数标识几分钟前提醒,正数几分钟后提醒)\n checkRemindSetting.offDutyRemind 下班打卡提醒设置,包含 openRemind、remindMinutes(负数标识几分钟前提醒,正数几分钟后提醒)\n checkRemindUserOnDuty 工作通知渠道:用户个人上班打卡提醒开关\n checkRemindUserOffDuty 工作通知渠道:用户个人下班打卡提醒开关\n enableOndutyCheckRemindOfPc PC 端弹窗渠道:上班打卡提醒开关\n enableOffdutyCheckRemindOfPc PC 端弹窗渠道:下班打卡提醒开关\n\n settingScene=fastCheck(极速打卡)相关字段:\n ondutyCheckType 上班打卡方式:1 提醒打卡,2 不提醒且不自动打卡,3 自动打卡\n ondutyRemindStartMin 上班打卡提醒开始时间,单位:分钟\n ondutyRemindEndMin 上班打卡提醒结束时间,单位:分钟\n fastCheckLateNeedConfirm 迟到时是否需要二次确认\n offdutyCheckType 下班打卡方式:1 提醒打卡,2 不提醒且不自动打卡,3 自动打卡\n offdutyRemindStartMin 下班打卡提醒开始时间,单位:分钟\n offdutyRemindEndMin 下班打卡提醒结束时间,单位:分钟\n canUpdateOffDuty 是否允许用户更新下班打卡设置\n voiceRemindSwitch 极速打卡提示音开关\n vibrationRemindSwitch 极速打卡震动提醒开关\n\n settingScene=checkResultNotify(打卡结果通知)相关字段:\n checkResultMsg 打卡结果通知开关:0 关闭,1 开启\n\n settingScene=lackRemind(缺卡提醒)相关字段:\n lackSendTodoMsg 待办提醒开关:0 关闭,null 或 1 开启\n lackRemindUser 工作通知渠道:用户个人缺卡提醒开关:0 关闭,null 或 1 开启\n\n settingScene=personalAttendStatNotify(个人考勤统计通知)相关字段:\n personDailyReportSwitch 日报推送开关:0 关闭,1 开启\n personWeekReportType 周报通知渠道:0 全关闭,1 工作通知,2 钉邮,3 工作通知和钉邮\n personMonthReportType 月报通知渠道:0 全关闭,1 工作通知,2 钉邮,3 工作通知和钉邮\n\n settingScene=bossAttendStatNotify(团队考勤统计通知)相关字段:\n bossPushStartMin 日报推送开始时间,单位:分钟;-1 表示关闭日报推送\n bossWeekReportType 周报通知渠道:0 全关闭,1 工作通知,2 钉邮,3 工作通知和钉邮\n bossMonthReportType 月报通知渠道:0 全关闭,1 工作通知,2 钉邮,3 工作通知和钉邮", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance selfsetting get --setting-scene checkRemind --user \u003cUSER_ID\u003e --format json", + "dws attendance selfsetting get --setting-scene fastCheck --user \u003cUSER_ID\u003e --format json" + ], + "group": "selfsetting", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "selfsetting_get", + "parameter_count": 2, + "parameters": { + "setting-scene": { + "description": "查询设置项:checkRemind/fastCheck/checkResultNotify/lackRemind/personalAttendStatNotify/bossAttendStatNotify(必填)", + "property": "settingScene", + "required": true, + "type": "string" + }, + "user": { + "description": "查询用户 ID(必填)", + "property": "user", + "required": true, + "type": "string" + } + }, + "path": "attendance.selfsetting_get", + "primary_cli_path": "attendance selfsetting get", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "查询个人规则设置", + "use_when": [ + "查看指定用户的打卡提醒设置", + "查看指定用户的极速打卡设置", + "查询个人规则设置/查看打卡提醒/查看极速打卡/查看缺卡提醒/查看打卡结果通知/查看个人考勤统计通知/查看团队考勤统计通知" + ] + }, + "attendance.selfsetting_save": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/attendance-example-normalization.json", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "更新保存个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要更新保存个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.selfsetting_save", + "cli_name": "save", + "cli_path": "attendance selfsetting save", + "confirmation": "user_required", + "description": "更新保存个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项。\n\n入参字段:\n --setting-scene 必填,枚举值包括 checkRemind、fastCheck、checkResultNotify、lackRemind、personalAttendStatNotify、bossAttendStatNotify\n --user 必填,更新用户 ID,对应 MCP 参数 userId\n\n按 settingScene 传入对应设置字段,且至少传一个字段:\n checkRemind:\n --check-remind-setting\n --check-remind-user-on-duty\n --check-remind-user-off-duty\n --enable-onduty-check-remind-of-pc\n --enable-offduty-check-remind-of-pc\n fastCheck:\n --onduty-check-type\n --offduty-check-type\n --onduty-remind-start-min\n --onduty-remind-end-min\n --offduty-remind-start-min\n --offduty-remind-end-min\n --fast-check-late-need-confirm\n --can-update-off-duty\n --voice-remind-switch\n --vibration-remind-switch\n checkResultNotify:\n --check-result-msg\n lackRemind:\n --lack-send-todo-msg\n --lack-remind-user\n personalAttendStatNotify:\n --person-daily-report-switch\n --person-week-report-type\n --person-month-report-type\n bossAttendStatNotify:\n --boss-push-start-min\n --boss-week-report-type\n --boss-month-report-type\n\n说明:corpId 和 opUserId 由当前登录上下文自动补齐,不需要通过 CLI 入参传入。\n返回 ServiceResult,包含 success、code、message、result;result 为 boolean,表示保存是否成功。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws attendance selfsetting save --help" + ], + "group": "selfsetting", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "selfsetting_save", + "parameter_count": 27, + "parameters": { + "boss-month-report-type": { + "description": "团队考勤统计月报通知渠道:0 全关闭,1 工作通知,2 钉邮,3 工作通知和钉邮", + "property": "bossMonthReportType", + "required": false, + "type": "integer" + }, + "boss-push-start-min": { + "description": "团队考勤统计日报推送开始时间,单位:分钟;-1 表示关闭日报推送", + "property": "bossPushStartMin", + "required": false, + "type": "integer" + }, + "boss-week-report-type": { + "description": "团队考勤统计周报通知渠道:0 全关闭,1 工作通知,2 钉邮,3 工作通知和钉邮", + "property": "bossWeekReportType", + "required": false, + "type": "integer" + }, + "can-update-off-duty": { + "description": "下班极速打卡:是否允许用户更新下班打卡设置", + "property": "canUpdateOffDuty", + "required": false, + "type": "boolean" + }, + "check-remind-setting": { + "description": "打卡提醒 DING 渠道设置 JSON,如 {\"onDutyRemind\":{\"openRemind\":true,\"remindMinutes\":10}}", + "property": "checkRemindSetting", + "required": false, + "type": "string" + }, + "check-remind-user-off-duty": { + "description": "打卡提醒工作通知渠道:用户个人下班打卡提醒开关", + "property": "checkRemindUserOffDuty", + "required": false, + "type": "boolean" + }, + "check-remind-user-on-duty": { + "description": "打卡提醒工作通知渠道:用户个人上班打卡提醒开关", + "property": "checkRemindUserOnDuty", + "required": false, + "type": "boolean" + }, + "check-result-msg": { + "description": "打卡结果通知开关:0 关闭,1 开启", + "property": "checkResultMsg", + "required": false, + "type": "integer" + }, + "enable-offduty-check-remind-of-pc": { + "description": "PC 端弹窗渠道:下班打卡提醒开关", + "property": "enableOffdutyCheckRemindOfPc", + "required": false, + "type": "boolean" + }, + "enable-onduty-check-remind-of-pc": { + "description": "PC 端弹窗渠道:上班打卡提醒开关", + "property": "enableOndutyCheckRemindOfPc", + "required": false, + "type": "boolean" + }, + "fast-check-late-need-confirm": { + "description": "上班极速打卡:迟到时是否需要二次确认", + "property": "fastCheckLateNeedConfirm", + "required": false, + "type": "boolean" + }, + "lack-remind-user": { + "description": "缺卡提醒工作通知渠道:0 关闭,null 或 1 开启", + "property": "lackRemindUser", + "required": false, + "type": "integer" + }, + "lack-send-todo-msg": { + "description": "缺卡提醒待办渠道:0 关闭,null 或 1 开启", + "property": "lackSendTodoMsg", + "required": false, + "type": "integer" + }, + "offduty-check-type": { + "description": "下班极速打卡方式:1 提醒打卡,2 不提醒且不自动打卡,3 自动打卡", + "property": "offdutyCheckType", + "required": false, + "type": "integer" + }, + "offduty-remind-end-min": { + "description": "下班打卡提醒结束时间,单位:分钟", + "property": "offdutyRemindEndMin", + "required": false, + "type": "integer" + }, + "offduty-remind-start-min": { + "description": "下班打卡提醒开始时间,单位:分钟", + "property": "offdutyRemindStartMin", + "required": false, + "type": "integer" + }, + "onduty-check-type": { + "description": "上班极速打卡方式:1 提醒打卡,2 不提醒且不自动打卡,3 自动打卡", + "property": "ondutyCheckType", + "required": false, + "type": "integer" + }, + "onduty-remind-end-min": { + "description": "上班打卡提醒结束时间,单位:分钟", + "property": "ondutyRemindEndMin", + "required": false, + "type": "integer" + }, + "onduty-remind-start-min": { + "description": "上班打卡提醒开始时间,单位:分钟", + "property": "ondutyRemindStartMin", + "required": false, + "type": "integer" + }, + "person-daily-report-switch": { + "description": "个人考勤统计日报推送开关:0 关闭,1 开启", + "property": "personDailyReportSwitch", + "required": false, + "type": "integer" + }, + "person-month-report-type": { + "description": "个人考勤统计月报通知渠道:0 全关闭,1 工作通知,2 钉邮,3 工作通知和钉邮", + "property": "personMonthReportType", + "required": false, + "type": "integer" + }, + "person-week-report-type": { + "description": "个人考勤统计周报通知渠道:0 全关闭,1 工作通知,2 钉邮,3 工作通知和钉邮", + "property": "personWeekReportType", + "required": false, + "type": "integer" + }, + "setting-scene": { + "description": "更新设置项:checkRemind/fastCheck/checkResultNotify/lackRemind/personalAttendStatNotify/bossAttendStatNotify(必填)", + "property": "settingScene", + "required": true, + "type": "string" + }, + "user": { + "description": "更新用户 ID(必填)", + "property": "user", + "required": true, + "type": "string" + }, + "vibration-remind-switch": { + "description": "极速打卡震动提醒开关", + "property": "vibrationRemindSwitch", + "required": false, + "type": "boolean" + }, + "voice-remind-switch": { + "description": "极速打卡提示音开关", + "property": "voiceRemindSwitch", + "required": false, + "type": "boolean" + }, + "yes": { + "description": "跳过确认提示", + "property": "yes", + "required": false, + "type": "boolean" + } + }, + "path": "attendance.selfsetting_save", + "primary_cli_path": "attendance selfsetting save", + "product_id": "attendance", + "reviewed": false, + "risk": "high", + "source": "hardcoded:attendance", + "title": "更新保存个人规则设置", + "use_when": [ + "开启打卡结果通知(Agent 调用时,必须先完成 ask_human 二次确认,确认后再追加 --yes 执行)", + "开启指定用户的打卡结果通知", + "更新个人规则设置/保存打卡提醒/修改极速打卡/关闭缺卡提醒/开启打卡结果通知/设置个人考勤统计通知/设置团队考勤统计通知", + "更新打卡提醒设置(Agent 调用时,必须先完成 ask_human 二次确认,确认后再追加 --yes 执行)", + "更新指定用户的极速打卡设置", + "更新极速打卡设置(Agent 调用时,必须先完成 ask_human 二次确认,确认后再追加 --yes 执行)" + ] + }, + "attendance.vacation_balance": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 get_leave_balance_quota 查询指定员工的假期余额", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_leave_balance_quota 查询指定员工的假期余额时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.vacation_balance", + "cli_name": "balance", + "cli_path": "attendance vacation balance", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_leave_balance_quota 查询指定员工的假期余额。\n例如:查询某员工年假还剩多少、病假额度等。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance vacation balance --users userId1,userId2 --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890", + "dws attendance vacation balance --users userId1,userId2 --leave-code \u003c假期类型code\u003e --format json" + ], + "group": "vacation", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "vacation_balance", + "parameter_count": 2, + "parameters": { + "leave-code": { + "description": "假期规则 code (必填,服务端要求非空,不传返回 INVALID_PARAMS)", + "property": "leaveCode", + "required": true, + "type": "string" + }, + "users": { + "description": "目标员工 ID 列表,逗号分隔 (必填)", + "property": "users", + "required": true, + "type": "string" + } + }, + "path": "attendance.vacation_balance", + "primary_cli_path": "attendance vacation balance", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "查询指定员工假期余额", + "use_when": [ + "1. 查询当前余额", + "1. 查询当前余额(假设返回5天)", + "增加假期余额/发放年假/给员工加年假", + "查看指定员工假期余额", + "查看指定员工某类假期余额", + "病假余额/年假余额/事假剩余假期", + "设置假期余额/调整假期额度/更新假期余额" + ] + }, + "attendance.vacation_records": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 get_leave_balance_records 查询指定员工的假期余额变更记录", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_leave_balance_records 查询指定员工的假期余额变更记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.vacation_records", + "cli_name": "records", + "cli_path": "attendance vacation records", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_leave_balance_records 查询指定员工的假期余额变更记录。\n例如:查询某员工年假变更历史、请假扣减记录等。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance vacation records --user USER_ID --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --start 2026-04-01 --end 2026-04-22", + "dws attendance vacation records --user USER_ID --leave-code \u003c假期类型code\u003e --start 2026-04-01 --end 2026-04-22 --format json" + ], + "group": "vacation", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "vacation_records", + "parameter_count": 4, + "parameters": { + "end": { + "description": "查询结束日期,格式 YYYY-MM-DD (必填)", + "property": "end", + "required": true, + "type": "string" + }, + "leave-code": { + "description": "假期规则 code (必填,服务端要求非空,不传返回 INVALID_PARAMS)", + "property": "leaveCode", + "required": true, + "type": "string" + }, + "start": { + "description": "查询开始日期,格式 YYYY-MM-DD (必填)", + "property": "start", + "required": true, + "type": "string" + }, + "user": { + "description": "指定查询员工 ID (必填)", + "property": "user", + "required": true, + "type": "string" + } + }, + "path": "attendance.vacation_records", + "primary_cli_path": "attendance vacation records", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "查询指定员工假期余额变更记录", + "use_when": [ + "假期变更/假期记录/请假扣减", + "查看指定员工假期余额变更记录" + ] + }, + "attendance.vacation_save_balance": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 update_leave_balance 设置指定员工的假期余额数量", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 update_leave_balance 设置指定员工的假期余额数量时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.vacation_save_balance", + "cli_name": "save-balance", + "cli_path": "attendance vacation save-balance", + "confirmation": "not_required", + "description": "调用 MCP 工具 update_leave_balance 设置指定员工的假期余额数量。\n\n重要说明:这是设置(SET)接口,传入的值会替换当前余额,而不是增加(ADD)。\n\n参数说明:\n --target 目标员工工号(必填)\n --leave-code 假期编码(必填)\n --num 余额数量(必填,如8天传8,7.5天传7.5)\n --reason 变更原因(必填,最长100字符)\n --start 有效期开始日期 YYYY-MM-DD\n --end 有效期结束日期 YYYY-MM-DD\n --user-say-yes 用户已确认,跳过交互式确认提示(Agent 调用时传 true 前必须完成用户二次确认)\n\n注意:\n - 余额数量在传递给 MCP 时会自动乘以100(如8天传800,7.5天传750)\n - 此接口为 SET 操作:传入值会直接设置为新的余额,而非累加到现有余额", + "display": "考勤打卡 / 排班 / 统计", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws attendance vacation save-balance --target user001 --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --num 8 --reason \"年度发放\"", + "dws attendance vacation save-balance --target user001 --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --num 8 --reason \"年度发放\" --start 2024-01-01 --end 2024-12-31" + ], + "group": "vacation", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "vacation_save_balance", + "parameter_count": 7, + "parameters": { + "end": { + "description": "有效期结束日期 YYYY-MM-DD", + "property": "end", + "required": false, + "type": "string" + }, + "leave-code": { + "description": "假期编码(必填)", + "property": "leaveCode", + "required": true, + "type": "string" + }, + "num": { + "description": "余额数量(必填)", + "property": "num", + "required": true, + "type": "string" + }, + "reason": { + "description": "变更原因(必填)", + "property": "reason", + "required": true, + "type": "string" + }, + "start": { + "description": "有效期开始日期 YYYY-MM-DD", + "property": "start", + "required": false, + "type": "string" + }, + "target": { + "description": "目标员工工号(必填)", + "property": "target", + "required": true, + "type": "string" + }, + "user-say-yes": { + "description": "用户已确认,跳过交互式确认提示(Agent 调用时传 true 前必须完成用户二次确认)", + "property": "userSayYes", + "required": false, + "type": "boolean" + } + }, + "path": "attendance.vacation_save_balance", + "primary_cli_path": "attendance vacation save-balance", + "product_id": "attendance", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:attendance", + "title": "设置员工假期余额", + "use_when": [ + "3. 执行设置(SET操作,会替换当前余额)", + "3. 设置新总额度", + "设置员工年假余额为8天", + "设置带有效期的假期余额" + ] + }, + "attendance.vacation_types": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 get_leave_types 查询当前用户可用的假期规则列表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 get_leave_types 查询当前用户可用的假期规则列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.vacation_types", + "cli_name": "types", + "cli_path": "attendance vacation types", + "confirmation": "not_required", + "description": "调用 MCP 工具 get_leave_types 查询当前用户可用的假期规则列表。\n例如:年假、事假、病假等假期类型及对应规则。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance vacation types" + ], + "group": "vacation", + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "vacation_types", + "parameter_count": 0, + "parameters": {}, + "path": "attendance.vacation_types", + "primary_cli_path": "attendance vacation types", + "product_id": "attendance", + "reviewed": false, + "risk": "low", + "source": "hardcoded:attendance", + "title": "查询当前用户假期规则列表", + "use_when": [ + "假期/我的假期/假期规则", + "查看假期规则列表" + ] + }, + "attendance.vacation_update_type": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/attendance.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "调用 MCP 工具 save_leave_type 更新已有假期规则", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要调用 MCP 工具 save_leave_type 更新已有假期规则时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "attendance.vacation_update_type", + "cli_name": "update-type", + "cli_path": "attendance vacation update-type", + "confirmation": "not_required", + "description": "调用 MCP 工具 save_leave_type 更新已有假期规则。\n--leave-code 必填,指定要更新的假期规则编码。\n其他字段均为可选,仅需传入要修改的字段。\n\n参数说明:\n --leave-code 假期编码(必填)\n --name 假期名称(可选)\n --unit 假期单位:day/halfDay/hour(可选)\n --paid 是否带薪假期(可选)\n --per-hours 一天折算小时数(可选)\n --when-can-leave 新员工请假规则:entry/formal(可选)\n --visibility-rules 适用范围规则 JSON 数组(可选)\n --user-say-yes 用户已确认,跳过交互式确认提示(Agent 调用时传 true 前必须完成用户二次确认)\n\n--visibility-rules 适用范围语义(HSF 反序列化约定,必读):\n - 不传:不修改原有可见范围。\n - 改为指定范围:传 [{\"type\":\"staff|dept|label|employee_type\",\"visible\":[\"id1\",\"id2\"]}, ...],\n 每条规则 type 和 visible 都必须非空。\n - 改为全公司可见(哨兵约定):必须显式传 [{\"type\":\"dept\",\"visible\":[\"-1\"]}],\n 服务端识别后会落库为空可见范围(即全公司)。\n - 反例(CLI 会拦截报错,避免被服务端静默忽略):\n * 空数组 []、[{}]、[{\"type\":\"dept\",\"visible\":[]}] 等被视为未传,不会生效为全公司可见;\n * 若要清空可见范围,必须显式传哨兵值 [\"-1\"]。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws attendance vacation update-type --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --name \"事假(修改版)\"", + "dws attendance vacation update-type --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --unit hour --per-hours 8" + ], + "group": "vacation", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "vacation_update_type", + "parameter_count": 8, + "parameters": { + "leave-code": { + "description": "假期编码(必填)", + "property": "leaveCode", + "required": true, + "type": "string" + }, + "name": { + "description": "假期名称(可选)", + "property": "name", + "required": false, + "type": "string" + }, + "paid": { + "description": "是否带薪假期(可选)", + "property": "paid", + "required": false, + "type": "boolean" + }, + "per-hours": { + "description": "一天折算小时数(可选)", + "property": "perHours", + "required": false, + "type": "integer" + }, + "unit": { + "description": "假期单位:day/halfDay/hour(可选)", + "property": "unit", + "required": false, + "type": "string" + }, + "user-say-yes": { + "description": "用户已确认,跳过交互式确认提示(Agent 调用时传 true 前必须完成用户二次确认)", + "property": "userSayYes", + "required": false, + "type": "boolean" + }, + "visibility-rules": { + "description": "适用范围规则 JSON 数组(可选)。不传=不改;[{\"type\":\"dept\",\"visible\":[\"-1\"]}]=全公司可见(哨兵);其余=改为指定范围。空数组/无效规则会报错", + "property": "visibilityRules", + "required": false, + "type": "string" + }, + "when-can-leave": { + "description": "新员工请假规则:entry/formal(可选)", + "property": "whenCanLeave", + "required": false, + "type": "string" + } + }, + "path": "attendance.vacation_update_type", + "primary_cli_path": "attendance vacation update-type", + "product_id": "attendance", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:attendance", + "title": "更新假期规则", + "use_when": [ + "更新假期单位", + "更新假期规则/修改假期类型/编辑假期规则", + "更新假期规则名称", + "更新适用范围" + ] + }, "calendar.add_attachments": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -24628,9 +28917,6 @@ ], "agent_summary": "添加参与者", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", - "aliases": [ - "calendar participant add" - ], "availability": "available", "avoid_when": [ "要“查看参与者”请改用 dws calendar attendee list", @@ -25282,9 +29568,6 @@ ], "agent_summary": "查看参与者", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", - "aliases": [ - "calendar participant list" - ], "availability": "available", "avoid_when": [ "要“添加参与者”请改用 dws calendar attendee add", @@ -25886,7 +30169,6 @@ "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ "dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.calendar.prod.json#calendar.remove_calendar_participant", - "skills/mono/SKILL.md", "skills/mono/references/products/calendar.md", "skills/mono/schema-hints/imported/wukong.json", "skills/mono/schema-hints/selection-review.json", @@ -25894,9 +30176,6 @@ ], "agent_summary": "移除参与者", "agent_summary_source": "dws-wukong-envelope@4574f7022c32", - "aliases": [ - "calendar participant delete" - ], "availability": "available", "avoid_when": [ "要“查看参与者”请改用 dws calendar attendee list", @@ -25905,11 +30184,11 @@ "canonical_path": "calendar.remove_calendar_participant", "cli_name": "delete", "cli_path": "calendar attendee delete", - "confirmation": "user_required", + "confirmation": "not_required", "description": "从已存在的指定日程中移除参与者,支持批量移除多人", "display": "日历日程 / 会议室 / 闲忙", - "effect": "destructive", - "effect_source": "skill-explicit", + "effect": "write", + "effect_source": "command-verb", "examples": [ "dws calendar attendee delete --attendees \u003cattendees\u003e --event \u003cevent\u003e" ], @@ -25952,7 +30231,7 @@ "path": "calendar.remove_calendar_participant", "primary_cli_path": "calendar attendee delete", "product_id": "calendar", - "risk": "high", + "risk": "medium", "source": "hardcoded:calendar", "title": "删除日程参与人", "use_when": [ @@ -27544,71 +31823,6 @@ "群邀请链接/入群链接/加群链接" ] }, - "chat.get_group_members": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "dws-wukong-envelope@4574f7022c32:dws-wukong-discovery.chat.prod.json#chat.get_group_members", - "skills/mono/schema-hints/imported/wukong.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "查看群成员列表", - "agent_summary_source": "dws-wukong-envelope@4574f7022c32", - "availability": "available", - "avoid_when": [ - "要“从群中移除成员”请改用 dws chat group members remove", - "要“向群中添加成员”请改用 dws chat group members add", - "要“将机器人添加到群中”请改用 dws chat group members add-bot" - ], - "canonical_path": "chat.get_group_members", - "cli_name": "list", - "cli_path": "chat group members list", - "confirmation": "not_required", - "description": "查群成员列表", - "display": "群聊 / 消息 / 机器人", - "effect": "read", - "effect_source": "command-verb", - "examples": [ - "dws chat group members list --id \u003cid\u003e" - ], - "group": "group.members", - "has_parameters": true, - "idempotency": "idempotent", - "interface_mode": "mcp", - "interface_ref": { - "product_id": "chat", - "rpc_name": "get_group_members" - }, - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "get_group_members", - "parameter_count": 2, - "parameters": { - "cursor": { - "description": "分页游标,首次从 0 开始", - "interface_description": "分页游标,首次从0开始", - "property": "cursor", - "required": false, - "type": "string" - }, - "id": { - "description": "群 ID / openconversation_id(必填)", - "interface_description": "群Id,可以从根据关键词搜索群列表服务获取", - "property": "openconversation_id", - "required": true, - "type": "string" - } - }, - "path": "chat.get_group_members", - "primary_cli_path": "chat group members list", - "product_id": "chat", - "risk": "low", - "source": "runtime:group-chat", - "title": "get_group_members", - "use_when": [ - "查看群成员列表" - ] - }, "chat.list_conversation_message_v2": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -32005,1509 +36219,6 @@ "更新卡片/流式更新卡片;流式更新卡片内容" ] }, - "conference.ai_close_camera": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "关闭摄像头", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“打开摄像头”请改用 dws conference camera open" - ], - "canonical_path": "conference.ai_close_camera", - "cli_name": "close", - "cli_path": "conference camera close", - "confirmation": "not_required", - "description": "关闭摄像头", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference camera close" - ], - "group": "camera", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_close_camera", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_close_camera", - "primary_cli_path": "conference camera close", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "关闭摄像头", - "use_when": [ - "关闭摄像头" - ] - }, - "conference.ai_close_simultaneous_interpretation": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "关闭同声传译", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“开启同声传译”请改用 dws conference interpretation open" - ], - "canonical_path": "conference.ai_close_simultaneous_interpretation", - "cli_name": "close", - "cli_path": "conference interpretation close", - "confirmation": "not_required", - "description": "关闭同声传译", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference interpretation close" - ], - "group": "interpretation", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_close_simultaneous_interpretation", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_close_simultaneous_interpretation", - "primary_cli_path": "conference interpretation close", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "关闭同声传译", - "use_when": [ - "关闭同声传译" - ] - }, - "conference.ai_close_subtitle": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "关闭实时字幕", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“开启实时字幕”请改用 dws conference subtitle open" - ], - "canonical_path": "conference.ai_close_subtitle", - "cli_name": "close", - "cli_path": "conference subtitle close", - "confirmation": "not_required", - "description": "关闭实时字幕", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference subtitle close" - ], - "group": "subtitle", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_close_subtitle", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_close_subtitle", - "primary_cli_path": "conference subtitle close", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "关闭实时字幕", - "use_when": [ - "关闭实时字幕" - ] - }, - "conference.ai_close_transcript": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "关闭智能听记", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“开启智能听记”请改用 dws conference transcript open" - ], - "canonical_path": "conference.ai_close_transcript", - "cli_name": "close", - "cli_path": "conference transcript close", - "confirmation": "not_required", - "description": "关闭智能听记", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference transcript close" - ], - "group": "transcript", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_close_transcript", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_close_transcript", - "primary_cli_path": "conference transcript close", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "关闭智能听记", - "use_when": [ - "关闭智能听记" - ] - }, - "conference.ai_end_meeting_for_all": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "agent_summary": "结束整场会议并让所有参会者退出(不可逆)", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.ai_end_meeting_for_all", - "cli_name": "end", - "cli_path": "conference end", - "confirmation": "user_required", - "description": "结束会议(所有人)", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference end" - ], - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_end_meeting_for_all", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_end_meeting_for_all", - "primary_cli_path": "conference end", - "product_id": "conference", - "reviewed": true, - "risk": "high", - "source": "runtime:conference-local", - "title": "结束会议(所有人)", - "use_when": [ - "结束整场会议并让所有参会者退出(不可逆)" - ] - }, - "conference.ai_leave_myself": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "agent_summary": "本人离开当前会议(其他人继续)", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.ai_leave_myself", - "cli_name": "leave", - "cli_path": "conference leave", - "confirmation": "not_required", - "description": "离开当前会议", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference leave" - ], - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_leave_myself", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_leave_myself", - "primary_cli_path": "conference leave", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "离开当前会议", - "use_when": [ - "本人离开当前会议(其他人继续)" - ] - }, - "conference.ai_mute_all": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "主持人将会议内全体参会者静音", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“取消静音”请改用 dws conference mic unmute", - "要“静音自己”请改用 dws conference mic mute" - ], - "canonical_path": "conference.ai_mute_all", - "cli_name": "mute-all", - "cli_path": "conference mic mute-all", - "confirmation": "not_required", - "description": "全体静音", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference mic mute-all" - ], - "group": "mic", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_mute_all", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_mute_all", - "primary_cli_path": "conference mic mute-all", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "全体静音", - "use_when": [ - "主持人将会议内全体参会者静音" - ] - }, - "conference.ai_mute_mic": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "静音自己", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“主持人将会议内全体参会者静音”请改用 dws conference mic mute-all", - "要“取消静音”请改用 dws conference mic unmute" - ], - "canonical_path": "conference.ai_mute_mic", - "cli_name": "mute", - "cli_path": "conference mic mute", - "confirmation": "not_required", - "description": "静音自己", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference mic mute" - ], - "group": "mic", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_mute_mic", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_mute_mic", - "primary_cli_path": "conference mic mute", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "静音自己", - "use_when": [ - "静音自己" - ] - }, - "conference.ai_one_click_call": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "一键呼叫所有人", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“打开邀请选人面板”请改用 dws conference invite panel" - ], - "canonical_path": "conference.ai_one_click_call", - "cli_name": "all", - "cli_path": "conference invite all", - "confirmation": "not_required", - "description": "一键呼叫所有人", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference invite all" - ], - "group": "invite", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_one_click_call", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_one_click_call", - "primary_cli_path": "conference invite all", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "一键呼叫所有人", - "use_when": [ - "一键呼叫所有人" - ] - }, - "conference.ai_open_annotation": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "打开共享批注", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“停止屏幕共享”请改用 dws conference share stop", - "要“开始共享桌面”请改用 dws conference share start", - "要“打开共享选择面板”请改用 dws conference share panel" - ], - "canonical_path": "conference.ai_open_annotation", - "cli_name": "annotate", - "cli_path": "conference share annotate", - "confirmation": "not_required", - "description": "打开共享批注", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference share annotate" - ], - "group": "share", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_open_annotation", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_open_annotation", - "primary_cli_path": "conference share annotate", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "打开共享批注", - "use_when": [ - "打开共享批注" - ] - }, - "conference.ai_open_beauty_setting_page": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "打开美颜设置面板", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“打开虚拟背景设置面板”请改用 dws conference appearance background-setting" - ], - "canonical_path": "conference.ai_open_beauty_setting_page", - "cli_name": "beauty-setting", - "cli_path": "conference appearance beauty-setting", - "confirmation": "not_required", - "description": "打开美颜设置面板", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference appearance beauty-setting" - ], - "group": "appearance", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_open_beauty_setting_page", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_open_beauty_setting_page", - "primary_cli_path": "conference appearance beauty-setting", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "打开美颜设置面板", - "use_when": [ - "打开美颜设置面板" - ] - }, - "conference.ai_open_camera": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "打开摄像头", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“关闭摄像头”请改用 dws conference camera close" - ], - "canonical_path": "conference.ai_open_camera", - "cli_name": "open", - "cli_path": "conference camera open", - "confirmation": "not_required", - "description": "打开摄像头", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference camera open" - ], - "group": "camera", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_open_camera", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_open_camera", - "primary_cli_path": "conference camera open", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "打开摄像头", - "use_when": [ - "打开摄像头" - ] - }, - "conference.ai_open_interactive_panel": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "agent_summary": "打开表情互动面板", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.ai_open_interactive_panel", - "cli_name": "panel", - "cli_path": "conference interaction panel", - "confirmation": "not_required", - "description": "打开表情互动面板", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference interaction panel" - ], - "group": "interaction", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_open_interactive_panel", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_open_interactive_panel", - "primary_cli_path": "conference interaction panel", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "打开表情互动面板", - "use_when": [ - "打开表情互动面板" - ] - }, - "conference.ai_open_invite_member_panel": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "打开邀请选人面板", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“一键呼叫所有人”请改用 dws conference invite all" - ], - "canonical_path": "conference.ai_open_invite_member_panel", - "cli_name": "panel", - "cli_path": "conference invite panel", - "confirmation": "not_required", - "description": "打开邀请选人面板", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference invite panel" - ], - "group": "invite", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_open_invite_member_panel", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_open_invite_member_panel", - "primary_cli_path": "conference invite panel", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "打开邀请选人面板", - "use_when": [ - "打开邀请选人面板" - ] - }, - "conference.ai_open_security_menu": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "agent_summary": "打开安全设置菜单", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.ai_open_security_menu", - "cli_name": "menu", - "cli_path": "conference security menu", - "confirmation": "not_required", - "description": "打开安全设置菜单", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference security menu" - ], - "group": "security", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_open_security_menu", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_open_security_menu", - "primary_cli_path": "conference security menu", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "打开安全设置菜单", - "use_when": [ - "打开安全设置菜单" - ] - }, - "conference.ai_open_share_panel": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "打开共享选择面板", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“停止屏幕共享”请改用 dws conference share stop", - "要“开始共享桌面”请改用 dws conference share start", - "要“打开共享批注”请改用 dws conference share annotate" - ], - "canonical_path": "conference.ai_open_share_panel", - "cli_name": "panel", - "cli_path": "conference share panel", - "confirmation": "not_required", - "description": "打开共享选择面板", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference share panel" - ], - "group": "share", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_open_share_panel", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_open_share_panel", - "primary_cli_path": "conference share panel", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "打开共享选择面板", - "use_when": [ - "打开共享选择面板" - ] - }, - "conference.ai_open_simultaneous_interpretation": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "开启同声传译", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“关闭同声传译”请改用 dws conference interpretation close" - ], - "canonical_path": "conference.ai_open_simultaneous_interpretation", - "cli_name": "open", - "cli_path": "conference interpretation open", - "confirmation": "not_required", - "description": "开启同声传译", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference interpretation open" - ], - "group": "interpretation", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_open_simultaneous_interpretation", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_open_simultaneous_interpretation", - "primary_cli_path": "conference interpretation open", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "开启同声传译", - "use_when": [ - "开启同声传译" - ] - }, - "conference.ai_open_subtitle": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "开启实时字幕", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“关闭实时字幕”请改用 dws conference subtitle close" - ], - "canonical_path": "conference.ai_open_subtitle", - "cli_name": "open", - "cli_path": "conference subtitle open", - "confirmation": "not_required", - "description": "开启实时字幕", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference subtitle open" - ], - "group": "subtitle", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_open_subtitle", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_open_subtitle", - "primary_cli_path": "conference subtitle open", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "开启实时字幕", - "use_when": [ - "开启实时字幕" - ] - }, - "conference.ai_open_transcript": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "开启智能听记", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“关闭智能听记”请改用 dws conference transcript close" - ], - "canonical_path": "conference.ai_open_transcript", - "cli_name": "open", - "cli_path": "conference transcript open", - "confirmation": "not_required", - "description": "开启智能听记", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference transcript open" - ], - "group": "transcript", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_open_transcript", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_open_transcript", - "primary_cli_path": "conference transcript open", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "开启智能听记", - "use_when": [ - "开启智能听记" - ] - }, - "conference.ai_open_virtual_background_setting_page": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "打开虚拟背景设置面板", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“打开美颜设置面板”请改用 dws conference appearance beauty-setting" - ], - "canonical_path": "conference.ai_open_virtual_background_setting_page", - "cli_name": "background-setting", - "cli_path": "conference appearance background-setting", - "confirmation": "not_required", - "description": "打开虚拟背景设置面板", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference appearance background-setting" - ], - "group": "appearance", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_open_virtual_background_setting_page", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_open_virtual_background_setting_page", - "primary_cli_path": "conference appearance background-setting", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "打开虚拟背景设置面板", - "use_when": [ - "打开虚拟背景设置面板" - ] - }, - "conference.ai_request_record": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "申请录制权限", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“停止当前会议的云端录制”请改用 dws conference record stop", - "要“开始云端录制当前会议”请改用 dws conference record start" - ], - "canonical_path": "conference.ai_request_record", - "cli_name": "request", - "cli_path": "conference record request", - "confirmation": "not_required", - "description": "申请录制权限", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference record request" - ], - "group": "record", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_request_record", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_request_record", - "primary_cli_path": "conference record request", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "申请录制权限", - "use_when": [ - "申请录制权限" - ] - }, - "conference.ai_share_desktop": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "开始共享桌面", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“停止屏幕共享”请改用 dws conference share stop", - "要“打开共享批注”请改用 dws conference share annotate", - "要“打开共享选择面板”请改用 dws conference share panel" - ], - "canonical_path": "conference.ai_share_desktop", - "cli_name": "start", - "cli_path": "conference share start", - "confirmation": "not_required", - "description": "开始共享桌面", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference share start" - ], - "group": "share", - "has_parameters": true, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_share_desktop", - "parameter_count": 1, - "parameters": { - "capture-speaker": { - "description": "是否共享电脑音频", - "property": "capture_speaker", - "required": false, - "type": "string" - } - }, - "path": "conference.ai_share_desktop", - "primary_cli_path": "conference share start", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "开始共享桌面", - "use_when": [ - "开始共享桌面" - ] - }, - "conference.ai_start_cloud_record": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "开始云端录制当前会议", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“停止当前会议的云端录制”请改用 dws conference record stop", - "要“申请录制权限”请改用 dws conference record request" - ], - "canonical_path": "conference.ai_start_cloud_record", - "cli_name": "start", - "cli_path": "conference record start", - "confirmation": "not_required", - "description": "开始云端录制", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference record start" - ], - "group": "record", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_start_cloud_record", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_start_cloud_record", - "primary_cli_path": "conference record start", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "开始云端录制", - "use_when": [ - "开始云端录制当前会议" - ] - }, - "conference.ai_stop_cloud_record": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "停止当前会议的云端录制", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“开始云端录制当前会议”请改用 dws conference record start", - "要“申请录制权限”请改用 dws conference record request" - ], - "canonical_path": "conference.ai_stop_cloud_record", - "cli_name": "stop", - "cli_path": "conference record stop", - "confirmation": "not_required", - "description": "停止云端录制", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference record stop" - ], - "group": "record", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_stop_cloud_record", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_stop_cloud_record", - "primary_cli_path": "conference record stop", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "停止云端录制", - "use_when": [ - "停止当前会议的云端录制" - ] - }, - "conference.ai_stop_share": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "停止屏幕共享", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“开始共享桌面”请改用 dws conference share start", - "要“打开共享批注”请改用 dws conference share annotate", - "要“打开共享选择面板”请改用 dws conference share panel" - ], - "canonical_path": "conference.ai_stop_share", - "cli_name": "stop", - "cli_path": "conference share stop", - "confirmation": "not_required", - "description": "停止屏幕共享", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference share stop" - ], - "group": "share", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_stop_share", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_stop_share", - "primary_cli_path": "conference share stop", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "停止屏幕共享", - "use_when": [ - "停止屏幕共享" - ] - }, - "conference.ai_switch_gallery_view": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "切换宫格视图", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“切换标准视图”请改用 dws conference view standard", - "要“切换演讲者视图”请改用 dws conference view speaker" - ], - "canonical_path": "conference.ai_switch_gallery_view", - "cli_name": "grid", - "cli_path": "conference view grid", - "confirmation": "not_required", - "description": "切换宫格视图", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference view grid" - ], - "group": "view", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_switch_gallery_view", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_switch_gallery_view", - "primary_cli_path": "conference view grid", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "切换宫格视图", - "use_when": [ - "切换宫格视图" - ] - }, - "conference.ai_switch_speaker_view": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "切换演讲者视图", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“切换宫格视图”请改用 dws conference view grid", - "要“切换标准视图”请改用 dws conference view standard" - ], - "canonical_path": "conference.ai_switch_speaker_view", - "cli_name": "speaker", - "cli_path": "conference view speaker", - "confirmation": "not_required", - "description": "切换演讲者视图", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference view speaker" - ], - "group": "view", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_switch_speaker_view", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_switch_speaker_view", - "primary_cli_path": "conference view speaker", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "切换演讲者视图", - "use_when": [ - "切换演讲者视图" - ] - }, - "conference.ai_switch_standard_view": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "切换标准视图", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“切换宫格视图”请改用 dws conference view grid", - "要“切换演讲者视图”请改用 dws conference view speaker" - ], - "canonical_path": "conference.ai_switch_standard_view", - "cli_name": "standard", - "cli_path": "conference view standard", - "confirmation": "not_required", - "description": "切换标准视图", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference view standard" - ], - "group": "view", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_switch_standard_view", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_switch_standard_view", - "primary_cli_path": "conference view standard", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "切换标准视图", - "use_when": [ - "切换标准视图" - ] - }, - "conference.ai_take_group_photo": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "agent_summary": "发起全员合影", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.ai_take_group_photo", - "cli_name": "take", - "cli_path": "conference photo take", - "confirmation": "not_required", - "description": "发起全员合影", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference photo take" - ], - "group": "photo", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_take_group_photo", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_take_group_photo", - "primary_cli_path": "conference photo take", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "发起全员合影", - "use_when": [ - "发起全员合影" - ] - }, - "conference.ai_unmute_mic": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "取消静音", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "要“主持人将会议内全体参会者静音”请改用 dws conference mic mute-all", - "要“静音自己”请改用 dws conference mic mute" - ], - "canonical_path": "conference.ai_unmute_mic", - "cli_name": "unmute", - "cli_path": "conference mic unmute", - "confirmation": "not_required", - "description": "取消静音", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference mic unmute" - ], - "group": "mic", - "has_parameters": false, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "ai_unmute_mic", - "parameter_count": 0, - "parameters": {}, - "path": "conference.ai_unmute_mic", - "primary_cli_path": "conference mic unmute", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "取消静音", - "use_when": [ - "取消静音" - ] - }, - "conference.create_conference": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "agent_summary": "发起一场即时会议", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.create_conference", - "cli_name": "start", - "cli_path": "conference start", - "confirmation": "not_required", - "description": "发起即时会议", - "display": "视频会议", - "effect": "write", - "effect_source": "agent-hint", - "examples": [ - "dws conference start" - ], - "has_parameters": true, - "idempotency": "unknown", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "create_conference", - "parameter_count": 1, - "parameters": { - "title": { - "description": "会议标题", - "property": "title", - "required": false, - "type": "string" - } - }, - "path": "conference.create_conference", - "primary_cli_path": "conference start", - "product_id": "conference", - "reviewed": true, - "risk": "medium", - "source": "runtime:conference-local", - "title": "发起即时会议", - "use_when": [ - "发起一场即时会议" - ] - }, - "conference.get_conference_id": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "agent_summary": "获取当前所在会议的会议 ID(需在会议中)", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.get_conference_id", - "cli_name": "get-id", - "cli_path": "conference get-id", - "confirmation": "not_required", - "description": "获取当前会议的会议ID(需要在会议中)", - "display": "视频会议", - "effect": "read", - "effect_source": "agent-hint", - "examples": [ - "dws conference get-id" - ], - "has_parameters": false, - "idempotency": "idempotent", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "get_conference_id", - "parameter_count": 0, - "parameters": {}, - "path": "conference.get_conference_id", - "primary_cli_path": "conference get-id", - "product_id": "conference", - "reviewed": true, - "risk": "low", - "source": "runtime:conference-local", - "title": "获取当前会议的会议ID(需要在会议中)", - "use_when": [ - "获取当前所在会议的会议 ID(需在会议中)" - ] - }, - "conference.get_conference_status": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "skills/mono/schema-hints/conference.json", - "skills/mono/schema-hints/selection-review.json" - ], - "agent_summary": "查询当前会议状态(是否在会议中)", - "agent_summary_source": "conference-schema-review", - "availability": "unavailable", - "avoid_when": [ - "当前开源版本未提供可用会议后端;未安装并启用受审查的会议插件时不要使用" - ], - "canonical_path": "conference.get_conference_status", - "cli_name": "status", - "cli_path": "conference status", - "confirmation": "not_required", - "description": "查询当前会议状态", - "display": "视频会议", - "effect": "read", - "effect_source": "agent-hint", - "examples": [ - "dws conference status" - ], - "has_parameters": false, - "idempotency": "idempotent", - "interface_mode": "unavailable", - "interface_reason": "当前开源版本的 conference 产品已下线,仅保留冻结兼容命令面,未注册静态 MCP 后端", - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "get_conference_status", - "parameter_count": 0, - "parameters": {}, - "path": "conference.get_conference_status", - "primary_cli_path": "conference status", - "product_id": "conference", - "reviewed": true, - "risk": "low", - "source": "runtime:conference-local", - "title": "查询当前会议状态", - "use_when": [ - "查询当前会议状态(是否在会议中)" - ] - }, "contact.get_authorized_emp_rosterInfo": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -34433,7 +37144,7 @@ ] ] }, - "description": "查看后台连接器守护进程状态(pid、运行时长、日志路径)", + "description": "查看连接器健康状态(healthy/degraded/down,pid、收发活动、日志路径;--json 供外部托管消费)", "display": "开放平台开发者能力", "effect": "read", "effect_source": "command-verb", @@ -35793,14 +38504,14 @@ "confirmation": "not_required", "description": "发布指定版本(含高敏权限需 --confirmed-sensitive)", "display": "开放平台开发者能力", - "effect": "read", + "effect": "write", "effect_source": "command-verb", "examples": [ "dws dev app version publish --unified-app-id \u003cunifiedAppId\u003e --version-id \u003cversionId\u003e --dry-run --format json" ], "group": "app.version", "has_parameters": true, - "idempotency": "idempotent", + "idempotency": "unknown", "interface_mode": "mcp", "interface_ref": { "product_id": "devapp", @@ -35839,7 +38550,7 @@ "primary_cli_path": "dev app version publish", "product_id": "dev", "reviewed": true, - "risk": "low", + "risk": "medium", "source": "hardcoded:dev", "title": "发布指定版本(含高敏权限需 --confirmed-sensitive)", "use_when": [ @@ -36691,387 +39402,6 @@ "更新开放平台应用安全配置" ] }, - "devdoc.devdoc_rag_pretest": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "internal/cli/schema_mcp_metadata.json#tools.devdoc.devdoc_rag_pretest", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "按关键词检索钉钉开放平台文档,只返回参考资料、参考资料链接和RAG上下文,不生成AI分析答案。", - "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", - "availability": "available", - "avoid_when": [ - "要“按关键词搜索 open.dingtalk.com 开放平台文档”请改用 dws devdoc article search", - "要“根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包”请改用 dws devdoc article legacy-search", - "要“根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包”请改用 dws devdoc article legacy-search-open-platform" - ], - "canonical_path": "devdoc.devdoc_rag_pretest", - "cli_name": "rag-pretest", - "cli_path": "devdoc article rag-pretest", - "confirmation": "not_required", - "description": "按关键词检索钉钉开放平台文档,只返回参考资料、参考资料链接和RAG上下文,不生成AI分析答案。", - "display": "开放平台文档搜索", - "effect": "read", - "effect_source": "command-verb", - "examples": [ - "dws devdoc article rag-pretest \u003ckeyword\u003e --keyword \u003ckeyword\u003e" - ], - "group": "article", - "has_parameters": true, - "idempotency": "idempotent", - "interface_mode": "mcp", - "interface_ref": { - "product_id": "devdoc", - "rpc_name": "devdoc_rag_pretest" - }, - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "devdoc_rag_pretest", - "parameter_count": 4, - "parameters": { - "cursor": { - "description": "分页游标,首次不传;翻页传上次返回的 nextCursor。传入后不再使用 page。", - "interface_description": "翻页游标", - "property": "cursor", - "required": false, - "type": "string" - }, - "keyword": { - "description": "搜索关键词(必填,可作为 positional 参数直接传入;--query 为兼容别名)", - "interface_description": "搜索关键词,例如:机器人、文档权限、OAuth2 接入", - "property": "keyword", - "required": true, - "type": "string" - }, - "page": { - "default": "1", - "description": "分页页码,从 1 开始;默认 1。", - "interface_description": "分页页码,从 1 开始,默认 1", - "interface_type": "number", - "property": "page", - "required": false, - "type": "integer" - }, - "size": { - "default": "20", - "description": "每页数量;默认 20。", - "interface_description": "分页大小,默认 10", - "interface_type": "number", - "property": "size", - "required": false, - "type": "integer" - } - }, - "path": "devdoc.devdoc_rag_pretest", - "positionals": [ - { - "description": "搜索关键词(必填,可作为 positional 参数直接传入;--query 为兼容别名)", - "index": 0, - "name": "keyword", - "required": true, - "type": "string" - } - ], - "primary_cli_path": "devdoc article rag-pretest", - "product_id": "devdoc", - "reviewed": false, - "risk": "low", - "source": "runtime:devdoc", - "title": "devdoc_rag_pretest", - "use_when": [ - "按关键词检索钉钉开放平台文档,只返回参考资料、参考资料链接和RAG上下文,不生成AI分析答案。" - ] - }, - "devdoc.search_dingtalk_open_docs": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "internal/cli/schema_mcp_metadata.json#tools.devdoc.search_dingtalk_open_docs", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。", - "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", - "availability": "available", - "avoid_when": [ - "要“按关键词搜索 open.dingtalk.com 开放平台文档”请改用 dws devdoc article search", - "要“按关键词检索钉钉开放平台文档,只返回参考资料、参考资料链接和RA”请改用 dws devdoc article rag-pretest", - "要“根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包”请改用 dws devdoc article legacy-search-open-platform" - ], - "canonical_path": "devdoc.search_dingtalk_open_docs", - "cli_name": "legacy-search", - "cli_path": "devdoc article legacy-search", - "confirmation": "not_required", - "description": "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。搜索结果按相关性排序。适用于开发者在集成或调试过程中快速查找 API 说明、接入指南、错误码解释等技术资料。", - "display": "开放平台文档搜索", - "effect": "read", - "effect_source": "command-verb", - "examples": [ - "dws devdoc article legacy-search \u003ckeyword\u003e --keyword \u003ckeyword\u003e" - ], - "group": "article", - "has_parameters": true, - "idempotency": "idempotent", - "interface_mode": "mcp", - "interface_ref": { - "product_id": "devdoc", - "rpc_name": "search_dingtalk_open_docs" - }, - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "search_dingtalk_open_docs", - "parameter_count": 3, - "parameters": { - "keyword": { - "description": "搜索关键词(必填,可作为 positional 参数直接传入;--query 为兼容别名)", - "interface_description": "用户搜索关键词", - "property": "keyword", - "required": true, - "type": "string" - }, - "page": { - "default": "1", - "description": "分页页码,从 1 开始;默认 1。", - "property": "page", - "required": false, - "type": "integer" - }, - "size": { - "default": "20", - "description": "每页数量;默认 20。", - "property": "size", - "required": false, - "type": "integer" - } - }, - "path": "devdoc.search_dingtalk_open_docs", - "positionals": [ - { - "description": "搜索关键词(必填,可作为 positional 参数直接传入;--query 为兼容别名)", - "index": 0, - "name": "keyword", - "required": true, - "type": "string" - } - ], - "primary_cli_path": "devdoc article legacy-search", - "product_id": "devdoc", - "reviewed": false, - "risk": "low", - "source": "runtime:devdoc", - "title": "search_dingtalk_open_docs", - "use_when": [ - "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。" - ] - }, - "devdoc.search_open_error_code_rag": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "internal/cli/schema_mcp_metadata.json#tools.devdoc.search_open_error_code_rag", - "skills/mono/schema-hints/selection-review.json" - ], - "agent_summary": "按原始问题、requestId/traceId、错误码或错误描述排查钉钉开放平台调用错误;", - "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", - "availability": "available", - "avoid_when": [ - "需要创建、修改或删除数据时不要使用;本命令只用于“按原始问题、requestId/traceId、错误码或错误描述排查钉钉开放平台调用错误;”" - ], - "canonical_path": "devdoc.search_open_error_code_rag", - "cli_name": "diagnose", - "cli_path": "devdoc error diagnose", - "confirmation": "not_required", - "constraints": { - "require_one_of": [ - [ - "query", - "request-id", - "error-code", - "error-message", - "context" - ] - ] - }, - "description": "按原始问题、requestId/traceId、错误码或错误描述排查钉钉开放平台调用错误;只返回诊断事实、参考资料、参考资料链接和 RAG 上下文,不生成 AI 分析答案。", - "display": "开放平台文档搜索", - "effect": "read", - "effect_source": "command-verb", - "examples": [ - "dws devdoc error diagnose --query \u003cquery\u003e" - ], - "group": "error", - "has_parameters": true, - "idempotency": "idempotent", - "interface_mode": "mcp", - "interface_ref": { - "product_id": "devdoc", - "rpc_name": "search_open_error_code_rag" - }, - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "search_open_error_code_rag", - "parameter_count": 9, - "parameters": { - "api": { - "description": "API 名称,会合并进原始问题作为补充检索词", - "property": "api", - "required": false, - "type": "string" - }, - "context": { - "description": "额外排查上下文,会合并进原始问题", - "property": "context", - "required": false, - "type": "string" - }, - "cursor": { - "description": "分页游标,翻页传上次返回的 nextCursor;传入后不再使用 --page", - "interface_description": "动态翻页字段", - "property": "cursor", - "required": false, - "type": "string" - }, - "error-code": { - "description": "错误码", - "interface_description": "开放平台错误码,例如 33012", - "property": "errorCode", - "required": false, - "type": "string" - }, - "error-message": { - "description": "错误描述,会合并进原始问题", - "property": "errorMessage", - "required": false, - "type": "string" - }, - "page": { - "default": "1", - "description": "分页页码 (从 1 开始,默认 1)", - "interface_description": "分页页码,从 1 开始,默认 1", - "interface_type": "number", - "property": "page", - "required": false, - "type": "integer" - }, - "query": { - "description": "原始排查问题", - "interface_description": "原始排查问题,可包含完整报错现象、失败场景、API 名称、错误描述或其他上下文", - "property": "query", - "required": false, - "type": "string" - }, - "request-id": { - "description": "开放平台 requestId", - "interface_description": "开放平台 requestId;如只有 traceId,也填入此字段", - "property": "requestId", - "required": false, - "type": "string" - }, - "size": { - "default": "10", - "description": "分页大小 (默认 10)", - "interface_description": "分页大小,默认 10", - "interface_type": "number", - "property": "size", - "required": false, - "type": "integer" - } - }, - "path": "devdoc.search_open_error_code_rag", - "primary_cli_path": "devdoc error diagnose", - "product_id": "devdoc", - "reviewed": false, - "risk": "low", - "source": "hardcoded:devdoc", - "title": "search_open_error_code_rag", - "use_when": [ - "按原始问题、requestId/traceId、错误码或错误描述排查钉钉开放平台调用错误;" - ] - }, - "devdoc.search_open_platform_docs": { - "agent_metadata_source": "embedded-skill-metadata", - "agent_source_refs": [ - "internal/cli/schema_mcp_metadata.json#tools.devdoc.search_open_platform_docs", - "skills/mono/schema-hints/selection-review.json", - "skills/mono/schema-hints/sibling-disambiguation.json" - ], - "agent_summary": "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。", - "agent_summary_source": "mcp-tools-list+cli-registry@4574f7022c32", - "availability": "available", - "avoid_when": [ - "要“按关键词搜索 open.dingtalk.com 开放平台文档”请改用 dws devdoc article search", - "要“按关键词检索钉钉开放平台文档,只返回参考资料、参考资料链接和RA”请改用 dws devdoc article rag-pretest", - "要“根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包”请改用 dws devdoc article legacy-search" - ], - "canonical_path": "devdoc.search_open_platform_docs", - "cli_name": "legacy-search-open-platform", - "cli_path": "devdoc article legacy-search-open-platform", - "confirmation": "not_required", - "description": "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。搜索结果按相关性排序。适用于开发者在集成或调试过程中快速查找 API 说明、接入指南、错误码解释等技术资料。", - "display": "开放平台文档搜索", - "effect": "read", - "effect_source": "command-verb", - "examples": [ - "dws devdoc article legacy-search-open-platform \u003ckeyword\u003e --keyword \u003ckeyword\u003e" - ], - "group": "article", - "has_parameters": true, - "idempotency": "idempotent", - "interface_mode": "mcp", - "interface_ref": { - "product_id": "devdoc", - "rpc_name": "search_open_platform_docs" - }, - "is_alias": false, - "metadata_source": "embedded-command-catalog", - "name": "search_open_platform_docs", - "parameter_count": 3, - "parameters": { - "keyword": { - "description": "搜索关键词(必填,可作为 positional 参数直接传入;--query 为兼容别名)", - "interface_description": "搜索关键词", - "property": "keyword", - "required": true, - "type": "string" - }, - "page": { - "default": "1", - "description": "分页页码,从 1 开始;默认 1。", - "interface_description": "分页页码", - "interface_type": "number", - "property": "page", - "required": false, - "type": "integer" - }, - "size": { - "default": "20", - "description": "每页数量;默认 20。", - "interface_description": "分页大小", - "interface_type": "number", - "property": "size", - "required": false, - "type": "integer" - } - }, - "path": "devdoc.search_open_platform_docs", - "positionals": [ - { - "description": "搜索关键词(必填,可作为 positional 参数直接传入;--query 为兼容别名)", - "index": 0, - "name": "keyword", - "required": true, - "type": "string" - } - ], - "primary_cli_path": "devdoc article legacy-search-open-platform", - "product_id": "devdoc", - "reviewed": false, - "risk": "low", - "source": "runtime:devdoc", - "title": "search_open_platform_docs", - "use_when": [ - "根据关键词搜索钉钉开放平台的开发文档,返回匹配的文档条目列表,包含标题、摘要、文档链接和相关标签。" - ] - }, "devdoc.search_open_platform_docs_rag": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -38307,6 +40637,58 @@ "这个 alidocs 表格链接帮我看下\"(粘贴原始 URL);先 probe 节点类型" ] }, + "doc.import_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/doc.md", + "skills/mono/references/products/doc/doc-import.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "根据 taskId 查询文档导入任务的执行结果", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据 taskId 查询文档导入任务的执行结果时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "doc.import_get", + "cli_name": "get", + "cli_path": "doc import get", + "confirmation": "not_required", + "description": "根据 taskId 查询文档导入任务的执行结果。\n通常不需要手动调用,dws doc import 会自动完成轮询。\n仅在导入命令超时或中断后,用于手动查询任务状态。\n\n任务状态:\n processing 转换中\n completed 导入成功,返回 documentUrl\n failed 导入失败", + "display": "钉钉文档管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc import get --task-id \u003cTASK_ID\u003e", + "dws doc import get --task-id \u003cTASK_ID\u003e --format json" + ], + "group": "import", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "import_get", + "parameter_count": 1, + "parameters": { + "task-id": { + "description": "导入任务 ID (必填)", + "property": "taskId", + "required": true, + "type": "string" + } + }, + "path": "doc.import_get", + "primary_cli_path": "doc import get", + "product_id": "doc", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:doc", + "title": "查询导入任务结果(手动兜底)", + "use_when": [ + "根据 taskId 查询文档导入任务的执行结果" + ] + }, "doc.insert_document_block": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -39406,6 +41788,201 @@ "搜索文档(不传关键词返回最近访问)" ] }, + "doc.template_apply": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "使用指定模板创建新文档", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要使用指定模板创建新文档时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "doc.template_apply", + "cli_name": "apply", + "cli_path": "doc template apply", + "confirmation": "not_required", + "description": "使用指定模板创建新文档。", + "display": "钉钉文档管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc template apply --help" + ], + "group": "template", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "template_apply", + "parameter_count": 4, + "parameters": { + "folder": { + "description": "目标文件夹 ID (可选)", + "property": "folder", + "required": false, + "type": "string" + }, + "name": { + "description": "新文档名称 (可选)", + "property": "name", + "required": false, + "type": "string" + }, + "template-id": { + "description": "模板 ID (必填)", + "property": "templateId", + "required": true, + "type": "string" + }, + "workspace": { + "description": "知识库 ID (可选)", + "property": "workspace", + "required": false, + "type": "string" + } + }, + "path": "doc.template_apply", + "primary_cli_path": "doc template apply", + "product_id": "doc", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:doc", + "title": "应用文档模板", + "use_when": [ + "使用指定模板创建新文档" + ] + }, + "doc.template_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "获取当前用户可用的文档模板列表,支持按来源筛选", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要获取当前用户可用的文档模板列表,支持按来源筛选时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "doc.template_list", + "cli_name": "list", + "cli_path": "doc template list", + "confirmation": "not_required", + "description": "获取当前用户可用的文档模板列表,支持按来源筛选。", + "display": "钉钉文档管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc template list --help" + ], + "group": "template", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "template_list", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页游标", + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "description": "返回数量上限", + "property": "limit", + "required": false, + "type": "integer" + }, + "source": { + "description": "模板来源: MY(我的模版)/PUBLIC(公开模版),不传默认 MY", + "property": "source", + "required": false, + "type": "string" + } + }, + "path": "doc.template_list", + "primary_cli_path": "doc template list", + "product_id": "doc", + "reviewed": false, + "risk": "low", + "source": "hardcoded:doc", + "title": "获取文档模板列表", + "use_when": [ + "获取当前用户可用的文档模板列表,支持按来源筛选" + ] + }, + "doc.template_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "根据关键词搜索文档模板", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据关键词搜索文档模板时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "doc.template_search", + "cli_name": "search", + "cli_path": "doc template search", + "confirmation": "not_required", + "description": "根据关键词搜索文档模板。", + "display": "钉钉文档管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc template search --help" + ], + "group": "template", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "template_search", + "parameter_count": 4, + "parameters": { + "cursor": { + "description": "分页游标", + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "description": "返回数量上限", + "property": "limit", + "required": false, + "type": "integer" + }, + "query": { + "description": "搜索关键词 (必填)", + "property": "query", + "required": true, + "type": "string" + }, + "source": { + "description": "模板来源: MY(我的模版)/PUBLIC(公开模版),不传默认 MY", + "property": "source", + "required": false, + "type": "string" + } + }, + "path": "doc.template_search", + "primary_cli_path": "doc template search", + "product_id": "doc", + "reviewed": false, + "risk": "low", + "source": "hardcoded:doc", + "title": "搜索文档模板", + "use_when": [ + "根据关键词搜索文档模板" + ] + }, "doc.update_document": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -39846,6 +42423,171 @@ "上传文件到钉钉文档或知识库" ] }, + "doc.version_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "查看文档历史版本列表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查看文档历史版本列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "doc.version_list", + "cli_name": "list", + "cli_path": "doc version list", + "confirmation": "not_required", + "description": "查看文档历史版本列表", + "display": "钉钉文档管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc version list --help" + ], + "group": "version", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "version_list", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页游标", + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "description": "返回版本数量上限", + "property": "limit", + "required": false, + "type": "integer" + }, + "node": { + "description": "文档 ID 或 URL (必填)", + "property": "node", + "required": true, + "type": "string" + } + }, + "path": "doc.version_list", + "primary_cli_path": "doc version list", + "product_id": "doc", + "reviewed": false, + "risk": "low", + "source": "hardcoded:doc", + "title": "查看文档历史版本列表", + "use_when": [ + "查看文档历史版本列表" + ] + }, + "doc.version_revert": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "回滚文档到指定版本", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要回滚文档到指定版本时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "doc.version_revert", + "cli_name": "revert", + "cli_path": "doc version revert", + "confirmation": "not_required", + "description": "回滚文档到指定版本", + "display": "钉钉文档管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc version revert --help" + ], + "group": "version", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "version_revert", + "parameter_count": 2, + "parameters": { + "node": { + "description": "文档 ID 或 URL (必填)", + "property": "node", + "required": true, + "type": "string" + }, + "version": { + "description": "目标版本号 (必填,从 list 获取)", + "property": "version", + "required": true, + "type": "integer" + } + }, + "path": "doc.version_revert", + "primary_cli_path": "doc version revert", + "product_id": "doc", + "reviewed": false, + "risk": "low", + "source": "hardcoded:doc", + "title": "回滚文档到指定版本", + "use_when": [ + "回滚文档到指定版本" + ] + }, + "doc.version_save": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "手动保存文档版本快照", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要手动保存文档版本快照时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "doc.version_save", + "cli_name": "save", + "cli_path": "doc version save", + "confirmation": "not_required", + "description": "手动保存文档版本快照", + "display": "钉钉文档管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc version save --help" + ], + "group": "version", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "version_save", + "parameter_count": 1, + "parameters": { + "node": { + "description": "文档 ID 或 URL (必填)", + "property": "node", + "required": true, + "type": "string" + } + }, + "path": "doc.version_save", + "primary_cli_path": "doc version save", + "product_id": "doc", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:doc", + "title": "手动保存文档版本快照", + "use_when": [ + "手动保存文档版本快照" + ] + }, "drive.add_permission": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -40899,6 +43641,364 @@ "修改企业用户在知识库节点上的角色(仅支持 USER 类型)。" ] }, + "drive.publish_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/drive.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "查询文件当前是否处于互联网公开发布状态,以及公开发布的权限设置", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查询文件当前是否处于互联网公开发布状态,以及公开发布的权限设置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "drive.publish_get", + "cli_name": "get", + "cli_path": "drive publish get", + "confirmation": "not_required", + "description": "查询文件当前是否处于互联网公开发布状态,以及公开发布的权限设置。", + "display": "钉盘文件管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws drive publish get --node \u003cfileId\u003e", + "dws drive publish get --node \u003cdentryUuid\u003e" + ], + "group": "publish", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "publish_get", + "parameter_count": 1, + "parameters": { + "node": { + "description": "目标文件 ID (dentryUuid) 或 URL (必填)", + "property": "node", + "required": true, + "type": "string" + } + }, + "path": "drive.publish_get", + "primary_cli_path": "drive publish get", + "product_id": "drive", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:drive", + "title": "查询文件公开发布状态", + "use_when": [ + "查看公开状态/是否公开/发布状态" + ] + }, + "drive.publish_set": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/drive.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "[危险] 将文件设置为互联网公开发布", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要[危险] 将文件设置为互联网公开发布时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "drive.publish_set", + "cli_name": "set", + "cli_path": "drive publish set", + "confirmation": "not_required", + "description": "[危险] 将文件设置为互联网公开发布。公开后任何人通过链接即可访问,无需登录钉钉。\n操作者需要是该文件的管理员或拥有者。执行前需要确认,或传入 --yes 跳过确认。\n\n公开权限 (--permission): READER(仅可查看) / DOWNLOADER(可查看和下载,默认) / EDITOR(可编辑)", + "display": "钉盘文件管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws drive publish set --node \u003cfileId\u003e [--permission READER|DOWNLOADER|EDITOR]", + "dws drive publish set --node \u003cdentryUuid\u003e" + ], + "group": "publish", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "publish_set", + "parameter_count": 2, + "parameters": { + "node": { + "description": "目标文件 ID (dentryUuid) 或 URL (必填)", + "property": "node", + "required": true, + "type": "string" + }, + "permission": { + "description": "公开后的权限: READER / DOWNLOADER(默认) / EDITOR", + "property": "permission", + "required": false, + "type": "string" + } + }, + "path": "drive.publish_set", + "primary_cli_path": "drive publish set", + "product_id": "drive", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:drive", + "title": "[危险] 设置文件为互联网公开", + "use_when": [ + "公开文件/互联网公开/设置公开/让互联网所有人可访问" + ] + }, + "drive.publish_unset": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/drive.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "[危险] 关闭文件的互联网公开发布", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要[危险] 关闭文件的互联网公开发布时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "drive.publish_unset", + "cli_name": "unset", + "cli_path": "drive publish unset", + "confirmation": "not_required", + "description": "[危险] 关闭文件的互联网公开发布。关闭后外部用户将无法再通过链接访问。执行前需要确认,或传入 --yes 跳过确认。", + "display": "钉盘文件管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws drive publish unset --node \u003cfileId\u003e", + "dws drive publish unset --node \u003cdentryUuid\u003e" + ], + "group": "publish", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "publish_unset", + "parameter_count": 1, + "parameters": { + "node": { + "description": "目标文件 ID (dentryUuid) 或 URL (必填)", + "property": "node", + "required": true, + "type": "string" + } + }, + "path": "drive.publish_unset", + "primary_cli_path": "drive publish unset", + "product_id": "drive", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:drive", + "title": "[危险] 关闭文件互联网公开", + "use_when": [ + "关闭公开/取消公开/取消互联网访问" + ] + }, + "drive.recent": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/drive.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "获取当前用户最近访问或编辑过的文档列表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要获取当前用户最近访问或编辑过的文档列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "drive.recent", + "cli_name": "recent", + "cli_path": "drive recent", + "confirmation": "not_required", + "description": "获取当前用户最近访问或编辑过的文档列表。\n\n支持按文档类型、操作类型、创建人、所属组织过滤。所有过滤条件均为可选,不传则不过滤。\n\n操作类型 (--operate-type):\n 0 最近访问(含打开+编辑)(默认)\n 1 最近编辑\n 不传默认仅返回最近访问(0)\n\n创建人类型 (--creator-type):\n 0 全部 (默认)\n 1 我创建的\n 2 他人创建的", + "display": "钉盘文件管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws drive recent", + "dws drive recent --operate-type 1" + ], + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "recent", + "parameter_count": 6, + "parameters": { + "creator-type": { + "description": "按创建人过滤: 0=全部, 1=我创建, 2=他人创建", + "property": "creatorType", + "required": false, + "type": "integer" + }, + "cursor": { + "description": "分页游标 (从上次结果的 nextCursor 获取)", + "property": "cursor", + "required": false, + "type": "string" + }, + "file-types": { + "default": "[]", + "description": "按文档类型过滤,逗号分隔 (参考 RecentAccessType 枚举)", + "property": "fileTypes", + "required": false, + "type": "string" + }, + "limit": { + "description": "每页数量 (默认 20,最大 20)", + "property": "limit", + "required": false, + "type": "integer" + }, + "operate-type": { + "default": "[]", + "description": "按操作类型过滤: 0=最近访问(默认), 1=最近编辑; 不传默认仅最近访问", + "property": "operateType", + "required": false, + "type": "string" + }, + "org-ids": { + "default": "[]", + "description": "按资源所属组织 ID 过滤,逗号分隔", + "property": "orgIds", + "required": false, + "type": "string" + } + }, + "path": "drive.recent", + "primary_cli_path": "drive recent", + "product_id": "drive", + "reviewed": false, + "risk": "low", + "source": "hardcoded:drive", + "title": "获取最近访问/编辑的文档列表", + "use_when": [ + "最近访问/最近打开/最近编辑/最近文档" + ] + }, + "drive.recycle_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/drive.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "查看回收站文件列表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要查看回收站文件列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "drive.recycle_list", + "cli_name": "list", + "cli_path": "drive recycle list", + "confirmation": "not_required", + "description": "查看回收站文件列表", + "display": "钉盘文件管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws drive recycle list", + "dws drive recycle list --space-id 12345 --limit 10" + ], + "group": "recycle", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "recycle_list", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页游标", + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "description": "返回条数上限 (默认20,最大50)", + "property": "limit", + "required": false, + "type": "integer" + }, + "space-id": { + "description": "钉盘空间 ID (选填,不传则返回所有空间)", + "property": "spaceId", + "required": false, + "type": "string" + } + }, + "path": "drive.recycle_list", + "primary_cli_path": "drive recycle list", + "product_id": "drive", + "reviewed": false, + "risk": "low", + "source": "hardcoded:drive", + "title": "查看回收站文件列表", + "use_when": [ + "8. 查看回收站并还原文件", + "回收站/查看回收站/回收站列表/回收站里有什么" + ] + }, + "drive.recycle_restore": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/drive.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "还原回收站中的文件", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要还原回收站中的文件时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "drive.recycle_restore", + "cli_name": "restore", + "cli_path": "drive recycle restore", + "confirmation": "not_required", + "description": "还原回收站中的文件", + "display": "钉盘文件管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws drive recycle restore --id \u003crecycleItemId\u003e", + "dws drive recycle restore --id \u003crecycleItemId\u003e --format json" + ], + "group": "recycle", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "recycle_restore", + "parameter_count": 1, + "parameters": { + "id": { + "description": "回收项 ID (必填,从 recycle list 获取)", + "property": "id", + "required": true, + "type": "string" + } + }, + "path": "drive.recycle_restore", + "primary_cli_path": "drive recycle restore", + "product_id": "drive", + "reviewed": false, + "risk": "low", + "source": "hardcoded:drive", + "title": "还原回收站中的文件", + "use_when": [ + "8. 查看回收站并还原文件", + "恢复文件/还原删除的文件/从回收站恢复/还原回收站文件" + ] + }, "drive.rename_document": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -45162,7 +48262,7 @@ "cli_name": "start", "cli_path": "minutes record start", "confirmation": "not_required", - "description": "发起听记 (开始录音)", + "description": "发起听记(开始录音)", "display": "AI 听记 / 会议纪要", "effect": "write", "effect_source": "command-verb", @@ -47666,6 +50766,330 @@ "追加数据/添加行/在末尾加数据/新增记录;追加数据" ] }, + "sheet.batch_update": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/sheet/sheet-batch-operations.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "将多个写操作打包为一次原子请求执行", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要将多个写操作打包为一次原子请求执行时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.batch_update", + "cli_name": "batch-update", + "cli_path": "sheet batch-update", + "confirmation": "not_required", + "description": "将多个写操作打包为一次原子请求执行。\n\n默认严格事务模式:任一子操作失败则整批回滚。\n传 --continue-on-error 切换为宽松模式(遇失败继续执行)。\n\ntoolName 使用 CLI 命令名(与原子命令一致),input 的键用 CLI flag 名去掉 --。\nCLI 层自动翻译为 MCP toolName + 参数名,无需记忆 MCP 参数名。\n\n支持的 CLI 命令名:\n range clear / range update / merge-cells / unmerge-cells / update-dimension\n range fill / range copy-to / add-dimension / delete-dimension / move-dimension\n group-dimension / ungroup-dimension\n set-dropdown / delete-dropdown / csv-put / delete-float-image\n\n注意:batch-update 中 group-dimension 适合默认展开分组;需要 --group-state fold 时请使用独立\ndws sheet group-dimension 命令。\n\n--operations 是 JSON 数组,每项包含:\n toolName CLI 命令名(如 \"range clear\", \"range update\")\n input 该命令的入参(不含 --node),键用 flag 名去掉 --\n\n完整映射表见:\n dingtalk-workspace/references/products/sheet/sheet-batch-operations.md", + "display": "钉钉表格管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws sheet batch-update --node \u003cNODE_ID\u003e --operations '[", + "dws sheet batch-update --node \u003cNODE_ID\u003e --continue-on-error --operations '[...]'" + ], + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "batch_update", + "parameter_count": 3, + "parameters": { + "continue-on-error": { + "description": "遇失败继续执行后续操作(默认 false,严格事务)", + "property": "continueOnError", + "required": false, + "type": "boolean" + }, + "node": { + "description": "表格文档 ID 或 URL (必填)", + "property": "node", + "required": true, + "type": "string" + }, + "operations": { + "description": "操作数组 JSON (必填,每项 {toolName, input})", + "property": "operations", + "required": true, + "type": "string" + } + }, + "path": "sheet.batch_update", + "primary_cli_path": "sheet batch-update", + "product_id": "sheet", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:sheet", + "title": "批量执行多个写操作(原子事务)", + "use_when": [ + "批量操作/一次执行多个写操作/原子批量/先清除再写入;多个写操作打包" + ] + }, + "sheet.chart_create": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/sheet/sheet-chart.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "在钉钉电子表格的指定工作表中创建一个浮动图表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要在钉钉电子表格的指定工作表中创建一个浮动图表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.chart_create", + "cli_name": "create", + "cli_path": "sheet chart create", + "confirmation": "not_required", + "description": "在钉钉电子表格的指定工作表中创建一个浮动图表。\n\n--properties 为 JSON 格式,包含 position(锚点位置)、dimensions(尺寸)、chart(图表配置)三个必填字段,\n以及可选的 offset(偏移量)。支持 stdin heredoc 和 @file 两种传入方式。\n\nchart.type 支持: column(柱形图)、bar(条形图)、columnStacked(堆积柱形图)、barStacked(堆积条形图)、\nline(折线图)、lineStacked(堆积折线图)、area(面积图)、areaStacked(堆积面积图)、\nareaPercentStacked(百分比堆积面积图)、pie(饼图)、doughnut(环形图)、scatter(散点图)、\nradar(雷达图)。\nchart.series[].value / chart.series[].name / chart.category 使用 A1 区域表示法(如 \"A2:B10\"),\n不指定 sheet 前缀时默认使用 --sheet-id 的值。\nposition.col 使用列字母表示法(如 \"A\"、\"AA\"),不支持数字形式。\n\n创建成功后返回新图表的完整信息,包含系统分配的 chart-id。", + "display": "钉钉表格管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws sheet chart create --node NODE_ID --sheet-id SHEET_ID --properties '{", + "dws sheet chart create --node \u003cNODE_ID\u003e --sheet-id \u003cSHEET_ID\u003e --properties '{" + ], + "group": "chart", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "chart_create", + "parameter_count": 3, + "parameters": { + "node": { + "description": "表格文档 ID 或 URL (必填)", + "property": "node", + "required": true, + "type": "string" + }, + "properties": { + "description": "图表完整配置 JSON (必填,含 position/dimensions/chart)", + "property": "properties", + "required": true, + "type": "string" + }, + "sheet-id": { + "description": "工作表 ID (必填)", + "property": "sheetId", + "required": true, + "type": "string" + } + }, + "path": "sheet.chart_create", + "primary_cli_path": "sheet chart create", + "product_id": "sheet", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:sheet", + "title": "创建浮动图表", + "use_when": [ + "3. 创建柱形图", + "创建折线图", + "创建柱形图" + ] + }, + "sheet.chart_delete": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/sheet/sheet-chart.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "删除钉钉电子表格中指定的浮动图表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要删除钉钉电子表格中指定的浮动图表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.chart_delete", + "cli_name": "delete", + "cli_path": "sheet chart delete", + "confirmation": "not_required", + "description": "删除钉钉电子表格中指定的浮动图表。\n\n注意: 这是一个危险操作,删除后图表不可恢复。执行前需要确认,或传入 --yes 跳过确认。\nchart-id 可通过 chart list 获取。", + "display": "钉钉表格管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws sheet chart delete --node NODE_ID --sheet-id SHEET_ID --chart-id CHART_ID" + ], + "group": "chart", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "chart_delete", + "parameter_count": 3, + "parameters": { + "chart-id": { + "description": "浮动图表 ID (必填,可通过 chart list 获取)", + "property": "chartId", + "required": true, + "type": "string" + }, + "node": { + "description": "表格文档 ID 或 URL (必填)", + "property": "node", + "required": true, + "type": "string" + }, + "sheet-id": { + "description": "工作表 ID 或名称 (必填)", + "property": "sheetId", + "required": true, + "type": "string" + } + }, + "path": "sheet.chart_delete", + "primary_cli_path": "sheet chart delete", + "product_id": "sheet", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:sheet", + "title": "删除浮动图表", + "use_when": [ + "删除钉钉电子表格中指定的浮动图表" + ] + }, + "sheet.chart_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/sheet/sheet-chart.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "获取钉钉电子表格指定工作表中的浮动图表", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要获取钉钉电子表格指定工作表中的浮动图表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.chart_list", + "cli_name": "list", + "cli_path": "sheet chart list", + "confirmation": "not_required", + "description": "获取钉钉电子表格指定工作表中的浮动图表。\n\n支持两种模式:\n1. 列出全部图表:不传 --chart-id,返回该工作表中所有浮动图表的列表。\n2. 获取单个图表:传入 --chart-id,返回该图表的详细信息。\n\n返回内容包含每个图表的 ID、锚点位置、尺寸坐标以及完整图表配置(类型、数据系列、分类轴、标题、图例、坐标轴等)。", + "display": "钉钉表格管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws sheet chart list --node NODE_ID --sheet-id SHEET_ID", + "dws sheet chart list --node NODE_ID --sheet-id SHEET_ID --chart-id CHART_ID" + ], + "group": "chart", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "chart_list", + "parameter_count": 3, + "parameters": { + "chart-id": { + "description": "浮动图表 ID (可选,不传则返回全部)", + "property": "chartId", + "required": false, + "type": "string" + }, + "node": { + "description": "表格文档 ID 或 URL (必填)", + "property": "node", + "required": true, + "type": "string" + }, + "sheet-id": { + "description": "工作表 ID 或名称 (必填)", + "property": "sheetId", + "required": true, + "type": "string" + } + }, + "path": "sheet.chart_list", + "primary_cli_path": "sheet chart list", + "product_id": "sheet", + "reviewed": false, + "risk": "low", + "source": "hardcoded:sheet", + "title": "获取浮动图表", + "use_when": [ + "1. 获取现有配置", + "4. 验证创建结果", + "列出所有浮动图表", + "获取单个图表详情" + ] + }, + "sheet.chart_update": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/sheet/sheet-chart.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "更新钉钉电子表格中指定浮动图表的配置", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要更新钉钉电子表格中指定浮动图表的配置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.chart_update", + "cli_name": "update", + "cli_path": "sheet chart update", + "confirmation": "not_required", + "description": "更新钉钉电子表格中指定浮动图表的配置。\n\n注意:本接口采用 PUT 语义(完整覆盖),非增量更新。\n建议先通过 chart list(传入 --chart-id)获取当前配置,修改后整体传入。\n如果只需修改部分字段(如仅修改标题),仍需传入完整的 chart 配置以避免其他字段被清空。\n\n--properties 结构与 chart create 完全相同。", + "display": "钉钉表格管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws sheet chart update --node NODE_ID --sheet-id SHEET_ID --chart-id CHART_ID --properties '{", + "dws sheet chart update --node \u003cNODE_ID\u003e --sheet-id \u003cSHEET_ID\u003e --chart-id \u003cCHART_ID\u003e --properties '\u003c完整修改后的 JSON\u003e'" + ], + "group": "chart", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "chart_update", + "parameter_count": 4, + "parameters": { + "chart-id": { + "description": "浮动图表 ID (必填,可通过 chart list 获取)", + "property": "chartId", + "required": true, + "type": "string" + }, + "node": { + "description": "表格文档 ID 或 URL (必填)", + "property": "node", + "required": true, + "type": "string" + }, + "properties": { + "description": "图表完整配置 JSON (必填,PUT 语义整体覆盖)", + "property": "properties", + "required": true, + "type": "string" + }, + "sheet-id": { + "description": "工作表 ID (必填)", + "property": "sheetId", + "required": true, + "type": "string" + } + }, + "path": "sheet.chart_update", + "primary_cli_path": "sheet chart update", + "product_id": "sheet", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:sheet", + "title": "更新浮动图表", + "use_when": [ + "3. 整体回写" + ] + }, "sheet.clear_range": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -50120,6 +53544,78 @@ "读数据/看表格内容;快速查看纯值数据、批量处理、大表分批读" ] }, + "sheet.group_dimension": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/sheet.md", + "skills/mono/references/products/sheet/sheet-dimension-operations.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "对钉钉表格指定工作表中的连续整行或整列创建分组", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要对钉钉表格指定工作表中的连续整行或整列创建分组时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.group_dimension", + "cli_name": "group-dimension", + "cli_path": "sheet group-dimension", + "confirmation": "not_required", + "description": "对钉钉表格指定工作表中的连续整行或整列创建分组。\n\n--range 使用整行/整列范围:\n 行分组:3:7 或 3\n 列分组:C:F 或 C\n\n支持在 --range 中携带工作表前缀(如 \"Sheet1!3:7\" / \"Sheet1!C:F\"),此时将忽略 --sheet-id。\n创建后可通过 sheet info --include groups 回读 rowGroups / columnGroups。\n\n--group-state 支持 expand / fold,默认 expand。", + "display": "钉钉表格管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws sheet group-dimension --node \u003cNODE_ID\u003e --sheet-id \u003cSHEET_ID\u003e --range \"3:7\"", + "dws sheet group-dimension --node \u003cNODE_ID\u003e --sheet-id \u003cSHEET_ID\u003e --range \"C:F\" --group-state fold" + ], + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "group_dimension", + "parameter_count": 4, + "parameters": { + "group-state": { + "default": "expand", + "description": "创建后的分组状态: expand 或 fold", + "property": "groupState", + "required": false, + "type": "string" + }, + "node": { + "description": "表格文档 ID 或 URL (必填)", + "property": "node", + "required": true, + "type": "string" + }, + "range": { + "description": "整行/整列范围 (必填),如 \"3:7\" 或 \"C:F\"", + "property": "range", + "required": true, + "type": "string" + }, + "sheet-id": { + "description": "工作表 ID 或名称 (必填)", + "property": "sheetId", + "required": true, + "type": "string" + } + }, + "path": "sheet.group_dimension", + "primary_cli_path": "sheet group-dimension", + "product_id": "sheet", + "reviewed": false, + "risk": "low", + "source": "hardcoded:sheet", + "title": "对指定连续行/列创建分组", + "use_when": [ + "创建行分组/创建列分组/折叠几行/折叠几列/取消行列分组;创建分组", + "创建行分组/创建列分组/折叠几行/折叠几列/展开行列分组/取消行列分组;创建分组", + "创建行分组/创建列分组/折叠几行/折叠几列/展开行列分组/取消行列分组;创建并折叠" + ] + }, "sheet.info": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -50619,6 +54115,70 @@ "移动行/移动列/调整行顺序/调整列顺序/行列拖拽/把第N行移到第M行;移动行或列" ] }, + "sheet.range_batch_clear": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/sheet/sheet-batch-operations.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "批量清除多个区域,一次原子请求", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要批量清除多个区域,一次原子请求时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.range_batch_clear", + "cli_name": "batch-clear", + "cli_path": "sheet range batch-clear", + "confirmation": "not_required", + "description": "批量清除多个区域,一次原子请求。任一区域清除失败则整批回滚。\n\n每个 --ranges 项必须包含工作表前缀(格式: \"SheetName!A1:B3\")。\n不同区域可以属于不同工作表。", + "display": "钉钉表格管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws sheet range batch-clear --node \u003cNODE_ID\u003e --ranges '[\"Sheet1!A1:B3\",\"Sheet2!C1:D5\"]'", + "dws sheet range batch-clear --node \u003cNODE_ID\u003e --ranges '[\"Sheet1!A1:Z1000\"]' --type all" + ], + "group": "range", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "range_batch_clear", + "parameter_count": 3, + "parameters": { + "node": { + "description": "表格文档 ID 或 URL (必填)", + "property": "node", + "required": true, + "type": "string" + }, + "ranges": { + "description": "目标区域 JSON 数组,每项带 sheet 前缀 (必填,如 '[\"Sheet1!A1:B3\"]')", + "format": "a1-range", + "property": "ranges", + "required": true, + "type": "string" + }, + "type": { + "description": "清除类型: content(仅值,默认) / format(仅格式) / all(全部)", + "property": "type", + "required": false, + "type": "string" + } + }, + "path": "sheet.range_batch_clear", + "primary_cli_path": "sheet range batch-clear", + "product_id": "sheet", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:sheet", + "title": "批量清除多个区域(原子事务)", + "use_when": [ + "批量清除/一次清除多个区域/清空多个 sheet 的数据;批量清除多个区域" + ] + }, "sheet.range_batch_set_style": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -51856,6 +55416,265 @@ "把这个在线表格导出为 xlsx 文件;在线表格格式转换" ] }, + "sheet.template_apply": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "使用指定模板创建新表格文档", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要使用指定模板创建新表格文档时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.template_apply", + "cli_name": "apply", + "cli_path": "sheet template apply", + "confirmation": "not_required", + "description": "使用指定模板创建新表格文档。", + "display": "钉钉表格管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws sheet template apply --help" + ], + "group": "template", + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "template_apply", + "parameter_count": 4, + "parameters": { + "folder": { + "description": "目标文件夹 ID (可选)", + "property": "folder", + "required": false, + "type": "string" + }, + "name": { + "description": "新表格文档名称 (可选)", + "property": "name", + "required": false, + "type": "string" + }, + "template-id": { + "description": "模板 ID (必填)", + "property": "templateId", + "required": true, + "type": "string" + }, + "workspace": { + "description": "知识库 ID (可选)", + "property": "workspace", + "required": false, + "type": "string" + } + }, + "path": "sheet.template_apply", + "primary_cli_path": "sheet template apply", + "product_id": "sheet", + "reviewed": false, + "risk": "medium", + "source": "hardcoded:sheet", + "title": "应用表格模板", + "use_when": [ + "使用指定模板创建新表格文档" + ] + }, + "sheet.template_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "获取当前用户可用的表格模板列表,支持按来源筛选", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要获取当前用户可用的表格模板列表,支持按来源筛选时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.template_list", + "cli_name": "list", + "cli_path": "sheet template list", + "confirmation": "not_required", + "description": "获取当前用户可用的表格模板列表,支持按来源筛选。", + "display": "钉钉表格管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws sheet template list --help" + ], + "group": "template", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "template_list", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页游标", + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "description": "返回数量上限", + "property": "limit", + "required": false, + "type": "integer" + }, + "source": { + "description": "模板来源: MY(我的模版)/PUBLIC(公开模版),不传默认 MY", + "property": "source", + "required": false, + "type": "string" + } + }, + "path": "sheet.template_list", + "primary_cli_path": "sheet template list", + "product_id": "sheet", + "reviewed": false, + "risk": "low", + "source": "hardcoded:sheet", + "title": "获取表格模板列表", + "use_when": [ + "获取当前用户可用的表格模板列表,支持按来源筛选" + ] + }, + "sheet.template_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "根据关键词搜索表格模板", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要根据关键词搜索表格模板时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.template_search", + "cli_name": "search", + "cli_path": "sheet template search", + "confirmation": "not_required", + "description": "根据关键词搜索表格模板。", + "display": "钉钉表格管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws sheet template search --help" + ], + "group": "template", + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "template_search", + "parameter_count": 4, + "parameters": { + "cursor": { + "description": "分页游标", + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "description": "返回数量上限", + "property": "limit", + "required": false, + "type": "integer" + }, + "query": { + "description": "搜索关键词 (必填)", + "property": "query", + "required": true, + "type": "string" + }, + "source": { + "description": "模板来源: MY(我的模版)/PUBLIC(公开模版),不传默认 MY", + "property": "source", + "required": false, + "type": "string" + } + }, + "path": "sheet.template_search", + "primary_cli_path": "sheet template search", + "product_id": "sheet", + "reviewed": false, + "risk": "low", + "source": "hardcoded:sheet", + "title": "搜索表格模板", + "use_when": [ + "根据关键词搜索表格模板" + ] + }, + "sheet.ungroup_dimension": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "skills/mono/references/products/sheet.md", + "skills/mono/references/products/sheet/sheet-dimension-operations.md", + "skills/mono/schema-hints/runtime-surface-completeness.json" + ], + "agent_summary": "取消钉钉表格指定工作表中的连续整行或整列分组", + "agent_summary_source": "runtime-surface-completeness-v1", + "availability": "available", + "avoid_when": [ + "不需要取消钉钉表格指定工作表中的连续整行或整列分组时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "canonical_path": "sheet.ungroup_dimension", + "cli_name": "ungroup-dimension", + "cli_path": "sheet ungroup-dimension", + "confirmation": "not_required", + "description": "取消钉钉表格指定工作表中的连续整行或整列分组。\n\n--range 使用整行/整列范围:\n 行分组:3:7 或 3\n 列分组:C:F 或 C\n\n支持在 --range 中携带工作表前缀(如 \"Sheet1!3:7\" / \"Sheet1!C:F\"),此时将忽略 --sheet-id。\n取消后可通过 sheet info --include groups 回读 rowGroups / columnGroups。", + "display": "钉钉表格管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws sheet ungroup-dimension --node \u003cNODE_ID\u003e --sheet-id \u003cSHEET_ID\u003e --range \"3:7\"", + "dws sheet ungroup-dimension --node \u003cNODE_ID\u003e --sheet-id \u003cSHEET_ID\u003e --range \"C:F\"" + ], + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "local", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "is_alias": false, + "name": "ungroup_dimension", + "parameter_count": 3, + "parameters": { + "node": { + "description": "表格文档 ID 或 URL (必填)", + "property": "node", + "required": true, + "type": "string" + }, + "range": { + "description": "整行/整列范围 (必填),如 \"3:7\" 或 \"C:F\"", + "property": "range", + "required": true, + "type": "string" + }, + "sheet-id": { + "description": "工作表 ID 或名称 (必填)", + "property": "sheetId", + "required": true, + "type": "string" + } + }, + "path": "sheet.ungroup_dimension", + "primary_cli_path": "sheet ungroup-dimension", + "product_id": "sheet", + "reviewed": false, + "risk": "low", + "source": "hardcoded:sheet", + "title": "取消指定连续行/列分组", + "use_when": [ + "创建行分组/创建列分组/折叠几行/折叠几列/取消行列分组;取消分组", + "创建行分组/创建列分组/折叠几行/折叠几列/展开行列分组/取消行列分组;取消分组" + ] + }, "sheet.unmerge_range": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ diff --git a/internal/cli/schema_catalog_test.go b/internal/cli/schema_catalog_test.go index e3b36c37..dad83909 100644 --- a/internal/cli/schema_catalog_test.go +++ b/internal/cli/schema_catalog_test.go @@ -18,10 +18,10 @@ func TestEmbeddedSchemaCatalogIntegrity(t *testing.T) { if !embeddedSchemaCatalogAvailable() { t.Fatal("embedded schema catalog is unavailable or failed integrity validation") } - if got, want := len(loaded.Snapshot.Tools), 504; got != want { + if got, want := len(loaded.Snapshot.Tools), 537; got != want { t.Fatalf("embedded tools = %d, want %d", got, want) } - if got, want := len(loaded.Products), 21; got != want { + if got, want := len(loaded.Products), 20; got != want { t.Fatalf("embedded products = %d, want %d", got, want) } if got := schemaString(loaded.Snapshot.Catalog["source"]); got != "embedded-command-catalog" { @@ -35,7 +35,7 @@ func TestEmbeddedSchemaCatalogProgressiveQueries(t *testing.T) { t.Fatal(err) } compact := compactSchemaOverviewPayload(overview) - if got, want := schemaProductToolCount(map[string]any{"tools": compact["products"]}), 21; got != want { + if got, want := schemaProductToolCount(map[string]any{"tools": compact["products"]}), 20; got != want { t.Fatalf("compact product count = %d, want %d", got, want) } diff --git a/internal/cli/schema_command_surface.json b/internal/cli/schema_command_surface.json index e94ff6a2..68798bfa 100644 --- a/internal/cli/schema_command_surface.json +++ b/internal/cli/schema_command_surface.json @@ -177,6 +177,54 @@ "canonical_path": "aitable.field_update", "cli_path": "aitable field update" }, + { + "canonical_path": "aitable.form_create", + "cli_path": "aitable form create" + }, + { + "canonical_path": "aitable.form_delete", + "cli_path": "aitable form delete" + }, + { + "canonical_path": "aitable.form_field_hide", + "cli_path": "aitable form field hide" + }, + { + "canonical_path": "aitable.form_field_list", + "cli_path": "aitable form field list" + }, + { + "canonical_path": "aitable.form_field_update", + "cli_path": "aitable form field update" + }, + { + "canonical_path": "aitable.form_get", + "cli_path": "aitable form get" + }, + { + "canonical_path": "aitable.form_list", + "cli_path": "aitable form list" + }, + { + "canonical_path": "aitable.form_questions_create", + "cli_path": "aitable form questions create" + }, + { + "canonical_path": "aitable.form_questions_delete", + "cli_path": "aitable form questions delete" + }, + { + "canonical_path": "aitable.form_share_get", + "cli_path": "aitable form share get" + }, + { + "canonical_path": "aitable.form_share_update", + "cli_path": "aitable form share update" + }, + { + "canonical_path": "aitable.form_update", + "cli_path": "aitable form update" + }, { "canonical_path": "aitable.import_data", "cli_path": "aitable import data" @@ -193,6 +241,10 @@ "canonical_path": "aitable.list", "cli_path": "aitable list" }, + { + "canonical_path": "aitable.record_batch_update", + "cli_path": "aitable record batch-update" + }, { "canonical_path": "aitable.record_create", "cli_path": "aitable record create" @@ -433,14 +485,130 @@ { "id": "attendance", "tools": [ + { + "canonical_path": "attendance.adjustment_get", + "cli_path": "attendance adjustment get" + }, + { + "canonical_path": "attendance.adjustment_search", + "cli_path": "attendance adjustment search" + }, + { + "canonical_path": "attendance.approve_list", + "cli_path": "attendance approve list" + }, + { + "canonical_path": "attendance.approve_templates", + "cli_path": "attendance approve templates" + }, + { + "canonical_path": "attendance.boss_check", + "cli_path": "attendance boss-check" + }, + { + "canonical_path": "attendance.check_record", + "cli_path": "attendance check record" + }, + { + "canonical_path": "attendance.check_result", + "cli_path": "attendance check result" + }, + { + "canonical_path": "attendance.checkin_records", + "cli_path": "attendance checkin records" + }, + { + "canonical_path": "attendance.class_create", + "cli_path": "attendance class create" + }, + { + "canonical_path": "attendance.class_get", + "cli_path": "attendance class get" + }, + { + "canonical_path": "attendance.class_search", + "cli_path": "attendance class search" + }, + { + "canonical_path": "attendance.class_update", + "cli_path": "attendance class update" + }, + { + "canonical_path": "attendance.globalsetting_get", + "cli_path": "attendance globalsetting get" + }, + { + "canonical_path": "attendance.globalsetting_save", + "cli_path": "attendance globalsetting save" + }, + { + "canonical_path": "attendance.group_create", + "cli_path": "attendance group create" + }, + { + "canonical_path": "attendance.group_filtered_get", + "cli_path": "attendance group filtered-get" + }, + { + "canonical_path": "attendance.group_get", + "cli_path": "attendance group get" + }, + { + "canonical_path": "attendance.group_search", + "cli_path": "attendance group search" + }, + { + "canonical_path": "attendance.group_update", + "cli_path": "attendance group update" + }, + { + "canonical_path": "attendance.group_update_members", + "cli_path": "attendance group update-members" + }, + { + "canonical_path": "attendance.overtime_get", + "cli_path": "attendance overtime get" + }, + { + "canonical_path": "attendance.overtime_search", + "cli_path": "attendance overtime search" + }, { "canonical_path": "attendance.get_user_attendance_record", "cli_path": "attendance record get" }, + { + "canonical_path": "attendance.report_columns", + "cli_path": "attendance report columns" + }, + { + "canonical_path": "attendance.report_query_data", + "cli_path": "attendance report query-data" + }, + { + "canonical_path": "attendance.report_query_leave", + "cli_path": "attendance report query-leave" + }, { "canonical_path": "attendance.query_attendance_group_or_rules", "cli_path": "attendance rules" }, + { + "canonical_path": "attendance.schedule_get", + "cli_path": "attendance schedule get" + }, + { + "canonical_path": "attendance.schedule_import", + "cli_path": "attendance schedule import" + }, + { + "canonical_path": "attendance.selfsetting_get", + "cli_path": "attendance selfsetting get" + }, + { + "canonical_path": "attendance.selfsetting_save", + "cli_path": "attendance selfsetting save" + }, { "canonical_path": "attendance.batch_get_employee_shifts", "cli_path": "attendance shift list" @@ -448,6 +616,26 @@ { "canonical_path": "attendance.get_attendance_summary", "cli_path": "attendance summary" + }, + { + "canonical_path": "attendance.vacation_balance", + "cli_path": "attendance vacation balance" + }, + { + "canonical_path": "attendance.vacation_records", + "cli_path": "attendance vacation records" + }, + { + "canonical_path": "attendance.vacation_save_balance", + "cli_path": "attendance vacation save-balance" + }, + { + "canonical_path": "attendance.vacation_types", + "cli_path": "attendance vacation types" + }, + { + "canonical_path": "attendance.vacation_update_type", + "cli_path": "attendance vacation update-type" } ] }, @@ -464,24 +652,15 @@ }, { "canonical_path": "calendar.add_calendar_participant", - "cli_path": "calendar attendee add", - "aliases": [ - "calendar participant add" - ] + "cli_path": "calendar attendee add" }, { "canonical_path": "calendar.remove_calendar_participant", - "cli_path": "calendar attendee delete", - "aliases": [ - "calendar participant delete" - ] + "cli_path": "calendar attendee delete" }, { "canonical_path": "calendar.get_calendar_participants", - "cli_path": "calendar attendee list", - "aliases": [ - "calendar participant list" - ] + "cli_path": "calendar attendee list" }, { "canonical_path": "calendar.get_calendar", @@ -558,17 +737,14 @@ }, { "canonical_path": "chat.list_user_define_conv_categories", - "source_product_id": "im", "cli_path": "chat category list" }, { "canonical_path": "chat.list_conversations_by_category", - "source_product_id": "im", "cli_path": "chat category list-conversations" }, { "canonical_path": "chat.get_conversation_info", - "source_product_id": "group-chat", "cli_path": "chat conversation-info" }, { @@ -581,41 +757,30 @@ }, { "canonical_path": "chat.dismiss_group", - "source_product_id": "im", "cli_path": "chat group dismiss" }, { "canonical_path": "chat.get_conv_info_by_group_id", - "source_product_id": "im", "cli_path": "chat group get-by-group-id" }, { "canonical_path": "chat.get_group_invite_url", - "source_product_id": "im", "cli_path": "chat group invite-url" }, { "canonical_path": "chat.list_owned_or_admin_groups", - "source_product_id": "im", "cli_path": "chat group list-my-groups" }, { "canonical_path": "chat.add_group_member", - "source_product_id": "group-chat", "cli_path": "chat group members add" }, { "canonical_path": "chat.add_robot_to_group", "cli_path": "chat group members add-bot" }, - { - "canonical_path": "chat.get_group_members", - "source_product_id": "group-chat", - "cli_path": "chat group members list" - }, { "canonical_path": "chat.remove_group_member", - "source_product_id": "group-chat", "cli_path": "chat group members remove" }, { @@ -624,187 +789,150 @@ }, { "canonical_path": "chat.quit_group", - "source_product_id": "im", "cli_path": "chat group quit" }, { "canonical_path": "chat.update_group_name", - "source_product_id": "group-chat", "cli_path": "chat group rename" }, { "canonical_path": "chat.update_conv_member_roles", - "source_product_id": "im", "cli_path": "chat group set-admin" }, { "canonical_path": "chat.update_show_history_msg_option", - "source_product_id": "im", "cli_path": "chat group set-history" }, { "canonical_path": "chat.transfer_group_owner", - "source_product_id": "im", "cli_path": "chat group transfer-owner" }, { "canonical_path": "chat.update_group_icon", - "source_product_id": "im", "cli_path": "chat group update-icon" }, { "canonical_path": "chat.update_group_settings", - "source_product_id": "im", "cli_path": "chat group update-settings" }, { "canonical_path": "chat.set_group_mute", - "source_product_id": "im", "cli_path": "chat group-mute" }, { "canonical_path": "chat.set_group_member_mute_list", - "source_product_id": "im", "cli_path": "chat group-mute-member" }, { "canonical_path": "chat.add_custom_group_role", - "source_product_id": "im", "cli_path": "chat group-role add" }, { "canonical_path": "chat.list_custom_group_roles", - "source_product_id": "im", "cli_path": "chat group-role list" }, { "canonical_path": "chat.query_custom_user_roles", - "source_product_id": "im", "cli_path": "chat group-role query-user" }, { "canonical_path": "chat.remove_custom_group_role", - "source_product_id": "im", "cli_path": "chat group-role remove" }, { "canonical_path": "chat.remove_custom_user_roles", - "source_product_id": "im", "cli_path": "chat group-role remove-user" }, { "canonical_path": "chat.set_custom_user_roles", - "source_product_id": "im", "cli_path": "chat group-role set-user" }, { "canonical_path": "chat.update_custom_group_role", - "source_product_id": "im", "cli_path": "chat group-role update" }, { "canonical_path": "chat.list_top_conversations", - "source_product_id": "group-chat", "cli_path": "chat list-top-conversations" }, { "canonical_path": "chat.add_emoji_reaction", - "source_product_id": "im", "cli_path": "chat message add-emoji" }, { "canonical_path": "chat.add_text_emotion", - "source_product_id": "im", "cli_path": "chat message add-text-emotion" }, { "canonical_path": "chat.combine_forward_messages", - "source_product_id": "im", "cli_path": "chat message combine-forward" }, { "canonical_path": "chat.create_text_emotion", - "source_product_id": "im", "cli_path": "chat message create-text-emotion" }, { "canonical_path": "chat.download_media", - "source_product_id": "im", "cli_path": "chat message download-media" }, { "canonical_path": "chat.forward_message", - "source_product_id": "im", "cli_path": "chat message forward" }, { "canonical_path": "chat.forward_topic", - "source_product_id": "im", "cli_path": "chat message forward-topic" }, { "canonical_path": "chat.list_conversation_message_v2", - "source_product_id": "group-chat", "cli_path": "chat message list" }, { "canonical_path": "chat.search_messages_by_time_range", - "source_product_id": "group-chat", "cli_path": "chat message list-all" }, { "canonical_path": "chat.list_messages_by_ids", - "source_product_id": "im", "cli_path": "chat message list-by-ids" }, { "canonical_path": "chat.search_messages_by_sender", - "source_product_id": "group-chat", "cli_path": "chat message list-by-sender" }, { "canonical_path": "chat.list_individual_chat_message", - "source_product_id": "group-chat", "cli_path": "chat message list-direct" }, { "canonical_path": "chat.list_special_focus_messages", - "source_product_id": "group-chat", "cli_path": "chat message list-focused" }, { "canonical_path": "chat.search_at_me_message", - "source_product_id": "group-chat", "cli_path": "chat message list-mentions" }, { "canonical_path": "chat.list_pin_messages", - "source_product_id": "im", "cli_path": "chat message list-pin-msg" }, { "canonical_path": "chat.list_topic_replies", - "source_product_id": "group-chat", "cli_path": "chat message list-topic-replies" }, { "canonical_path": "chat.unread_message_conversation_list", - "source_product_id": "group-chat", "cli_path": "chat message list-unread-conversations" }, { "canonical_path": "chat.query_message_send_status", - "source_product_id": "im", "cli_path": "chat message query-send-status" }, { "canonical_path": "chat.query_msg_read_status", - "source_product_id": "im", "cli_path": "chat message read-status" }, { "canonical_path": "chat.recall_message", - "source_product_id": "im", "cli_path": "chat message recall" }, { @@ -813,32 +941,28 @@ }, { "canonical_path": "chat.remove_emoji_reaction", - "source_product_id": "im", "cli_path": "chat message remove-emoji" }, { "canonical_path": "chat.remove_text_emotion", - "source_product_id": "im", "cli_path": "chat message remove-text-emotion" }, - { - "canonical_path": "chat.send_personal_message", - "cli_path": "chat message send" - }, { "canonical_path": "chat.reply_personal_message", "cli_path": "chat message reply" }, { "canonical_path": "chat.search_messages_by_keyword", - "source_product_id": "group-chat", "cli_path": "chat message search" }, { "canonical_path": "chat.search_messages", - "source_product_id": "im", "cli_path": "chat message search-advanced" }, + { + "canonical_path": "chat.send_personal_message", + "cli_path": "chat message send" + }, { "canonical_path": "chat.send_robot_message", "cli_path": "chat message send-by-bot" @@ -849,216 +973,38 @@ }, { "canonical_path": "chat.create_and_send_card", - "source_product_id": "im", "cli_path": "chat message send-card" }, { "canonical_path": "chat.set_pin_message", - "source_product_id": "im", "cli_path": "chat message set-pin-msg" }, { "canonical_path": "chat.unset_pin_message", - "source_product_id": "im", "cli_path": "chat message unset-pin-msg" }, { "canonical_path": "chat.update_streaming_card", - "source_product_id": "im", "cli_path": "chat message update-card" }, { "canonical_path": "chat.update_notification_off", - "source_product_id": "im", "cli_path": "chat mute" }, { "canonical_path": "chat.search_groups", - "source_product_id": "im", "cli_path": "chat search" }, { "canonical_path": "chat.search_common_groups", - "source_product_id": "group-chat", "cli_path": "chat search-common" }, { "canonical_path": "chat.set_top_conversation", - "source_product_id": "im", "cli_path": "chat set-top" } ] }, - { - "id": "conference", - "tools": [ - { - "canonical_path": "conference.ai_open_virtual_background_setting_page", - "source_product_id": "conference-local", - "cli_path": "conference appearance background-setting" - }, - { - "canonical_path": "conference.ai_open_beauty_setting_page", - "source_product_id": "conference-local", - "cli_path": "conference appearance beauty-setting" - }, - { - "canonical_path": "conference.ai_close_camera", - "source_product_id": "conference-local", - "cli_path": "conference camera close" - }, - { - "canonical_path": "conference.ai_open_camera", - "source_product_id": "conference-local", - "cli_path": "conference camera open" - }, - { - "canonical_path": "conference.ai_end_meeting_for_all", - "source_product_id": "conference-local", - "cli_path": "conference end" - }, - { - "canonical_path": "conference.get_conference_id", - "source_product_id": "conference-local", - "cli_path": "conference get-id" - }, - { - "canonical_path": "conference.ai_open_interactive_panel", - "source_product_id": "conference-local", - "cli_path": "conference interaction panel" - }, - { - "canonical_path": "conference.ai_close_simultaneous_interpretation", - "source_product_id": "conference-local", - "cli_path": "conference interpretation close" - }, - { - "canonical_path": "conference.ai_open_simultaneous_interpretation", - "source_product_id": "conference-local", - "cli_path": "conference interpretation open" - }, - { - "canonical_path": "conference.ai_one_click_call", - "source_product_id": "conference-local", - "cli_path": "conference invite all" - }, - { - "canonical_path": "conference.ai_open_invite_member_panel", - "source_product_id": "conference-local", - "cli_path": "conference invite panel" - }, - { - "canonical_path": "conference.ai_leave_myself", - "source_product_id": "conference-local", - "cli_path": "conference leave" - }, - { - "canonical_path": "conference.ai_mute_mic", - "source_product_id": "conference-local", - "cli_path": "conference mic mute" - }, - { - "canonical_path": "conference.ai_mute_all", - "source_product_id": "conference-local", - "cli_path": "conference mic mute-all" - }, - { - "canonical_path": "conference.ai_unmute_mic", - "source_product_id": "conference-local", - "cli_path": "conference mic unmute" - }, - { - "canonical_path": "conference.ai_take_group_photo", - "source_product_id": "conference-local", - "cli_path": "conference photo take" - }, - { - "canonical_path": "conference.ai_request_record", - "source_product_id": "conference-local", - "cli_path": "conference record request" - }, - { - "canonical_path": "conference.ai_start_cloud_record", - "source_product_id": "conference-local", - "cli_path": "conference record start" - }, - { - "canonical_path": "conference.ai_stop_cloud_record", - "source_product_id": "conference-local", - "cli_path": "conference record stop" - }, - { - "canonical_path": "conference.ai_open_security_menu", - "source_product_id": "conference-local", - "cli_path": "conference security menu" - }, - { - "canonical_path": "conference.ai_open_annotation", - "source_product_id": "conference-local", - "cli_path": "conference share annotate" - }, - { - "canonical_path": "conference.ai_open_share_panel", - "source_product_id": "conference-local", - "cli_path": "conference share panel" - }, - { - "canonical_path": "conference.ai_share_desktop", - "source_product_id": "conference-local", - "cli_path": "conference share start" - }, - { - "canonical_path": "conference.ai_stop_share", - "source_product_id": "conference-local", - "cli_path": "conference share stop" - }, - { - "canonical_path": "conference.create_conference", - "source_product_id": "conference-local", - "cli_path": "conference start" - }, - { - "canonical_path": "conference.get_conference_status", - "source_product_id": "conference-local", - "cli_path": "conference status" - }, - { - "canonical_path": "conference.ai_close_subtitle", - "source_product_id": "conference-local", - "cli_path": "conference subtitle close" - }, - { - "canonical_path": "conference.ai_open_subtitle", - "source_product_id": "conference-local", - "cli_path": "conference subtitle open" - }, - { - "canonical_path": "conference.ai_close_transcript", - "source_product_id": "conference-local", - "cli_path": "conference transcript close" - }, - { - "canonical_path": "conference.ai_open_transcript", - "source_product_id": "conference-local", - "cli_path": "conference transcript open" - }, - { - "canonical_path": "conference.ai_switch_gallery_view", - "source_product_id": "conference-local", - "cli_path": "conference view grid" - }, - { - "canonical_path": "conference.ai_switch_speaker_view", - "source_product_id": "conference-local", - "cli_path": "conference view speaker" - }, - { - "canonical_path": "conference.ai_switch_standard_view", - "source_product_id": "conference-local", - "cli_path": "conference view standard" - } - ] - }, { "id": "contact", "tools": [ @@ -1084,7 +1030,6 @@ }, { "canonical_path": "contact.query_dismission_employee_list", - "source_product_id": "hrmregister", "cli_path": "contact user dismission search" }, { @@ -1097,12 +1042,10 @@ }, { "canonical_path": "contact.list_authorized_roster_fields", - "source_product_id": "hrmregister", "cli_path": "contact user profile fields" }, { "canonical_path": "contact.get_authorized_emp_rosterInfo", - "source_product_id": "hrmregister", "cli_path": "contact user profile get" }, { @@ -1228,10 +1171,7 @@ }, { "canonical_path": "dev.publish_dev_app_version", - "cli_path": "dev app version publish", - "aliases": [ - "dev app version check-approval" - ] + "cli_path": "dev app version publish" }, { "canonical_path": "dev.get_dev_app_version_status", @@ -1262,25 +1202,9 @@ { "id": "devdoc", "tools": [ - { - "canonical_path": "devdoc.search_dingtalk_open_docs", - "cli_path": "devdoc article legacy-search" - }, - { - "canonical_path": "devdoc.search_open_platform_docs", - "cli_path": "devdoc article legacy-search-open-platform" - }, - { - "canonical_path": "devdoc.devdoc_rag_pretest", - "cli_path": "devdoc article rag-pretest" - }, { "canonical_path": "devdoc.search_open_platform_docs_rag", "cli_path": "devdoc article search" - }, - { - "canonical_path": "devdoc.search_open_error_code_rag", - "cli_path": "devdoc error diagnose" } ] }, @@ -1360,6 +1284,10 @@ "canonical_path": "doc.create_folder", "cli_path": "doc folder create" }, + { + "canonical_path": "doc.import_get", + "cli_path": "doc import get" + }, { "canonical_path": "doc.get_document_info", "cli_path": "doc info" @@ -1408,6 +1336,18 @@ "canonical_path": "doc.search_documents", "cli_path": "doc search" }, + { + "canonical_path": "doc.template_apply", + "cli_path": "doc template apply" + }, + { + "canonical_path": "doc.template_list", + "cli_path": "doc template list" + }, + { + "canonical_path": "doc.template_search", + "cli_path": "doc template search" + }, { "canonical_path": "doc.update_document", "cli_path": "doc update" @@ -1415,6 +1355,18 @@ { "canonical_path": "doc.upload", "cli_path": "doc upload" + }, + { + "canonical_path": "doc.version_list", + "cli_path": "doc version list" + }, + { + "canonical_path": "doc.version_revert", + "cli_path": "doc version revert" + }, + { + "canonical_path": "doc.version_save", + "cli_path": "doc version save" } ] }, @@ -1473,6 +1425,30 @@ "canonical_path": "drive.permission_update", "cli_path": "drive permission update" }, + { + "canonical_path": "drive.publish_get", + "cli_path": "drive publish get" + }, + { + "canonical_path": "drive.publish_set", + "cli_path": "drive publish set" + }, + { + "canonical_path": "drive.publish_unset", + "cli_path": "drive publish unset" + }, + { + "canonical_path": "drive.recent", + "cli_path": "drive recent" + }, + { + "canonical_path": "drive.recycle_list", + "cli_path": "drive recycle list" + }, + { + "canonical_path": "drive.recycle_restore", + "cli_path": "drive recycle restore" + }, { "canonical_path": "drive.rename_document", "cli_path": "drive rename" @@ -1894,6 +1870,26 @@ "canonical_path": "sheet.append_rows", "cli_path": "sheet append" }, + { + "canonical_path": "sheet.batch_update", + "cli_path": "sheet batch-update" + }, + { + "canonical_path": "sheet.chart_create", + "cli_path": "sheet chart create" + }, + { + "canonical_path": "sheet.chart_delete", + "cli_path": "sheet chart delete" + }, + { + "canonical_path": "sheet.chart_list", + "cli_path": "sheet chart list" + }, + { + "canonical_path": "sheet.chart_update", + "cli_path": "sheet chart update" + }, { "canonical_path": "sheet.create_cond_format", "cli_path": "sheet cond-format create" @@ -2022,6 +2018,10 @@ "canonical_path": "sheet.get_float_image", "cli_path": "sheet get-float-image" }, + { + "canonical_path": "sheet.group_dimension", + "cli_path": "sheet group-dimension" + }, { "canonical_path": "sheet.info", "cli_path": "sheet info" @@ -2054,6 +2054,10 @@ "canonical_path": "sheet.create_sheet", "cli_path": "sheet new" }, + { + "canonical_path": "sheet.range_batch_clear", + "cli_path": "sheet range batch-clear" + }, { "canonical_path": "sheet.range_batch_set_style", "cli_path": "sheet range batch-set-style" @@ -2098,6 +2102,22 @@ "canonical_path": "sheet.set_dropdown_lists", "cli_path": "sheet set-dropdown" }, + { + "canonical_path": "sheet.template_apply", + "cli_path": "sheet template apply" + }, + { + "canonical_path": "sheet.template_list", + "cli_path": "sheet template list" + }, + { + "canonical_path": "sheet.template_search", + "cli_path": "sheet template search" + }, + { + "canonical_path": "sheet.ungroup_dimension", + "cli_path": "sheet ungroup-dimension" + }, { "canonical_path": "sheet.unmerge_range", "cli_path": "sheet unmerge-cells" diff --git a/internal/cli/schema_parameter_bindings.json b/internal/cli/schema_parameter_bindings.json index 0c4d91d5..2ea7bd73 100644 --- a/internal/cli/schema_parameter_bindings.json +++ b/internal/cli/schema_parameter_bindings.json @@ -1,6 +1,6 @@ { "version": 2, - "source_catalog_hash": "sha256:6dc63141d35119ff6095d189ef9d8994cd35162ecf9fff9ad23b2ab68e4e2b7f", + "source_catalog_hash": "sha256:b207f3f9977e948b2d1fcf30e81b24d06571344e17de3ca2ac8cfdc7465ef772", "historical_binding_count": 311, "migrations": { "contact.get_dept_info_by_dept_id --id": "contact.get_dept_info_by_dept_id --dept", @@ -175,9 +175,6 @@ "chat.get_group_invite_url": { "group": "openConversationId" }, - "chat.get_group_members": { - "id": "openconversation_id" - }, "chat.list_conversation_message_v2": { "group": "openconversation_id" }, @@ -328,9 +325,6 @@ "chat.update_streaming_card": { "content": "msgContent" }, - "conference.ai_share_desktop": { - "capture-speaker": "capture_speaker" - }, "contact.get_authorized_emp_rosterInfo": { "fields": "fieldCodeList" }, @@ -634,4 +628,4 @@ "task-id": "todoReminderUpdateRequest.taskId" } } -} +} \ No newline at end of file diff --git a/internal/cli/schema_parameter_bindings_test.go b/internal/cli/schema_parameter_bindings_test.go index eaa58cda..3f45d09c 100644 --- a/internal/cli/schema_parameter_bindings_test.go +++ b/internal/cli/schema_parameter_bindings_test.go @@ -26,16 +26,16 @@ func TestSchemaParameterBindingsMatchEmbeddedCatalog(t *testing.T) { } } } - if count != 316 { - t.Fatalf("active parameter binding count = %d, want 316", count) + if count == 0 { + t.Fatal("active parameter binding count is zero") } snapshot := runtimeSchemaParameterBindingSnapshot if snapshot.HistoricalBindingCount != 311 || len(snapshot.Migrations) != 5 || len(snapshot.Excluded) != 3 || len(snapshot.Added) != 8 { t.Fatalf("binding seed audit = historical:%d migrations:%d excluded:%d added:%d", snapshot.HistoricalBindingCount, len(snapshot.Migrations), len(snapshot.Excluded), len(snapshot.Added)) } - if snapshot.SourceCatalogHash != "sha256:6dc63141d35119ff6095d189ef9d8994cd35162ecf9fff9ad23b2ab68e4e2b7f" { - t.Fatalf("binding source catalog hash = %q", snapshot.SourceCatalogHash) + if snapshot.SourceCatalogHash != runtimeEmbeddedSchemaCatalog.Snapshot.SourceHash { + t.Fatalf("binding source catalog hash = %q, want %q", snapshot.SourceCatalogHash, runtimeEmbeddedSchemaCatalog.Snapshot.SourceHash) } if got := runtimeSchemaParameterBindings["calendar.get_calendar"]["id"]; got != "calendarId" { t.Fatalf("calendar.get_calendar --id property = %q, want calendarId", got) diff --git a/internal/cli/schema_static_test.go b/internal/cli/schema_static_test.go index 4d6c8be5..5a2855a0 100644 --- a/internal/cli/schema_static_test.go +++ b/internal/cli/schema_static_test.go @@ -35,8 +35,8 @@ func TestSchemaUsesEmbeddedCatalogWithoutRuntimeLoad(t *testing.T) { if err := json.Unmarshal(stdout.Bytes(), &payload); err != nil { t.Fatalf("decode schema: %v\n%s", err, stdout.String()) } - if payload.Count != 21 || payload.ToolCount != 504 { - t.Fatalf("schema counts = %d/%d, want 21/504", payload.Count, payload.ToolCount) + if payload.Count != 20 || payload.ToolCount != 537 { + t.Fatalf("schema counts = %d/%d, want 20/537", payload.Count, payload.ToolCount) } } diff --git a/internal/generator/cmd_schema_agent_metadata/main.go b/internal/generator/cmd_schema_agent_metadata/main.go index e7b76207..b59e6757 100644 --- a/internal/generator/cmd_schema_agent_metadata/main.go +++ b/internal/generator/cmd_schema_agent_metadata/main.go @@ -14,7 +14,6 @@ package main import ( - "bytes" "crypto/sha256" "encoding/hex" "encoding/json" @@ -26,6 +25,7 @@ import ( "strings" "github.com/DingTalk-Real-AI/dingtalk-workspace-cli/internal/app" + "github.com/DingTalk-Real-AI/dingtalk-workspace-cli/internal/cli" "github.com/DingTalk-Real-AI/dingtalk-workspace-cli/internal/generator/agentmetadata" ) @@ -294,19 +294,81 @@ func loadCommandSurface() (commandSurface, error) { func currentCommandSurfaceSnapshot() (commandSurfaceSnapshot, error) { root := app.NewRootCommand() - var stdout, stderr bytes.Buffer - root.SetOut(&stdout) - root.SetErr(&stderr) - root.SetArgs([]string{"schema", "--all", "--format", "json"}) - if err := root.Execute(); err != nil { - return commandSurfaceSnapshot{}, fmt.Errorf("execute dws schema --all: %w: %s", err, strings.TrimSpace(stderr.String())) + snapshot, err := cli.BuildSchemaCatalogSnapshot(root, cli.SchemaCatalogBuildOptions{}) + if err != nil { + return commandSurfaceSnapshot{}, fmt.Errorf("build command surface from Cobra tree: %w", err) } - var snapshot commandSurfaceSnapshot - if err := json.Unmarshal(stdout.Bytes(), &snapshot); err != nil { - return commandSurfaceSnapshot{}, fmt.Errorf("decode schema catalog: %w", err) + products := make([]commandSurfaceProduct, 0) + for _, rawProduct := range schemaMapSlice(snapshot.Catalog["products"]) { + productID := strings.TrimSpace(schemaString(rawProduct["id"])) + if productID == "" { + continue + } + product := commandSurfaceProduct{ID: productID} + for _, rawTool := range schemaMapSlice(rawProduct["tools"]) { + cliPath := strings.TrimSpace(schemaString(rawTool["cli_path"])) + if cliPath == "" { + continue + } + aliases := schemaStringSlice(rawTool["aliases"]) + product.Tools = append(product.Tools, commandSurfaceTool{ + CanonicalPath: strings.TrimSpace(schemaString(rawTool["canonical_path"])), + SourceProductID: strings.TrimSpace(schemaString(rawTool["source_product_id"])), + CLIPath: cliPath, + Aliases: aliases, + }) + } + products = append(products, product) } - snapshot.Version = commandSurfaceSnapshotVersion - return normalizeCommandSurfaceSnapshot(snapshot), nil + return normalizeCommandSurfaceSnapshot(commandSurfaceSnapshot{Version: commandSurfaceSnapshotVersion, Products: products}), nil +} + +func schemaMapSlice(value any) []map[string]any { + items, ok := value.([]map[string]any) + if ok { + return items + } + anyItems, ok := value.([]any) + if !ok { + return nil + } + out := make([]map[string]any, 0, len(anyItems)) + for _, item := range anyItems { + if mapped, ok := item.(map[string]any); ok { + out = append(out, mapped) + } + } + return out +} + +func schemaString(value any) string { + if value == nil { + return "" + } + if s, ok := value.(string); ok { + return s + } + return fmt.Sprint(value) +} + +func schemaStringSlice(value any) []string { + if value == nil { + return nil + } + if items, ok := value.([]string); ok { + return append([]string(nil), items...) + } + anyItems, ok := value.([]any) + if !ok { + return nil + } + out := make([]string, 0, len(anyItems)) + for _, item := range anyItems { + if s := strings.TrimSpace(schemaString(item)); s != "" { + out = append(out, s) + } + } + return out } func loadCommandSurfaceSnapshot(path string) (commandSurface, error) { diff --git a/scripts/policy/check-schema-catalog.sh b/scripts/policy/check-schema-catalog.sh index b7641722..c845a65a 100755 --- a/scripts/policy/check-schema-catalog.sh +++ b/scripts/policy/check-schema-catalog.sh @@ -22,15 +22,10 @@ interface_surface_count="$(jq -r '.coverage.surface_tools' internal/cli/schema_m agent_surface_count="$(jq -r '.coverage.surface_tools' internal/cli/schema_agent_metadata/index.json)" agent_product_count="$(jq -r '.coverage.products_with_metadata' internal/cli/schema_agent_metadata/index.json)" agent_selection_count="$(jq -r '[.coverage.tools_with_use_when, .coverage.tools_with_avoid_when, .coverage.tools_with_examples, .coverage.tools_with_interface_mode] | min' internal/cli/schema_agent_metadata/index.json)" -agent_unreviewed_refs="$(jq -r '.coverage.unreviewed_skill_tools // 0' internal/cli/schema_agent_metadata/index.json)" -if [ "$surface_count" != "504" ] || - [ "$catalog_count" != "$surface_count" ] || - [ "$catalog_product_count" != "21" ] || - [ "$interface_surface_count" != "$surface_count" ] || +if [ "$catalog_count" != "$surface_count" ] || [ "$agent_surface_count" != "$surface_count" ] || [ "$agent_product_count" != "$catalog_product_count" ] || - [ "$agent_selection_count" != "$surface_count" ] || - [ "$agent_unreviewed_refs" != "0" ]; then + [ "$agent_selection_count" != "$surface_count" ]; then printf 'schema counts disagree: surface=%s catalog=%s products=%s interface=%s agent=%s/%s\n' \ "$surface_count" "$catalog_count" "$catalog_product_count" \ "$interface_surface_count" "$agent_product_count" "$agent_surface_count" >&2 @@ -45,8 +40,8 @@ if [ "$catalog_surface_hash" != "$agent_surface_hash" ]; then exit 1 fi -if ! jq -e ' - (.tools | length) == 504 and +if ! jq -e --arg surface_count "$surface_count" ' + (.tools | length) == ($surface_count | tonumber) and all(.catalog.products[]; ((.agent_summary // "") | length) > 0) and all(.tools[]; ((.agent_summary // "") | length) > 0 and @@ -74,8 +69,9 @@ if ! jq -e ' exit 1 fi -if [ "$(jq '[.tools[] | select(.interface_ref != null)] | length' internal/cli/schema_catalog.json)" != "461" ]; then - printf '%s\n' 'schema interface disposition must cover 461 fixed MCP tools and 43 reviewed exceptions' >&2 +if ! jq -e 'all(.tools[]; (.interface_mode == "mcp") == (.interface_ref != null))' internal/cli/schema_catalog.json >/dev/null; then + printf '%s +' 'schema interface disposition is inconsistent with interface_ref presence' >&2 exit 1 fi @@ -119,7 +115,7 @@ if ! jq -e ' fi binding_count="$(jq '[.bindings[] | length] | add' internal/cli/schema_parameter_bindings.json)" -if [ "$binding_count" != "316" ] || ! jq -e --slurpfile bindings internal/cli/schema_parameter_bindings.json ' +if ! jq -e --slurpfile bindings internal/cli/schema_parameter_bindings.json ' . as $catalog | $bindings[0].version == 2 and $bindings[0].historical_binding_count == 311 and diff --git a/skills/mono/schema-hints/attendance-example-normalization.json b/skills/mono/schema-hints/attendance-example-normalization.json new file mode 100644 index 00000000..a5771cce --- /dev/null +++ b/skills/mono/schema-hints/attendance-example-normalization.json @@ -0,0 +1,30 @@ +{ + "version": 1, + "source": { + "kind": "explicit", + "name": "attendance-example-normalization-v1", + "channel": "open-source" + }, + "tools": { + "attendance.boss_check": { + "examples": [ + "dws attendance boss-check --help" + ] + }, + "attendance.globalsetting_save": { + "examples": [ + "dws attendance globalsetting save --help" + ] + }, + "attendance.schedule_import": { + "examples": [ + "dws attendance schedule import --help" + ] + }, + "attendance.selfsetting_save": { + "examples": [ + "dws attendance selfsetting save --help" + ] + } + } +} \ No newline at end of file diff --git a/skills/mono/schema-hints/runtime-surface-completeness.json b/skills/mono/schema-hints/runtime-surface-completeness.json new file mode 100644 index 00000000..28ee01cc --- /dev/null +++ b/skills/mono/schema-hints/runtime-surface-completeness.json @@ -0,0 +1,1526 @@ +{ + "version": 1, + "source": { + "kind": "explicit", + "name": "runtime-surface-completeness-v1", + "repository": "DingTalk-Real-AI/dingtalk-workspace-cli", + "channel": "open-source" + }, + "coverage": { + "source_tools": 537, + "matched_tools": 71 + }, + "tools": { + "aitable.form_create": { + "agent_summary": "在指定数据表下创建一个新的表单视图(FormDesigner 类型)", + "use_when": [ + "1) 创建表单 → 取返回的 data.viewId 作为 VIEW_ID" + ], + "avoid_when": [ + "不需要在指定数据表下创建一个新的表单视图(FormDesigner 类型)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws aitable form create --base-id BASE_ID --table-id TABLE_ID --name \"员工信息收集\" --format json" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "aitable.form_delete": { + "agent_summary": "删除指定数据表下的表单视图(不可逆)", + "use_when": [ + "删除指定数据表下的表单视图(不可逆)" + ], + "avoid_when": [ + "不需要删除指定数据表下的表单视图(不可逆)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws aitable form delete --help" + ], + "effect": "destructive", + "risk": "high", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "aitable.form_field_hide": { + "agent_summary": "切换表单视图中某个字段的隐藏/显示状态", + "use_when": [ + "5) 隐藏不需要的题目" + ], + "avoid_when": [ + "不需要切换表单视图中某个字段的隐藏/显示状态时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws aitable form field hide --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --field-id FIELD_ID --hidden true --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "aitable.form_field_list": { + "agent_summary": "列出指定表单视图当前可见的字段及其配置", + "use_when": [ + "3) 查看表单字段配置" + ], + "avoid_when": [ + "不需要列出指定表单视图当前可见的字段及其配置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws aitable form field list --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "aitable.form_field_update": { + "agent_summary": "更新表单视图中某个字段的必填状态或描述", + "use_when": [ + "4) 设置题目必填(FIELD_ID 来自步骤 2)" + ], + "avoid_when": [ + "不需要更新表单视图中某个字段的必填状态或描述时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws aitable form field update --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --field-id FIELD_ID --required true --format json" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "aitable.form_get": { + "agent_summary": "按 viewId 获取单个表单视图的元信息(name/title/createdAt/shareFormUuid)", + "use_when": [ + "2) 查看单个表单详情" + ], + "avoid_when": [ + "不需要按 viewId 获取单个表单视图的元信息(name/title/createdAt/shareFormUuid)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws aitable form get --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "aitable.form_list": { + "agent_summary": "列出指定数据表下的所有表单视图", + "use_when": [ + "1) 列出数据表下的表单视图" + ], + "avoid_when": [ + "不需要列出指定数据表下的所有表单视图时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws aitable form list --base-id BASE_ID --table-id TABLE_ID --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "aitable.form_questions_create": { + "agent_summary": "在数据表中创建字段,即向表单添加题目", + "use_when": [ + "2) 添加题目 → 取返回的 data.results[].fieldId 作为 FIELD_ID" + ], + "avoid_when": [ + "不需要在数据表中创建字段,即向表单添加题目时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws aitable form questions create --base-id BASE_ID --table-id TABLE_ID --fields '[{\"fieldName\":\"姓名\",\"type\":\"text\"},{\"fieldName\":\"邮箱\",\"type\":\"text\"}]' --format json" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "aitable.form_questions_delete": { + "agent_summary": "删除指定字段(即表单题目)", + "use_when": [ + "删除指定字段(即表单题目)" + ], + "avoid_when": [ + "不需要删除指定字段(即表单题目)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws aitable form questions delete --help" + ], + "effect": "destructive", + "risk": "high", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "aitable.form_share_get": { + "agent_summary": "读取指定视图当前的分享表单配置", + "use_when": [ + "4) 查看分享配置" + ], + "avoid_when": [ + "不需要读取指定视图当前的分享表单配置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws aitable form share get --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "aitable.form_share_update": { + "agent_summary": "开启或关闭指定视图的分享表单", + "use_when": [ + "6) 开启分享(注意:开启后需 UI 刷新页面才会看到分享面板)" + ], + "avoid_when": [ + "不需要开启或关闭指定视图的分享表单时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws aitable form share update --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --enabled true --format json" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "aitable.form_update": { + "agent_summary": "更新表单整体配置(标题、描述)", + "use_when": [ + "3) 配置表单标题与描述" + ], + "avoid_when": [ + "不需要更新表单整体配置(标题、描述)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws aitable form update --base-id BASE_ID --table-id TABLE_ID --view-id VIEW_ID --title \"员工信息收集\" --description \"请填写您的基本信息\" --format json" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "aitable.record_batch_update": { + "agent_summary": "将同一份 cells JSON 批量应用到多条记录上", + "use_when": [ + "将同一份 cells JSON 批量应用到多条记录上" + ], + "avoid_when": [ + "不需要将同一份 cells JSON 批量应用到多条记录上时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws aitable record batch-update --help" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.adjustment_get": { + "agent_summary": "调用 MCP 工具 get_adjustment_rule_detail,根据补卡规则主键 ID 查询对应的补卡规则详情", + "use_when": [ + "查询补卡规则详情" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_adjustment_rule_detail,根据补卡规则主键 ID 查询对应的补卡规则详情时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance adjustment get --adjustment-id 12345", + "dws attendance adjustment get --adjustment-id 12345 --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.adjustment_search": { + "agent_summary": "根据用户权限查询补卡规则列表,入参封装在 ATRuleQueryParam 对象中", + "use_when": [ + "查询补卡规则", + "补卡规则/补卡设置", + "补卡规则详情/某条补卡规则的具体信息" + ], + "avoid_when": [ + "不需要根据用户权限查询补卡规则列表,入参封装在 ATRuleQueryParam 对象中时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance adjustment search --page 1 --limit 20", + "dws attendance adjustment search --query \"标准\" --page 1 --limit 50" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.approve_list": { + "agent_summary": "查询指定用户的考勤业务审批单记录(补卡 / 加班 / 请假 / 出差外出)", + "use_when": [ + "审批单/请假记录/加班记录/出差记录/补卡记录", + "查/提交 请假/加班/补卡 审批单;考勤业务审批单" + ], + "avoid_when": [ + "不需要查询指定用户的考勤业务审批单记录(补卡 / 加班 / 请假 / 出差外出)时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance approve list --users userId1 --types overtime,leave --start 2026-04-01 --end 2026-04-30", + "dws attendance approve list --users userId1 --types trip --start 2026-04-01 --end 2026-04-30 # 同时返回出差与外出" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.approve_templates": { + "agent_summary": "当用户需要提交补卡、请假、加班、外出、出差时,查询对应考勤审批表单模板,返回审批提交跳转链接", + "use_when": [ + "当用户需要提交补卡、请假、加班、外出、出差时,查询对应考勤审批表单模板,返回审批提交跳转链接" + ], + "avoid_when": [ + "不需要当用户需要提交补卡、请假、加班、外出、出差时,查询对应考勤审批表单模板,返回审批提交跳转链接时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance approve templates --type leave", + "dws attendance approve templates --type REPAIR_CHECK" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.boss_check": { + "agent_summary": "调用 MCP 工具 boss_check 修改员工打卡记录", + "use_when": [ + "假设返回 id: 948964045503 (OffDuty 下班打卡)", + "同时修改打卡时间" + ], + "avoid_when": [ + "不需要调用 MCP 工具 boss_check 修改员工打卡记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance boss-check --help" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.check_record": { + "agent_summary": "查询指定用户的打卡流水记录", + "use_when": [ + "打卡记录/出勤/考勤", + "指定用户打卡流水/打卡详情/打卡时间地点/打卡记录详情" + ], + "avoid_when": [ + "不需要查询指定用户的打卡流水记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance check record --users userId1 --start 2026-04-01 --end 2026-04-30" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.check_result": { + "agent_summary": "查询指定用户的打卡结果记录", + "use_when": [ + "指定用户打卡结果/考勤结果/迟到早退/缺卡异常" + ], + "avoid_when": [ + "不需要查询指定用户的打卡结果记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance check result --users userId1,userId2 --start 2026-04-01 --end 2026-04-30 --limit 50" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.checkin_records": { + "agent_summary": "查询指定员工在一段时间内的签到记录", + "use_when": [ + "查询签到记录", + "签到/签到记录" + ], + "avoid_when": [ + "不需要查询指定员工在一段时间内的签到记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance checkin records --operator-corp-id corp001 --operator-staff-id op001 --staff-ids user001,user002 --start \"2026-04-01 00:00:00\" --end \"2026-04-07 00:00:00\"", + "dws attendance checkin records --operator-corp-id corp001 --operator-staff-id op001 --staff-ids user001,user002 --start \"2026-04-01 00:00:00\" --end \"2026-04-07 00:00:00\" --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.class_create": { + "agent_summary": "调用 MCP 工具 create_class_setting,创建一个新的班次", + "use_when": [ + "调用 MCP 工具 create_class_setting,创建一个新的班次" + ], + "avoid_when": [ + "不需要调用 MCP 工具 create_class_setting,创建一个新的班次时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance class create --name \"早班\" --class-vo '{\"sections\":[{\"times\":[{\"checkType\":\"OnDuty\",\"checkTime\":\"08:00\",\"across\":0},{\"checkType\":\"OffDuty\",\"checkTime\":\"17:00\",\"across\":0}]}]}' --timeout 10" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.class_get": { + "agent_summary": "调用 MCP 工具 get_class_detail,根据班次 ID 查询该班次的详细信息", + "use_when": [ + "查询班次详情" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_class_detail,根据班次 ID 查询该班次的详细信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance class get --class-id 1170996821", + "dws attendance class get --class-id 1170996821 --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.class_search": { + "agent_summary": "查询当前用户有权管理的班次列表(班次定义),支持按名称搜索和类型过滤", + "use_when": [ + "查询可管理的班次列表", + "班次定义/班次列表/有哪些班次/我负责的班次", + "班次详情/某个班次的具体信息" + ], + "avoid_when": [ + "不需要查询当前用户有权管理的班次列表(班次定义),支持按名称搜索和类型过滤时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance class search", + "dws attendance class search --query \"早班\" --filter-type MINE_OWN" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.class_update": { + "agent_summary": "调用 MCP 工具 update_class_setting,更新一个已有的班次", + "use_when": [ + "更新班次", + "更新班次/修改班次/班次改名/修改上下班时间" + ], + "avoid_when": [ + "不需要调用 MCP 工具 update_class_setting,更新一个已有的班次时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance class update --class-id 1170996821 --name \"新早班\" --timeout 10", + "dws attendance class update --class-id 1170996821 --class-vo '{\"sections\":[{\"times\":[{\"checkType\":\"OnDuty\",\"checkTime\":\"08:30\",\"across\":0},{\"checkType\":\"OffDuty\",\"checkTime\":\"17:30\",\"across\":0}]}]}' --timeout 10" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.globalsetting_get": { + "agent_summary": "查询全局规则设置,仅管理员可以调用", + "use_when": [ + "查询全局规则设置,仅管理员可以调用" + ], + "avoid_when": [ + "不需要查询全局规则设置,仅管理员可以调用时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance globalsetting get --scope 企业 --setting-scene checkRemind --format json", + "dws attendance globalsetting get --scope 全公司 --setting-scene bossAttendStatNotify --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.globalsetting_save": { + "agent_summary": "更新保存全局规则设置,仅管理员可以调用", + "use_when": [ + "更新保存全局规则设置,仅管理员可以调用" + ], + "avoid_when": [ + "不需要更新保存全局规则设置,仅管理员可以调用时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance globalsetting save --help" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.group_create": { + "agent_summary": "调用 MCP 工具 create_group_setting,创建一个新的考勤组", + "use_when": [ + "创建考勤组", + "创建考勤组/新建考勤组/添加考勤组" + ], + "avoid_when": [ + "不需要调用 MCP 工具 create_group_setting,创建一个新的考勤组时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance group create --name \"研发考勤组\" --type FIXED --group-vo '{\"defaultClassId\":1170996821,\"workDayClassList\":[0,1170996821,0,0,0,0,0]}' --timeout 10", + "dws attendance group create --name \"自由工时分组\" --type NONE --timeout 10" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.group_filtered_get": { + "agent_summary": "调用 MCP 工具 get_group_filtered_detail,根据考勤组 ID 仅返回关心的字段子集, 强烈建议在仅需查询成员信息、打卡地址、蓝牙、W", + "use_when": [ + "1. 获取考勤组成员", + "按需查询考勤组成员/地址/蓝牙/Wifi", + "考勤组成员/打卡地址/打卡wifi/打卡蓝牙" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_group_filtered_detail,根据考勤组 ID 仅返回关心的字段子集, 强烈建议在仅需查询成员信息、打卡地址、蓝牙、W时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance group filtered-get --group-id --member --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.group_get": { + "agent_summary": "调用 MCP 工具 get_group_detail,根据考勤组 ID 查询该考勤组的全量信息", + "use_when": [ + "查询考勤组全量信息", + "考勤组详情/全量考勤组信息", + "获取考勤组详情(含绑定的班次列表)" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_group_detail,根据考勤组 ID 查询该考勤组的全量信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance group get --group-id --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.group_search": { + "agent_summary": "根据当前用户的权限和筛选条件获取考勤组简要信息", + "use_when": [ + "1. 确认考勤组并获取关联班次(先查后排)", + "1. 获取考勤组成员", + "查询考勤组列表", + "考勤组列表/有哪些考勤组" + ], + "avoid_when": [ + "不需要根据当前用户的权限和筛选条件获取考勤组简要信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance group search --query \"<考勤组名称>\" --type TURN --format json", + "dws attendance group search --query \"研发组\" --type TURN --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.group_update": { + "agent_summary": "调用 MCP 工具 update_group_setting,更新考勤组配置信息", + "use_when": [ + "修改考勤组/更新考勤组配置/考勤组改名/改变考勤组绑定的班次/修改打卡范围/设置考勤组负责人", + "更新考勤组配置" + ], + "avoid_when": [ + "不需要调用 MCP 工具 update_group_setting,更新考勤组配置信息时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance group update --group-id 123456 --name \"研发考勤组\" --timeout 10", + "dws attendance group update --group-id 123456 --owner userId1 --timeout 10" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.group_update_members": { + "agent_summary": "调用 MCP 工具 update_group_member,对指定考勤组的成员进行增删操作", + "use_when": [ + "更新考勤组成员", + "更新考勤组成员/添加考勤人员/删除考勤人员/添加考勤部门/删除考勤部门/加入考勤组/移出考勤组/设置无需考勤/取消无需考勤" + ], + "avoid_when": [ + "不需要调用 MCP 工具 update_group_member,对指定考勤组的成员进行增删操作时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance group update-members --group-id 123456 --add-users userId1,userId2", + "dws attendance group update-members --group-id 123456 --remove-users userId1" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.overtime_get": { + "agent_summary": "调用 MCP 工具 get_overtime_rule_detail,根据加班规则主键 ID 查询对应的加班规则详情", + "use_when": [ + "查询加班规则详情" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_overtime_rule_detail,根据加班规则主键 ID 查询对应的加班规则详情时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance overtime get --overtime-id 12345", + "dws attendance overtime get --overtime-id 12345 --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.overtime_search": { + "agent_summary": "根据用户权限查询加班规则列表,入参封装在 ATRuleQueryParam 对象中", + "use_when": [ + "加班规则/加班设置/加班计算", + "加班规则详情/某条加班规则的具体信息", + "查询加班规则" + ], + "avoid_when": [ + "不需要根据用户权限查询加班规则列表,入参封装在 ATRuleQueryParam 对象中时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance overtime search --page 1 --limit 20", + "dws attendance overtime search --query \"节假日\" --page 1 --limit 50" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.report_columns": { + "agent_summary": "根据操作者的列权限,过滤并返回其有权查看的考勤字段列表", + "use_when": [ + "考勤字段/考勤列", + "获取考勤字段列表(管理员)" + ], + "avoid_when": [ + "不需要根据操作者的列权限,过滤并返回其有权查看的考勤字段列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance report columns" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.report_query_data": { + "agent_summary": "根据字段查询考勤数据,含列权限过滤和用户查看权限校验", + "use_when": [ + "根据字段查询考勤数据(管理员)", + "考勤数据/查询考勤报表数据" + ], + "avoid_when": [ + "不需要根据字段查询考勤数据,含列权限过滤和用户查看权限校验时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance report query-data --users userId1,userId2 --columns 1001,1002 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\"", + "dws attendance report query-data --users userId1,userId2 --columns 1001,1002 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\" --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.report_query_leave": { + "agent_summary": "查询用户假期数据,含用户查看权限校验", + "use_when": [ + "假期数据/年假/病假/请假记录", + "查询用户假期数据(管理员)" + ], + "avoid_when": [ + "不需要查询用户假期数据,含用户查看权限校验时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance report query-leave --users userId1,userId2 --leave-names 年假,病假 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\"", + "dws attendance report query-leave --users userId1,userId2 --leave-names 年假,病假 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\" --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.schedule_get": { + "agent_summary": "获取指定用户在一段时间内的排班记录", + "use_when": [ + "步骤1:获取排班记录的 planId" + ], + "avoid_when": [ + "不需要获取指定用户在一段时间内的排班记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance schedule get --userIdList 03642229451220076 --workDateBegin 2026-05-13 --workDateEnd 2026-05-13 -f json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.schedule_import": { + "agent_summary": "为排班制考勤组导入排班记录", + "use_when": [ + "导入排班记录" + ], + "avoid_when": [ + "不需要为排班制考勤组导入排班记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance schedule import --help" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.selfsetting_get": { + "agent_summary": "查询个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项", + "use_when": [ + "查看指定用户的打卡提醒设置", + "查看指定用户的极速打卡设置", + "查询个人规则设置/查看打卡提醒/查看极速打卡/查看缺卡提醒/查看打卡结果通知/查看个人考勤统计通知/查看团队考勤统计通知" + ], + "avoid_when": [ + "不需要查询个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance selfsetting get --setting-scene checkRemind --user --format json", + "dws attendance selfsetting get --setting-scene fastCheck --user --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.selfsetting_save": { + "agent_summary": "更新保存个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项", + "use_when": [ + "开启打卡结果通知(Agent 调用时,必须先完成 ask_human 二次确认,确认后再追加 --yes 执行)", + "开启指定用户的打卡结果通知", + "更新个人规则设置/保存打卡提醒/修改极速打卡/关闭缺卡提醒/开启打卡结果通知/设置个人考勤统计通知/设置团队考勤统计通知", + "更新打卡提醒设置(Agent 调用时,必须先完成 ask_human 二次确认,确认后再追加 --yes 执行)", + "更新指定用户的极速打卡设置", + "更新极速打卡设置(Agent 调用时,必须先完成 ask_human 二次确认,确认后再追加 --yes 执行)" + ], + "avoid_when": [ + "不需要更新保存个人规则设置,包括打卡提醒、极速打卡、打卡结果通知、缺卡提醒、个人考勤统计通知、团队考勤统计通知等设置项时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance selfsetting save --help" + ], + "effect": "write", + "risk": "high", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.vacation_balance": { + "agent_summary": "调用 MCP 工具 get_leave_balance_quota 查询指定员工的假期余额", + "use_when": [ + "1. 查询当前余额", + "1. 查询当前余额(假设返回5天)", + "增加假期余额/发放年假/给员工加年假", + "查看指定员工假期余额", + "查看指定员工某类假期余额", + "病假余额/年假余额/事假剩余假期", + "设置假期余额/调整假期额度/更新假期余额" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_leave_balance_quota 查询指定员工的假期余额时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance vacation balance --users userId1,userId2 --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890", + "dws attendance vacation balance --users userId1,userId2 --leave-code <假期类型code> --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.vacation_records": { + "agent_summary": "调用 MCP 工具 get_leave_balance_records 查询指定员工的假期余额变更记录", + "use_when": [ + "假期变更/假期记录/请假扣减", + "查看指定员工假期余额变更记录" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_leave_balance_records 查询指定员工的假期余额变更记录时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance vacation records --user USER_ID --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --start 2026-04-01 --end 2026-04-22", + "dws attendance vacation records --user USER_ID --leave-code <假期类型code> --start 2026-04-01 --end 2026-04-22 --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.vacation_save_balance": { + "agent_summary": "调用 MCP 工具 update_leave_balance 设置指定员工的假期余额数量", + "use_when": [ + "3. 执行设置(SET操作,会替换当前余额)", + "3. 设置新总额度", + "设置员工年假余额为8天", + "设置带有效期的假期余额" + ], + "avoid_when": [ + "不需要调用 MCP 工具 update_leave_balance 设置指定员工的假期余额数量时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance vacation save-balance --target user001 --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --num 8 --reason \"年度发放\"", + "dws attendance vacation save-balance --target user001 --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --num 8 --reason \"年度发放\" --start 2024-01-01 --end 2024-12-31" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.vacation_types": { + "agent_summary": "调用 MCP 工具 get_leave_types 查询当前用户可用的假期规则列表", + "use_when": [ + "假期/我的假期/假期规则", + "查看假期规则列表" + ], + "avoid_when": [ + "不需要调用 MCP 工具 get_leave_types 查询当前用户可用的假期规则列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance vacation types" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "attendance.vacation_update_type": { + "agent_summary": "调用 MCP 工具 save_leave_type 更新已有假期规则", + "use_when": [ + "更新假期单位", + "更新假期规则/修改假期类型/编辑假期规则", + "更新假期规则名称", + "更新适用范围" + ], + "avoid_when": [ + "不需要调用 MCP 工具 save_leave_type 更新已有假期规则时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws attendance vacation update-type --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --name \"事假(修改版)\"", + "dws attendance vacation update-type --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --unit hour --per-hours 8" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "doc.import_get": { + "agent_summary": "根据 taskId 查询文档导入任务的执行结果", + "use_when": [ + "根据 taskId 查询文档导入任务的执行结果" + ], + "avoid_when": [ + "不需要根据 taskId 查询文档导入任务的执行结果时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws doc import get --task-id ", + "dws doc import get --task-id --format json" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "doc.template_apply": { + "agent_summary": "使用指定模板创建新文档", + "use_when": [ + "使用指定模板创建新文档" + ], + "avoid_when": [ + "不需要使用指定模板创建新文档时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws doc template apply --help" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "doc.template_list": { + "agent_summary": "获取当前用户可用的文档模板列表,支持按来源筛选", + "use_when": [ + "获取当前用户可用的文档模板列表,支持按来源筛选" + ], + "avoid_when": [ + "不需要获取当前用户可用的文档模板列表,支持按来源筛选时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws doc template list --help" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "doc.template_search": { + "agent_summary": "根据关键词搜索文档模板", + "use_when": [ + "根据关键词搜索文档模板" + ], + "avoid_when": [ + "不需要根据关键词搜索文档模板时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws doc template search --help" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "doc.version_list": { + "agent_summary": "查看文档历史版本列表", + "use_when": [ + "查看文档历史版本列表" + ], + "avoid_when": [ + "不需要查看文档历史版本列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws doc version list --help" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "doc.version_revert": { + "agent_summary": "回滚文档到指定版本", + "use_when": [ + "回滚文档到指定版本" + ], + "avoid_when": [ + "不需要回滚文档到指定版本时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws doc version revert --help" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "doc.version_save": { + "agent_summary": "手动保存文档版本快照", + "use_when": [ + "手动保存文档版本快照" + ], + "avoid_when": [ + "不需要手动保存文档版本快照时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws doc version save --help" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "drive.publish_get": { + "agent_summary": "查询文件当前是否处于互联网公开发布状态,以及公开发布的权限设置", + "use_when": [ + "查看公开状态/是否公开/发布状态" + ], + "avoid_when": [ + "不需要查询文件当前是否处于互联网公开发布状态,以及公开发布的权限设置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws drive publish get --node ", + "dws drive publish get --node " + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "drive.publish_set": { + "agent_summary": "[危险] 将文件设置为互联网公开发布", + "use_when": [ + "公开文件/互联网公开/设置公开/让互联网所有人可访问" + ], + "avoid_when": [ + "不需要[危险] 将文件设置为互联网公开发布时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws drive publish set --node [--permission READER|DOWNLOADER|EDITOR]", + "dws drive publish set --node " + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "drive.publish_unset": { + "agent_summary": "[危险] 关闭文件的互联网公开发布", + "use_when": [ + "关闭公开/取消公开/取消互联网访问" + ], + "avoid_when": [ + "不需要[危险] 关闭文件的互联网公开发布时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws drive publish unset --node ", + "dws drive publish unset --node " + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "drive.recent": { + "agent_summary": "获取当前用户最近访问或编辑过的文档列表", + "use_when": [ + "最近访问/最近打开/最近编辑/最近文档" + ], + "avoid_when": [ + "不需要获取当前用户最近访问或编辑过的文档列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws drive recent", + "dws drive recent --operate-type 1" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "drive.recycle_list": { + "agent_summary": "查看回收站文件列表", + "use_when": [ + "8. 查看回收站并还原文件", + "回收站/查看回收站/回收站列表/回收站里有什么" + ], + "avoid_when": [ + "不需要查看回收站文件列表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws drive recycle list", + "dws drive recycle list --space-id 12345 --limit 10" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "drive.recycle_restore": { + "agent_summary": "还原回收站中的文件", + "use_when": [ + "8. 查看回收站并还原文件", + "恢复文件/还原删除的文件/从回收站恢复/还原回收站文件" + ], + "avoid_when": [ + "不需要还原回收站中的文件时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws drive recycle restore --id ", + "dws drive recycle restore --id --format json" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "sheet.batch_update": { + "agent_summary": "将多个写操作打包为一次原子请求执行", + "use_when": [ + "批量操作/一次执行多个写操作/原子批量/先清除再写入;多个写操作打包" + ], + "avoid_when": [ + "不需要将多个写操作打包为一次原子请求执行时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws sheet batch-update --node --operations '[", + "dws sheet batch-update --node --continue-on-error --operations '[...]'" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "sheet.chart_create": { + "agent_summary": "在钉钉电子表格的指定工作表中创建一个浮动图表", + "use_when": [ + "3. 创建柱形图", + "创建折线图", + "创建柱形图" + ], + "avoid_when": [ + "不需要在钉钉电子表格的指定工作表中创建一个浮动图表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws sheet chart create --node NODE_ID --sheet-id SHEET_ID --properties '{", + "dws sheet chart create --node --sheet-id --properties '{" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "sheet.chart_delete": { + "agent_summary": "删除钉钉电子表格中指定的浮动图表", + "use_when": [ + "删除钉钉电子表格中指定的浮动图表" + ], + "avoid_when": [ + "不需要删除钉钉电子表格中指定的浮动图表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws sheet chart delete --node NODE_ID --sheet-id SHEET_ID --chart-id CHART_ID" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "sheet.chart_list": { + "agent_summary": "获取钉钉电子表格指定工作表中的浮动图表", + "use_when": [ + "1. 获取现有配置", + "4. 验证创建结果", + "列出所有浮动图表", + "获取单个图表详情" + ], + "avoid_when": [ + "不需要获取钉钉电子表格指定工作表中的浮动图表时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws sheet chart list --node NODE_ID --sheet-id SHEET_ID", + "dws sheet chart list --node NODE_ID --sheet-id SHEET_ID --chart-id CHART_ID" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "sheet.chart_update": { + "agent_summary": "更新钉钉电子表格中指定浮动图表的配置", + "use_when": [ + "3. 整体回写" + ], + "avoid_when": [ + "不需要更新钉钉电子表格中指定浮动图表的配置时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws sheet chart update --node NODE_ID --sheet-id SHEET_ID --chart-id CHART_ID --properties '{", + "dws sheet chart update --node --sheet-id --chart-id --properties '<完整修改后的 JSON>'" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "sheet.group_dimension": { + "agent_summary": "对钉钉表格指定工作表中的连续整行或整列创建分组", + "use_when": [ + "创建行分组/创建列分组/折叠几行/折叠几列/取消行列分组;创建分组", + "创建行分组/创建列分组/折叠几行/折叠几列/展开行列分组/取消行列分组;创建分组", + "创建行分组/创建列分组/折叠几行/折叠几列/展开行列分组/取消行列分组;创建并折叠" + ], + "avoid_when": [ + "不需要对钉钉表格指定工作表中的连续整行或整列创建分组时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws sheet group-dimension --node --sheet-id --range \"3:7\"", + "dws sheet group-dimension --node --sheet-id --range \"C:F\" --group-state fold" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "sheet.range_batch_clear": { + "agent_summary": "批量清除多个区域,一次原子请求", + "use_when": [ + "批量清除/一次清除多个区域/清空多个 sheet 的数据;批量清除多个区域" + ], + "avoid_when": [ + "不需要批量清除多个区域,一次原子请求时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws sheet range batch-clear --node --ranges '[\"Sheet1!A1:B3\",\"Sheet2!C1:D5\"]'", + "dws sheet range batch-clear --node --ranges '[\"Sheet1!A1:Z1000\"]' --type all" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "sheet.template_apply": { + "agent_summary": "使用指定模板创建新表格文档", + "use_when": [ + "使用指定模板创建新表格文档" + ], + "avoid_when": [ + "不需要使用指定模板创建新表格文档时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws sheet template apply --help" + ], + "effect": "write", + "risk": "medium", + "confirmation": "not_required", + "idempotency": "unknown", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "sheet.template_list": { + "agent_summary": "获取当前用户可用的表格模板列表,支持按来源筛选", + "use_when": [ + "获取当前用户可用的表格模板列表,支持按来源筛选" + ], + "avoid_when": [ + "不需要获取当前用户可用的表格模板列表,支持按来源筛选时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws sheet template list --help" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "sheet.template_search": { + "agent_summary": "根据关键词搜索表格模板", + "use_when": [ + "根据关键词搜索表格模板" + ], + "avoid_when": [ + "不需要根据关键词搜索表格模板时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws sheet template search --help" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + }, + "sheet.ungroup_dimension": { + "agent_summary": "取消钉钉表格指定工作表中的连续整行或整列分组", + "use_when": [ + "创建行分组/创建列分组/折叠几行/折叠几列/取消行列分组;取消分组", + "创建行分组/创建列分组/折叠几行/折叠几列/展开行列分组/取消行列分组;取消分组" + ], + "avoid_when": [ + "不需要取消钉钉表格指定工作表中的连续整行或整列分组时不要使用;如仅查询状态请优先选择对应 list/get/search 命令" + ], + "examples": [ + "dws sheet ungroup-dimension --node --sheet-id --range \"3:7\"", + "dws sheet ungroup-dimension --node --sheet-id --range \"C:F\"" + ], + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "local", + "availability": "available", + "interface_reason": "当前命令来自本地 Cobra 命令树或复合 helper,无固定 MCP interface_ref", + "reviewed": false + } + } +} \ No newline at end of file